http://bugs.winehq.org/show_bug.cgi?id=17944
Summary: [Counterstrike/Steam] Wine won't use fullscreen apps at proper resolution Product: Wine Version: 1.1.18 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: julian.lam@gmail.com
Created an attachment (id=20283) --> (http://bugs.winehq.org/attachment.cgi?id=20283) Complete WINE terminal log output from start of program to exit.
wine: Installed: 1.1.18~winehq0~ubuntu~8.10-0ubuntu1 Candidate: 1.1.18~winehq0~ubuntu~8.10-0ubuntu1 Version table: *** 1.1.18~winehq0~ubuntu~8.10-0ubuntu1 0 500 http://wine.budgetdedicated.com intrepid/main Packages 100 /var/lib/dpkg/status 1.0.1-0ubuntu2 0 500 http://ubuntu.mirror.rafal.ca intrepid/universe Packages
Installed Wine via package manager, and installed Counterstrike through Wine. Using nvidia driver v180.29 installed off of the nvidia.com website.
When running counter-strike, which, by default, is a full-screen application, the program defaults to 640x480 in windowed mode. Clicking through the options from within the game show no way to change the resolution to something higher (The "resolutions" drop-down box is completely empty).
This is platform independent, as I have run into this problem on both x86 and x86_64 installations.
It may be because the game itself doesn't support this particular aspect ratio, but my monitor supports many different resolutions, so that can't be the problem.
Of notable importance is the following line in the Wine terminal output: err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x480x16 @0! (XRandR)
Please advise.
http://bugs.winehq.org/show_bug.cgi?id=17944
--- Comment #1 from Julian Lam julian.lam@gmail.com 2009-04-03 18:21:05 --- Please be advised that when I use the term "windowed mode", I don't mean the traditional window with borders and title bars. The counter-strike program spawns in the centre (or top-left) of the screen with no borders or title bars whatsoever (as though it is already running in "full screen" mode)
http://bugs.winehq.org/show_bug.cgi?id=17944
--- Comment #2 from Julian Lam julian.lam@gmail.com 2009-04-03 18:27:05 --- Upon reflection:
Could the particular error be due to my use of the nvidia driver? If Wine uses xrandr to modify the screen to enter "fullscreen" mode, then that might be a problem as nvidia handles the screen on its own.
Furthermore, I have two monitors, one at 1680x1050, and another at 1280x1024, combined in one X window at 2960x1050.
julian@julian:~/.wine/drive_c/Program Files/Steam$ xrandr --verbose Screen 0: minimum 2960 x 1050, current 2960 x 1050, maximum 2960 x 1050 default connected 2960x1050+0+0 (0x142) normal (normal) 0mm x 0mm Identifier: 0x141 Timestamp: 30283 Subpixel: unknown Clones: CRTC: 0 CRTCs: 0 2960x1050 (0x142) 155.4MHz *current h: width 2960 start 0 end 0 total 2960 skew 0 clock 52.5KHz v: height 1050 start 0 end 0 total 1050 clock 50.0Hz
http://bugs.winehq.org/show_bug.cgi?id=17944
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2009-04-04 10:50:59 --- Invalid. Your configuration does not support 640x480 as you shown with xrandr output.
http://bugs.winehq.org/show_bug.cgi?id=17944
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2009-04-04 10:51:53 --- Wine can not emulate what you don't have. Fix your xorg.conf to list all the modes required for your program(s). And verify they do exist with 'xrandr' command.
http://bugs.winehq.org/show_bug.cgi?id=17944
--- Comment #5 from Julian Lam julian.lam@gmail.com 2009-04-04 10:59:42 --- Surely this is a Wine problem simply because Wine doesn't change resolutions properly with the nvidia drivers!
How is this bug invalid if the problem is clear that Wine doesn't support the nvidia method of changing screen resolution, and instead relies on xrandr which doesn't do anything to the screen because I have nvidia drivers?
http://bugs.winehq.org/show_bug.cgi?id=17944
--- Comment #6 from Julian Lam julian.lam@gmail.com 2009-04-04 11:00:49 --- See: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/2...
http://bugs.winehq.org/show_bug.cgi?id=17944
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2009-04-04 11:30:34 --- (In reply to comment #5)
Surely this is a Wine problem simply because Wine doesn't change resolutions nvidia method of changing screen resolution, and instead relies on xrandr which doesn't do anything to the screen because I have nvidia drivers?
Wine is an application like any other app on your system. It does not talk to the hardware directly. Instead it uses standard X extensions to change display resolution. If those extensions don't support resolution you need - Wine can't set it. That simple.
Bug is invalid because bug is in your configuration, not Wine.
I don't know what they talking about on that bug you linked. XRandr extension been around for ages and nVidia drivers work perfectly with it:
$ lspci | grep -i nvidia 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8800 GT (rev a2) $ glxinfo | grep 180 OpenGL version string: 3.0.0 NVIDIA 180.44 $ xrandr Screen 0: minimum 320 x 240, current 1600 x 1200, maximum 1600 x 1200 default connected 1600x1200+0+0 0mm x 0mm 1600x1200 60.0* 1600x1024 70.0 69.0 1600x1000 71.0 70.0 1400x1050 73.0 72.0 1280x1024 75.0 74.0 70.0 65.0 60.0 1440x900 75.0 74.0 70.0 65.0 60.0 1280x960 75.0 74.0 70.0 65.0 60.0 1280x800 75.0 74.0 70.0 65.0 60.0 1152x864 75.0 74.0 70.0 65.0 60.0 1280x768 75.0 74.0 70.0 65.0 60.0 1024x768 75.0 74.0 70.0 65.0 60.0 800x600 75.0 74.0 72.0 70.0 65.0 60.0 56.0 768x576 75.0 74.0 70.0 65.0 60.0 640x480 75.0 74.0 73.0 70.0 65.0 60.0 832x624 75.0 800x512 60.0 700x525 75.0 60.0 640x512 75.0 60.0 576x432 75.0 512x384 75.0 70.0 60.0 416x312 75.0 400x300 75.0 72.0 60.0 56.0 320x240 75.0 73.0 60.0