https://bugs.winehq.org/show_bug.cgi?id=42099
Bug ID: 42099 Summary: Bedlam (indie game) renders 3D world upside down (DX11) Product: Wine Version: 2.0-rc3 Hardware: x86 URL: http://store.steampowered.com/app/261490/ OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com Distribution: ---
Created attachment 56616 --> https://bugs.winehq.org/attachment.cgi?id=56616 terminal output
This is an indie game built on Unity (4.5.x). When the game uses the DX11 renderer and you enter the 3D world of the game, everything is rendered upside down except HUD elements. The menus also look good.
With the DX9 renderer (disabled d3d11.dll) scenery is rendered correctly in the 3D world.
The following 3 lines were removed from the log to reduce it's size: fixme:d3d11:d3d11_immediate_context_OMSetBlendState Per-rendertarget blend not implemented. fixme:d3d11:d3d11_immediate_context_OMSetBlendState Color mask > 3 not implemented. fixme:d3d11:d3d11_immediate_context_RSSetState Ignoring depth bias.
Fedora 25 x64 (32-bit wineprefix, Windows 7 profile selected) OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.5.0 NVIDIA 375.26
https://bugs.winehq.org/show_bug.cgi?id=42099
--- Comment #1 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 56617 --> https://bugs.winehq.org/attachment.cgi?id=56617 screenshot, comparison (DX9 vs. DX11 renderer)
https://bugs.winehq.org/show_bug.cgi?id=42099
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com
--- Comment #2 from Józef Kucia joseph.kucia@gmail.com --- Could you please attach a "+d3d11,+d3d" log?
https://bugs.winehq.org/show_bug.cgi?id=42099
--- Comment #3 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 57293 --> https://bugs.winehq.org/attachment.cgi?id=57293 +d3d11,+d3d log (uncompressed 190 MB)
wine-2.1-249-g8af23cb OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.5.0 NVIDIA 378.13
https://bugs.winehq.org/show_bug.cgi?id=42099
--- Comment #4 from Józef Kucia joseph.kucia@gmail.com --- Created attachment 57303 --> https://bugs.winehq.org/attachment.cgi?id=57303 Hack
Please try the attached patch.
https://bugs.winehq.org/show_bug.cgi?id=42099
--- Comment #5 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Józef Kucia from comment #4)
Created attachment 57303 [details] Hack
Please try the attached patch.
The patch fixes the problem.
https://bugs.winehq.org/show_bug.cgi?id=42099
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #6 from Józef Kucia joseph.kucia@gmail.com --- *** Bug 42428 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=42099
Storm Engineer hewanci@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hewanci@gmail.com
--- Comment #7 from Storm Engineer hewanci@gmail.com --- I experience a similar problem with Oxygen Not Included Alpha.
There is some variation tho, as for me the menu is upside down but the game world is all black, while someone else reported the game world being upside down for them.
See bug 42624
https://bugs.winehq.org/show_bug.cgi?id=42099
--- Comment #8 from Storm Engineer hewanci@gmail.com --- (In reply to Storm Engineer from comment #7)
See bug 42624
A user just confirmed that the patch here fixed Oxygen Not Included for them.
I still have to test if it fixes the all black graphics for me as well, or it only fixes the upside down part.
https://bugs.winehq.org/show_bug.cgi?id=42099
--- Comment #9 from Storm Engineer hewanci@gmail.com --- OK this is weird... that patch is already in wine-staging, there was nothing to do. Yet, I still have the bug.
https://bugs.winehq.org/show_bug.cgi?id=42099
--- Comment #10 from Storm Engineer hewanci@gmail.com --- Ignore my last comment, I'm an idiot... the patch removes those lines, not adds them...
Trying to build wine-staging with it now, but I have some issues with building. As soon as I figured it out I'll test the game and report back.
https://bugs.winehq.org/show_bug.cgi?id=42099
walle303 walle303+winehq.org@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |walle303+winehq.org@gmail.c | |om
--- Comment #11 from walle303 walle303+winehq.org@gmail.com --- The patch mentioned here also fixes an invisible GUI problem in Subnautica.
https://bugs.winehq.org/show_bug.cgi?id=42099
--- Comment #12 from Storm Engineer hewanci@gmail.com --- *** Bug 42624 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=42099
--- Comment #13 from Storm Engineer hewanci@gmail.com --- Confirming that this fixes the upside-down graphics and missing graphics in Oxygen Not Included as well.
My question is however, is this something we can expect a proper fix for anytime soon, or we will have to use the above hack until the DX11 implementation progresses?
https://bugs.winehq.org/show_bug.cgi?id=42099
Carlos Silva r3pek@r3pek.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |r3pek@r3pek.org
https://bugs.winehq.org/show_bug.cgi?id=42099
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gijsvrm@gmail.com
--- Comment #14 from Gijs Vermeulen gijsvrm@gmail.com --- According to https://dev.wine-staging.com/patches/141/ this should be fixed in Staging 2.12 can anyone confirm?
https://bugs.winehq.org/show_bug.cgi?id=42099
--- Comment #15 from Carlos Silva r3pek@r3pek.org --- (In reply to Gijs Vermeulen from comment #14)
According to https://dev.wine-staging.com/patches/141/ this should be fixed in Staging 2.12 can anyone confirm?
Yes. (at least the Subnautica related problem)
https://bugs.winehq.org/show_bug.cgi?id=42099
Jason Bagavatsingham jason.bagavatsingham@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jason.bagavatsingham@gmail. | |com
--- Comment #16 from Jason Bagavatsingham jason.bagavatsingham@gmail.com --- Created attachment 58784 --> https://bugs.winehq.org/attachment.cgi?id=58784 Oxygen Not Included - wine-2.12 (Staging)
https://bugs.winehq.org/show_bug.cgi?id=42099
--- Comment #17 from Jason Bagavatsingham jason.bagavatsingham@gmail.com --- (In reply to Carlos Silva from comment #15)
(In reply to Gijs Vermeulen from comment #14)
According to https://dev.wine-staging.com/patches/141/ this should be fixed in Staging 2.12 can anyone confirm?
Yes. (at least the Subnautica related problem)
I can confirm Oxygen Not Included is also rendering correctly. I've attached a screenshot with Staging 2.12.
https://bugs.winehq.org/show_bug.cgi?id=42099
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/wined3d-Copy_R | |esource_Typeless CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Status|NEW |STAGED
https://bugs.winehq.org/show_bug.cgi?id=42099
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Fixed by SHA1| |7374c8325dcfc0e70b3032cdf57 | |02f5d50833271 Resolution|--- |FIXED
--- Comment #18 from Józef Kucia joseph.kucia@gmail.com --- Should be fixed by commit 7374c8325dcfc0e70b3032cdf5702f5d50833271. Please re-test.
https://bugs.winehq.org/show_bug.cgi?id=42099
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=43264
https://bugs.winehq.org/show_bug.cgi?id=42099
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.22.
https://bugs.winehq.org/show_bug.cgi?id=42099
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=42099
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #20 from Michael Stefaniuc mstefani@winehq.org --- Remove 2.0.x milestone.