[MPlayer-users] Problem with -vo cvidix

Lorenzo Milesi lorenzo.milesi at gmail.com
Fri Dec 3 14:21:14 CET 2004


Hi

I have a problem playing with the cvidix output driver on my Radeon 9700.
I have an ASUS laptop, AMD64 with the above mentioned radeon installed.
My OS is a debian-amd64, an I run a custom 2.6.9 kernel (not vanilla,
from debian repository).

Here the infos about my pc and about the crash.
Linux ginger 2.6.9 #52 Thu Dec 2 23:28:20 CET 2004 x86_64 GNU/Linux

-rw-r--r--  1 root root 1294400 2004-10-15 02:01 /lib/libc-2.3.2.so
lrwxrwxrwx  1 root root      13 2004-11-20 09:08 /lib/libc.so.6 -> libc-2.3.2.so

Reading specs from /usr/lib/gcc-lib/x86_64-linux/3.3.5/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang
--prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info--with-gxx-include-dir=/usr/include/c++/3.3
--enable-shared --with-system-zlib --enable-nls
--without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu
--enable-debug --enable-java-gc=boehm --enable-java-awt=xlib
--enable-objc-gc--disable-multilib x86_64-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-2)

GNU ld version 2.15

GNU assembler 2.15
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-linux'.

processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 4
model name	: Mobile AMD Athlon(tm) 64 Processor 3000+
stepping	: 10
cpu MHz		: 797.953
cache size	: 1024 KB
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips	: 1576.50
TLB size	: 1088 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

0000:00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)
0000:00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev f6)
0000:00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4)
0000:00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
0000:00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
0000:00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2)
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce3
Audio (rev a2)
0000:00:06.1 Modem: nVidia Corporation: Unknown device 00d9 (rev a2)
0000:00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5)
0000:00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2)
0000:00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350
[Mobility Radeon 9600 M10]
0000:02:00.0 Ethernet controller: Marvell Technology Group Ltd. Yukon
Gigabit Ethernet 10/100/1000Base-T Adapter (rev 13)
0000:02:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
0000:02:01.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
0000:02:01.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394
Controller (rev 04)
0000:02:02.0 Network controller: Broadcom Corporation BCM4306
802.11b/g Wireless LAN Controller (rev 03)

Mplayer was compiled with this configure command
./configure --enable-gui --enable-largefiles --disable-tv
--enable-menu --enable-vidix --enable-fbdev --enable-directfb
--enable-xv --enable-x11 --disable-ossaudio --language=it,en
--with-reallibdir=/usr/local/lib/codecs
--with-codecsdir=/usr/local/lib/codecs --disable-win32waveout
--enable-vidix --enable-aa --enable-lirc --enable-debug=3


these are the gdb info requested


==> Trovato flusso video: 0
==> Trovato flusso audio: 0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
Rilevato formato file MPEG-PS!
Searching for sequence header... OK!
VIDEO:  MPEG1  320x240  (aspect 1)  25,000 fps  600,0 kbps (75,0 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:320x240  fps:25,00  ftime:=0,0400
get_path('sub/') -> '/root/.mplayer/sub/'
get_path('default.sub') -> '/root/.mplayer/default.sub'
==========================================================================
Apertura decoder audio: [mp3lib] MPEG layer-2, layer-3
dec_audio: Alloco 4608 + 65536 = 70144 byte per il buffer di output
mp3lib: using generic C decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer II, 44100 Hz 128 kbit Single-Channel, BPF: 417
Channels: 1, copyright: Yes, original: Yes, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo_cvidix: No vidix driver name provided, probing available ones (-v
option for details)!
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/cyberblade_vid.so
[cyberblade] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mach64_vid.so
[mach64] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mga_crtc2_vid.so
[mga] probe
[mga] found 47 pci devices
[mga] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/mga_vid.so
[mga] probe
[mga] found 47 pci devices
[mga] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/nvidia_vid.so
[nvidia_vid] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/pm3_vid.so
[pm3] Can't find chip
vidixlib: PROBING: /usr/local/lib/mplayer/vidix/radeon_vid.so
[radeon] Found chip: RV350 [Mobility Radeon 9600 M10]
vidixlib: /usr/local/lib/mplayer/vidix/radeon_vid.so probed o'k
vidixlib: will use /usr/local/lib/mplayer/vidix/radeon_vid.so driver
vidixlib: Attempt to initialize driver at: 0x2a98a951f0
libdha: DHA kernelhelper failed: No such file or directory

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182946679920 (LWP 11291)]
0x0000002a98a95234 in vixInit () from /usr/local/lib/mplayer/vidix/radeon_vid.so




(gdb)   bt
#0  0x0000002a98a95234 in vixInit () from
/usr/local/lib/mplayer/vidix/radeon_vid.so
#1  0x0000000000495bfd in vdlOpen (path=0x7fc7f0
"/usr/local/lib/mplayer/vidix/", name=0x0, cap=0, verbose=1) at
vidixlib.c:234
#2  0x00000000004881b8 in vidix_preinit (drvname=0x0, server=0xa1d720)
at vosub_vidix.c:703
#3  0x0000000000481bf6 in preinit (arg=0x0) at vo_cvidix.c:155
#4  0x000000000046c093 in init_best_video_out (vo_list=0xc31a90) at
video_out.c:283
#5  0x000000000044b25a in main (argc=12878416, argv=0x7fbffffa18) at
mplayer.c:1958


(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x2a98a95214 to 0x2a98a95254:
0x0000002a98a95214 <vixInit+36>:        add    %al,(%rax)
0x0000002a98a95216 <vixInit+38>:        add    %cl,0xffffffffffffff83(%rax)
0x0000002a98a95219 <vixInit+41>:        clc
0x0000002a98a9521a <vixInit+42>:        decl   0xffffffffffffff89(%rax)
0x0000002a98a9521d <vixInit+45>:        add    $0x103e2e,%eax
0x0000002a98a95222 <vixInit+50>:        je     0x2a98a953c5 <vixInit+469>
0x0000002a98a95228 <vixInit+56>:        mov    1064482(%rip),%ecx     
  # 0x2a98b99050 <equal+3088>
0x0000002a98a9522e <vixInit+62>:        add    $0xf8,%ecx
0x0000002a98a95234 <vixInit+68>:        mov    (%rcx),%edx
0x0000002a98a95236 <vixInit+70>:        and    $0x1f000000,%edx
0x0000002a98a9523c <vixInit+76>:        test   %edx,%edx
0x0000002a98a9523e <vixInit+78>:        mov    %edx,1064480(%rip)     
  # 0x2a98b99064 <equal+3108>
0x0000002a98a95244 <vixInit+84>:        jne    0x2a98a95263 <vixInit+115>
0x0000002a98a95246 <vixInit+86>:        mov    1064355(%rip),%rdi     
  # 0x2a98b98ff0 <equal+2992>
0x0000002a98a9524d <vixInit+93>:        movzwl 0xae(%rdi),%esi
End of assembler dump.

info all-registers
rax            0x2a98b9a000     182950928384
rbx            0xc5c670 12961392
rcx            0x98b9a0f8       2562302200
rdx            0xc      12
rsi            0xffff   65535
rdi            0x0      0
rbp            0x0      0x0
rsp            0x7fbfffd560     0x7fbfffd560
r8             0x8      8
r9             0xf89f0000       4171169792
r10            0x1      1
r11            0x200206 2097670
r12            0x7fc7f0 8374256
r13            0x0      0
r14            0x1      1
r15            0x0      0
rip            0x2a98a95234     0x2a98a95234 <vixInit+68>
eflags         0x210282 2163330
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
st0            0        (raw 0x00000000000000000000)
st1            0        (raw 0x00000000000000000000)
st2            0        (raw 0x00000000000000000000)
st3            0        (raw 0x00000000000000000000)
st4            0        (raw 0x00000000000000000000)
st5            0        (raw 0x00000000000000000000)
st6            0.062500000000000027755575615628913511   (raw
0x3ffb8000000000001000)
st7            128      (raw 0x40068000000000000000)
fctrl          0x37f    895
fstat          0x20     32
ftag           0xffff   65535
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0
xmm0           {f = {0x0, 0x3, 0x0, 0x0}}       {f = {0, 3.5, 0, 0}}
xmm1           {f = {0x0, 0x3, 0x0, 0x0}}       {f = {0, 3.5, 0, 0}}
xmm2           {f = {0x0, 0xb0, 0x0, 0x0}}      {f = {-0, 176, 0, 0}}
xmm3           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-0, 0, 0, 0}}
xmm4           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {0.707106769, 0, 0, 0}}
xmm5           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-0.00125368242, 0, 0, 0}}
xmm6           {f = {0x0, 0x2, 0x0, 0x0}}       {f = {0, 2.5, 0, 0}}
xmm7           {f = {0x0, 0x1, 0x0, 0x0}}       {f = {3.01326646e+23,
1.80177665, 0, 0}}
xmm8           {f = {0x0, 0x1, 0x0, 0x0}}       {f = {-1.21929812e+29,
1.87500191, 0, 0}}
xmm9           {f = {0x0, 0x0, 0x0, 0x0}}       {f = {0, 0, 0, 0}}
xmm10          {f = {0x0, 0x0, 0x0, 0x0}}       {f = {0, 0, 0, 0}}
xmm11          {f = {0x0, 0x1, 0x0, 0x0}}       {f = {1.74461659e-42,
1.75, 0, 0}}
xmm12          {f = {0x0, 0x0, 0x0, 0x0}}       {f = {-5.03364132e-27,
-0.0505250357, 0, 0}}
xmm13          {f = {0x0, 0x0, 0x0, 0x0}}       {f = {2.21156427e-12,
-0.0625403821, 0, 0}}
xmm14          {f = {0x0, 0x26, 0x0, 0x0}}      {f = {0, 38, 0, 0}}
xmm15          {f = {0x0, 0x0, 0x0, 0x0}}       {f = {0, 0, 0, 0}}
mxcsr          0x1fa0   8096

I hope it can help
thanks
maxxer




More information about the MPlayer-users mailing list