[MPlayer-users] [BUG] Switching between fs and windows breakage with XV, XMGA and X11.

Jan Knutar jknutar at nic.fi
Sat Apr 24 22:15:06 CEST 2004


Steps that reproduce this bug perfectly on my system:

mplayer -vo xmga anyfile.mpg (or -vo xv, exact same results. or .avi, 
doesn't matter)

Movie starts windowed. So far so good.
Press f. Movie goes fullscreen, so far so good.
Press f. Movie goes back to windowed. So far so good.
Move the window a few pixels or something. So far so good.

Press f. 

Window decorations disappear, window is resized to full screen 
resolution, BUT, the top left corner is placed approximately in the 
middle of the screen. That is, the upper left quadrant of the movie is 
visible on the lower left quadrant of my screen, with the rest of my 
screen being the desktop.

Illustration:

+--------+
|        |
|    MMMM|mmmm
|    MMMM|mmmm
|    MMMM|mmmm
+--------+
     mmmmmmmmm

Where M is the movie.


The behaviour is exactly the same with XV and XMGA, and even -vo x11.

MPlayer dev-CVS-040422-17:28-3.2.2
Redhat 9.0
XFree86 4.3.0-2.90.55 
metacity 2.8.0
gcc version 3.2.2 20030222
GNU ld version 2.13.90.0.18 20030206
GNU assembler version 2.13.90.0.18

Attached are mplayer-v-quiet-xv.log and mplayer-v-xv.log, in which I've 
started playback, cycled fullscreen, moved window, cycled fullscreen.

I'll paste the parts that I'm guessing might be relevant. Full output in 
the attached files.

X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1152x864 with depth 24 and 32 bpp (":0.0" => local 
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
VO Config (320x240->320x240,flags=0,'MPlayer',0x32315659)
VO: [xv] 320x240 => 320x240 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 69 for hw scaling
[xv] dx: 0 dy: 0 dw: 320 dh: 240
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
[xv] dx: 0 dy: 0 dw: 320 dh: 240
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
[x11] NET style stay on top (layer 1). Using state _NET_WM_STATE_ABOVE.
[xv] dx: 0 dy: 0 dw: 1152 dh: 864
[xv-fs] dx: 0 dy: 0 dw: 1152 dh: 864
[x11] NET style stay on top (layer 0). Using state _NET_WM_STATE_ABOVE.
[xv] dx: 0 dy: 0 dw: 320 dh: 240
[xv] dx: 0 dy: 0 dw: 320 dh: 240
[xv] dx: 0 dy: 0 dw: 320 dh: 240
[xv] dx: 0 dy: 0 dw: 320 dh: 240
[xv] dx: 0 dy: 0 dw: 320 dh: 240
[xv] dx: 0 dy: 0 dw: 320 dh: 240
[xv] dx: 0 dy: 0 dw: 320 dh: 240
[xv] dx: 0 dy: 0 dw: 320 dh: 240
[xv] dx: 0 dy: 0 dw: 320 dh: 240
[xv] dx: 0 dy: 0 dw: 320 dh: 240
[xv] dx: 0 dy: 0 dw: 320 dh: 240
[x11] NET style stay on top (layer 1). Using state _NET_WM_STATE_ABOVE.
[xv] dx: 0 dy: 0 dw: 1152 dh: 864
[xv-fs] dx: 0 dy: 0 dw: 1152 dh: 864
[xv] dx: 0 dy: 0 dw: 1152 dh: 864
[xv-fs] dx: 0 dy: 0 dw: 1152 dh: 864
[x11] NET style stay on top (layer 0). Using state _NET_WM_STATE_ABOVE.
[xv] dx: 0 dy: 0 dw: 320 dh: 240
Uninit audio filters...

Fun enough, the output looks no different for the second time I cycled 
fullscreen, when the window is positioned wrongly.

This was not reproducible with KDE's window manager.





More information about the MPlayer-users mailing list