[Bug 42099] New: Bedlam (indie game) renders 3D world upside down (DX11)
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(a)winehq.org Reporter: gyebro69(a)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 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 --- Comment #1 from Béla Gyebrószki <gyebro69(a)gmail.com> --- Created attachment 56617 --> https://bugs.winehq.org/attachment.cgi?id=56617 screenshot, comparison (DX9 vs. DX11 renderer) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia(a)gmail.com --- Comment #2 from Józef Kucia <joseph.kucia(a)gmail.com> --- Could you please attach a "+d3d11,+d3d" log? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 --- Comment #3 from Béla Gyebrószki <gyebro69(a)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 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 --- Comment #4 from Józef Kucia <joseph.kucia(a)gmail.com> --- Created attachment 57303 --> https://bugs.winehq.org/attachment.cgi?id=57303 Hack Please try the attached patch. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 --- Comment #5 from Béla Gyebrószki <gyebro69(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz(a)gmail.com --- Comment #6 from Józef Kucia <joseph.kucia(a)gmail.com> --- *** Bug 42428 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 Storm Engineer <hewanci(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hewanci(a)gmail.com --- Comment #7 from Storm Engineer <hewanci(a)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 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 --- Comment #8 from Storm Engineer <hewanci(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 --- Comment #9 from Storm Engineer <hewanci(a)gmail.com> --- OK this is weird... that patch is already in wine-staging, there was nothing to do. Yet, I still have the bug. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 --- Comment #10 from Storm Engineer <hewanci(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 walle303 <walle303+winehq.org(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |walle303+winehq.org(a)gmail.c | |om --- Comment #11 from walle303 <walle303+winehq.org(a)gmail.com> --- The patch mentioned here also fixes an invisible GUI problem in Subnautica. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 --- Comment #12 from Storm Engineer <hewanci(a)gmail.com> --- *** Bug 42624 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 --- Comment #13 from Storm Engineer <hewanci(a)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? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 Carlos Silva <r3pek(a)r3pek.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |r3pek(a)r3pek.org -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gijsvrm(a)gmail.com --- Comment #14 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- According to https://dev.wine-staging.com/patches/141/ this should be fixed in Staging 2.12 can anyone confirm? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 --- Comment #15 from Carlos Silva <r3pek(a)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) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 Jason Bagavatsingham <jason.bagavatsingham(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason.bagavatsingham(a)gmail. | |com --- Comment #16 from Jason Bagavatsingham <jason.bagavatsingham(a)gmail.com> --- Created attachment 58784 --> https://bugs.winehq.org/attachment.cgi?id=58784 Oxygen Not Included - wine-2.12 (Staging) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 --- Comment #17 from Jason Bagavatsingham <jason.bagavatsingham(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 Sebastian Lackner <sebastian(a)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(a)baikal.ru, | |erich.e.hoover(a)wine-staging | |.com, michael(a)fds-team.de, | |sebastian(a)fds-team.de Status|NEW |STAGED -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Fixed by SHA1| |7374c8325dcfc0e70b3032cdf57 | |02f5d50833271 Resolution|--- |FIXED --- Comment #18 from Józef Kucia <joseph.kucia(a)gmail.com> --- Should be fixed by commit 7374c8325dcfc0e70b3032cdf5702f5d50833271. Please re-test. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=43264 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #19 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 2.22. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=42099 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |--- --- Comment #20 from Michael Stefaniuc <mstefani(a)winehq.org> --- Remove 2.0.x milestone. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org