[Bug 55915] New: Shader Compiler Issues
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(a)winehq.org Reporter: wschmrdr(a)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. -- 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=55915 temp82(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bunglehead(a)gmail.com, | |temp82(a)luukku.com -- 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=55915 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|bunglehead(a)gmail.com | -- 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=55915 Zeb Figura <z.figura12(a)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(a)gmail.com> --- Can you please set VKD3D_SHADER_DUMP_PATH to a directory and upload the shaders created there? -- 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=55915 --- Comment #2 from wschmrdr(a)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. -- 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=55915 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com --- Comment #3 from Zeb Figura <z.figura12(a)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? -- 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=55915 --- Comment #4 from wschmrdr(a)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. -- 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=55915 --- Comment #5 from wschmrdr(a)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.... -- 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=55915 --- Comment #6 from Zeb Figura <z.figura12(a)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 :-/ -- 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.
http://bugs.winehq.org/show_bug.cgi?id=55915 Stefan Dösinger <stefan(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan(a)codeweavers.com --- Comment #7 from Stefan Dösinger <stefan(a)codeweavers.com> --- I have seen the same issue on the Starcraft 2 arcade map "Squadron TD Beta". It doesn't manifest as a crash, but outlines around certain buildings and units are red when the mouse hovers over them. Using native d3dcompiler works around the issue. Compile output seems to be cached somewhere, so switching from/to native d3dcompiler doesn't immediately change the user-visible behavior. Various Starcraft 2 directories in C:\users and C:\ProgramData need to be deleted. Bugs 44920 and 52244 seem to be duplicates of this bug with slightly different symptoms. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=55915 --- Comment #8 from Stefan Dösinger <stefan(a)codeweavers.com> --- Created attachment 79803 --> http://bugs.winehq.org/attachment.cgi?id=79803 screenshot -- 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.
http://bugs.winehq.org/show_bug.cgi?id=55915 Stefan Dösinger <stefan(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cedric.dewijs(a)eclipso.eu --- Comment #9 from Stefan Dösinger <stefan(a)codeweavers.com> --- *** Bug 52244 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.
http://bugs.winehq.org/show_bug.cgi?id=55915 --- Comment #10 from Stefan Dösinger <stefan(a)codeweavers.com> --- Created attachment 79864 --> http://bugs.winehq.org/attachment.cgi?id=79864 dumped shaders These are the shaders vkd3d writes when loading the squadron TD map (obviously with a fresh sc2 data directory, so it had to recompile them. Rendering of the unit highlight was red as in attachment 79893. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=55915 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #11 from Matteo Bruni <matteo.mystral(a)gmail.com> --- Probably similar situation with Heroes of the Storm, see bug 43775 and duplicates. Bug 43775 comment 36 is one way to make use of the d3dcompiler DLLs included with the game, as a workaround. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=55915 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aerusso@aerusso.net --- Comment #12 from Zeb Figura <z.figura12@gmail.com> --- *** Bug 44920 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.
participants (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla