https://bugs.winehq.org/show_bug.cgi?id=42729
Bug ID: 42729 Summary: Corrupted graphics in Wolcen: Lords of Mayhem (DX11/CryEngine) Product: Wine Version: 2.4 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx11 Assignee: wine-bugs@winehq.org Reporter: fincer89@hotmail.com Distribution: ---
Created attachment 57716 --> https://bugs.winehq.org/attachment.cgi?id=57716 Wolcen: Lords of Mayhem, corrupted graphics, DX11. Console output
As stated in the title, this DX11/CryEngine Steam game has corrupted graphics when running on Wine.
Console output as an attachment (while the game was running).
Configuration:
Clean 64-bit prefix, Windows Steam, Wine 2.4 (git), Wine 2.4 Staging (git). No Staging stuff enabled in winecfg.
https://bugs.winehq.org/show_bug.cgi?id=42729
--- Comment #1 from Fincer fincer89@hotmail.com --- Created attachment 57717 --> https://bugs.winehq.org/attachment.cgi?id=57717 Wolcen: Corrupted graphics - 1
https://bugs.winehq.org/show_bug.cgi?id=42729
--- Comment #2 from Fincer fincer89@hotmail.com --- Created attachment 57718 --> https://bugs.winehq.org/attachment.cgi?id=57718 Wolcen: Corrupted graphics - 2
https://bugs.winehq.org/show_bug.cgi?id=42729
--- Comment #3 from Fincer fincer89@hotmail.com --- Created attachment 57719 --> https://bugs.winehq.org/attachment.cgi?id=57719 Wolcen: Corrupted graphics - 3
https://bugs.winehq.org/show_bug.cgi?id=42729
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fincer89@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=42729
--- Comment #4 from Fincer fincer89@hotmail.com --- Created attachment 57720 --> https://bugs.winehq.org/attachment.cgi?id=57720 Wolcen: Correct graphics (compare to image 1)
https://bugs.winehq.org/show_bug.cgi?id=42729
--- Comment #5 from Fincer fincer89@hotmail.com --- Created attachment 57721 --> https://bugs.winehq.org/attachment.cgi?id=57721 Wolcen: Correct graphics (compare to image 2)
https://bugs.winehq.org/show_bug.cgi?id=42729
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |x86-64
https://bugs.winehq.org/show_bug.cgi?id=42729
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #6 from fjfrackiewicz@gmail.com --- This line in the terminal output certainly looks interesting:
err:winediag:wined3d_dll_init Setting maximum allowed wined3d GL version to 0.5.
https://bugs.winehq.org/show_bug.cgi?id=42729
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx11 |directx-d3d CC| |joseph.kucia@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=42729
--- Comment #7 from Fincer fincer89@hotmail.com --- Created attachment 57724 --> https://bugs.winehq.org/attachment.cgi?id=57724 Wolcen testrun // wine-staging-git (29/03/2017), 64-bit prefix
Yeah, I agree. The same output message appeared with Rise of The Tomb Raider as well. I'm not using any registry overrides for D3D/OpenGL.
After you pointed that out, I thought twice and decided to start all over again, just to make sure the test would be as clean as possible. I downloaded wine-staging-git and compiled it again. Deleted the existed 64-bit Steam prefix with the game in it and reinstalled everything.
I ran the game again. Test results as an attachment (testrun log).
--------------------- Testrun explanation:
The log starts with launching the Steam client, and ends as I had to kill Wolcen.exe process manually.
Once the game is launched, it starts with loading stuff and showing a series of splash screens before main menu. I accessed the main menu and immediately went to "Character selection" submenu (reference: Wolcen: Corrupted graphics - 1), returned to the main menu and quitted the game. The whole session took approximately some 30 seconds (of which the loading/splash screen part took the most time).
--------------------- Testing environment:
- Windows version: Windows 10 - 64-bit prefix - No DLL overrides. No Staging tweaks enabled in winecfg.
- Wine Git version, latest d3d11 commit included (as a time reference): "d3d11: Validate stream output buffer strides." - Date: 29/03/2017
My first idea was to perform the same test with normal Wine git version, excluding all staging patches. However, I was not even able to launch the Steam client with it, so well...here we are. Sadly, I couldn't test the game that way.
--------------------- Hardware info:
Asus N56JR laptop with Intel HD4000 + Nvidia GTX 760M.
'optirun' command must be used in order to run the game, it just doesn't work with vanilla Intel Card. I'm using the latest 378.13 Nvidia drivers from Arch Linux repositories. The system is up-to-dated.
https://bugs.winehq.org/show_bug.cgi?id=42729
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #8 from winetest@luukku.com --- fixme:d3d_shader:shader_glsl_handle_instruction Backend can't handle opcode dcl_input_ps. fixme:d3d_shader:shader_glsl_handle_instruction Backend can't handle opcode dcl_input_ps_sgv. fixme:d3d_shader:shader_glsl_handle_instruction Backend can't handle opcode dcl_input_ps_siv.
These are bugs bug 40873, bug 41786 and bug 41173. You could mark depends on these bugs.
Also your latest log contained lots of blendstate lines, the output should be a lot more cleaner with more recent wine because of bug 42017 got fixed.
I would assume it works a lot better when those are marked fixed.
https://bugs.winehq.org/show_bug.cgi?id=42729
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |40873, 41786, 41173
https://bugs.winehq.org/show_bug.cgi?id=42729
--- Comment #9 from Fincer fincer89@hotmail.com --- Thanks for the info!
Done.
https://bugs.winehq.org/show_bug.cgi?id=42729
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |43743
https://bugs.winehq.org/show_bug.cgi?id=42729
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #57717|0 |1 is obsolete| | Attachment #57718|0 |1 is obsolete| | Attachment #57719|0 |1 is obsolete| | Attachment #57720|0 |1 is obsolete| | Attachment #57721|0 |1 is obsolete| |
--- Comment #10 from Fincer fincer89@hotmail.com --- Created attachment 59256 --> https://bugs.winehq.org/attachment.cgi?id=59256 Wolcen: gameplay screenshot - Wine 2.17 Staging
Graphics have improved a lot since previous tests, see my attachment for details.
Most of the graphics are good though I can see minor glitches here and there. You need a hack patch (and maybe Wine Staging) to get 3D graphics working atm.
Hack patch here: https://bugs.winehq.org/show_bug.cgi?id=43743
There is also an opened bug issue related to misaligned in-game graphics which somewhat may block fluent gaming: https://bugs.winehq.org/show_bug.cgi?id=43751
https://bugs.winehq.org/show_bug.cgi?id=42729 Bug 42729 depends on bug 40873, which changed state.
Bug 40873 Summary: Multiple games (Witcher 3, Firewatch, The Solus Project, Banished) require dcl_input_ps support https://bugs.winehq.org/show_bug.cgi?id=40873
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=42729 Bug 42729 depends on bug 41173, which changed state.
Bug 41173 Summary: Multiple games (The Solus Project, Banished) requires dcl_input_ps_siv support https://bugs.winehq.org/show_bug.cgi?id=41173
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
https://bugs.winehq.org/show_bug.cgi?id=42729 Bug 42729 depends on bug 41786, which changed state.
Bug 41786 Summary: The Flame in the Flood: Backend can't handle opcode dcl_input_ps_sgv https://bugs.winehq.org/show_bug.cgi?id=41786
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
https://bugs.winehq.org/show_bug.cgi?id=42729
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #11 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-rc7?
https://bugs.winehq.org/show_bug.cgi?id=42729
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on|41786 |
https://bugs.winehq.org/show_bug.cgi?id=42729
--- Comment #12 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with vanilla wine-9.0.1 in a fresh wineprefix?