https://bugs.winehq.org/show_bug.cgi?id=43890
Bug ID: 43890 Summary: Divinity: Original Sin 2 does not successfully launch Product: Wine Version: 2.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: arnfranke@yahoo.com Distribution: ---
https://appdb.winehq.org/objectManager.php?sClass=version&iId=35767
Before it tries to launch, it throws an error about failing to create a rendering device and that DX11 is required. https://appdb.winehq.org/appimage.php?iId=52049
When it tries to launch, it creates a window but draws nothing to it - if I move it, it simply contains an image of my desktop that moves.
This might be a new problem, as older reports seem to indicate it works, or it might be because I'm using an Nvidia GPU and the people who had success used AMD and Intel GPUs. I don't know enough to be sure, or have enough machines to test.
It also might be caused by this `dxgi` component that it's reporting, so I've decided to set this bug's component to `directx-d3d`.
Also, plenty of stubs from `msvcp`, `win`, `xinput`, `ntdll`, and `msctf`.
See the AppDB page for more information and a full terminal log.
https://bugs.winehq.org/show_bug.cgi?id=43890
--- Comment #1 from notfood notfood.dev@gmail.com --- I comfirm. It appears it only happens under certain setups. AMD cards seem to run it just fine.
https://bugs.winehq.org/show_bug.cgi?id=43890
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |joseph.kucia@gmail.com
--- Comment #2 from Józef Kucia joseph.kucia@gmail.com --- Please attach a +d3d,+dxgi,+d3d11 log
https://bugs.winehq.org/show_bug.cgi?id=43890
Rusty Shackleford r9shackleford@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |r9shackleford@gmail.com
--- Comment #3 from Rusty Shackleford r9shackleford@gmail.com --- Might want to rule out hardware compatibility first. Are you using nouveau or the proprietary driver? What graphics card?
Likely requires a modern graphics card with OpenGL 4.5(or similar) support due to DX11 requirement — I believe this is the GeForce 400 series and later.
https://bugs.winehq.org/show_bug.cgi?id=43890
Kai Sterker kai.sterker+wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kai.sterker+wine@gmail.com
--- Comment #4 from Kai Sterker kai.sterker+wine@gmail.com --- Created attachment 59910 --> https://bugs.winehq.org/attachment.cgi?id=59910 Logfile of crash
Attached a logfile from starting DOS2 with WINEDEBUG=+d3d,+dxgi,+d3d11
This is with Wine 2.22 on Ubuntu 16.04, using the GOG version of the game (3.0.159.021).
https://bugs.winehq.org/show_bug.cgi?id=43890
--- Comment #5 from Aaron Franke arnfranke@yahoo.com --- Created attachment 59914 --> https://bugs.winehq.org/attachment.cgi?id=59914 Divinity Original Sin 2 STDERR Log with WINEDEBUG=+d3d,+dxgi,+d3d11
I'm using an Nvidia GTX 770, and I've tested with 340 and 384 proprietary drivers, neither launch. I've attached the STDERR log with the debug enabled. I used "export WINEDEBUG=+d3d,+dxgi,+d3d11" then launched with "wine ./EoCApp.exe 2> stderr-debug-aaron.txt"
https://bugs.winehq.org/show_bug.cgi?id=43890
--- Comment #6 from Aaron Franke arnfranke@yahoo.com --- Created attachment 59915 --> https://bugs.winehq.org/attachment.cgi?id=59915 Divinity Original Sin 2 Crash Dump
I also got this crash dump from the game itself.
Wine 2.22, Xubuntu 16.04 64-bit, Steam version of the game.
https://bugs.winehq.org/show_bug.cgi?id=43890
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=43890
notfood notfood.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |notfood.dev@gmail.com
--- Comment #7 from notfood notfood.dev@gmail.com --- I'm using Nvidia GTX 970
It used to run fine when it was in early access
https://bugs.winehq.org/show_bug.cgi?id=43890
Cláudio Sampaio (Patola) patola@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |patola@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=43890
--- Comment #8 from notfood notfood.dev@gmail.com --- According to https://gist.github.com/berenm/3e67cd273c2a530849e52218a1f2e70c
This issue appears to be a problem with the implementation of SetThreadAffinityMask, for some reason it's failing and game hangs while waiting for threads to be created.
That's why these commands allow it to run a bit further but fail afterwards
schedtool -a 0 -e wine bin/EoCApp.exe taskset -c 0 wine bin/EoCApp.exe
https://bugs.winehq.org/show_bug.cgi?id=43890
beren.minor+wine@gmail.com beren.minor+wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |beren.minor+wine@gmail.com
--- Comment #9 from beren.minor+wine@gmail.com beren.minor+wine@gmail.com --- Hi, I investigated the "Definitive Edition" version of the game, distributed on GOG (version 3.6.28.9550).
I'm not entirely sure if this is the only issue with DOS2, but from my investigation, one of the reason is that the game uses 0xfffffffe as an affinity mask for its threads, when the number of logical cores is less than 6.
In this case, SetThreadAffinityMask returns an error as the mask isn't a subset of the process affinity mask, as described by the Windows API documentation.
I don't know what is actually happening on Windows in this case, but because 0 is returned in this case, the game assume the thread creation failed, and ends up crashing.
https://bugs.winehq.org/show_bug.cgi?id=43890
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|directx-d3d |ntdll Keywords| |patch
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
linking patch/discussion for tracking purpose here:
https://www.winehq.org/pipermail/wine-devel/2018-September/thread.html#13176...
https://source.winehq.org/patches/data/150821
Regards
https://bugs.winehq.org/show_bug.cgi?id=43890
--- Comment #11 from Kai Sterker kai.sterker+wine@gmail.com --- Can confirm that the patch works for me.
https://bugs.winehq.org/show_bug.cgi?id=43890
francisco cyan255@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cyan255@gmail.com
--- Comment #12 from francisco cyan255@gmail.com --- This patch works for me on i5-3470, thank you!
https://bugs.winehq.org/show_bug.cgi?id=43890
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |575c1c9066f353fdd6b9fb770c1 | |10705c4ddd6c5 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #13 from Józef Kucia joseph.kucia@gmail.com --- Fixed in Wine 3.16
https://source.winehq.org/git/wine.git/?a=commit;h=575c1c9066f353fdd6b9fb770...
https://bugs.winehq.org/show_bug.cgi?id=43890
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.17.
https://bugs.winehq.org/show_bug.cgi?id=43890
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=43890
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #15 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bug fixes included in 3.0.5.