[Bug 41167] New: HLSL shader parsing failed
https://bugs.winehq.org/show_bug.cgi?id=41167 Bug ID: 41167 Summary: HLSL shader parsing failed Product: Wine Version: 1.9.16 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx11 Assignee: wine-bugs(a)winehq.org Reporter: montanawoody(a)gmail.com Distribution: --- Created attachment 55396 --> https://bugs.winehq.org/attachment.cgi?id=55396 ESO log with +hlsl_parser,+d3dcompiler,+d3d11 After adding MaxVersionGL=40004 to HKCU\Software\Wine\Direct3D, I was finally able to get past an issue with Wine trying to use a compatibility profile with Mesa [1]. Now, I'm greeted with a black screen after clicking play in the Elder Scrolls Online launcher program. I have attached a log file with +hlsl_parser, +d3dcompiler, and +d3d11 debug channels enabled. There are multiple errors reported, and I am unsure of which is the cause of the black screen. The following two seem to be important: fixme:d3d11:d3d11_immediate_context_OMSetBlendState Per-rendertarget blend not implemented. fixme:d3d11:d3d11_immediate_context_OMSetBlendState Color mask > 3 not implemented. However, there also seems to be an issue with the HLSL compiler: err:d3dcompiler:compile_shader HLSL shader parsing failed. Let me know if there is anything I can do to help debug this. Thanks. [1] OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) OpenGL core profile version string: 4.4 (Core Profile) Mesa 12.1.0-devel - padoka PPA OpenGL core profile shading language version string: 4.40 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile -- 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=41167 --- Comment #1 from Henri Verbeet <hverbeet(a)gmail.com> --- (In reply to Jason Wood from comment #0)
However, there also seems to be an issue with the HLSL compiler: err:d3dcompiler:compile_shader HLSL shader parsing failed.
Let me know if there is anything I can do to help debug this. Thanks.
The HLSL compiler would need quite a bit of work before being useful in practice. We'd like that work to be done of course, but as a workaround you can install the native d3dcompiler dll. -- 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=41167 --- Comment #2 from Jason Wood <montanawoody(a)gmail.com> --- I used winetricks to install d3dcompiler_43, and the game starts up. There are graphical glitches - eg the ground is missing, but this is a good start. The d3d11_immediate_context_OMSetBlendState messages become more apparent with the compiler errors gone. -- 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=41167 Thomas Kowaliczek <linuxdonald(a)posteo.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |linuxdonald(a)posteo.de -- 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=41167 deekaybee0(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |deekaybee0(a)gmail.com --- Comment #3 from deekaybee0(a)gmail.com --- (In reply to Jason Wood from comment #2)
I used winetricks to install d3dcompiler_43, and the game starts up. There are graphical glitches - eg the ground is missing, but this is a good start. The d3d11_immediate_context_OMSetBlendState messages become more apparent with the compiler errors gone.
have same ground graphic glitches: https://www.youtube.com/watch?v=dzKVr78YK0g any update to fix that? -- 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=41167 --- Comment #4 from Jason Wood <sandain(a)hotmail.com> --- (In reply to deekaybee0 from comment #3)
have same ground graphic glitches: https://www.youtube.com/watch?v=dzKVr78YK0g any update to fix that?
I submitted bug https://bugs.winehq.org/show_bug.cgi?id=41213 with a proposed patch for that problem. The patch won't be accepted because it is not correct, but it does work around the missing texture issue. -- 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=41167 Jason Wood <sandain(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #5 from Jason Wood <sandain(a)hotmail.com> --- I tried this with a fresh prefix on an unpatched Wine 2.2 and no longer received the `HLSL shader parsing failed` error. There are still texture issues, but that is a different 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.
https://bugs.winehq.org/show_bug.cgi?id=41167 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #6 from Matteo Bruni <matteo.mystral(a)gmail.com> --- (In reply to Jason Wood from comment #5)
I tried this with a fresh prefix on an unpatched Wine 2.2 and no longer received the `HLSL shader parsing failed` error. There are still texture issues, but that is a different bug.
Nothing was changed in Wine which would fix this. Either the game now includes (and uses) native d3dcompiler_xx.dll or it stopped requiring that functionality altogether. -- 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=41167 --- Comment #7 from Jason Wood <sandain(a)hotmail.com> --- (In reply to Matteo Bruni from comment #6)
Nothing was changed in Wine which would fix this. Either the game now includes (and uses) native d3dcompiler_xx.dll or it stopped requiring that functionality altogether.
It is impossible to go back and test the same version of the game that I was running when I submitted this bug report. It is possible that the game no longer uses whatever function it was using before that broke the HLSL compiler. However, your first guess might just be spot on -- the game now seems to include a copy of d3dcompiler_47.dll for both 32- and 64-bit clients (but it is hard to say if it included anything before). -- 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=41167 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|HLSL shader parsing failed |Elder Scrolls Online | |launcher fails to compile | |HLSL -- 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=41167 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx11 |directx-d3d-util -- 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)
-
wine-bugs@winehq.org -
WineHQ Bugzilla