http://bugs.winehq.org/show_bug.cgi?id=28114
Summary: Star Wars Knights of the Old Republic II can't be played on fullscreen Product: Wine Version: 1.3.26 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: samurai_no_densetsu@yahoo.es
This seems to be an ancient unreported bug (circa 2007), but it didn't changed. Star Wars Kotor II still can't go into fullscreen, although it can be played on virtual desktop, fullscreen or creating a new X DISPLAY, but not in the default X session for some reason. This leads to the unpleasant situation of having to workaround in some nasty way. Also, there are issues changing resolutions. Aside of this, game is perfectly playable.
Tested with the following: ------------------------------------------------------------------- direct rendering: Yes server glx version string: 1.4 client glx version string: 1.4 GLX version: 1.4 OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 9300M GS/PCI/SSE2 OpenGL version string: 3.3.0 NVIDIA 270.41.06 OpenGL shading language version string: 3.30 NVIDIA via Cg compiler -------------------------------------------------------------------
http://bugs.winehq.org/show_bug.cgi?id=28114
--- Comment #1 from Athrun samurai_no_densetsu@yahoo.es 2011-08-17 14:01:41 CDT --- Created an attachment (id=36020) --> (http://bugs.winehq.org/attachment.cgi?id=36020) Log trying to launch in fullscreen mode
http://bugs.winehq.org/show_bug.cgi?id=28114
--- Comment #2 from Athrun samurai_no_densetsu@yahoo.es 2011-08-17 14:03:38 CDT --- The previous log show the crash when trying to launch in fullscreen, but if the game is launched whith any of the workarounds commented previously runs fine.
http://bugs.winehq.org/show_bug.cgi?id=28114
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #3 from joaopa jeremielapuree@yahoo.fr 2012-11-03 15:40:07 CDT --- still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=28114
Ben Shadwick benshadwick@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |benshadwick@gmail.com
--- Comment #4 from Ben Shadwick benshadwick@gmail.com 2012-11-08 19:31:00 CST --- (In reply to comment #3)
still a bug in current wine?
Yes, just tried with 1.5.16 via PlayOnLinux in Linux Mint 13/Maya (GPU is nVidia 8700M GT with proprietary drivers) because I thought that Wine may handle KOTOR2 better than Vista (it uses OpenGL after all).
The game seems to run in a window no matter what.
Also, you can't choose higher resolutions in the KOTOR2 config utility unless you emulate a virtual desktop. If you try to run the game this way, however, it tends to crash. Unfortunately, the widescreen mod requires running at 1600x1200, so it seems that's not really an option for me.
If you run with or without emulating a virtual desktop and at anything higher than the lowest resolutions, the window tends to severely cut off the right and/or bottom sides of the game display.
The net effect is that I'm stuck playing in a very small window.
Also, the game seems to randomly not respond to keyboard input. I was not able to enter a custom name for my character.
http://bugs.winehq.org/show_bug.cgi?id=28114
--- Comment #5 from joaopa jeremielapuree@yahoo.fr 2012-11-08 20:27:54 CST --- POL is not supported. Please, use the latest plain wine (1-5.16)
And attach a console output with +wgl and +opengl debug channels anabled.
http://bugs.winehq.org/show_bug.cgi?id=28114
--- Comment #6 from Ben Shadwick benshadwick@gmail.com 2012-11-08 22:39:37 CST --- Created attachment 42455 --> http://bugs.winehq.org/attachment.cgi?id=42455 Backtrace for crash resulting from running at 1600x1200
wine-1.5.16 on Linux Mint 13/Maya
Set to emulate a virtual desktop at 1600x1200, X11 running at 1920x1200.
http://bugs.winehq.org/show_bug.cgi?id=28114
--- Comment #7 from Ben Shadwick benshadwick@gmail.com 2012-11-08 22:40:41 CST --- Created attachment 42456 --> http://bugs.winehq.org/attachment.cgi?id=42456 Debug logging for crash resulting from running at 1600x1200
http://bugs.winehq.org/show_bug.cgi?id=28114
--- Comment #8 from joaopa jeremielapuree@yahoo.fr 2012-11-08 23:02:37 CST --- If you have a Windows license, you could try with a native a3dapi.dll Dont't forget to register it
http://bugs.winehq.org/show_bug.cgi?id=28114
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com 2012-11-09 05:30:52 CST --- (In reply to comment #6)
wine-1.5.16 on Linux Mint 13/Maya
00000008 (D) H:.PlayOnLinux\wineprefix\SWKotor2\drive_c\Program Files\LucasArts\SWKotOR2\swkotor2.exe
It looks like you're still using PoL or at least it's prefix. Please try in plain wine in a clean prefix.
Also be sure that H:\ is a native linux partition and not FAT/NTFS. This causes problems with some applications.
http://bugs.winehq.org/show_bug.cgi?id=28114
--- Comment #10 from Ben Shadwick benshadwick@gmail.com 2012-11-09 12:08:20 CST --- (In reply to comment #8)
If you have a Windows license, you could try with a native a3dapi.dll Dont't forget to register it
That's a red herring, as the game does not require A3D.
I tried installing the 3.12 driver ( http://members.optusnet.com.au/kirben/drivers.html ) which adds software A3D support, and it makes things worse by causing Wine to lock up with the following debug log:
fixme:system:SystemParametersInfoW Unimplemented action: 94 (SPI_GETMOUSETRAILS) err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"" err:ole:CoGetClassObject no class object {d8f1eee0-f634-11cf-8700-00a0245d918b} could be created for context 0x1
Note that the SPI_GETMOUSETRAILS log was happening before, too, but I missed it because it was logged on the same line as a shell prompt.
http://bugs.winehq.org/show_bug.cgi?id=28114
--- Comment #11 from Ben Shadwick benshadwick@gmail.com 2012-11-09 12:32:21 CST --- (In reply to comment #9)
(In reply to comment #6)
wine-1.5.16 on Linux Mint 13/Maya
00000008 (D) H:.PlayOnLinux\wineprefix\SWKotor2\drive_c\Program Files\LucasArts\SWKotOR2\swkotor2.exe
It looks like you're still using PoL or at least it's prefix. Please try in plain wine in a clean prefix.
Also be sure that H:\ is a native linux partition and not FAT/NTFS. This causes problems with some applications.
I just tried that, and the results are exactly the same: config util only allows 1600x1200 if I emulate virtual desktop, and then game runs in a window and crashes on startup after showing the splash screens/videos.
H: is mapped to my Linux home directory, which is I think ext4. It's on the same partition as the OS.
I think I've figured something out, though: The crash doesn't happen if I disable movies, and the game runs in pseudo-fullscreen if I use a virtual desktop. All of this seems to be related to the fact that the game tries to change the (virtual) display to a lower resolution while showing movies, which apparently wine is not handling very well.
I seem to remember that either the HQ movie pack or the widescreen mod may patch the movies to run at higher resolution, which may make things work better.
Neither disabling movies nor installing hacks should be a required workaround for a good out-of-the-box experience with Wine, however, and people are therefore being too generous with their platinum ratings.
http://bugs.winehq.org/show_bug.cgi?id=28114
Andrew Millington andrew.millington@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew.millington@gmail.com
--- Comment #12 from Andrew Millington andrew.millington@gmail.com 2012-11-18 23:09:37 CST --- Wizardry 8 looks like to have the same problem but cannot be played in virtual desktop at all and trying all the configurations that 3DSetup supplies.
Can you still play Star Wars Knights of the Old Republic II in a Virtual Desktop?
http://bugs.winehq.org/show_bug.cgi?id=28114
--- Comment #13 from Ben Shadwick benshadwick@gmail.com 2012-11-18 23:29:21 CST --- (In reply to comment #12)
Wizardry 8 looks like to have the same problem but cannot be played in virtual desktop at all and trying all the configurations that 3DSetup supplies.
Can you still play Star Wars Knights of the Old Republic II in a Virtual Desktop?
I believe I was finally able to get it to do so by disabling movies, which isn't really a sufficiently viable outcome.
http://bugs.winehq.org/show_bug.cgi?id=28114
--- Comment #14 from Ken Sharp imwellcushtymelike@gmail.com --- Is this still an issue in Wine 1.7.10 or later?
http://bugs.winehq.org/show_bug.cgi?id=28114
--- Comment #15 from Ben Shadwick benshadwick@gmail.com --- I'll try to replicate in Kubuntu 13.10 when I get a chance.
http://bugs.winehq.org/show_bug.cgi?id=28114
--- Comment #16 from Ben Shadwick benshadwick@gmail.com --- Update: It seems to be better in wine-1.7.9 but still has some problems.
The game now launches in fullscreen, but the only available resolution is the default of 800x600x32 (my native LCD resolution is 1920x1200x32). I tried changing the resolution via editing swkotor2.ini, but it made no difference because wine is telling the game that 800x600x32 is the only available resolution supported by the GPU. I also tried enabling the "emulate a virtual desktop" settign in winecfg, but that also made no difference.
The mouse cursor was missing as well, so I had to follow the advice of others who said to set EnableHardwareMouse=0 in swkotor2.ini.
I additionally noticed that the game likes to pop in and out of fullscreen and/or temporarily disappear a lot, especially if you try to alt+tab or interrupt movies. This is rather annoying.
Also, for reference, I'm running the Steam version now and was previously trying the disc version. Not sure if it makes a difference.
http://bugs.winehq.org/show_bug.cgi?id=28114
--- Comment #17 from Ben Shadwick benshadwick@gmail.com --- Addendum: Same results in wine-1.7.10.
https://bugs.winehq.org/show_bug.cgi?id=28114
Goblinstomper@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Goblinstomper@gmail.com
--- Comment #18 from Goblinstomper@gmail.com --- seems as if this and bug 24495 is pretty much the same issue (same engine and same workarounds)
https://bugs.winehq.org/show_bug.cgi?id=28114
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=28114
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=24495
https://bugs.winehq.org/show_bug.cgi?id=28114
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #19 from Ken Sharp imwellcushtymelike@gmail.com --- Duplicate
*** This bug has been marked as a duplicate of bug 24995 ***
https://bugs.winehq.org/show_bug.cgi?id=28114
--- Comment #20 from Ken Sharp imwellcushtymelike@gmail.com ---
*** This bug has been marked as a duplicate of bug 24495 ***
https://bugs.winehq.org/show_bug.cgi?id=28114
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Austin English austinenglish@gmail.com --- Closing.