rc4? Re: [MPlayer-dev-eng] TODO for release? bugs status...

Filip Kalinski filon at pld.org.pl
Thu Jan 30 01:52:50 CET 2003


On Wed, 29 Jan 2003 23:40:34 +0100
Fabien Tassin <fta+mplayer at sofaraway.org> wrote:

> Hi,
> 
> According to Arpi:
> > 
> > > - Re: [Mplayer-cvslog] CVS: main/libvo vo_vesa.c,1.82,1.83
> > >   This patch makes mplayer unusable in console mode, always leaves the
> > >   console in graphic mode.
> > any ideas on this one?
> > otherwise we should ignore, it was only one bugreport, zero patch...
> 
> I reported this and just asked to revert this two line patch that fixed
> nothing at all but caused troubles, at least to me.
> I tried to find a way to avoid the reported (not by me) segv but I
> never experienced it in the past, not even now. I've spent some time
> in the code and found nothing, except that checking for NULL to trigger
> vesa_term() is really wrong (perhaps not 10l but at least 2l). From my
> understanding of vo_vesa.c::uninit() and linux/vbelib.c::vbeSaveState(),
> it is wrong to test init_state to trigger vesa_term() as there are plenty
> of good reasons to have it NULL even if vesa mode was successfully
> initialized and used. I suggest to use the returned value of vbeSaveState()
> instead.
> 
> I'd be curious to see the backtrace of the segv that this patch was
> supposed to fix. If someone could provide it to me, I'd be happy to
> work on a patch.
> 
> BTW, if you are in a hurry for 0.90, plz revert as I did myself.
> 

(run when in X)
sudo ./mplayer ~/movies/Megaus.mpg -vo vesa >.log 2>&1

######################################### (with two-liner)
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer CVS-030125-22:33-3.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/filon/.mplayer/config
Reading /home/filon/.mplayer/codecs.conf: can't open '/home/filon/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 49 audio & 130 video codecs
Cannot load font: /home/filon/.mplayer/subfont.ttf
/home/filon/.mplayer/subfont.ttf doesn't look like a font description, ignoring
Using Linux hardware RTC timing (1024Hz).
Input config file /home/filon/.mplayer/input.conf parsed : 52 binds

Playing /home/filon/movies/Megaus.mpg
MPEG-PS file format detected.
VIDEO:  MPEG1  352x288  (aspect 8)  25.00 fps  1687.5 kbps (210.9 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
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 filter: [pp=de]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (preferred csp: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Opening video filter: [lavc]
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
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 - 352 x 288 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [vesa] 352x288 => 384x288 Mpeg PES  [fs]
[?25lvo_vesa: Found VESA VBE BIOS Version 3.0 Revision: 311
vo_vesa: Video memory: 32768 Kb
vo_vesa: VESA Capabilities: 8-bit DAC, VGA CRTC, normal RAMDAC, no stereoscopic, no stereo
vo_vesa: !!! Below will be printed OEM info. !!!
vo_vesa: You should watch 5 OEM related lines below else you've broken vm86
vo_vesa: OEM info: NVidia
vo_vesa: OEM Revision: 311
vo_vesa: OEM vendor: NVidia Corporation
vo_vesa: OEM Product Name: dia Corporation
vo_vesa: OEM Product Rev: Chip Rev A1
vo_vesa: Hint: To get workable TV-Out you should have plugged tv-connector in
vo_vesa: before booting PC since VESA BIOS initializes itself only during POST
swScaler: Mpeg PES is not supported as input format
FATAL: Cannot initialize video driver.
vo_vesa: Using VESA mode (29) = 13d [640x400 at 16]
vo_vesa: Can't initialize SwScaler
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg12] vfm:ffmpeg (FFmpeg MPEG 1/2)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int 
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa9: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa9] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 352 x 288 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [vesa] 352x288 => 384x288 Mpeg PES  [fs]
[?25lvo_vesa: Found VESA VBE BIOS Version 3.0 Revision: 311
vo_vesa: Video memory: 32768 Kb
vo_vesa: VESA Capabilities: 8-bit DAC, VGA CRTC, normal RAMDAC, no stereoscopic, no stereo
vo_vesa: !!! Below will be printed OEM info. !!!
vo_vesa: You should watch 5 OEM related lines below else you've broken vm86
vo_vesa: OEM info: NVidia
vo_vesa: OEM Revision: 311
vo_vesa: OEM vendor: NVidia Corporation
vo_vesa: OEM Product Name: dia Corporation
vo_vesa: OEM Product Rev: Chip Rev A1
vo_vesa: Hint: To get workable TV-Out you should have plugged tv-connector in
vo_vesa: before booting PC since VESA BIOS initializes itself only during POST
swScaler: Mpeg PES is not supported as input format
FATAL: Cannot initialize video driver.

FATAL: Could not initialize video filters (-vop) or video output (-vo).
vo_vesa: Using VESA mode (29) = 13d [640x400 at 16]
vo_vesa: Can't initialize SwScaler
init_vo failed

alsa-uninit: pcm closed

Exiting... (End of file)
################################

And mplayer finshes its work almost properly (line input possible, cursor not visble
in X terminal).

And without patch there is (of course :-) SIGSEV, and mplayer leaves the screen 
black (in some strange graphics mode), monior goes off and to make it work I have to switch to textmode
and back to make monitor work again.

################################### (no two_liner)
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer CVS-030125-22:33-3.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/filon/.mplayer/config
Reading /home/filon/.mplayer/codecs.conf: can't open '/home/filon/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 49 audio & 130 video codecs
Cannot load font: /home/filon/.mplayer/subfont.ttf
/home/filon/.mplayer/subfont.ttf doesn't look like a font description, ignoring
Using Linux hardware RTC timing (1024Hz).
Input config file /home/filon/.mplayer/input.conf parsed : 52 binds

Playing /home/filon/movies/Megaus.mpg
MPEG-PS file format detected.
VIDEO:  MPEG1  352x288  (aspect 8)  25.00 fps  1687.5 kbps (210.9 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
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 filter: [pp=de]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (preferred csp: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Opening video filter: [lavc]
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
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 - 352 x 288 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [vesa] 352x288 => 384x288 Mpeg PES  [fs]
[?25lvo_vesa: Found VESA VBE BIOS Version 3.0 Revision: 311
vo_vesa: Video memory: 32768 Kb
vo_vesa: VESA Capabilities: 8-bit DAC, VGA CRTC, normal RAMDAC, no stereoscopic, no stereo
vo_vesa: !!! Below will be printed OEM info. !!!
vo_vesa: You should watch 5 OEM related lines below else you've broken vm86
vo_vesa: OEM info: NVidia
vo_vesa: OEM Revision: 311
vo_vesa: OEM vendor: NVidia Corporation
vo_vesa: OEM Product Name: dia Corporation
vo_vesa: OEM Product Rev: Chip Rev A1
vo_vesa: Hint: To get workable TV-Out you should have plugged tv-connector in
vo_vesa: before booting PC since VESA BIOS initializes itself only during POST
swScaler: Mpeg PES is not supported as input format
FATAL: Cannot initialize video driver.
vo_vesa: Using VESA mode (29) = 13d [640x400 at 16]
vo_vesa: Can't initialize SwScaler
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg12] vfm:ffmpeg (FFmpeg MPEG 1/2)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int 
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa9: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa9] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 352 x 288 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [vesa] 352x288 => 384x288 Mpeg PES  [fs]
[?25lvo_vesa: Found VESA VBE BIOS Version 3.0 Revision: 311
vo_vesa: Video memory: 32768 Kb
vo_vesa: VESA Capabilities: 8-bit DAC, VGA CRTC, normal RAMDAC, no stereoscopic, no stereo
vo_vesa: !!! Below will be printed OEM info. !!!
vo_vesa: You should watch 5 OEM related lines below else you've broken vm86
vo_vesa: OEM info: NVidia
vo_vesa: OEM Revision: 311
vo_vesa: OEM vendor: NVidia Corporation
vo_vesa: OEM Product Name: dia Corporation
vo_vesa: OEM Product Rev: Chip Rev A1
vo_vesa: Hint: To get workable TV-Out you should have plugged tv-connector in
vo_vesa: before booting PC since VESA BIOS initializes itself only during POST
swScaler: Mpeg PES is not supported as input format
FATAL: Cannot initialize video driver.

FATAL: Could not initialize video filters (-vop) or video output (-vo).
vo_vesa: Using VESA mode (29) = 13d [640x400 at 16]
vo_vesa: Can't initialize SwScaler
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' backtrace and
  disassembly. For details, see DOCS/bugreports.html#crash.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 the instructions there. We can't and won't help unless you provide
  this information when reporting a possible bug.
alsa-uninit: pcm closed

###################################

With latest Arpi's patch it leaves video card in text-mode (not good), so I have to switch
to some other console and back to make it working, and it also leaves cursor unvisible
(minor issue). But it makes SIGSEV disapear, the end of log looks like tahat:

###################################
FATAL: Cannot initialize video driver.

FATAL: Could not initialize video filters (-vop) or video output (-vo).
vo_vesa: Using VESA mode (29) = 13d [640x400 at 16]
vo_vesa: Can't initialize SwScaler
init_vo failed

alsa-uninit: pcm closed

Exiting... (End of file)
######################################

So it is not fixing all isues...

-- 
Filip Kalinski <filon at pld.org.pl>



More information about the MPlayer-dev-eng mailing list