https://bugs.winehq.org/show_bug.cgi?id=37481
Bug ID: 37481 Summary: Steam Legend of Grimrock 2: Game crashes quite often when trying to save Product: Wine Version: 1.7.28 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: uwe.klosa@gmail.com Distribution: ---
Created attachment 49871 --> https://bugs.winehq.org/attachment.cgi?id=49871 STacktrace with page fault
Legend of Grimrock 2 crashes every now and then when I try to save the game. The error seems to be connected to the x3audio. Sometime the game crashes with an error in the sound system, but without a readable crash report.
https://bugs.winehq.org/show_bug.cgi?id=37481
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://store.steampowered.c | |om/app/251730/ CC| |focht@gmx.net Summary|Steam Legend of Grimrock 2: |Legend of Grimrock 2 |Game crashes quite often |(Steam): Game crashes quite |when trying to save |often when trying to save
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello Uwe,
the backtrace shows you have several native overrides set.
You need to state *all* deviations from 'pure' Wine (winetricks recipes or "manual" tweaks) otherwise it's a waste of time to investigate bugs.
First, the game suffers from:
--- snip --- $ wine ./grimrock2.exe
err:module:import_dll Library X3DAudio1_7.dll (which is needed by L"C:\Program Files\Legend of Grimrock 2\grimrock2.exe") not found err:module:LdrInitializeThunk Main exe initialization for L"C:\Program Files\Legend of Grimrock 2\grimrock2.exe" failed, status c0000135 --- snip ---
This is bug 36844 -> 'X3DAudio1_7.dll' ('winetricks -q xact')
Another one:
--- snip --- $ WINEDEBUG=+msgbox wine ./grimrock2.exe ... err:ole:CoGetClassObject no class object {5a508685-a254-4fba-9b82-9a24b00306af} could be created for context 0x1 err:ole:CoGetClassObject class {5a508685-a254-4fba-9b82-9a24b00306af} not registered err:ole:CoGetClassObject no class object {5a508685-a254-4fba-9b82-9a24b00306af} could be created for context 0x1 trace:msgbox:MSGBOX_OnInit L"The following error occurred while starting up the game:\nXAudio2 error in XAudio2Create\n\nPlease check that your computer meets the minimum system requirements and that your graphics card and sound card drivers are up to date." ... --- snip ---
This is bug 26808 -> 'XAudio2_7.dll ' -> XAudio2 '{5a508685-a254-4fba-9b82-9a24b00306af}'
Can be worked around by using 'winetricks -q --force xact_jun2010'
After fixing that, there is a crash on startup:
--- snip --- ... fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dcompiler:make_assignment Check for casts in the lhs. err:d3dcompiler:compile_shader HLSL shader parsing failed. fixme:win:EnumDisplayDevicesW ((null),0,0x33f1b0,0x00000000), stub! Auto-detected resolution: 1152 x 864 wine: Unhandled page fault on read access to 0x7c6a7752 at address 0x7c6a7752 (thread 0038), starting debugger... --- snip ---
This can be worked around using 'winetricks -q d3dcompiler_43' Besides that no further overrides are needed.
'savegame' functionality works fine here.
$ wine --version wine-1.7.30
Regards
https://bugs.winehq.org/show_bug.cgi?id=37481
--- Comment #2 from Uwe Klosa uwe.klosa@gmail.com --- Hello Anastasius,
thank you for looking into it. I will bear in mind for the next time to mention all deviations from the pure Wine.
I did an install with winetrick steam that also installed xact and xact_jun2010.
I didn't know about d3dcompiler_43.
The game is otherwise running great and there are times when the savegame does not crash at all. From the Grimrock forum I know that I'm not the only one who has this problem.
I will try a newer version of Wine.
Thanks once again. Uwe
https://bugs.winehq.org/show_bug.cgi?id=37481
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #3 from Béla Gyebrószki gyebro69@gmail.com --- I tried to reproduce this bug with the GOG version of LoG II v2.1.18, but saving the game always worked for me. Tested with Wine 1.7.28 and 1.7.38. Native d3dcompiler_43 and xact_jun2010 are installed.
Is this still an issue in 1.7.38 (or newer)?
Fedora 21 Nvidia binary drivers 340.76
https://bugs.winehq.org/show_bug.cgi?id=37481
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com, | |uwe.klosa@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=37481
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
https://bugs.winehq.org/show_bug.cgi?id=37481
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #4 from fjfrackiewicz@gmail.com --- (In reply to Béla Gyebrószki from comment #3)
I tried to reproduce this bug with the GOG version of LoG II v2.1.18, but saving the game always worked for me. Tested with Wine 1.7.28 and 1.7.38. Native d3dcompiler_43 and xact_jun2010 are installed.
Is this still an issue in 1.7.38 (or newer)?
Fedora 21 Nvidia binary drivers 340.76
It wasn't an issue in Wine 1.9.5 as I was testing the game for this bug https://bugs.winehq.org/show_bug.cgi?id=40261 and I could save just fine in Wine 1.9.5 so it shouldn't be an issue now...
https://bugs.winehq.org/show_bug.cgi?id=37481
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #5 from Ken Sharp imwellcushtymelike@gmail.com --- Fixed seven years ago
https://bugs.winehq.org/show_bug.cgi?id=37481
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Resolution|FIXED |WORKSFORME CC| |z.figura12@gmail.com
--- Comment #6 from Zeb Figura z.figura12@gmail.com --- Calling this WORKSFORME, since even at the time of reporting it wasn't reproducible.