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@winehq.org Reporter: montanawoody@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
https://bugs.winehq.org/show_bug.cgi?id=41167
--- Comment #1 from Henri Verbeet hverbeet@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.
https://bugs.winehq.org/show_bug.cgi?id=41167
--- Comment #2 from Jason Wood montanawoody@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.
https://bugs.winehq.org/show_bug.cgi?id=41167
Thomas Kowaliczek linuxdonald@posteo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |linuxdonald@posteo.de
https://bugs.winehq.org/show_bug.cgi?id=41167
deekaybee0@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |deekaybee0@gmail.com
--- Comment #3 from deekaybee0@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?
https://bugs.winehq.org/show_bug.cgi?id=41167
--- Comment #4 from Jason Wood sandain@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.
https://bugs.winehq.org/show_bug.cgi?id=41167
Jason Wood sandain@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #5 from Jason Wood sandain@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.
https://bugs.winehq.org/show_bug.cgi?id=41167
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #6 from Matteo Bruni matteo.mystral@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.
https://bugs.winehq.org/show_bug.cgi?id=41167
--- Comment #7 from Jason Wood sandain@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).
https://bugs.winehq.org/show_bug.cgi?id=41167
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|HLSL shader parsing failed |Elder Scrolls Online | |launcher fails to compile | |HLSL
https://bugs.winehq.org/show_bug.cgi?id=41167
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3dx11 |directx-d3d-util