https://bugs.winehq.org/show_bug.cgi?id=43743
Bug ID: 43743 Summary: No 3D graphics in Wolcen: Lords of Mayhem Product: Wine Version: 2.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: fincer89@hotmail.com Distribution: ---
Created attachment 59232 --> https://bugs.winehq.org/attachment.cgi?id=59232 Log of Wolcen - Wine 2.17 Staging (~14mb unpacked)
Wolcen: Lords of Mayhem is a Steam-hosted DX11 game, using CryEngine.
As the DX11 implementation has been improved in Wine, the graphics stopped working at some point after Wine 2.3.
I have attached a log file which may indicate well enough about the root reason of the issue (Should I still run a regression test?)
Wine complains *a lot* about the following:
err:d3d:wined3d_debug_callback 0x1b309e40: "GL_INVALID_ENUM error generated. Invalid primitive mode.".
P.S. There are already an open ticket for corrupted graphics in this game (bug 42729), but this issue is about "No graphics at all". GUI graphics (menus etc.) are still okay.
I guess this bug must be resolved after getting into bug 42729.
-------------------------
Clean Wine Staging 2.17 64-bit prefix, no CSMT Steam client Nvidia GTX 760M (driver version: 384.59)
https://bugs.winehq.org/show_bug.cgi?id=43743
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |42729
https://bugs.winehq.org/show_bug.cgi?id=43743
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fincer89@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=43743
Kimmo Myllyvirta kimmo.myllyvirta@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kimmo.myllyvirta@gmail.com
--- Comment #1 from Kimmo Myllyvirta kimmo.myllyvirta@gmail.com --- Created attachment 59237 --> https://bugs.winehq.org/attachment.cgi?id=59237 hack for staging
This is caused by unimplemented context state save/restore in ExecuteCommandList. The game creates multiple command lists which contain only UpdateSubresource and CopySubresourceRegions, and runs them with restore_state = TRUE.
It should be playable with the attached hack.
https://bugs.winehq.org/show_bug.cgi?id=43743
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=43743
--- Comment #2 from Fincer fincer89@hotmail.com --- Thanks Kimmo! The hack patch works as you described. 3D graphics restored again.
Though the game is bit laggy, it's likely another issue.
https://bugs.winehq.org/show_bug.cgi?id=43743
--- Comment #3 from Fincer fincer89@hotmail.com --- Fixed by Wine 2.18 Staging commit https://github.com/wine-compholio/wine-staging/commit/93b9924d3c3cd34550c244...
Please mark the bug as "STAGED".
https://bugs.winehq.org/show_bug.cgi?id=43743
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/commit/ | |93b9924d3c3cd34550c2443e7a0 | |3d92c8ada4635 Ever confirmed|0 |1 Status|UNCONFIRMED |STAGED
https://bugs.winehq.org/show_bug.cgi?id=43743
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
https://bugs.winehq.org/show_bug.cgi?id=43743
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/commit/ |ging/wine-staging/tree/mast |93b9924d3c3cd34550c2443e7a0 |er/patches/d3d11-Deferred_C |3d92c8ada4635 |ontext
https://bugs.winehq.org/show_bug.cgi?id=43743
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #4 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with vanilla wine-4.4?
https://bugs.winehq.org/show_bug.cgi?id=43743
--- Comment #5 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur vanilla with wine-7.10?
https://bugs.winehq.org/show_bug.cgi?id=43743
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82@luukku.com
--- Comment #6 from temp82@luukku.com --- (In reply to joaopa from comment #5)
Does the bug still occur vanilla with wine-7.10?
no idea. the staging patch gives 404 error so it's most likely merged into upstream.