https://bugs.winehq.org/show_bug.cgi?id=56326
Bug ID: 56326 Summary: GTR 2 FIA GT Racing Game (Steam) needs HLSL_IR_LOOP Product: Wine Version: 9.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sa@whiz.se Distribution: ---
The game GTR2 freezes and throws a fatal error if any race is started. The problem can be worked around with native d3dx9 (specifically d3dx9_41.dll and d3dx9_31.dll).
Previous bug reports about HLSL_IR_LOOP (#38583, #55083) maybe these could be merged.
To reproduce: - The included vcredist_x86.exe must be installed. - Try to start any race. E.g. "Open Practice" or clicking "Start" after choosing "Driving School". - There might be an issue with the game complaining about low video memory. Not a Wine issue but reported by Windows users too. To work around edit Config.ini switch VIDEODRIVER=0 to VIDEODRIVER=1 and rerun the configuration tool.
This game was confusingly previously reported as working, but I don't think this is a regression. The AppDB results are most likely from the older retail version and not the Steam re-release.
Errors:
012c:err:d3dcompiler:D3DCompile2 Shader log: 012c:err:d3dcompiler:D3DCompile2 <anonymous>:49:19: W5300: Implicit truncation of vector type. 012c:err:d3dcompiler:D3DCompile2 <anonymous>:54:16: W5300: Implicit truncation of vector type. 012c:err:d3dcompiler:D3DCompile2 <anonymous>:55:16: W5300: Implicit truncation of vector type. 012c:err:d3dcompiler:D3DCompile2 <anonymous>:56:18: W5300: Implicit truncation of vector type. 012c:err:d3dcompiler:D3DCompile2 012c:fixme:d3dcompiler:D3DCompile2 Ignoring flags 0x10400. 012c:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -5. 012c:err:d3dcompiler:D3DCompile2 Shader log: 012c:err:d3dcompiler:D3DCompile2 <anonymous>:53:19: W5300: Implicit truncation of vector type. 012c:err:d3dcompiler:D3DCompile2 <anonymous>:58:16: W5300: Implicit truncation of vector type. 012c:err:d3dcompiler:D3DCompile2 <anonymous>:59:16: W5300: Implicit truncation of vector type. 012c:err:d3dcompiler:D3DCompile2 <anonymous>:60:18: W5300: Implicit truncation of vector type. 012c:err:d3dcompiler:D3DCompile2 <anonymous>:77:20: W5300: Implicit truncation of vector type. 012c:err:d3dcompiler:D3DCompile2 <anonymous>:78:1: E5017: Aborting due to not yet implemented feature: Instruction type HLSL_IR_LOOP. 012c:err:d3dcompiler:D3DCompile2
https://bugs.winehq.org/show_bug.cgi?id=56326
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com Component|-unknown |hlsl Version|9.2 |1.6 Product|Wine |vkd3d
https://bugs.winehq.org/show_bug.cgi?id=56326
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gijsvrm@gmail.com
--- Comment #1 from Vijay Kamuju infyquest@gmail.com --- *** Bug 55083 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=56326
Connor McAdams cmcadams@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cmcadams@codeweavers.com
--- Comment #2 from Connor McAdams cmcadams@codeweavers.com --- This game is passing the flag D3DXSHADER_USE_LEGACY_D3DX9_31_DLL into D3DXCompileShader, which we currently don't handle. However, even if we do handle it, i.e passing a compiler version of 31 into D3DCompile2VKD3D(), we run into a new issue:
vkd3d:0024:trace:vkd3d_shader_compile <anonymous>:83:1: E5017: Aborting due to not yet implemented feature: Flatten "if" conditionals branches.
So, we probably need some work done to both support that flag and fix the unimplemented feature.
The game seems to just silently ignore the shader compilation failing, and then crashes when trying to use a shader that I'm assuming never got compiled.