http://bugs.winehq.org/show_bug.cgi?id=22267
Summary: SWKOTOR: Fails to detect available resolutions if virtual desktop is off Product: Wine Version: 1.1.42 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: lukasz.wojnilowicz@gmail.com
Created an attachment (id=27197) --> (http://bugs.winehq.org/attachment.cgi?id=27197) SWKOTOR configuration window
The problem is that Star Wars Knights Of The Old Republic configurator fails to detect any resolution in resolution drop down list. When I enable virtual desktop in winecfg then configurator shows two resolutions (800x600 1024x768) in drop down list. My maximum monitor resolution is 1280x800.
Virtual desktop: a) off -resolutions appear in drop down list -i can start the game and get to the main menu b) on -resolutions doesn't appear in drop down list -the game starts in 800x600 shows black screen then switches to 1280x800 shows black screen (with probably size 800x600) on the left top edge of the screen and in the background my desktop. I cannot reach to the main menu because the screen is always black.
In terminal in both cases there are only these two lines: fixme:win:EnumDisplayDevicesW ((null),0,0x33f2d0,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x33f2d0,0x00000000), stub!
Additional info: Fedora 12 32 bit self-compiled Wine 1.1.42 NVIDIA 9xxx with drivers from vendor site 195.36.15
http://bugs.winehq.org/show_bug.cgi?id=22267
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2010-04-04 11:37:49 --- Please post output of 'xrandr' command.
http://bugs.winehq.org/show_bug.cgi?id=22267
--- Comment #2 from NSLW lukasz.wojnilowicz@gmail.com 2010-04-04 11:55:29 --- Created an attachment (id=27203) --> (http://bugs.winehq.org/attachment.cgi?id=27203) xrandr
(In reply to comment #1)
Please post output of 'xrandr' command.
output from xrand is in attachment.
http://bugs.winehq.org/show_bug.cgi?id=22267
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2010-04-04 14:46:08 --- (In reply to comment #2)
700x525 60.0
That's your answer - you have only one mode with 60Hz refresh rate.
Disable twinview if you do not have multiple monitors. It causes X to report invalid refresh rates.
http://bugs.winehq.org/show_bug.cgi?id=22267
--- Comment #4 from NSLW lukasz.wojnilowicz@gmail.com 2010-04-05 03:12:18 --- (In reply to comment #3)
(In reply to comment #2)
700x525 60.0
That's your answer - you have only one mode with 60Hz refresh rate.
Disable twinview if you do not have multiple monitors. It causes X to report invalid refresh rates.
1) I disabled twinview by following command
sudo nvidia-xconfig --no-twinview
2) Following line has been added to xorg.conf
Option "TwinView" "False"
3) SWKOTOR configurator works faulty as before. 4) xrandr output hasn't changed
In nvidia-settings following modes are available 1280x800 60Hz 1024x768 60Hz or 87Hz (interlaced)
http://bugs.winehq.org/show_bug.cgi?id=22267
--- Comment #5 from Henri Verbeet hverbeet@gmail.com 2010-04-05 04:18:17 --- (In reply to comment #4)
- Following line has been added to xorg.conf
Option "TwinView" "False"
The option is called "DynamicTwinView", IIRC.
http://bugs.winehq.org/show_bug.cgi?id=22267
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2010-04-05 04:58:52 --- Most likely invalid bug.
http://bugs.winehq.org/show_bug.cgi?id=22267
--- Comment #7 from NSLW lukasz.wojnilowicz@gmail.com 2010-04-05 06:20:45 --- (In reply to comment #5)
The option is called "DynamicTwinView", IIRC.
You're right, when following line Option "DynamicTwinView" "False" is in xorg.conf then available resolutions shows in drop down list. I can launch the game in full screen but it often minimizes by itself at start-up.
The same bug occurs in Battlefield 2. I guess if it's invalid then it won't be fixed.
http://bugs.winehq.org/show_bug.cgi?id=22267
--- Comment #8 from Henri Verbeet hverbeet@gmail.com 2010-04-05 06:38:38 --- Some games are simply picky about the reported display modes, there's not much we can do about that, other than perhaps lying about them. (But then, the driver lying about the refresh rate is what creates the problem in the first place here.)
http://bugs.winehq.org/show_bug.cgi?id=22267
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #9 from Vitaliy Margolen vitaliy@kievinfo.com 2010-04-05 08:53:30 --- Invalid.
http://bugs.winehq.org/show_bug.cgi?id=22267
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Vitaliy Margolen vitaliy@kievinfo.com 2010-04-05 08:53:40 --- Closing
https://bugs.winehq.org/show_bug.cgi?id=22267
michal harustiak.michal@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |harustiak.michal@gmail.com