[Bug 1400] Counter-strike does not always do resolution switching correctly.

Wine Bugs wine-bugs at winehq.com
Sat Jun 28 10:48:37 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1400





------- Additional Comments From z_god at wanadoo.nl  2003-28-06 10:48 -------
Bug comments restored from Gmane.org:

I play Counter-Strike using Wine, and while the game itself plays perfectly
there are several problems related to screen resolution.  Starting
Counter-Strike changes to a virtual resolution (i can still scroll over the rest
of the desktop with my mouse) fine, but when I join a game the resolution
changes back to the deskop resolution and i have to change the resolution
maually using ctrl+alt+minus.  This wouldn't be such a big deal, except that the
game isn't always exactly centered and i have to scroll the cursor to center it.
 Sometimes while playing the game will somehow become off-centered again, and
i'll have to exit out to the menu to get a cursor to recenter it.  Another
problem is that the game will place dialogs offscreen that should have been
centered, apparently because it's using the real X resolution for the screen
dimensions rather than the virtual one.

I'm sure similar problems exist for other games, and while there are other ways
of fixing them, implementing XRandR for resolution changing is probably the
"right" and simplest way to do it.


------- Additional Comments From lionel.ulmer <at> free.fr  2003-04-20 01:56 -------
Well, while waiting for someone (maybe you :-) ) to submit a patch, the *real*
easiest solution to this problem was always to run Wine in Desktop mode in a
second X server running at the resolution you wish to use.

This fixes all your problems (and you can even, when pausing the game, switch
back to the 'real' desktop to check mails and stuff :-) ).


------- Additional Comments From mike <at> theoretic.com  2003-04-23 10:51 -------
Triage:

Severity -> enhancement
Status -> NEW

XRandR by the way is mostly useful for apps that can reconfigure themselves to
the new size of the desktop, I personally don't think this is a valid bug
actually as the VidMode extensions do what Wine needs, R&R is mostly useful for
things like window managers, gnome panel and so on. But I don't know enough
about this area to close it as such, and I suppose using randr to switch
resolutions may have some advantages.


------- Additional Comments From andi <at> rhlx01.fht-esslingen.de  2003-04-24
01:40 -------
Hmm, why? A missing feature IS a bug, though only an "enhancement bug" in most
cases.
Provided that we deem it a reasonable feature, of course, which I think XRandR is...


------- Additional Comments From lionel.ulmer <at> free.fr  2003-04-24 02:25 -------
I agree 100 % with Mike here... This feature is mostly only used by games
(otherwise XVidMode does the trick just fine) and we already support 1) DXGrab
to have the mouse confined to the gaming screen and 2) colour conversion for 2D
DirectX games.

So if the current Wine does not work properly, we should raise bugs on the
CURRENT implementation (saying maybe that when we use XVidMode, we center the
current window, ...) and not add a new feature.


------- Additional Comments From mike <at> theoretic.com  2003-04-25 03:19 -------
I thought as much. Updating the bug status to reflect this. I'm pretty sure that
XRandR doesn't buy us anything in this case that VidMode doesn't.

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list