https://bugs.winehq.org/show_bug.cgi?id=43281
Bug ID: 43281 Summary: Assassin's Creed Syndicate: stack overflow when anti-aliasing is enabled Product: Wine Version: 2.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: kimmo.myllyvirta@gmail.com Distribution: ---
Created attachment 58618 --> https://bugs.winehq.org/attachment.cgi?id=58618 tid,d3d,d3d11 debug log
How to reproduce; Install the game, press play from the Uplay, and then the game fails to start with; 0125:err:seh:setup_exception stack overflow 1808 bytes in thread 0125 eip 000000007b4503ba esp 0000000017570f00 stack 0x17570000-0x17571000-0x17670000
Looks like infinite recursion. It ping-pongs between wined3d_texture_load_location and surface_load_location over 1300 times until the stack overflow happens.
By default anti-aliasing is enabled after installing the game. The game starts up when AntiAliasingMode is set to 0 from AC.ini.
+tid,+d3d,+d3d11 debug log attached.
Steam version, GTX980 (375.66 blob), Ubuntu 16.04.2, wine-2.11-staging (due to Uplay).
https://bugs.winehq.org/show_bug.cgi?id=43281
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@fds-team.de, | |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=43281
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |joseph.kucia@gmail.com
--- Comment #1 from Józef Kucia joseph.kucia@gmail.com --- This basically happens because multisample textures are not implemented.
https://bugs.winehq.org/show_bug.cgi?id=43281
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=42820
https://bugs.winehq.org/show_bug.cgi?id=43281
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=43361
https://bugs.winehq.org/show_bug.cgi?id=43281
--- Comment #2 from Józef Kucia joseph.kucia@gmail.com --- Please retest if the problem is fixed when multisample textures are enabled (HKEY_CURRENT_USER/Software/Wine/Direct3D/MultisampleTextures:DWORD=0x1).
https://wiki.winehq.org/Useful_Registry_Keys
https://bugs.winehq.org/show_bug.cgi?id=43281
Lionhair relaxcold@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |relaxcold@gmail.com
--- Comment #3 from Lionhair relaxcold@gmail.com --- Created attachment 60487 --> https://bugs.winehq.org/attachment.cgi?id=60487 terminal output for ddo with antialiasing problem
https://bugs.winehq.org/show_bug.cgi?id=43281
--- Comment #4 from Lionhair relaxcold@gmail.com --- Comment on attachment 60487 --> https://bugs.winehq.org/attachment.cgi?id=60487 terminal output for ddo with antialiasing problem
I have a similar issue with wine 3.1 using dx11 when playing the game Dungeon&Dragons online. When antialiasing is disable in game I have no graphic issue, but when antialiasing is enable, large part of the screen is just black.
The registry key did not fix it in my case
https://bugs.winehq.org/show_bug.cgi?id=43281
--- Comment #5 from Józef Kucia joseph.kucia@gmail.com --- (In reply to Lionhair from comment #4)
Comment on attachment 60487 [details] terminal output for ddo with antialiasing problem
I have a similar issue with wine 3.1 using dx11 when playing the game Dungeon&Dragons online. When antialiasing is disable in game I have no graphic issue, but when antialiasing is enable, large part of the screen is just black.
It's a different problem. Please retest in Wine 3.2 when it's released. If the problem persists please open a new bug report.
The registry key did not fix it in my case
Wine 3.1 doesn't support multisample textures. You need to compile Wine from the current git, or wait for Wine 3.2 release.
https://bugs.winehq.org/show_bug.cgi?id=43281
--- Comment #6 from Kimmo Myllyvirta kimmo.myllyvirta@gmail.com --- (In reply to Józef Kucia from comment #2)
Please retest if the problem is fixed when multisample textures are enabled (HKEY_CURRENT_USER/Software/Wine/Direct3D/MultisampleTextures:DWORD=0x1).
Yes, setting MultisampleTextures to 1 fixes it. Tested with wine-3.2 and d3d11-Deferred_Context patchset from staging, it will crash without it.
(And currently the game may hang or crash inside libnvidia-glcore.so after the first splash screen, but that's different issue.)
https://bugs.winehq.org/show_bug.cgi?id=43281
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #7 from Józef Kucia joseph.kucia@gmail.com --- (In reply to Kimmo Myllyvirta from comment #6)
Yes, setting MultisampleTextures to 1 fixes it.
Thanks for testing.
*** This bug has been marked as a duplicate of bug 42820 ***
https://bugs.winehq.org/show_bug.cgi?id=43281
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicates