[MPlayer-users] NO-SPAM xvidix and x86-64 problems

gwondaleya at free.fr gwondaleya at free.fr
Wed Jan 11 00:49:22 CET 2006


Hello,

I have an athlon64 3000+, Mandrake linux 10.0 installed, ATI radeon 9200 Pro 128
M, 64 bit (but powertweak is sayin 32bit wide....), motherboard ASUS K8V-X (via
k8t800)

First of all, using pre compiled binaries or cvs (idem with others players too)
to  play a DVD, it eat a lot of CPU (more than 50%...) (xv driver), but it is
not the problem here (well , almost, since such a CPU must be able to cope with
a DVD without eating so MUCH power, since i used to play dvd correctly on my
athlon 1200, not XP and a Sis6326 card)... Don't know really why, i have to
check this deeply, but if you have a clue.....

But nevertheless, when i use to run precompiled mplayer(MPlayer 1.0pre5-3.4.1
(C) 2000-2004 MPlayer Team from Mandrake package) (i assume it is a 32 bit
version, since i am able to use windows dlls) with the vo xvidix driver, then i
have less than 50% CPU and i am also able to play HD content from divx.com (for
example Madagascar) without eating all the cpu power, which is nice.

When i try to use my own compiled version (CVS, affect all the versions i have
tested so far) i have problems of segfault using the xvidix driver. The
segfault occurs at the very first frames displaying:

 ./mplayer -vo xvidix -dr -nortc -cache 32000 /videos/Madagascar.mkv
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MPlayer dev-CVS-060110-22:05-3.4.1 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices  (Family: 15, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2


Playing /videos/Madagascar.mkv.

[mkv] Track ID 1: video (V_MS/VFW/FOURCC), -vid 0
[mkv] Track ID 2: audio (A_MPEG/L3), -aid 0, -alang und
[mkv] Will play video track 1
[mkv] Will play audio track 2
Matroska file format detected.
VIDEO:  [DX50]  1280x720  24bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
No vidix driver name provided, probing available ones (-v option for details)!
[radeon] Found chip: RV280 [Radeon 9200 PRO]
libdha: DHA kernelhelper failed: No such file or directory
libdha: DHA kernelhelper failed: No such file or directory
[radeon] Video memory = 128Mb
[radeon] Set write-combining type of video memory
[radeon] Saved overlay colorkey settings
VIDIX: Description: BES driver for Radeon cards
VIDIX: Author: Nick Kurshev
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xvidix] 1280x720 => 1280x720 Planar YV12


MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.


using gdb it gives:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182940250912 (LWP 23505)]
0x000000000045163f in vo_draw_alpha_yv12 (w=1280, h=720, src=0x0,
    srca=0x2aa08d4010 '\001' <repeats 200 times>..., srcstride=16843009,
    dstbase=0x2b9bfeb000 <Address 0x2b9bfeb000 out of bounds>, dststride=1280)
    at osd_template.c:49
49              asm volatile(
(gdb) backtrace
#0  0x000000000045163f in vo_draw_alpha_yv12 (w=1280, h=720, src=0x0,
    srca=0x2aa08d4010 '\001' <repeats 200 times>..., srcstride=16843009,
    dstbase=0x2b9bfeb000 <Address 0x2b9bfeb000 out of bounds>, dststride=1280)
    at osd_template.c:49
#1  0x0000000000450bcb in vidix_init (src_width=1280, src_height=2692685840,
    x_org=0, y_org=152, dst_width=1280, dst_height=720, format=842094169,
    dest_bpp=32, vid_w=1, vid_h=2693611536) at vosub_vidix.c:508
#2  0x000000000044f120 in set_window (force_update=1) at vo_xvidix.c:193
#3  0x000000000044f77d in config (width=0, height=0, d_width=1280,
    d_height=768, flags=0,
    title=0x2b9bfeb000 <Address 0x2b9bfeb000 out of bounds>, format=16843009)
    at vo_xvidix.c:413
#4  0x000000000048df03 in config (vf=0xb07a40, width=1280, height=720,
    d_width=1280, d_height=720, flags=0, outfmt=842094169) at vf_vo.c:48
#5  0x0000000000462da9 in vf_config_wrapper (vf=0xb07a40, width=720, height=0,
    d_width=-1601355760, d_height=1280, flags=16843009, outfmt=1280)
    at vf.c:586
#6  0x000000000045d5ab in mpcodecs_config_vo (sh=0xac3680, w=720, h=0,
    preferred_outfmt=1280) at vd.c:318
#7  0x000000000045ff9b in init_vo (sh=0xac3680, pix_fmt=PIX_FMT_YUV420P)
    at vd_ffmpeg.c:573
#8  0x0000000000460177 in get_buffer (avctx=0xb07ce0, pic=0xb9eba0)
    at vd_ffmpeg.c:625
#9  0x00000000005762cf in alloc_picture (s=0xb085a0, pic=0xb9eba0, shared=0)
    at mpegvideo.c:354
#10 0x0000000000578c59 in MPV_frame_start (s=0xb085a0, avctx=0xb07ce0)
    at mpegvideo.c:1498
#11 0x0000000000658947 in ff_h263_decode_frame (avctx=0xb07ce0, data=0xb07bc0,
    data_size=0x7fbfffe03c, buf=0xadbfb0 "", buf_size=70699) at h263dec.c:692
#12 0x0000000000574903 in avcodec_decode_video (avctx=0xb07ce0,
    picture=0xb07bc0, got_picture_ptr=0x7fbfffe03c, buf=0xadbfb0 "",
    buf_size=70699) at utils.c:939
#13 0x0000000000460656 in decode (sh=0xac3680, data=0xadbfb0, len=70699,
    flags=0) at vd_ffmpeg.c:829
#14 0x000000000045cf4c in decode_video (sh_video=0xac3680, start=0xadbfb0 "",
    in_size=70699, drop_frame=0) at dec_video.c:316
#15 0x0000000000410e81 in main (argc=11286144, argv=0x89232f9e)
    at mplayer.c:2685


Any help will be really appreciated

J. Collet




More information about the MPlayer-users mailing list