[MPlayer-users] DXR3 issue(s)
Kylus
kylus at pizzle.org
Thu May 9 03:52:01 CEST 2002
Hello,
For several CVS versions of MPlayer now I have had the
same issue using the DXR3 card to decode DVDs or regular mpeg1 files. I
have not previously mentioned it because until recently I was using gcc
2.96, and I fear Arpi's wrath :). However I have installed gcc3 onto the
machine and it is still an isse. The DVD works fine using other output
options (mga, xmga, etc) but not with the decoder card.
MPlayer 0.90pre3 was configured with --enable-debug=3 --cc=/usr/bin/gcc3
--enable-gui
My system:
Pentium III 800 w/ RedHat 7.3
glibc-2.2.5-34
Linux i686 kernel 2.4.18 (with GRsecurity patch...nothing is turned on though)
# ls -l /lib/libc*
-rwxr-xr-x 1 root root 1260480 Apr 15 09:44 /lib/libc-2.2.5.so
lrwxrwxrwx 1 root root 11 May 6 23:17 /lib/libcap.so -> libcap.so.1
lrwxrwxrwx 1 root root 14 May 6 23:03 /lib/libcap.so.1 -> libcap.so.1.10
-rw-r--r-- 1 root root 39215 Feb 28 17:58 /lib/libcap.so.1.10
lrwxrwxrwx 1 root root 17 May 6 23:00 /lib/libcom_err.so.2 -> libcom_err.so.2.0
-rwxr-xr-x 1 root root 8228 Apr 9 12:20 /lib/libcom_err.so.2.0
-rwxr-xr-x 1 root root 23575 Apr 15 09:27 /lib/libcrypt-2.2.5.so
-rwxr-xr-x 1 root root 924879 Apr 4 12:23 /lib/libcrypto.so.0.9.6b
lrwxrwxrwx 1 root root 19 Jan 17 01:12 /lib/libcrypto.so.1 -> libcrypto.so.0.9.6b
lrwxrwxrwx 1 root root 19 Jan 17 01:09 /lib/libcrypto.so.2 -> libcrypto.so.0.9.6b
lrwxrwxrwx 1 root root 17 May 6 23:00 /lib/libcrypt.so.1 -> libcrypt-2.2.5.so
lrwxrwxrwx 1 root root 13 May 6 23:00 /lib/libc.so.6 -> libc-2.2.5.so
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 801.831
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 1599.07
XFree86 4.2.0-8
GNU ld version 2.11.93.0.2 20020207
gcc 3.0.4
binutils version 2.11.93.0.2 20020207
I have a Matrox Millenium G400 Max with 32 MB of RAM using XFree's
built-in driver.
The DXR3 Card is using driver 0.12.0cvs and the following was in syslog:
kernel: em8300: EM8300 8300 (rev 2) bus: 0, devfn: 88, irq: 10, memory: 0xe0000000.
kernel: em8300: mapped-memory at 0xed32f000
kernel: em8300: using MTRR
kernel: em8300: 1 EM8300 card(s) found.
kernel: em8300_main.o: Chip revision: 2
kernel: adv717x.o: ADV7175A chip detected
kernel: i2c-core.o: client [ADV7175A chip] registered to adapter [EM8300 I2C bus 1](pos. 0).
kernel: adv717x.o: Configuring for PAL 60
kernel: i2c-core.o: adapter EM8300 I2C bus 1 registered as adapter 4.
kernel: i2c-core.o: adapter EM8300 I2C bus 2 registered as adapter 5.
kernel: adv717x.o: Configuring for NTSC
kernel: em8300_audio.o: Digital AC3 audio enabled
kernel: em8300: Microcode version 0x29 loaded
kernel: em8300_audio.o: Analog audio enabled
I have attached my bt and disassembly output to this letter as well. In
short I get a SIGSEGV when I try to play a DVD using DXR3. I this:
==> Found audio stream: 128
*** [vo] Allocating mp_image_t, 720x480x0bpp YUV packed, 0 bytes
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
@@@ libmpeg2 returned from sig11... (bad file?) @@@
V: 0.2 1 0% 0% 0.0% 0 0 0%
MPlayer interrupted by signal 11 in module: video_read_frame
etc...etc...see the attached for more thorough info about the crash.
Thank you,
Patrick
'kylus'
-------------- next part --------------
Script started on Wed May 8 21:20:13 2002
]0;root at blkdragon: /home/kylus/CVS/MPlayer-0.90pre3[root at blkdragon MPlayer-0.90pre3]# d gdb ./mplayer
GNU gdb Red Hat Linux (5.1.90CVS-5)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) r -vo dxr3 -v c mpege pes -v -ao oss:/dev/em8300_ma -dvd 1
Starting program: /home/kylus/CVS/MPlayer-0.90pre3/mplayer -vo dxr3 -vc mpegpes -v -ao oss:/dev/em8300_ma -dvd 1
[New Thread 1024 (LWP 21106)]
MPlayer 0.90pre3-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU vendor name: GenuineIntel max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 3)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 SSE
Reading /root/.mplayer/codecs.conf: 30 audio & 80 video codecs
CommandLine: '-vo' 'dxr3' '-vc' 'mpegpes' '-v' '-ao' 'oss:/dev/em8300_ma' '-dvd' '1'
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
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux's hardware RTC timing (1024Hz)
get_path('input.conf') -> '/root/.mplayer/input.conf'
Parsing input config file /root/.mplayer/input.conf
Input config file /root/.mplayer/input.conf parsed : 50 binds
Playing DVD title 1
get_path('') -> '/root/.mplayer/'
get_path('DVDKeys') -> '/root/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 11 titles on this DVD.
There are 1 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened!
[open] audio stream: 0 audio format: ac3 language: en aid: 128
[open] audio stream: 1 audio format: ac3 language: ja aid: 129
[open] number of audio channels on disk: 2.
[open] subtitle ( sid ): 0 language: en
[open] number of subtitles on disk: 1
DVD start cell: 0 pack: 0x0-0xA76D
DVD start=0 end=42861
DVD Seek! lba=0x0 cell=0 packs: 0x0-0xA76D
Angle-seek synced! skip=0 new_lba=0x0
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8337fd0
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8337fd0
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8337fd0
Checking for MOV
DEMUXER: freeing demuxer at 0x8337fd0
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x8337fd0
Checking for REAL
DEMUXER: freeing demuxer at 0x8337fd0
DEMUXER: freeing demuxer at 0x8337fd0
DEMUXER: freeing demuxer at 0x8337fd0
DEMUXER: freeing demuxer at 0x8337fd0
DEMUXER: freeing demuxer at 0x8337fd0
DEMUXER: freeing demuxer at 0x8337fd0
DVD Seek! lba=0x0 cell=0 packs: 0x0-0xA76D
Angle-seek synced! skip=0 new_lba=0x0
system stream synced at 0xD (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 129
Searching for sequence header... OK!
VIDEO: MPEG2 720x480 (aspect 2) 29.97 fps 10625.0 kbps (1328.1 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/root/.mplayer/sub/'
Detected audio codec: [a52] drv:14 (AC3-liba52)
Initializing audio codec...
Selecting Audio Decoder: [liba52] AC3-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: srate=48000 chans=2 bps=2 sfmt=0x10 ratio: 24000->192000
CPU vendor name: GenuineIntel max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 3)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
VO: [dxr3] FAME supported
VO: [dxr3] AVCODEC supported
VO: [dxr3] Error opening /dev/em8300_mv-0 for writing, trying /dev/em8300_mv instead
VO: [dxr3] Error opening /dev/em8300_sp-0 for writing, trying /dev/em8300_sp instead
libavcodec: CPU flags: mmx mmxext sse
==========================================================================
Forced video codec: mpegpes
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 480, Planar YV12
[PP] Sorry, postprocessing is not available
vo_debug: query(Mpeg PES) returned 0x10A (i=0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
video_out->init(720x480->720x540,flags=0,'MPlayer',0x4D504553)
VO: [dxr3] 720x480 => 720x540 Mpeg PES
VO: Description: DXR3/H+ video out
VO: Author: David Holm <dholm at iname.com>
VO: [dxr3] Setting up for NTSC.
VO: [dxr3] Setting aspect ratio to 4:3
VO: [dxr3] Format: MPEG-PES (no conversion needed)
Forcing video codec: [mpegpes] drv:1 prio:0 (Mpeg PES output (.mpg or Dxr3/DVB card))
==========================================================================
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 Hz 2 chans Signed 16-bit (Little-Endian)
audio_setup: using '/dev/em8300_ma' dsp device
Can't open audio device /dev/em8300_ma: Timer expired -> no sound
couldn't open/init audio device -> NOSOUND
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
==> Found audio stream: 128
*** [vo] Allocating mp_image_t, 720x480x0bpp YUV packed, 0 bytes
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 21106)]
block_copy (block=0x8356840, dest=0x0, stride=360) at idct_mmx.c:604
604 movq_r2m (mm0, *dest);
(gdb) bt
#0 block_copy (block=0x8356840, dest=0x0, stride=360) at idct_mmx.c:604
#1 0x080d9dfd in slice_process (picture=0x8356840, code=1 '\001', buffer=0x43fe4047 "\v\177\005?\036\221?") at slice.c:1016
#2 0x080a2be6 in parse_chunk (sh=0x833add8, code=1, buffer=0x43fe4047 "\v\177\005?\036\221?", framedrop=0) at vd_libmpeg2.c:215
#3 0x080a3042 in decode (sh=0x833add8, data=0x43fe4008, len=46947, flags=0) at vd_libmpeg2.c:278
#4 0x080a095e in decode_video (sh_video=0x833add8, start=0x43fe4008 "", in_size=46947, drop_frame=0) at dec_video.c:183
#5 0x0806ce0e in main (argc=10, argv=0xbff36d94, envp=0xbff36dc0) at mplayer.c:1526
#6 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) disassem
Dump of assembler code for function block_copy:
0x80ce6b0 <block_copy>: push %ebp
0x80ce6b1 <block_copy+1>: mov %esp,%ebp
0x80ce6b3 <block_copy+3>: mov 0x8(%ebp),%eax
0x80ce6b6 <block_copy+6>: mov 0xc(%ebp),%edx
0x80ce6b9 <block_copy+9>: mov 0x10(%ebp),%ecx
0x80ce6bc <block_copy+12>: movq (%eax),%mm0
0x80ce6bf <block_copy+15>: movq 0x8(%eax),%mm1
0x80ce6c3 <block_copy+19>: movq 0x10(%eax),%mm2
0x80ce6c7 <block_copy+23>: packuswb %mm1,%mm0
0x80ce6ca <block_copy+26>: movq 0x18(%eax),%mm3
0x80ce6ce <block_copy+30>: movq %mm0,(%edx)
0x80ce6d1 <block_copy+33>: packuswb %mm3,%mm2
0x80ce6d4 <block_copy+36>: movq 0x20(%eax),%mm0
0x80ce6d8 <block_copy+40>: add %ecx,%edx
0x80ce6da <block_copy+42>: movq 0x28(%eax),%mm1
0x80ce6de <block_copy+46>: movq %mm2,(%edx)
0x80ce6e1 <block_copy+49>: packuswb %mm1,%mm0
0x80ce6e4 <block_copy+52>: movq 0x30(%eax),%mm2
0x80ce6e8 <block_copy+56>: add %ecx,%edx
0x80ce6ea <block_copy+58>: movq 0x38(%eax),%mm3
0x80ce6ee <block_copy+62>: movq %mm0,(%edx)
0x80ce6f1 <block_copy+65>: packuswb %mm3,%mm2
0x80ce6f4 <block_copy+68>: movq 0x40(%eax),%mm0
0x80ce6f8 <block_copy+72>: add %ecx,%edx
0x80ce6fa <block_copy+74>: movq 0x48(%eax),%mm1
0x80ce6fe <block_copy+78>: movq %mm2,(%edx)
0x80ce701 <block_copy+81>: packuswb %mm1,%mm0
0x80ce704 <block_copy+84>: movq 0x50(%eax),%mm2
0x80ce708 <block_copy+88>: add %ecx,%edx
0x80ce70a <block_copy+90>: movq 0x58(%eax),%mm3
0x80ce70e <block_copy+94>: movq %mm0,(%edx)
0x80ce711 <block_copy+97>: packuswb %mm3,%mm2
0x80ce714 <block_copy+100>: movq 0x60(%eax),%mm0
0x80ce718 <block_copy+104>: add %ecx,%edx
0x80ce71a <block_copy+106>: movq 0x68(%eax),%mm1
0x80ce71e <block_copy+110>: movq %mm2,(%edx)
0x80ce721 <block_copy+113>: packuswb %mm1,%mm0
0x80ce724 <block_copy+116>: movq 0x70(%eax),%mm2
0x80ce728 <block_copy+120>: add %ecx,%edx
0x80ce72a <block_copy+122>: movq 0x78(%eax),%mm3
0x80ce72e <block_copy+126>: movq %mm0,(%edx)
0x80ce731 <block_copy+129>: packuswb %mm3,%mm2
0x80ce734 <block_copy+132>: movq %mm2,(%ecx,%edx,1)
0x80ce738 <block_copy+136>: pop %ebp
0x80ce739 <block_copy+137>: ret
End of assembler dump.
(gdb) q
The program is running. Exit anyway? (y or n) y
]0;root at blkdragon: /home/kylus/CVS/MPlayer-0.90pre3[root at blkdragon MPlayer-0.90pre3]#
Script done on Wed May 8 21:21:12 2002
More information about the MPlayer-users
mailing list