https://bugs.winehq.org/show_bug.cgi?id=45871
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Several .NET 4.7.2 |Several .NET 4.7 WPF |applications crash with |applications crash with |HLSL shader parsing failure |HLSL shader parsing failure | |when using builtin | |'d3dcompiler_47.dll' URL|https://slack.com/ssb/downl |https://web.archive.org/web |oad-win |/20180207155940/https://dow | |nloads.slack-edge.com/relea | |ses/SlackSetup.exe
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming and adding one more .NET 4.7 WPF app 'Gaea 1.0.19' from bug 47282
https://web.archive.org/web/20190523115754/http://viridian.quadspinner.com/g...
--- snip --- $ pwd /home/focht/.wine/drive_c/users/focht/Local Settings/Application Data/QuadSpinner/Gaea
$ wine ./Gaea.exe ... 003b:fixme:d3dcompiler:make_assignment Check for casts in the lhs. 003b:err:d3dcompiler:compile_shader HLSL shader parsing failed. ... 003b:err:ntdll:vDbgPrintExWithPrefix 65: MIL FAILURE: Unexpected HRESULT 0x88760b59 in caller: intermediate rendering error ... 003b:err:ntdll:vDbgPrintExWithPrefix 65: MIL FAILURE: Unexpected HRESULT 0x88760b59 in caller: The render thread failed unexpectedly. --- snip ---
'winetricks -q d3dcompiler_47' works around.
Tidbit, although not directly related to the HLSL shader compiler insufficiency:
https://blogs.msdn.microsoft.com/dsui_team/2013/11/18/wpf-render-thread-fail... ("WPF Render Thread Failures")
This also works around:
https://docs.microsoft.com/en-us/dotnet/framework/wpf/graphics-multimedia/gr...
--- snip --- $ wine reg add "HKCU\SOFTWARE\Microsoft\Avalon.Graphics" /v DisableHWAcceleration /t REG_DWORD /d 1 /f --- snip ---
You will have worse performance as the name indicates (if it matters), hence it should be only used for debugging and testing purpose.
$ sha1sum Gaea-1.0.19.exe 29ddfa3e404148babbae479153e438097077fb13 Gaea-1.0.19.exe
$ du -sh Gaea-1.0.19.exe 41M Gaea-1.0.19.exe
$ wine --version wine-4.9-134-gd535df42f6
Regards