https://bugs.winehq.org/show_bug.cgi?id=47039
Bug ID: 47039 Summary: Shantae Risky's Revenge has a blank screen in Wine 4.6 (regression) Product: Wine Version: 4.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: pizzadudedotca@gmail.com Distribution: ---
Created attachment 64209 --> https://bugs.winehq.org/attachment.cgi?id=64209 Terminal output launching Shantae Riskys Revenge in Wine 4.6
Since Wine 4.6, Shantae Risky's Revenge (and some other games like Sonic Mania) have a blank screen, with only audio working. I posted an issue describing this here: https://forum.winehq.org/viewtopic.php?f=8&t=32282 and someone replied thinking it's due to the "ongoing effort to use Vulkan as a backend for wine's D3D9 implementation" and I should note that the hardware I experience this issue on does not support Vulkan. I'm not sure if that's the cause of the issue though.
Here are the specs: Kernel: Linux 4.18.0-17-generic x86_64 Distro: Linux Mint 19.1 Tessa CPU: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz 4 cores/threads 2400.00 MHz RAM: 7.59 GiB GPU: Mesa DRI Intel(R) Ironlake Mobile OpenGL 2.1 Mesa 19.0.1 - padoka PPA GLSL 1.20
Attached is terminal output of Shantae Risky's Revenge when attempted to be run in Wine 4.6.
https://bugs.winehq.org/show_bug.cgi?id=47039
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |regression Ever confirmed|0 |1
--- Comment #1 from Józef Kucia joseph.kucia@gmail.com --- This probably a regression caused by:
Commit: 5ed7a61de7e72ecf4cf6ef76d4044f32640b93cb Author: Paul Gofman gofmanp@gmail.com Date: Mon Apr 8 20:41:50 2019 +0300
wined3d: Use ARB_shader_bit_encoding for storing local constants when available.
https://bugs.winehq.org/show_bug.cgi?id=47039
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
--- Comment #2 from Paul Gofman gofmanp@gmail.com --- Yes, looks like it. Could you please run glxinfo command and attach an output, and also compressed output of WINEDEBUG=+d3d?
I don't yet understand how we get ARB_SHADER_BIT_ENCODING extension enabled with GLSL version 1.2.
https://bugs.winehq.org/show_bug.cgi?id=47039
--- Comment #3 from Paul Gofman gofmanp@gmail.com --- Created attachment 64210 --> https://bugs.winehq.org/attachment.cgi?id=64210 Check GLSL version when using ARB_shader_bit_encoding with uvec4.
(In reply to Paul Gofman from comment #2)
Yes, looks like it. Could you please run glxinfo command and attach an output, and also compressed output of WINEDEBUG=+d3d?
I don't yet understand how we get ARB_SHADER_BIT_ENCODING extension enabled with GLSL version 1.2.
Never mind, I found capabilities report for this GPU and indeed it supports ARB_shader_bit_encoding and GLSL version 1.2 with Mesa. In the error log it recognizes uintBitsToFloat() and suggests uvec4 as possible argument type, but does not allow uvec4 in shader code (as uvec4 is available since GLSL 1.3). I will send a patch. Attaching a patch here in case anyone wants to test it.
https://bugs.winehq.org/show_bug.cgi?id=47039
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |5ed7a61de7e72ecf4cf6ef76d40 | |44f32640b93cb
https://bugs.winehq.org/show_bug.cgi?id=47039
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d
https://bugs.winehq.org/show_bug.cgi?id=47039
--- Comment #4 from Mathew Hodson mathew.hodson@gmail.com --- https://source.winehq.org/git/wine.git/commitdiff/75aa4ab16b03a11464ab0d3e4c...
https://bugs.winehq.org/show_bug.cgi?id=47039
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Summary|Shantae Risky's Revenge has |Shantae Risky's Revenge has |a blank screen in Wine 4.6 |a blank screen in Wine 4.6 |(regression) | Fixed by SHA1| |75aa4ab16b03a11464ab0d3e4c4 | |cfbff0180c269 Resolution|--- |FIXED
--- Comment #5 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Mathew Hodson from comment #4)
https://source.winehq.org/git/wine.git/commitdiff/ 75aa4ab16b03a11464ab0d3e4c4cfbff0180c269
Should be fixed in Wine 4.7.
https://bugs.winehq.org/show_bug.cgi?id=47039
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.7.
https://bugs.winehq.org/show_bug.cgi?id=47039
--- Comment #7 from pizzadude pizzadudedotca@gmail.com --- Confirmed fixed.