https://bugs.winehq.org/show_bug.cgi?id=38405
Bug ID: 38405 Summary: Star Wars: Knights of the Old Republic II black screen and crash Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: grodrigues.math@gmail.com Distribution: ---
Created attachment 51255 --> https://bugs.winehq.org/attachment.cgi?id=51255 log file with d3d channel
Star Wars: Knights of the Old Republic II, the Sith Lords, in a GOG install, crashes every time: the game starts correctly, (quick) creation proceeds normally, the crawl text appears as well as the Ebon Hawk, but then it the screen goes black and the game crashes.
I tried every solution that I have read as a work around (but admittedly not every combination of them) with *always* the same result: black screen then crash. This includes lowering resolutions, disabling movies, emulating virtual desktop, etc.
note(s): - this *may* be related to these old, still open bugs:
https://bugs.winehq.org/show_bug.cgi?id=28114 https://bugs.winehq.org/show_bug.cgi?id=24495
But since I really do *not* know, I decided to just go ahead and open a new bug report.
If I do a
WINEDEBUG=+d3d wine swkotor2.exe &> errors.log
I see this on the errors.log file:
trace:d3d:wined3d_device_decref 0x1b8140 decreasing refcount to 0. trace:d3d:wined3d_decref 0x1b4f68 decreasing refcount to 1. trace:d3d:wined3d_device_decref Freed device 0x1b8140. trace:d3d:wined3d_decref 0x1b4f68 decreasing refcount to 0. wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 0009), starting debugger...
So, to my untrained eye, it seems that d3d is trying to decrease the refcount (that is, accessing) an already freed object.
Specs: - Kubuntu 14.10 - wine 1.7.38 - nouveau drivers for GeForce GT630 - x86_64 intel i7-4770S 3.10GHz - the errors.log attachment was taken in a normal 64bit prefix; but 32 bit prefix yielded the same error.
https://bugs.winehq.org/show_bug.cgi?id=38405
--- Comment #1 from grodrigues grodrigues.math@gmail.com --- Sorry, pasted the wrong line in the above comment.
Replace:
"So, to my untrained eye, it seems that d3d is trying to decrease the refcount (that is, accessing) an already freed object."
"So, to my untrained eye, it seems that it is when d3d is trying to free 0x1b4f68 that it crashes".
https://bugs.winehq.org/show_bug.cgi?id=38405
Thaddaeus Tintenfisch thad.fisch@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thad.fisch@gmail.com
--- Comment #2 from Thaddaeus Tintenfisch thad.fisch@gmail.com --- I can confirm this crash. Ubuntu 15.04 + wine 1.7.38
https://bugs.winehq.org/show_bug.cgi?id=38405
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.7.38