https://bugs.winehq.org/show_bug.cgi?id=43599
Bug ID: 43599 Summary: Engine Prime: application fails to launch Product: Wine Version: 2.15 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: smidge@xsco.net Distribution: ---
Created attachment 59013 --> https://bugs.winehq.org/attachment.cgi?id=59013 Terminal output
Engine Prime is a music preparation application targeted at DJs who use Denon's latest hardware. It can be downloaded at http://www.denondj.com/engineprime
Engine Prime v1.0.0 fails to launch, crashing with a page fault. A window does appear (without any content) before the crash occurs. The full terminal output (quite verbose) is attached.
Note that the installer works without issue.
Wine version: wine 2.15 (staging)
Installer checksum: ec3c75d7d923163d0fba3dfd6561ce318e344182 EnginePrime1.0.0Setup.exe
Post-installation executable checksum: e462a0e5d08736c50d7b164956a12ff38ecc4a65 EnginePrime.exe
https://bugs.winehq.org/show_bug.cgi?id=43599
--- Comment #1 from Adam Szmigin smidge@xsco.net --- Created attachment 59014 --> https://bugs.winehq.org/attachment.cgi?id=59014 Backtrace
Adding backtrace as separate file, for those who don't want to download the whole 4MB terminal output.
https://bugs.winehq.org/show_bug.cgi?id=43599
Adam Szmigin smidge@xsco.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |smidge@xsco.net
https://bugs.winehq.org/show_bug.cgi?id=43599
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #2 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- Could you try if running with native d3dcompiler_47.dll changes anything?
https://bugs.winehq.org/show_bug.cgi?id=43599
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #3 from fjfrackiewicz@gmail.com --- (In reply to Louis Lenders from comment #2)
Could you try if running with native d3dcompiler_47.dll changes anything?
Hi Louis,
Looking at the terminal output, it seems like "winetricks d3dcompiler_43" would help here. Speaking from my experience with Game Maker games that spit out the same output regarding HLSL shader errors :)
https://bugs.winehq.org/show_bug.cgi?id=43599
--- Comment #4 from Adam Szmigin smidge@xsco.net --- Hi both,
I ran `WINEDLLOVERRIDES="d3dcompiler_43.dll=n,d3dcompiler_47.dll=n" wine EnginePrime.exe', but unfortunately the crash happens just as before.
I'm not an expert on DLL overrides, so please advise if I've done anything wrong above.
Kind regards, Adam
https://bugs.winehq.org/show_bug.cgi?id=43599
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- Prerequisites: Clean 64bit wineprefix.
For some reason it works with `WINEDLLOVERRIDES="d3dcompiler_46.dll=d;d3dcompiler_47.dll=d" wine EnginePrime.exe`
Alternatively, copy a 64bit d3dcompiler_47 from windows into wine's system32 folder and use `WINEDLLOVERRIDES="d3dcompiler_46.dll=n" wine EnginePrime.exe`
Doesn't make sense to me at all, but try it out, it works.
https://bugs.winehq.org/show_bug.cgi?id=43599
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.denondj.com/engi | |neprime Component|-unknown |directx-d3d Keywords| |download Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #6 from Louis Lenders xerox_xerox2000@yahoo.co.uk ---
For some reason it works with `WINEDLLOVERRIDES="d3dcompiler_46.dll=d;d3dcompiler_47.dll=d" wine EnginePrime.exe` `
I can confirm that. Also, disabling the dlls makes the initial splash window come up nice, instead of being a grey window.
Also adding some info; I guess the problem is in d3dcompiler;
(There`s no component for that dll, so for now set it to directX-d3d(?))
https://bugs.winehq.org/show_bug.cgi?id=43599
--- Comment #7 from Adam Szmigin smidge@xsco.net --- (In reply to Fabian Maurer from comment #5)
For some reason it works with `WINEDLLOVERRIDES="d3dcompiler_46.dll=d;d3dcompiler_47.dll=d" wine EnginePrime.exe`
I can also confirm that this workaround allows the application to start up successfully (and the splash screen renders too, as Louis points out).
I'll do some more in-depth testing and update the app DB too.
Kind regards, Adam
https://bugs.winehq.org/show_bug.cgi?id=43599
--- Comment #8 from Adam Szmigin smidge@xsco.net --- Quick question: I am encountering various issues as I test the application. Should each one be raised as an individual bug or appended to this bug?
(The reason for uncertainty is that this is a brand new application, and I get the feeling it is likely to experience many issues in functionality. So I want to strike the right balance between structured bug reporting and spamming bugzilla with potentially-related issues.)
Thanks, Adam
https://bugs.winehq.org/show_bug.cgi?id=43599
--- Comment #9 from Fabian Maurer dark.shadow4@web.de ---
Quick question: I am encountering various issues as I test the application. Should each one be raised as an individual bug or appended to this bug?
If the issues are not related it makes sense to report them separately. If you think they're related, I'd put them into the same bugreport. You can always split them off later - or have bug reports closed as duplicates.
https://bugs.winehq.org/show_bug.cgi?id=43599
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |43651, 43652
https://bugs.winehq.org/show_bug.cgi?id=43599
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3d |directx-d3dx9
--- Comment #10 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Fabian Maurer from comment #5)
Prerequisites: Clean 64bit wineprefix.
For some reason it works with `WINEDLLOVERRIDES="d3dcompiler_46.dll=d;d3dcompiler_47.dll=d" wine EnginePrime.exe`
Alternatively, copy a 64bit d3dcompiler_47 from windows into wine's system32 folder and use `WINEDLLOVERRIDES="d3dcompiler_46.dll=n" wine EnginePrime.exe`
Doesn't make sense to me at all, but try it out, it works.
I imagine the application takes a different codepath if d3dcompiler is not present.
https://bugs.winehq.org/show_bug.cgi?id=43599
--- Comment #11 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 62311 --> https://bugs.winehq.org/attachment.cgi?id=62311 +d3dcompiler log
+d3dcompiler log in wine-staging 3.16
(Note: starts fine with native d3dcompiler_47 copied from 64-bit installation; it looks that dll depends on some cryptsp.dll, after copying that only setting d3dcompiler_47 to native is needed)
https://bugs.winehq.org/show_bug.cgi?id=43599
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Engine Prime: application |Engine Prime: application |fails to launch |crashes , works with native | |d3dcompiler_47
--- Comment #12 from Louis Lenders xerox.xerox2000x@gmail.com --- changed title a bit
https://bugs.winehq.org/show_bug.cgi?id=43599
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Engine Prime: application |Engine Prime crashes |crashes , works with native | |d3dcompiler_47 |
https://bugs.winehq.org/show_bug.cgi?id=43599
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Wine |vkd3d Component|d3d-util |hlsl Summary|Engine Prime crashes |Engine Prime 1.0.0 crashes | |due to HLSL compilation | |failure URL|http://www.denondj.com/engi |http://web.archive.org/web/ |neprime |20180921093917if_/http://cd | |n.inmusicbrands.com/denondj | |/EnginePrime/EnginePrime1.0 | |.0Setup.exe Version|2.15 |1.6
https://bugs.winehq.org/show_bug.cgi?id=43599
--- Comment #13 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 73957 --> https://bugs.winehq.org/attachment.cgi?id=73957 log
Found a direct stable download that matches OP SHA1, moving to vkd3d product, adding log.
$ du -sh EnginePrime1.0.0Setup.exe 137M EnginePrime1.0.0Setup.exe
https://bugs.winehq.org/show_bug.cgi?id=43599
--- Comment #14 from Nikolay Sivov bunglehead@gmail.com --- With current Wine I see a number of failures, some already fixed in current vkd3d. It needs transpose(), tex2D(), and calls to user-defined functions. We'll need to retest after all of this is merged, released, and imported in wine tree.
Next big thing that affects a lot of d3d9 applications is tex2D().
https://bugs.winehq.org/show_bug.cgi?id=43599
--- Comment #15 from Nikolay Sivov bunglehead@gmail.com --- This also needs https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/417 for floor(), and according to initial log https://bugs.winehq.org/show_bug.cgi?id=55740#c7 applies here as well, as it probably does for anything that's using libglesv2.
https://bugs.winehq.org/show_bug.cgi?id=43599
--- Comment #16 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Gijs Vermeulen from comment #13)
Created attachment 73957 [details] log
Found a direct stable download that matches OP SHA1, moving to vkd3d product, adding log.
$ du -sh EnginePrime1.0.0Setup.exe 137M EnginePrime1.0.0Setup.exe
Gijs, could you retest please? I don't see any problems, or any messages at all really, from d3dcompiler with current wine. It does compile shaders on each start, so this is likely fixed.
I tried version 1.0.0.
https://bugs.winehq.org/show_bug.cgi?id=43599
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #17 from Gijs Vermeulen gijsvrm@gmail.com --- Looks fine to me too with current wine-git and vkd3d-git, resolving FIXED.
https://bugs.winehq.org/show_bug.cgi?id=43599
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Nikolay Sivov bunglehead@gmail.com --- Closing bugs fixed in 1.13.