[MPlayer-users] gl fullscreen switch bug

Ewoud Werkman ewoud at fmf.nl
Tue Sep 2 17:41:30 CEST 2003


Hi,

I found a bug in the gl vo-driver, when switching from fullscreen back 
to non-fullscreen:
X11 error: BadValue (integer parameter out of range for operation)
and mplayer crashes; see below for more information.

I'm using Slackware-current, kernel 2.4.21, libc-2.3.1, X 4.3.0, gcc 
3.2.3, Windowmaker 0.80.2
GNU ld version 2.14.90.0.4 20030523, GNU assembler 2.14.90.0.4 20030523||
____
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Athlon(tm) XP 2600+
stepping        : 1
cpu MHz         : 2088.064
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 sse syscall mmxext 3dnowext 3dnow
bogomips        : 4168.08

Video: Nvidia GeForce FX5200 in combination with NVRM version: NVIDIA 
Linux x86 nvidia.o Kernel Module  1.0-4496


$ mplayer -vo gl The\ Matrix\ -\ \(DivX\ DVD-Rip\).avi
MPlayer 1.0pre1-3.2.3 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices  (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
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 /home/ewoud/.mplayer/config
Reading /home/ewoud/.mplayer/codecs.conf: Can't open 
'/home/ewoud/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
font: can't open file: /home/ewoud/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system 
startup scripts.
Using usleep() timing
Can't open input config file /home/ewoud/.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
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed to open LIRC support.
You will not be able to use your remote control.

Playing The Matrix - (DivX DVD-Rip).avi
AVI file format detected.
VIDEO:  [DIV3]  512x272  24bpp  23.976 fps  749.9 kbps (91.5 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: 12000->192000 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[vo_gl] Using 4 as slice_height (0 means image_height).
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local 
display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
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)
audio_setup: Can't open audio device /dev/sound/dsp: No such file or 
directory
AO: [arts] can't connect to aRts soundserver
AO: [esd] latency: [server: 0.28s, net: 0.00s] (adjust 0.28s)
AO: [esd] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 512 x 272 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
No accelerated colorspace conversion found
SwScaler: using unscaled Planar YV12 -> RGB 32-bit special converter
VO: [gl] 512x272 => 512x272 RGB 32-bit
[gl] Creating 512x512 texture...
[gl] Resize: 512x290
[gl] Resize: 1280x1024  0.094 ct:  0.121   29/ 29  10%  9%  1.4% 0 0 0%
X11 error: BadValue (integer parameter out of range for operation) 0 0%


MPlayer interrupted by signal 6 in module: vo_check_events
- 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/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.




More information about the MPlayer-users mailing list