[MPlayer-users] bug report on the fbdev/multiple files crash problem

Roberto De Leo deleo at unica.it
Tue Dec 31 02:20:04 CET 2002


Hi,
I have the very same problem that Siim is talking about, and I 
experienced it with two
very different settings:
1. mplayer 0.90rc2, AMD 1GHz w/ Ati Radeon VE, kernel 2.4.20 w/ vesa FB, 
gcc 3.2
2. mplayer 0.90rc1, AMD XP 1.7GHz w/ G400, kernel 2.4.18 w/ matroxfb, 
gcc 2.95.3.
The error is always the same. To use the very same Siim words:

 >Whenever I use "mplayer -vo fbdev <file1> <file2>" (or -playlist) it does
 >play <file1> but then with <file2> it crashes with following output:
 >fbdev: Can't put VSCREENINFO: Invalid argument
 >FATAL: Cannot initialize video driver!
 >init_vo failed

Here is my bug report for one of the two systems:

System data:

Distribution Slackware 8.1 heavily patched

CPU: AMD Athlon(TM) XP 1700+

Kernel:
Linux nehwon 2.4.18 #12 Tue Aug 6 12:19:25 UTC 2002 i686 unknown

libc:
/lib/libc-2.2.5.so

gcc:
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release)

$ ldd --version
ldd (GNU libc) 2.2.5

video card:
Matrox Graphics, Inc. MGA G400 AGP (rev 4).

audio card:
C-Media Electronics Inc CM8738 (rev 16).

When I try to play

mplayer -vo fbdev a2.avi a1.avi I get the following log:

<----------- mplayer log -----------------------------------

sing GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc1-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP 
Multiprocessor/Athlon XP eXtreme Performance (F
amily: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

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: 49 audio & 123 video codecs
Font /root/.mplayer/font/font.desc loaded successfully! (210 chars)
Using Linux hardware RTC timing (1024Hz)
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

Playing a2.avi
Detected AVI file format!
VIDEO: [DX50] 576x240 24bpp 25.00 fps 871.1 kbps (106.3 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 12000->176400 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Start playing...
This file was encoded with DivX501 Build484
VDec: vo config request - 576 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.40:1 - prescaling to correct movie aspect.
VO: [fbdev] 576x240 => 576x240 Planar YV12
Using MMX2 for colorspace transform
A: 0.1 V: 0.1 A-V: 0.024 ct: 0.006 3/ 3 0% 0% 0.0% 0 0 0%
A: 0.3 V: 0.2 A-V: 0.017 ct: 0.014 7/ 7 0% 0% 0.0% 0 0 0%
...
A: 16.5 V: 16.5 A-V: 0.002 ct: 0.030 413/413 8% 4% 0.8% 0 0 0%

Playing a1.avi
Detected AVI file format!
VIDEO: [DIV3] 720x400 24bpp 25.00 fps 390.7 kbps (47.7 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Start playing...
VDec: vo config request - 720 x 400 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [fbdev] 720x400 => 720x400 Planar YV12
FATAL: Cannot initialize video driver!

FATAL: Couldn't initialize video filters (-vop) or video output (-vo)!
fbdev: Can't put VSCREENINFO: Invalid argument
init_vo failed



MPlayer interrupted by signal 11 in module: uninit_vo
- MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with 
--enable-debug and make a 'gdb' back
trace and disassembly. For details, see DOCS/bugreports.html section 5.b.
- MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer 
code _or_ in your drivers _or_ in
your gcc version. If you think it's MPlayer's fault, please read 
DOCS/bugreports.html and follow instruct
ions there. We can't and won't help unless you provide these 
informations when reporting a possible bug.

-------------------------------------------------------------->

If I use fbdev:vidix instead of the simple fbdev I get a slightly 
different error:

<----------- mplayer log ------------------------------------

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc1-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP 
Multiprocessor/Athlon XP eXtreme Performance (F
amily: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

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: 49 audio & 123 video codecs
Font /root/.mplayer/font/font.desc loaded successfully! (210 chars)
Using Linux hardware RTC timing (1024Hz)
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

Playing a2.avi
Detected AVI file format!
VIDEO: [DX50] 576x240 24bpp 25.00 fps 871.1 kbps (106.3 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 12000->176400 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[mga] Found MGA G400/G450
Matrox MGA G200/G400/G450 YUV Video interface v2.01 (c) Aaron Holtzman & 
A'rpi
[mga] detected RAMSIZE is 16 MB
[mga] Set write-combining type of video memory
syncfb (mga): IRQ disabled in mga_vid.c
VIDIX: Description: Matrox MGA G200/G4x0/G5x0 YUV Video
VIDIX: Author: Aaron Holtzman, Arpad Gereoffy, Alex Beregszaszi, Nick 
Kurshev
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Start playing...
This file was encoded with DivX501 Build484
VDec: vo config request - 576 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.40:1 - prescaling to correct movie aspect.
VO: [fbdev] 576x240 => 576x240 Planar YV12
[mga] Saved colorkey (ON: 1 01:01:FE)
fbdev: Using VIDIX
A: 0.1 V: 0.1 A-V: 0.022 ct: 0.005 3/ 3 0% 0% 0.0% 0 0 0%
A: 0.3 V: 0.2 A-V: 0.016 ct: 0.013 7/ 7 0% 0% 0.0% 0 0 0%
...
A: 16.5 V: 16.5 A-V: 0.001 ct: 0.027 413/413 6% 0% 0.7% 0 0 0%
[mga] Restoring colorkey (ON: 1 01:01:FE)

Playing a1.avi
Detected AVI file format!
VIDEO: [DIV3] 720x400 24bpp 25.00 fps 390.7 kbps (47.7 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[mga] Found MGA G400/G450
Matrox MGA G200/G400/G450 YUV Video interface v2.01 (c) Aaron Holtzman & 
A'rpi
[mga] detected RAMSIZE is 16 MB
[mga] Set write-combining type of video memory
syncfb (mga): IRQ disabled in mga_vid.c
VIDIX: Description: Matrox MGA G200/G4x0/G5x0 YUV Video
VIDIX: Author: Aaron Holtzman, Arpad Gereoffy, Alex Beregszaszi, Nick 
Kurshev
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Start playing...
VDec: vo config request - 720 x 400 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [fbdev] 720x400 => 720x400 Planar YV12
FATAL: Cannot initialize video driver!

FATAL: Couldn't initialize video filters (-vop) or video output (-vo)!
fbdev: Can't put VSCREENINFO: Inappropriate ioctl for device
init_vo failed

fbdev: ioctl FBIOGET_VSCREENINFO: Inappropriate ioctl for device
fbdev: Can't reset original fb_var_screeninfo: Inappropriate ioctl for 
device
[mga] Saved colorkey (ON: 1 01:01:FE)
[mga] Restoring colorkey (ON: 1 01:01:FE)

-------------------------------------------------------------->


If you need any other info just let me know.
Thanks,
Roberto





More information about the MPlayer-users mailing list