https://bugs.winehq.org/show_bug.cgi?id=47045
Bug ID: 47045 Summary: unhandled page fault crash after ERROR: Could Not Get Primary Adapter Handle Product: Wine Version: 4.6 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: t.hirsch@web.de Distribution: ---
Created attachment 64215 --> https://bugs.winehq.org/attachment.cgi?id=64215 backtrace of assassin's creed unity crash
The Uplay version of the game "Assassin's Creed: Unity" crashes on start. I think the interesting part of stdout is here:
2019-04-19 13:37:21 [ 187] [DEBUG] Hooks.cpp (36) : --- Overlay started --- (C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\games\Assassin's Creed Unity\ACU.exe) 2019-04-19 13:37:21 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'kernel32.dll' hooked 2019-04-19 13:37:21 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'kernel32.dll' hooked 2019-04-19 13:37:21 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'shell32.dll' hooked 2019-04-19 13:37:21 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'xinput1_3.dll' hooked 2019-04-19 13:37:22 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'dinput8.dll' hooked 2019-04-19 13:37:22 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'dxgi.dll' hooked 2019-04-19 13:37:22 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'd3d9.dll' hooked 2019-04-19 13:37:22 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'user32.dll' hooked 2019-04-19 13:37:22 [ 187] [DEBUG] PlatformHooks.cpp (113) : 'kernel32.dll' hooked ERROR: Could Not Get Primary Adapter Handle wine: Unhandled page fault on read access to 0x00000000 at address 0x1422f78da (thread 00c3), starting debugger...
I attached the backtrace. And I wonder why the error messages contain references to 32bit and 64bit. The game seems to be in 32bit and I could fix missing DLL errors by installing 32bit libraries. However one of the main error messages is "page fault on read access to 0x00000000 in 64-bit code". So I guess the 64bit wine runtime crashed after it failed to start the 32bit game.
Anyway, here are some specs of my PC: - Ryzen 5 1600X, 16 GB RAM - Radeon RX 480 with 8GB, running with the kernel's AMDGPU driver - Arch Linux with kernel 5.0.7 - wine 4.6 with wine-mono, wine-nine (gallium)
The crash is reproducible no matter whether I chose Win7 or Win10 in winecfg. And it crashes when started in Uplay as well as when calling "wine ACU.exe" in the installation directory. Also going into Uplay's offline mode doesn't help (that was a suggestion I found in a youtube video). Uplay seems to work fine.
https://bugs.winehq.org/show_bug.cgi?id=47045
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com Summary|unhandled page fault crash |Assassin's Creed: Unity: |after ERROR: Could Not Get |unhandled page fault crash |Primary Adapter Handle |after ERROR: Could Not Get | |Primary Adapter Handle
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi,
For the info: there`s test result in AppDB queue that rate`s this game platinum working "out of the box". Though that test result was done with Lutris so will propably be rejected (?)
Anyway, you say:
The game seems to be in 32bit and I could fix missing DLL errors by installing >32bit libraries.
what do you mean with that? What dlls 'were missing'? That sounds a bit like a broken setup to me.
Could you please add the console output before the crash to this bugreport? Maybe it reveals anything Thanks in advance
https://bugs.winehq.org/show_bug.cgi?id=47045
--- Comment #2 from Thorsten Hirsch t.hirsch@web.de --- Meanwhile the game works. I don't think that it's possible to have it work out-of-the-box, because it needs vulkan drivers. So I installed dxvk (https://github.com/doitsujin/dxvk/). In the AppDB you can see that other users had the same issue and got it working by installing tkg-protonified (which also includes dxvk AFAIK).
Anyway, I think wine should be able to handle the initial error more gently than throwing an unhandled page fault. The initial error is probably "Could Not Get Primary Adapter Handle", which happens when dxvk is missing.
P.S.: Those "missing DLL" message were only "fixme" messages, nothing critical.
https://bugs.winehq.org/show_bug.cgi?id=47045
--- Comment #3 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Thorsten Hirsch from comment #2)
Meanwhile the game works. I don't think that it's possible to have it work out-of-the-box, because it needs vulkan drivers. So I installed dxvk (https://github.com/doitsujin/dxvk/).
Hmm, no, that's not how it works. DXVK certainly isn't a Vulkan driver implementation, neither you needed Vulkan drivers in the first place.
The appdb page suggests this is a Wine 4.6 regression somehow worked around in the tkg-protonified-4.6 Wine build. It would be interesting to know what broke with a regression test but, to reiterate Louis's request, a full terminal output (https://wiki.winehq.org/FAQ#get_log) might be okay for a start.
https://bugs.winehq.org/show_bug.cgi?id=47045
--- Comment #4 from Thorsten Hirsch t.hirsch@web.de --- Created attachment 64248 --> https://bugs.winehq.org/attachment.cgi?id=64248 console output of ACU.exe with dxvk installed
https://bugs.winehq.org/show_bug.cgi?id=47045
--- Comment #5 from Thorsten Hirsch t.hirsch@web.de --- Created attachment 64249 --> https://bugs.winehq.org/attachment.cgi?id=64249 console output of ACU.exe when dxvk is not installed (crash)
https://bugs.winehq.org/show_bug.cgi?id=47045
--- Comment #6 from Thorsten Hirsch t.hirsch@web.de --- Oh... then first of all sorry for letting you wait for so long. Here's the console output you requested.
https://bugs.winehq.org/show_bug.cgi?id=47045
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=47045
--- Comment #7 from Gijs Vermeulen gijsvrm@gmail.com --- Assassin's Creed: Unity works fine for me with wine-9.8, can you still reproduce this?