http://bugs.winehq.org/show_bug.cgi?id=34233
Bug #: 34233 Summary: Rigs of Rods: D3D shader compilation fails Product: Wine Version: 1.7.0 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: b7.10110111@gmail.com Classification: Unclassified
Created attachment 45548 --> http://bugs.winehq.org/attachment.cgi?id=45548 Terminal output
How to reproduce: 1. Install RoR 2. Run rorconfig (or check checkbox at the end of installation to launch the game) 3. Press "Save and Play" 4. Wait until the game loads, press OK in the terrain selection dialog 5. See an error, screenshot of which I'll attach in next post
I attach full terminal log starting from the time I selected D3D9 as rendering system (it contains game's logs as well as wine's).
http://bugs.winehq.org/show_bug.cgi?id=34233
--- Comment #1 from Ruslan Kabatsayev b7.10110111@gmail.com 2013-08-08 09:04:12 CDT --- Created attachment 45549 --> http://bugs.winehq.org/attachment.cgi?id=45549 Screenshot of the error
Some addition: I've tried both installing directX runtime and skipping it, running in clean wineprefix each time — the results are the same.
http://bugs.winehq.org/show_bug.cgi?id=34233
Ruslan Kabatsayev b7.10110111@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source URL| |http://bugs.winehq.org/down | |loads.sourceforge.net/proje | |ct/rigsofrods/rigsofrods/0. | |38/RoR-Setup-0.38.67.exe
http://bugs.winehq.org/show_bug.cgi?id=34233
Ruslan Kabatsayev b7.10110111@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://bugs.winehq.org/down |downloads.sourceforge.net/p |loads.sourceforge.net/proje |roject/rigsofrods/rigsofrod |ct/rigsofrods/rigsofrods/0. |s/0.38/RoR-Setup-0.38.67.ex |38/RoR-Setup-0.38.67.exe |e
http://bugs.winehq.org/show_bug.cgi?id=34233
Ruslan Kabatsayev b7.10110111@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|downloads.sourceforge.net/p |http://downloads.sourceforg |roject/rigsofrods/rigsofrod |e.net/project/rigsofrods/ri |s/0.38/RoR-Setup-0.38.67.ex |gsofrods/0.38/RoR-Setup-0.3 |e |8.67.exe
http://bugs.winehq.org/show_bug.cgi?id=34233
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #2 from Dan Kegel dank@kegel.com 2013-08-08 11:00:52 CDT --- Your log shows:
fixme:d3dcompiler:make_assignment Check for casts in the lhs. fixme:d3dcompiler:make_assignment Check for casts in the lhs. err:d3dcompiler:compile_shader HLSL shader parsing failed. High-level program GrassVS_anim_1_2_1.3_180_vp encountered an error during loading and is thus not supported. OGRE EXCEPTION(3:RenderingAPIException): Cannot assemble D3D9 high-level shader GrassVS_anim_1_2_1.3_180_vp Errors: :18:23: error: syntax error, unexpected NEW_IDENTIFIER in D3D9HLSLProgram::loadFromSource at ......\RenderSystems\Direct3D9\src\OgreD3D9HLSLProgram.cpp (line 228)
A WINEDEBUG=+d3dcompiler log might be interesting.
Does 'winetricks d3dcompiler_43' help?
http://bugs.winehq.org/show_bug.cgi?id=34233
--- Comment #3 from Ruslan Kabatsayev b7.10110111@gmail.com 2013-08-08 11:11:56 CDT --- Created attachment 45551 --> http://bugs.winehq.org/attachment.cgi?id=45551 +d3dcompiler log
Here's the log requested
http://bugs.winehq.org/show_bug.cgi?id=34233
--- Comment #4 from Ruslan Kabatsayev b7.10110111@gmail.com 2013-08-08 11:16:40 CDT --- (In reply to comment #2)
Does 'winetricks d3dcompiler_43' help?
Yes, I now can start playing in D3D mode.
http://bugs.winehq.org/show_bug.cgi?id=34233
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-bugs@winehq.org Component|directx-d3d |directx-d3dx9 Severity|normal |minor
http://bugs.winehq.org/show_bug.cgi?id=34233
George Khan a3663644@drdrb.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |a3663644@drdrb.net
--- Comment #5 from George Khan a3663644@drdrb.net --- Tried with wine 1.7.18
and it seems to be same, the window opened under the game window, couldnt read what it said, but it opened this page
http://www.rigsofrods.com/wiki/index.php?title=Error_2#GpuProgramParameters:...
https://bugs.winehq.org/show_bug.cgi?id=34233
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #6 from super_man@post.com --- Still valid 1.9.8
https://bugs.winehq.org/show_bug.cgi?id=34233
--- Comment #7 from Ruslan Kabatsayev b7.10110111@gmail.com --- Still present in wine-2.5.
https://bugs.winehq.org/show_bug.cgi?id=34233
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #8 from joaopa jeremielapuree@yahoo.fr --- Unfortunately, this bug still occurs with wine-4.20.
https://bugs.winehq.org/show_bug.cgi?id=34233
--- Comment #9 from joaopa jeremielapuree@yahoo.fr --- bug still exists with wine-6.19 Can an administrator put the direct link at URL place? https://pilotfiber.dl.sourceforge.net/project/rigsofrods/rigsofrods/0.38/RoR...
https://bugs.winehq.org/show_bug.cgi?id=34233
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Version|1.7.0 |1.6 URL|http://downloads.sourceforg |https://sourceforge.net/pro |e.net/project/rigsofrods/ri |jects/rigsofrods/files/rigs |gsofrods/0.38/RoR-Setup-0.3 |ofrods/0.38/RoR-Setup-0.38. |8.67.exe |64.exe/download?use_mirror= | |master Component|d3d-util |hlsl Severity|minor |normal Summary|Rigs of Rods: D3D shader |Rigs of Rods (0.38.64) |compilation fails |crashes due to missing | |'distance' handling Hardware|x86 |x86-64 Product|Wine |vkd3d
--- Comment #10 from Gijs Vermeulen gijsvrm@gmail.com --- With current vkd3d-git and wine-8.0-169-gaabdb15458a:
010c:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 010c:err:d3dcompiler:D3DCompile2 Shader log: 010c:err:d3dcompiler:D3DCompile2 <anonymous>:18:14: E5005: Function "distance" is not defined. 010c:err:d3dcompiler:D3DCompile2
Changing title and moving to vkd3d.
https://bugs.winehq.org/show_bug.cgi?id=34233
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Rigs of Rods (0.38.64) |Multiple games crash due to |crashes due to missing |missing 'distance' handling |'distance' handling |(Rigs of Rods (0.38.64), | |S.T.A.L.K.E.R. series)
https://bugs.winehq.org/show_bug.cgi?id=34233
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |a18f3d4dd5a1b8921067db4a88a | |587002cb1a8ff
--- Comment #11 from Nikolay Sivov bunglehead@gmail.com --- This is now merged, https://source.winehq.org/git/vkd3d.git/commit/a18f3d4dd5a1b8921067db4a88a58....
https://bugs.winehq.org/show_bug.cgi?id=34233
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Nikolay Sivov bunglehead@gmail.com --- Closing bugs fixed win 1.7.