http://bugs.winehq.org/show_bug.cgi?id=22667
Summary: Settlers II - 10th Anniversary demo crash if you change shadows details Product: Wine Version: 1.1.44 Platform: x86 URL: http://www.ubi.com/UK/Downloads/Info.aspx?dlId=1671 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: jaimerave@gmail.com
Created an attachment (id=27903) --> (http://bugs.winehq.org/attachment.cgi?id=27903) Screenshot of the issue.
Set graphics options to their minimum and then set shadows quality and details to their highest level.
If you start a game and try to change the shadow details the game will crash with the error that appear in the screenshot.
http://bugs.winehq.org/show_bug.cgi?id=22667
--- Comment #1 from Jaime Rave jaimerave@gmail.com 2010-05-12 17:35:44 --- Created an attachment (id=27904) --> (http://bugs.winehq.org/attachment.cgi?id=27904) Console output
EDIT: You have to change the shadow quality to get the crash. I'm attaching console output.
http://bugs.winehq.org/show_bug.cgi?id=22667
Jaime Rave jaimerave@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=22667
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2010-05-12 21:47:15 --- What video card and drivers?
http://bugs.winehq.org/show_bug.cgi?id=22667
--- Comment #3 from Jaime Rave jaimerave@gmail.com 2010-05-13 00:16:28 --- It's an Intel GM45 with the drivers from Xorg-edgers repository.
http://bugs.winehq.org/show_bug.cgi?id=22667
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com 2012-01-22 15:39:09 CST --- I can't even get the game to run in my intel onboard card. I'm using the experimental 2.17 driver from debian. I'm surprised you can =)
http://bugs.winehq.org/show_bug.cgi?id=22667
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com 2012-05-12 21:23:00 CDT --- Still can't run the program in wine 1.5.4 in a intel card.
http://bugs.winehq.org/show_bug.cgi?id=22667
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #6 from joaopa jeremielapuree@yahoo.fr 2012-05-13 00:44:15 CDT --- For me, high level shadows makes the game crashes. Low level is OK though.
Nvidia 7600go, driver 295.49
http://bugs.winehq.org/show_bug.cgi?id=22667
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral@gmail.com
--- Comment #7 from Matteo Bruni matteo.mystral@gmail.com 2013-06-28 09:41:22 CDT --- I've spent some time on this bug and now I think this is a driver bug. It works fine for me on a Radeon HD 5650M with Mesa drivers and on an GeForce GTX 470 with binary drivers. It crashes on a GeForce 6200 with binary drivers with glibc complaining about memory corruption in a memory area pertaining to the GL library.
The game creates and uses a D3DFMT_R16_FLOAT texture to draw the shadow-related info into. On the 6200, the game crashes a bit after using that texture as a render target for the first time. If I force the game to use a RGBA8 texture instead all works fine (although the shadows show a number of artifacts caused by the reduced texture precision, as expected). Another test I did was to create a trace with apitrace on the GTX 470 and replay it on the 6200: it crashed as well.
The OP has an Intel GPU, so he's using a different driver of course. In his case though the drivers are apparently compiled without float textures support and that probably explains his issues.
So, again, I think this is essentially a driver bug triggered by that 16-bit float texture (and some other render state which I couldn't identify), probably present on Nvidia GPUs up to GeForce 7xxx. I'll be thankful if someone could try the demo and confirm (or refuse) this analysis.
http://bugs.winehq.org/show_bug.cgi?id=22667
--- Comment #8 from Matteo Bruni matteo.mystral@gmail.com 2013-07-01 11:32:24 CDT --- Created attachment 45065 --> http://bugs.winehq.org/attachment.cgi?id=45065 Hack to use a RGBA8 texture in place of the R16F one
I'm attaching my hack replacing the float texture with a RGBA8 one, in case someone wants to try.
http://bugs.winehq.org/show_bug.cgi?id=22667
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com 2013-07-01 12:25:56 CDT --- I still can only see black screen in wine 1.6-rc4 with or without the patch.
http://bugs.winehq.org/show_bug.cgi?id=22667
--- Comment #10 from Bruno Jesus 00cpxxx@gmail.com 2013-07-14 21:32:56 CDT --- After receiving help from Matteo Bruni I was able to fix some libraries and now I'm able to run the game, I cannot reproduce the issue in wine 1.1.44, 1.2.3 and 1.6-rc5. It was possibly a driver issue (already fixed nowadays) like Matteo stated in comment 7. I suggest to close upstream.
http://bugs.winehq.org/show_bug.cgi?id=22667
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |UPSTREAM
--- Comment #11 from Henri Verbeet hverbeet@gmail.com 2013-07-15 02:57:20 CDT --- Sounds plausible enough.
http://bugs.winehq.org/show_bug.cgi?id=22667
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Henri Verbeet hverbeet@gmail.com 2013-07-15 02:57:35 CDT --- Closing.