[MPlayer-users] ATI Radeon, RH8 and vesa woes

Jonas Larsson zappa at df.lth.se
Fri Feb 14 00:48:56 CET 2003


Hello everyone :)
Having problems with getting vesa working with RH8. Read the earlier 
reports ans just thought I should send a proper bugreport.

-vo xvidix works excellent so the vidix part is working ok it seems.

When I am trying to execute -vo vesa:vidix or only -vo vesa things goes bad.

configure and compilation works fine but vesa kills the program. Tried 
with Mplayer0.90 RC2,3,4

Or is there a clear confirmation that it is glibc that is the culprit? I 
have not tried a downgrade of this since it would break the machine 
quite a bit.

I had vesa working on an pre-gcc3 mandrake installation so the card is 
functional.

Lots of logs below

// Yours Jonas

System:
Redhat 8.0
Kernel: 2.4.19-1.ll (from the planet CCRMA project, the same thing
happens with Redhat 8.0 stock kernels)
libc: libc-2.2.93
X: 4.2.0
gcc: 3.2
ld: 2.13.90
assembler: 2.13.90
processor:
     model name      : Intel(R) Pentium(R) 4 CPU 1400MHz
     stepping        : 10
     cpu MHz         : 1395.797
     cache size      : 256 KB
AGP ATI Radeon AIW 32MB DDR, though reported as:
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R100 QD
[Radeon 64 DDR] (prog-if 00 [VGA])
          Subsystem: ATI Technologies Inc Radeon AIW
          Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop+
ParErr- Stepping+ SERR+ FastB2B-
          Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium
  >TAbort- <TAbort- <MAbort- >SERR- <PERR-
          Latency: 64 (2000ns min), cache line size 10
          Interrupt: pin A routed to IRQ 3
          Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
          Region 1: I/O ports at ec00 [size=256]
          Region 2: Memory at ff980000 (32-bit, non-prefetchable) 
[size=512K]
          Expansion ROM at 80000000 [disabled] [size=128K]
          Capabilities: [58] AGP version 2.0
                  Status: RQ=47 SBA+ 64bit- FW- Rate=x1,x2,x4
                  Command: RQ=31 SBA+ AGP+ 64bit- FW- Rate=x1
          Capabilities: [50] Power Management version 2
                  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Drivers: tested with both XFree4.2 and gatos latest. Also have tried 
with or without the kernelmodules from gatos.

Sound card: TB santa cruz (CS46xx driver) using alsa 0.9 CVS
02:0a.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 
[CrystalClear SoundFusion Audio Accelerator] (rev 01)
         Subsystem: Voyetra Technologies: Unknown device 3357

GDB debug output:
[New Thread 8192 (LWP 31154)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc4-3.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Pentium 4 Willamette (Family: 8, Stepping: 10)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or 
directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open 
'/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 135 video codecs
CommandLine: '-v' '-vo' 'vesa' 
'/home/jonas/edonkey/incoming/The.Hustler.(1961).DVDiVX5.02.AC3.CD1.avi'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf : No such file or 
directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such 
file or directory
Falling back on default (hardcoded) input config
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('The.Hustler.(1961).DVDiVX5.02.AC3.CD1.avi.conf') -> 
'/root/.mplayer/The.Hustler.(1961).DVDiVX5.02.AC3.CD1.avi.conf'
Playing 
/home/jonas/edonkey/incoming/The.Hustler.(1961).DVDiVX5.02.AC3.CD1.avi
Not an URL!
File size is 734814208 bytes
AVI file format detected.
list_end=0x2286
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 96870   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  672 x 288
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: divx (78766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25000/1000 = 25.000
Start: 0   Len: 96870
Suggested BufferSize: 63443
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
   biSize 40
   biWidth 672
   biHeight 288
   biPlanes 1
   biBitCount 24
   biCompression 808802372='DX50'
   biSizeImage 580608
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x217A
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 24000/1 = 24000.000
Start: 0   Len: 92995200
Suggested BufferSize: 12000
Quality -1
Sample size: 1
found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 8192 (0x2000)
Channels: 2
Samplerate: 48000
avg byte/sec: 24000
Block align: 1
bits/sample: 0
cbSize: 18
Unknown extra header dump: [0] [0] [31] [0] [0] [0] [e8] [30] [42] [8] 
[dc] [b1] [12] [42] [45] [5b] [48] [0]
list_end=0x2286
list_end=0x22AA
hdr=Software  size=15
Software  : Nandub v1.0rc2
Broken chunk?  chunksize=1358  (id=JUNK)
list_end=0x2B9D0DD6
Found movie at 0x280C - 0x2B9D0DD6
Reading INDEX block, 193729 chunks for 96870 frames (fpos=0x2b9d0dde)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x2EEC)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=637133277 (96870) audio size=92995200 (92995200)
VIDEO:  [DX50]  672x288  24bpp  25.00 fps  1315.4 kbps (160.6 kbyte/s)
[V] filefmt:3  fourcc:0x30355844  size:672x288  fps:25.00  ftime:=0.0400
Clip info:
  Software: Nandub v1.0rc2
get_path('sub/') -> '/root/.mplayer/sub/'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  192.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 
and bps = 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: 
Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:  32/32  (2048 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 
and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 
and bps = 2
Starting playback...
This file was encoded with DivX501 Build481
[ffmpeg] aspect_ratio: 2.333333
VDec: vo config request - 672 x 288 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.33:1 - prescaling to correct movie aspect.
VO Config (672x288->672x288,flags=0,'MPlayer',0x32315659)
VO: [vesa] 672x288 => 672x288 Planar YV12
VO: Description: VESA VBE 2.0 video output
VO: Author: Nick Kurshev <nickols_k at mail.ru>
VO: Comment: Requires ROOT privileges

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 31154)]
0x409e4524 in __errno_location () from /lib/i686/libpthread.so.0
(gdb) bt
#0  0x409e4524 in __errno_location () from /lib/i686/libpthread.so.0
#1  0x420d9f33 in ioperm () from /lib/i686/libc.so.6
#2  0x080a23a0 in config (width=672, height=288, d_width=672, d_height=288,
     flags=1108517584, title=0x827318d "MPlayer", format=842094169)
     at vo_vesa.c:632
#3  0x080e6334 in config (vf=0x84229d0, width=672, height=288, d_width=672,
     d_height=288, flags=0, outfmt=842094169) at vf_vo.c:48
#4  0x080d87ed in mpcodecs_config_vo (sh=0x8422f10, w=288, h=672,
     preferred_outfmt=4294967274) at vd.c:310
#5  0x080e1377 in init_vo (sh=0x8422f10) at vd_ffmpeg.c:363
#6  0x080e1470 in get_buffer (avctx=0x8423270, pic=0x843d950)
     at vd_ffmpeg.c:384
#7  0x081af070 in alloc_picture (s=0x843d890, pic=0x843d950, shared=0)
     at mpegvideo.c:292
#8  0x081b0761 in MPV_frame_start (s=0x843d950, avctx=0x8423270)
     at mpegvideo.c:939
#9  0x08239125 in ff_h263_decode_frame (avctx=0x8423270, data=0x84231e0,
     data_size=0xbfffd60c, buf=0x84278e0 "", buf_size=2124) at h263dec.c:624
#10 0x081adff0 in avcodec_decode_video (avctx=0x8423270, 
picture=0xffffffea,
     got_picture_ptr=0xbfffd60c,
     buf=0xffffffea <Address 0xffffffea out of bounds>, buf_size=-22)
     at utils.c:320
#11 0x080e170e in decode (sh=0x8422f10, data=0x8423270, len=2124, flags=0)
     at vd_ffmpeg.c:540
#12 0x080d825f in decode_video (sh_video=0x8422f10,
     start=0xffffffea <Address 0xffffffea out of bounds>, in_size=-22,
     drop_frame=0) at dec_video.c:306
#13 0x08075d13 in main (argc=5, argv=0xbffff9b4) at mplayer.c:1887
#14 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x409e4504 to 0x409e4544:
0x409e4504 <libc_internal_tsd_address+4>:       inc    %ebp
0x409e4505 <libc_internal_tsd_address+5>:       or     %bl,0x65(%ebp)
0x409e4508 <libc_internal_tsd_address+8>:       mov    0x8,%ecx
0x409e450e <libc_internal_tsd_address+14>:      lea 
0x19c(%ecx,%eax,4),%eax
0x409e4515 <libc_internal_tsd_address+21>:      ret
0x409e4516 <libc_internal_tsd_address+22>:      nop
0x409e4517 <libc_internal_tsd_address+23>:      nop
0x409e4518 <libc_internal_tsd_address+24>:      nop
0x409e4519 <libc_internal_tsd_address+25>:      nop
0x409e451a <libc_internal_tsd_address+26>:      nop
0x409e451b <libc_internal_tsd_address+27>:      nop
0x409e451c <libc_internal_tsd_address+28>:      nop
0x409e451d <libc_internal_tsd_address+29>:      nop
0x409e451e <libc_internal_tsd_address+30>:      nop
0x409e451f <libc_internal_tsd_address+31>:      nop
0x409e4520 <__errno_location>:  push   %ebp
0x409e4521 <__errno_location+1>:        mov    %esp,%ebp
0x409e4523 <__errno_location+3>:        push   %ebx
0x409e4524 <__errno_location+4>:        mov    %gs:0x1b8,%eax
0x409e452a <__errno_location+10>:       pop    %ebx
0x409e452b <__errno_location+11>:       pop    %ebp
0x409e452c <__errno_location+12>:       ret
0x409e452d <__errno_location+13>:       nop
0x409e452e <__errno_location+14>:       mov    %esi,%esi
0x409e4530 <__h_errno_location>:        push   %ebp
0x409e4531 <__h_errno_location+1>:      mov    %esp,%ebp
0x409e4533 <__h_errno_location+3>:      push   %ebx
0x409e4534 <__h_errno_location+4>:      mov    %gs:0x1c0,%eax
0x409e453a <__h_errno_location+10>:     pop    %ebx
0x409e453b <__h_errno_location+11>:     pop    %ebp
0x409e453c <__h_errno_location+12>:     ret
0x409e453d <__h_errno_location+13>:     nop
0x409e453e <__h_errno_location+14>:     mov    %esi,%esi
0x409e4540 <__res_state>:       push   %ebp
0x409e4541 <__res_state+1>:     mov    %esp,%ebp
0x409e4543 <__res_state+3>:     push   %ebx
End of assembler dump.
(gdb) info all-registers
eax            0xffffffea       -22
ecx            0x1      1
edx            0x16     22
ebx            0x4212a2d0       1108517584
esp            0xbfffcef8       0xbfffcef8
ebp            0xbfffcefc       0xbfffcefc
esi            0x84229d0        138553808
edi            0x2a0    672
eip            0x409e4524       0x409e4524
eflags         0x213213 2175507
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x0      0
gs             0x0      0
st0            -0e+4922 (raw 0xffff0000000000000000)
st1            -0e+4922 (raw 0xffff0000000000000000)
st2            -0e+4922 (raw 0xffff0000000000000000)
st3            -0e+4922 (raw 0xffff0000000000000000)
st4            0        (raw 0x00000000000000000000)
st5            0        (raw 0x00000000000000000000)
st6            8        (raw 0x40028000000000000000)
st7            2.3333332538604736328125 (raw 0x40009555550000000000)
fctrl          0x37f    895
fstat          0x20     32
ftag           0xffff   65535
fiseg          0x23     35
fioff          0x80d8958        135104856
foseg          0x2b     43
fooff          0x827a270        136815216
fop            0x1c9    457
xmm0           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm1           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm2           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm3           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm4           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm5           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
---Type <return> to continue, or q <return> to quit---
xmm6           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
xmm7           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-nan(0x7fffff),
     -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff)}}
mxcsr          0x1f80   8064
orig_eax       0xffffffff       -1
(gdb)




More information about the MPlayer-users mailing list