I'm having a problem with games running in wine fullscreen with nvidia proprietary driver 185.18 under Fedora 11 64-bit. My desktop resolution is 1920x1200, and when I run a game with 1280x960 fullscreen setup (like Halo for example), it changes resolution to 1280x960 and runs fullscreen as expected, but when I move the mouse toward the edge rapidly, it pans the game screen away as if 1280x960 screen is moving around the larger 1920x1200 desktop, with the 1280x960 game display at the lower right corner of the larger desktop. If I run xrandr manually before launching the game, e.g., xrandr --output default --mode 1280x960 then panning no longer occurs, so the game display stays on the screen, but now a different problem occurs: The mouse cursor moves slowly toward upper left corner by itself, as if adjusting to a scaled coordinate (maybe scaling 1920x1200 to 1280x960? I don't know.) I can move it around, but it still slowly heads toward the upper left corner. Obviously I can't control the game movement that requires the mouse, as it slowly moves the 1st person view toward the sky for example. How do I solve this problem? Setting DXGrab on or off has no effect.
willb
2009-Jul-31 08:20 UTC
[Wine] Re: fullscreen uses panning, and xrandr has cursor moving
I found the cursor moving problem is related to compiz. If I disable compiz, it works. The desktop panning was not related to xrandr. I found that halo crashes and defaults to 640x480, not 1280x960. So it was properly running in 1280x960, but with 640x480 screen (not 1280x960 in 1920x1200). Oh well, halo crashes while quitting and I've no intention to disable compiz.
James Mckenzie
2009-Jul-31 14:27 UTC
[Wine] fullscreen uses panning, and xrandr has cursor moving
>then panning no longer occurs, so the game display stays on the screen, but now a different problem >occurs: The mouse cursor moves slowly toward upper left corner by itself, as if adjusting to a scaled >coordinate (maybe scaling 1920x1200 to 1280x960? I don't know.) I can move it around, but it still slowly >heads toward the upper left corner. Obviously I can't control the game movement that requires the mouse, >as it slowly moves the 1st person view toward the sky for example. >This appears to be a X11 issue. BTW, you did not mention what type of PC you are using, could you reply with this information? James McKenzie
vitamin
2009-Aug-01 18:01 UTC
[Wine] Re: fullscreen uses panning, and xrandr has cursor moving
willb wrote:> My desktop resolution is 1920x1200, and when I run a game with 1280x960 fullscreen setup (like Halo for example), it changes resolution to 1280x960 and runs fullscreen as expected, but when I move the mouse toward the edge rapidly, it pans the game screen away as if 1280x960 screen is moving around the larger 1920x1200 desktop, with the 1280x960 game display at the lower right corner of the larger desktop.What you describe is an "XVidMode" way of changing resolution. Wine uses that if xrandr is disabled (via registry) or not available.
Reasonably Related Threads
- xrandr HDMI-1 and DVI-D-1 disconnected - External monitor not detected
- xrandr or xorg.conf... help with virtual size desktop
- Fullscreen DirectX breaks with new versions
- xrandr HDMI-1 and DVI-D-1 disconnected - External monitor not detected
- Screen Resolution issues