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.
fullscreen uses panning, and xrandr has cursor moving
never mind, I was running compiz
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.
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.
-
- Level 5
- Posts: 336
- Joined: Mon Nov 24, 2008 8:10 am
fullscreen uses panning, and xrandr has cursor moving
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?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.
James McKenzie
Re: fullscreen uses panning, and xrandr has cursor moving
What you describe is an "XVidMode" way of changing resolution. Wine uses that if xrandr is disabled (via registry) or not available.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.