https://bugs.winehq.org/show_bug.cgi?id=43461
Bug ID: 43461 Summary: NoLimits2 crashes on startup Product: Wine Version: 2.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: directx-d3dx9 Assignee: [email protected] Reporter: [email protected] Distribution: ---
Created attachment 58835 --> https://bugs.winehq.org/attachment.cgi?id=58835 Wine console messages
While initializing, the program quits with a fatal error: The application failed with: D3DXAssembleShader return with an unexpected error. (see crash.png)
Wine console log (crash.log) attached below, as well as the wine "crash detected" log (err_report.log).
I tried with both UseGLSL enabled and disabled.
https://bugs.winehq.org/show_bug.cgi?id=43461
--- Comment #1 from Stephan Alt [email protected] --- Created attachment 58836 --> https://bugs.winehq.org/attachment.cgi?id=58836 NoLimits2 log window
https://bugs.winehq.org/show_bug.cgi?id=43461
--- Comment #2 from Stephan Alt [email protected] --- Created attachment 58837 --> https://bugs.winehq.org/attachment.cgi?id=58837 Wine Call stack
https://bugs.winehq.org/show_bug.cgi?id=43461
Fabian Maurer [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
--- Comment #3 from Fabian Maurer [email protected] --- Did you try "winetricks d3dcompiler_43"?
https://bugs.winehq.org/show_bug.cgi?id=43461
Stephan Alt [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Stephan Alt [email protected] --- Resolved the issue in a 2 step process.
step 1: Copied D3DCompiler_43.dll from another application (in my case Diablo III) into the executable path. d3dcompiler_43.dll set to "native, the builtin" in winecfg. This resolved the crash issue on startup and allowed to play the game in "play mode" only. Trying to enter the editor crashed the program with no meaningful log.
step 2: Suspecting that DX10/11 might be the root cause of the problem (loads of warnings from wine output), I disabled the following dlls in winecfg: d3d10.dll, d3d10_1.dll, d3d10core.dll, d3d11.dll and dxgi.dll. NoLimits2 seems to work like a charm now.
Regards, Stephan
https://bugs.winehq.org/show_bug.cgi?id=43461
--- Comment #5 from Fabian Maurer [email protected] --- Well, the issue isn't really solved, this is just a workaround.
https://bugs.winehq.org/show_bug.cgi?id=43461
Austin English [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Ever confirmed|0 |1 Status|RESOLVED |REOPENED
--- Comment #6 from Austin English [email protected] --- Not fixed in wine
https://bugs.winehq.org/show_bug.cgi?id=43461
--- Comment #7 from Stephan Alt [email protected] --- We can pinpoint the problem to the built-in d3dcompiler_43 though can't we? If there's any additional information about the crash you need, I'd be more than happy to revert my workaround and create logs etc if you guide me through what exactly you need.
As you might have noticed I'm pretty new to Wine, although I have some background in programming and computer graphics.
https://bugs.winehq.org/show_bug.cgi?id=43461
Matteo Bruni [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
--- Comment #8 from Matteo Bruni [email protected] --- (In reply to Stephan Alt from comment #7)
We can pinpoint the problem to the built-in d3dcompiler_43 though can't we? If there's any additional information about the crash you need, I'd be more than happy to revert my workaround and create logs etc if you guide me through what exactly you need.
Yeah. Could you please attach a +tid,asmparser,parsed_shader,d3dcompiler trace with builtin d3dcompiler_43? See https://wiki.winehq.org/FAQ#get_log if you need instructions for getting the trace with the debug channels I mentioned.
https://bugs.winehq.org/show_bug.cgi?id=43461
--- Comment #9 from Stephan Alt [email protected] --- Created attachment 59141 --> https://bugs.winehq.org/attachment.cgi?id=59141 +tid,asmparser,parsed_shader,d3dcompiler trace
Here you go, let me know if you need anything more.
https://bugs.winehq.org/show_bug.cgi?id=43461
--- Comment #10 from Matteo Bruni [email protected] --- (In reply to Stephan Alt from comment #9)
Created attachment 59141 [details] +tid,asmparser,parsed_shader,d3dcompiler trace
Here you go, let me know if you need anything more.
Thanks but it looks like the crash is different this time. Did you switch the game to d3d11 by any chance, or something like that?
https://bugs.winehq.org/show_bug.cgi?id=43461
Stephan Alt [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #59141|0 |1 is obsolete| |
--- Comment #11 from Stephan Alt [email protected] --- Created attachment 59340 --> https://bugs.winehq.org/attachment.cgi?id=59340 +tid,asmparser,parsed_shader,d3dcompiler trace, the second
The previous trace may have been from wine-staging. I switched back to vanilla wine (2.18) to create this trace.
https://bugs.winehq.org/show_bug.cgi?id=43461
[email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected]
https://bugs.winehq.org/show_bug.cgi?id=43461
Gijs Vermeulen [email protected] changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|NoLimits2 crashes on |NoLimits 2 Roller Coaster |startup |Simulation fails to start | |game Status|REOPENED |NEW Component|d3d-util |hlsl Keywords| |download Product|Wine |vkd3d Version|2.13 |1.6 URL| |https://nolimitscoaster.com | |/downloads/NoLimits_2.5.7.1 | |_Demo_Install.exe
--- Comment #12 from Gijs Vermeulen [email protected] --- Still present with wine-8.0rc2. I tested with the downloadable demo and forced d3dcompiler_43 and 47 to builtin.
https://bugs.winehq.org/show_bug.cgi?id=43461
--- Comment #13 from Gijs Vermeulen [email protected] --- Created attachment 73786 --> https://bugs.winehq.org/attachment.cgi?id=73786 +d3dcompiler
https://bugs.winehq.org/show_bug.cgi?id=43461
--- Comment #14 from Nikolay Sivov [email protected] --- Current version starts fine, but only because it has wine detection logic, and switches to opengl in that case.
Running with --d3d11 switch enabled d3d11 renderer. Immediate shader compilation issues were:
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1036 https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1034
Both fixed now.
Next visible issue is "half" type handling in SM4, it's used for local variables, so no compat mode necessary.
The module it's using is d3dcompiler_43.dll.