https://bugs.winehq.org/show_bug.cgi?id=49489
Bug ID: 49489 Summary: Regression - b86dc3926bfe5cd92400aa96c89b0255eba1d447 causes incorrect rendering in Warframe with nvidia Product: Wine Version: 5.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: GloriousEggroll@gmail.com Distribution: ---
Created attachment 67611 --> https://bugs.winehq.org/attachment.cgi?id=67611 warframe incorrect rendering
On a clean prefix with a new Warframe installation, incorrect rendering occurs (see image) with Nvidia gpus.
This has been bisected to wine commit:
https://github.com/wine-mirror/wine/commit/b86dc3926bfe5cd92400aa96c89b0255e...
This works on AMD with both wined3d and vkd3d, but renders incorrectly on Nvidia
https://bugs.winehq.org/show_bug.cgi?id=49489
--- Comment #1 from GloriousEggroll@gmail.com --- correction--
works on AMD with both wined3d and DXVK*
https://bugs.winehq.org/show_bug.cgi?id=49489
GloriousEggroll@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Regression - |Incorrect rendering in |b86dc3926bfe5cd92400aa96c89 |Warframe with nvidia |b0255eba1d447 causes | |incorrect rendering in | |Warframe with nvidia |
https://bugs.winehq.org/show_bug.cgi?id=49489
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression Hardware|x86 |x86-64 Regression SHA1| |b86dc3926bfe5cd92400aa96c89 | |b0255eba1d447 URL| |https://www.warframe.com/
https://bugs.winehq.org/show_bug.cgi?id=49489
--- Comment #2 from GloriousEggroll@gmail.com --- Created attachment 67615 --> https://bugs.winehq.org/attachment.cgi?id=67615 wined3d broken launcher nv and amd
https://bugs.winehq.org/show_bug.cgi?id=49489
--- Comment #3 from GloriousEggroll@gmail.com --- Created attachment 67616 --> https://bugs.winehq.org/attachment.cgi?id=67616 wined3d error pop message amd and nv
https://bugs.winehq.org/show_bug.cgi?id=49489
--- Comment #4 from GloriousEggroll@gmail.com --- Sorry, I was misinformed regarding wined3d. There's some real funky stuff going on. After further digging, here are some corrections:
Incorrect rendering: ---------------------- 1. On nvidia, dxvk renders the game incorrectly as shown in the first comment. (see attached #1)
2. On amd and nvidia, wined3d, renders the launcher all black, however you can still interact with it (see attached #2).
3. On amd and nvidia, wined3d results in a popup error when trying to run the game (see attached #3) ----------------------
Correct rendering: ---------------------- 1. On nvidia, reverting b86dc3926bfe5cd92400aa96c89b0255eba1d447 fixes rendering with DXVK for both the game and the launcher
2. On amd, dxvk renders the game correctly
3. On amd, dxvk renders the launcher correctly
----------------------
FIXMEs for this report: 1 - fix b86dc3926bfe5cd92400aa96c89b0255eba1d447 to load dxvk with nvidia correctly 2 - bisect the commit that broke wined3d and fix it to render the launcher and game correctly again
https://bugs.winehq.org/show_bug.cgi?id=49489
--- Comment #5 from GloriousEggroll@gmail.com --- Created attachment 67618 --> https://bugs.winehq.org/attachment.cgi?id=67618 hotfix ntdll init_locale
Fixed the nvidia + dxvk issue:
https://github.com/wine-mirror/wine/commit/b86dc3926bfe5cd92400aa96c89b0255e... ntdll/locale.c
line 867
This was removed:
setlocale( LC_NUMERIC, "C" ); /* FIXME: oleaut32 depends on this */
But was never added to the newly moved function. Apparently the nvidia driver relies on this being set.
https://bugs.winehq.org/show_bug.cgi?id=49489
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fabienmoal@wanadoo.fr
--- Comment #6 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- *** Bug 49417 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=49489
--- Comment #7 from GloriousEggroll@gmail.com --- Regarding this bug:
There are actually 3 bugs in this case after further investigation.
1) The first bug should be the focus, which is the locale issue resolved by the patch attached.
2) The second bug is the launcher rendering all black in wined3d mode which is this bug: https://bugs.winehq.org/show_bug.cgi?id=44985
and can be worked around with WINEDLLOVERRIDES="libglesv2=d"
3) The 3rd bug is the game not rendering in wined3d and giving the popup error attached. I've opened a separate bug for this:
https://bugs.winehq.org/show_bug.cgi?id=49517
I've gone ahead also and taken maintainership of the WineHQ Warframe entry and attached these bugs.
I've also submitted the patch upstream.
After the patch is upstreamed or staged, this specific bug can be closed.
https://bugs.winehq.org/show_bug.cgi?id=49489
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |031c744a1fb9b94f7a4634eae5f | |56845b586554d Status|UNCONFIRMED |RESOLVED
--- Comment #8 from Gijs Vermeulen gijsvrm@gmail.com --- Fixed by: https://source.winehq.org/git/wine.git/commit/031c744a1fb9b94f7a4634eae5f56845b586554d
https://bugs.winehq.org/show_bug.cgi?id=49489
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.13.