https://bugs.winehq.org/show_bug.cgi?id=43618
Bug ID: 43618 Summary: Sonic CD crashes after failing to compile a shader Product: Wine Version: 2.15 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Created attachment 59037 --> https://bugs.winehq.org/attachment.cgi?id=59037 log with +d3dcompiler
Sonic CD, a Steam game, crashes on startup. I'm attaching a log with WINEDEBUG=+d3dcompiler.
The game works fine after running `winetricks dlls d3dcompiler_43`.
https://bugs.winehq.org/show_bug.cgi?id=43618
--- Comment #1 from Alex Henrie alexhenrie24@gmail.com --- Created attachment 59038 --> https://bugs.winehq.org/attachment.cgi?id=59038 shader source
This is the complete shader source. I don't know why it doesn't compile.
https://bugs.winehq.org/show_bug.cgi?id=43618
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://store.steampowered.c | |om/app/200940/Sonic_CD/
https://bugs.winehq.org/show_bug.cgi?id=43618
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Alex Henrie from comment #0)
Created attachment 59037 [details] log with +d3dcompiler
Sonic CD, a Steam game, crashes on startup. I'm attaching a log with WINEDEBUG=+d3dcompiler.
The game works fine after running `winetricks dlls d3dcompiler_43`.
Nitpick, but I think you meant: winetricks d3dcompiler_43
https://bugs.winehq.org/show_bug.cgi?id=43618
krinkodot22@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |krinkodot22@hotmail.com
--- Comment #3 from krinkodot22@hotmail.com --- The same thing happened to me as well, with Wine 2.14 on Fedora 26, and I can confirm that installing d3dcompiler_43 lets the game run. (And thanks for posting this bug! I installed this game just hours after this bug was posted and saved me from a lot of frustration.)
https://bugs.winehq.org/show_bug.cgi?id=43618
--- Comment #4 from Alex Henrie alexhenrie24@gmail.com --- Looks like Wine's HLSL compiler doesn't support the tex2D function, or any other functions for that matter: https://www.winehq.org/pipermail/wine-devel/2016-September/114659.html
https://bugs.winehq.org/show_bug.cgi?id=43618
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3d |directx-d3dx9
https://bugs.winehq.org/show_bug.cgi?id=43618
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #5 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-6.19?
https://bugs.winehq.org/show_bug.cgi?id=43618
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #59037|0 |1 is obsolete| |
--- Comment #6 from Alex Henrie alexhenrie24@gmail.com --- Created attachment 70834 --> https://bugs.winehq.org/attachment.cgi?id=70834 Terminal output
The game still crashes on start in Wine 6.16, although the error message has changed to:
066c:fixme:d3dcompiler:D3DCompile2 HLSL shader compilation is not yet implemented.
https://bugs.winehq.org/show_bug.cgi?id=43618
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- This appears to work with steam/proton, but we'll need to retest with win steam client as well, just not make sure.
https://bugs.winehq.org/show_bug.cgi?id=43618
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Wine |vkd3d Component|d3d-util |hlsl Version|2.15 |1.9
https://bugs.winehq.org/show_bug.cgi?id=43618
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82@luukku.com
--- Comment #8 from temp82@luukku.com --- (In reply to Nikolay Sivov from comment #7)
This appears to work with steam/proton, but we'll need to retest with win steam client as well, just not make sure.
"Notice: Sonic CD is no longer available on the Steam store."
https://bugs.winehq.org/show_bug.cgi?id=43618
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #9 from Alex Henrie alexhenrie24@gmail.com --- I still have Sonic CD on Steam. I played it today on Wine 8.21 with the Steam client for Windows and it works great!
https://bugs.winehq.org/show_bug.cgi?id=43618
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Alex Henrie from comment #9)
I still have Sonic CD on Steam. I played it today on Wine 8.21 with the Steam client for Windows and it works great!
Could you double check with a new shader dump, or +d3dcompiler that you're not using native compiler modules?
https://bugs.winehq.org/show_bug.cgi?id=43618
--- Comment #11 from Alex Henrie alexhenrie24@gmail.com --- Created attachment 75780 --> https://bugs.winehq.org/attachment.cgi?id=75780 WINEDEBUG=+d3dcompiler
Here's the terminal output with WINEDEBUG=+d3dcompiler.
https://bugs.winehq.org/show_bug.cgi?id=43618
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Nikolay Sivov bunglehead@gmail.com --- Closing bugs fixed in 1.11.