Bug 590 - xvdriver + mplayer = mplayer crash (Fedora Core 2 Test 3)
Summary: xvdriver + mplayer = mplayer crash (Fedora Core 2 Test 3)
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/mach64 (show other bugs)
Version: 6.7.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-03 12:51 UTC by Sebastian
Modified: 2006-06-28 12:14 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Sebastian 2004-05-03 12:51:40 UTC
when i'm using "mplayer -vo xv video.avi", it doesn't work at all....but with
-vo x11 does

my info:
____________


$ uname -r
2.6.5-1.327



$ xvinfo
X-Video Extension version 2.2
screen #0
  Adaptor #0: "ATI Mach64 Back-end Overlay Scaler"
    number of ports: 1
    port base: 61
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x23
      depth 24, visualID 0x24
      depth 24, visualID 0x25
      depth 24, visualID 0x26
      depth 24, visualID 0x27
      depth 24, visualID 0x28
      depth 24, visualID 0x29
      depth 24, visualID 0x2a
    number of attributes: 8
      "XV_AUTOPAINT_COLOURKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_COLOURKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 197121)
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 197121)
      "XV_COLOURKEY_MASK" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 16777215)
      "XV_COLORKEY_MASK" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 16777215)
      "XV_SET_DEFAULTS" (range 0 to 0)
              client settable attribute
      "XV_DOUBLE_BUFFER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
    maximum XvImage size: 720 x 2048
    Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)



$ X -version
 
Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: Linux 2.4.21-4.ELsmp i686 [ELF]
Current Operating System: Linux cm-vina1-131-2.cm.vtr.net 2.6.5-1.327 #1 Sun Apr
18 04:51:55 EDT 2004 i686
Build Date: 15 April 2004
Build Host: tweety.devel.redhat.com
  
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.5-1.327 (bhcompile@bugs.build.redhat.com) (gcc
version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #1 Sun Apr 18 04:51:55 EDT 2004



$ mplayer
MPlayer dev-CVS--3.3.2 (C) 2000-2004 MPlayer Team
 
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 1553 MHz (Family: 6,
Stepping: 6)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Reading config file /etc/mplayer/mplayer.conf: No existe el fichero o el directorio
Reading config file /home/jonahlomu/.mplayer/config
Reading /home/jonahlomu/.mplayer/codecs.conf: Can't open
'/home/jonahlomu/.mplayer/codecs.conf': No existe el fichero o el directorio
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No
existe el fichero o el directorio
Using built-in default codecs.conf.
Usage:   mplayer [options] [url|path/]filename
 
Basic options: (complete list in the man page)
 -vo <drv[:dev]>  select video output driver & device ('-vo help' for a list)
 -ao <drv[:dev]>  select audio output driver & device ('-ao help' for a list)
 vcd://<trackno>   play VCD (Video CD) track from device instead of plain file
 dvd://<titleno>   play DVD title from device instead of plain file
 -alang/-slang    select DVD audio/subtitle language (by 2-char country code)
 -ss <timepos>    seek to given (seconds or hh:mm:ss) position
 -nosound         do not play sound
 -fs              fullscreen playback (or -vm, -zoom, details in the man page)
 -x <x> -y <y>    set display resolution (for use with -vm or -zoom)
 -sub <file>      specify subtitle file to use (also see -subfps, -subdelay)
 -playlist <file> specify playlist file
 -vid x -aid y    select video (x) and audio (y) stream to play
 -fps x -srate y  change video (x fps) and audio (y Hz) rate
 -pp <quality>    enable postprocessing filter (details in the man page)
 -framedrop       enable frame dropping (for slow machines)
 
Basic keys: (complete list in the man page, also check input.conf)
 <-  or  ->       seek backward/forward 10 seconds
 up or down       seek backward/forward  1 minute
 pgup or pgdown   seek backward/forward 10 minutes
 < or >           step backward/forward in playlist
 p or SPACE       pause movie (press any key to continue)
 q or ESC         stop playing and quit program
 + or -           adjust audio delay by +/- 0.1 second
 o                cycle OSD mode:  none / seekbar / seekbar + timer
 * or /           increase or decrease PCM volume
 z or x           adjust subtitle delay by +/- 0.1 second
 r or t           adjust subtitle position up/down, also see -vf expand
 
 * * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *



$ rpm -q fedora-release
fedora-release-1.92-1



error:
------
1)

Playing Naruto.mpeg.
MPEG-PS file format detected.
 
Too many video packets in the buffer: (4096 in 8341002 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
MPEG: No audio stream found -> no sound.
VIDEO:  MPEG1  640x480  (aspect 1)  23,976 fps    0,0 kbps ( 0,0 kbyte/s)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 640 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf 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 libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Planar YV12
X11 error: BadAlloc (insufficient resources for operation)
 

2)

MPlayer interrupted by signal 6 in module: flip_page
- 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/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
Xlib: unexpected async reply (sequence 0x5c)!


Playing [mundo-anime]_Naruto_81_sub_esp_[divx_5.1.1].avi.
AVI file format detected.
VIDEO:  [DX50]  640x480  24bpp  29,970 fps  910,6 kbps (111,2 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.5.10.1 (build 2366/release)
==========================================================================
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)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
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)
AO: [oss] 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 - 640 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
VO: [xv] 640x480 => 640x480 Planar YV12
X11 error: BadAlloc (insufficient resources for operation)  0,0% 4 0 0%
 
 
MPlayer interrupted by signal 6 in module: flip_page
- 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/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
Xlib: unexpected async reply (sequence 0x5c)!



now with "-vo x11" works fine:
______________________________

Playing [mundo-anime]_Naruto_81_sub_esp_[divx_5.1.1].avi.
AVI file format detected.
VIDEO:  [DX50]  640x480  24bpp  29,970 fps  910,6 kbps (111,2 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.5.10.1 (build 2366/release)
==========================================================================
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)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
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)
AO: [oss] 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 - 640 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
VO: [x11] 640x480 => 640x480 Planar YV12
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
A:   3,1 V:   3,0 A-V:  0,022 ct:  0,164   92/ 92  38% 55%  5,0% 47 0 0%
Exiting... (Quit)

____________

thanks in advance
Comment 1 Tilman Sauerbeck 2004-05-15 01:32:49 UTC
Same here.

I'm running CRUX Linux 1.3 w/ xorg 6.7.0 on a Matrox G450. I'm using the 'mga'
driver. This problem didn't exist with XFree86 4.3, didn't check with 4.4, though.

The first time I play a movie in X it *always* works. After this, I need to
rescale the movie to make it play again (lower resolution -> takes less memory).
Comment 2 Arwed v. Merkatz 2004-06-06 21:12:29 UTC
Isn't this the same problem as bug #474?
Comment 3 Mike A. Harris 2004-08-20 20:18:02 UTC

*** This bug has been marked as a duplicate of 474 ***
Comment 4 Roc Vallès Domènech 2006-03-25 10:11:33 UTC
It isn't! that other bug is about a newer ati running propietary ati drivers.
Comment 5 Erik Andren 2006-04-16 20:45:51 UTC
Does it work with a current version of xorg?
Comment 6 Erik Andren 2006-04-30 17:33:24 UTC
Ping to the bug submitter!
Comment 7 Erik Andren 2006-06-28 12:14:25 UTC
Closing due to the lack of activity from the bug poster. If the problem still
persists with a _current_ version of xorg, reopen the bug!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.