https://bugs.winehq.org/show_bug.cgi?id=55915
Bug ID: 55915 Summary: Shader Compiler Issues Product: Wine Version: 8.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: wschmrdr@gmail.com Distribution: ---
Created attachment 75465 --> https://bugs.winehq.org/attachment.cgi?id=75465 Shader Compiler Errors Found
When attempting to play StarCraft II using a custom map (StarCraft Mass Recall latest version to be precise), I noticed the attached in the log when starting. Nothing on either side of this trace seemed out of the ordinary.
As a side note (don't know if it's related but I'll note it anyway), Map 5 of Loomings ("Extermination") does seem to have the same graphics crash previously reported when I build a Machine Shop off the Factory or try to attack the first base.
https://bugs.winehq.org/show_bug.cgi?id=55915
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bunglehead@gmail.com, | |temp82@luukku.com
https://bugs.winehq.org/show_bug.cgi?id=55915
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|bunglehead@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=55915
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|d3d |hlsl Product|Wine |vkd3d Summary|Shader Compiler Issues |Starcraft II fails to | |compile some shaders Version|8.20 |1.9
--- Comment #1 from Zeb Figura z.figura12@gmail.com --- Can you please set VKD3D_SHADER_DUMP_PATH to a directory and upload the shaders created there?
https://bugs.winehq.org/show_bug.cgi?id=55915
--- Comment #2 from wschmrdr@gmail.com --- Created attachment 75466 --> https://bugs.winehq.org/attachment.cgi?id=75466 Shader files requested
Here's the directory with the files; created using tar -czvf . I did notice in the log, on a couple of the places where I expected a crash of the game itself, that it attempted to create some new shaders. Eventually the game did crash, and it was the same "out of memory" crash I had previously reported in 55469.
https://bugs.winehq.org/show_bug.cgi?id=55915
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #3 from Zeb Figura z.figura12@gmail.com --- Ah, hrm, we're dumping before preprocessing, and the shaders try to include some external files ("Model.fx", "Particle.fx", "Ribbon.fx"). Whatever the preprocessor is choking on seems to be in those files. I don't suppose those exist on the file system somewhere?
While you're at it can you get a log with WINEDEBUG=+d3dcompiler,+vkd3d also, please?
https://bugs.winehq.org/show_bug.cgi?id=55915
--- Comment #4 from wschmrdr@gmail.com --- I have no clue where those files would even come from... Model might be the unit model so I'll see how that's setup, but the others I'm stumped. And I don't see them in the downloadable files, either. Log will follow in a later post.
https://bugs.winehq.org/show_bug.cgi?id=55915
--- Comment #5 from wschmrdr@gmail.com --- Created attachment 75468 --> https://bugs.winehq.org/attachment.cgi?id=75468 Log Requested 20231119_2217 UTC
Attaching the log requested. File's in a tgz because it's over 10 MB. Be aware that the game crashed before I could even start playing; not sure if that's expected, or could possibly be a side effect of what's really going on here....
https://bugs.winehq.org/show_bug.cgi?id=55915
--- Comment #6 from Zeb Figura z.figura12@gmail.com --- (In reply to wschmrdr from comment #5)
Created attachment 75468 [details] Log Requested 20231119_2217 UTC
Attaching the log requested. File's in a tgz because it's over 10 MB. Be aware that the game crashed before I could even start playing; not sure if that's expected, or could possibly be a side effect of what's really going on here....
Ugh, no, that's an annoying aspect of Wine logging, it breaks if you try to print a string longer than a fixed size...
I suppose this'll inevitably need patching to get the real source shaders; our existing debug tools aren't quite up to scratch :-/