[MPlayer-users] Fullscreen problem with xv/x11 output

Karim Belbachir kbelbachir at yahoo.fr
Mon Nov 18 00:16:02 CET 2002


Hi,

I get a crash every time I run MPlayer in fullscreen mode (the -fs option) with the xv/x11/xvidix video output. This bug seems to exist since the 0.90pre5 release or so. The bug doesn't occur with the following command lines:
# mplayer -vo dga ../theThing.avi
$ mplayer -fs -vo sdl ../theThing.avi
$ mplayer -xy 1024 -vo xv ../theThing.avi # fullscreen 

Command:

$ ./mplayer -v -vo xv -fs ../theThing.avi > mplayer.log 2>&1

System Info:

Slackware 8.0
Kernel 2.4.19
XFree 4.1.0
libc 2.2.3
gcc 2.95.3
ld & as 2.11.90.0.19
fvwm 2.4.0

Hardware & drivers:

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 4
model name      : AMD Athlon(tm) processor
stepping        : 4
cpu MHz         : 1195.251
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips        : 2385.51

My graphic card is a ATI Rage 128 Pro 32 Mb
The X driver is r128_drv.o

Misc:

Here is the definition of my 320x240 mode in the XF86Config file:
Modeline    "320x240"  12.588 320 336 384 400  240 245 246 262 Doublescan
gdb log: ftp://mplayerhq.hu/MPlayer/incoming/gdb-xv.log

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


MPlayer CVS-021117-06:00-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 4)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

/home/karim/.mplayer/config(11): option: vo
/home/karim/.mplayer/config(11): parameter: sdl,xv
/home/karim/.mplayer/config(14): option: ao
/home/karim/.mplayer/config(14): parameter: oss
/home/karim/.mplayer/config(17): option: fs
/home/karim/.mplayer/config(17): parameter: no
/home/karim/.mplayer/config(38): option: zoom
/home/karim/.mplayer/config(38): parameter: yes
/home/karim/.mplayer/config(127): option: framedrop
/home/karim/.mplayer/config(127): parameter: no
/home/karim/.mplayer/config(130): option: vfm
/home/karim/.mplayer/config(130): parameter: ffmpeg
/home/karim/.mplayer/config(134): option: afm
/home/karim/.mplayer/config(134): parameter: libmad
/home/karim/.mplayer/config(136): option: osdlevel
/home/karim/.mplayer/config(136): parameter: 1
/home/karim/.mplayer/config(138): option: pp
/home/karim/.mplayer/config(138): parameter: 0x20000
Reading /home/karim/.mplayer/codecs.conf: can't open '/home/karim/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 38 audio & 110 video codecs
CommandLine: '-v' '-vo' 'xv' '-fs' '../theThing.avi'
get_path('font/font.desc') -> '/home/karim/.mplayer/font/font.desc'
font: can't open file: /home/karim/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/home/karim/.mplayer/input.conf'
Can't open input config file /home/karim/.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 ../theThing.avi
Not an URL!
File size is 5413268 bytes
Detected AVI file format!
list_end=0x138
======= AVI Header =======
us/frame: 66666  (fps=15.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (16) HAS_INDEX
frames  total: 524   initial: 11
streams: 2
Suggested BufferSize: 0
Size:  320 x 240
list_end=0xD4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: cvid (64697663)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 600/40 = 15.000
Start: 0   Len: 491
Suggested BufferSize: 20228
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 1684633187='cvid'
  biSizeImage 0
===========================
list_end=0x138
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 11
Rate: 22050/1 = 22050.000
Start: 0   Len: 721733
Suggested BufferSize: 44100
Quality 10000
Sample size: 2
found 'wf', 16 bytes of 18
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 1
Samplerate: 22050
avg byte/sec: 44100
Block align: 2
bits/sample: 16
cbSize: 0
Broken chunk?  chunksize=1716  (id=JUNK)
list_end=0x5278CC
Found movie at 0x800 - 0x5278CC
Reading INDEX block, 524 chunks for 524 frames (fpos=0x5278d4)
AVI index offset: 0x7FC (movi=0x800 idx0=0x4 idx1=0xAC50)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=4676911
VIDEO:  [cvid]  320x240  24bpp  15.00 fps  1143.0 kbps (139.5 kbyte/s)
[V] filefmt:3  fourcc:0x64697663  size:320x240  fps:15.00  ftime:=0.0667
get_path('sub/') -> '/home/karim/.mplayer/sub/'
==========================================================================
Trying to force audio codec driver family libmad ...
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer
AUDIO: 22050 Hz, 1 ch, 16 bit (0x10), ratio: 44100->44100 (352.8 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Create window for WM detect ...
[x11] Unknown wm type...
Xv: could not grab port 50
Could not find free Xvideo port - maybe another process is already using it.
Close all video applications, and try again. If that does not help,
see 'mplayer -vo help' for other (non-xv) video out drivers.
Error opening/initializing the selected video_out (-vo) device!

uninit audio: pcm  
DEMUXER: freeing demuxer at 0x82659c8  
vo: uninit ...

Exiting... (End of file)


More information about the MPlayer-users mailing list