Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Nov 2010
apprentice
OP Offline
apprentice
Joined: Nov 2010
Hello Larian ppl,

Not sure if this is the correct subforum to put this but so be it.
Not sure if you have seen it yet but Valve decided to directly support Wine to provide an alternative for Linux user for games that do not have a native port. They are making a Wine fork they call Proton.

There is already a list of supported games:
https://steamcommunity.com/games/221410/announcements/detail/1696055855739350561

Divinity Original Sin 2 actually is already perfectly playable using Wine+DXVK outside Steam:

https://imgur.com/a/iGFkyob

It does not work with Proton on Steam but ppl managed to do fix it just by making small edits to the execution script.

Basically just so ppl know they can run OS2 already very well with compatibility software on Linux. And I believe that Larian by giving minimal support to steam can have OS2 added to the supported List pretty easily.

Last edited by Turin231; 22/08/18 04:46 PM.
Joined: Aug 2018
T
stranger
Offline
stranger
T
Joined: Aug 2018
What are the small edits to make it work?

Joined: Nov 2010
apprentice
OP Offline
apprentice
Joined: Nov 2010
Do not rememebr exactly but if you go here https://spcr.netlify.com/ and see the entry for the game they have the info..

Mind you now with the definitive edition things might have changed a bit since from what i understand the executable and launcher are merged.

Last edited by Turin231; 01/09/18 07:55 AM.
Joined: Nov 2010
apprentice
OP Offline
apprentice
Joined: Nov 2010
OK so for the Definitive edition some ppl made some research and found the issue with it when running on Lutris/wine

https://old.reddit.com/r/linux_gaming/comments/9dnvk8/radare2_patch_for_divinity_original_sin_2/

And they made a patch for the executable.

@the devs this might give a good hint on a possible bug as well so i thought it might be useful for general game support

Joined: Apr 2015
F
stranger
Offline
stranger
F
Joined: Apr 2015
In some hardware such as i7 and multithreading i5 and AMD processors, using the EoCApp.exe while running recent wine-staging 3.14 and DXVK are sufficient to play the game . However on multicore CPUs that do not have multithreading the game will get to a black screen and game cursor and crash on startup.

after testing EoCApp.exe on a few machines using the same Xubuntu 18.04.1 nvidia 396.54, wine staging 3.14 and DXVK .70 setup I get the following:

i5-3470 CPU, GTX1070 - fail at start
i5-4590 CPU, GTX 680 - fail at start
i7-3630QM CPU, GTX 670MX - runs
i7-2679QM CPU, GTX 670MX - runs
i7-3930K CPU , Quadro K5000 - runs

A possible fix and patch to WINE is here:

https://source.winehq.org/patches/data/150821

"This patch is related to the game 'Divinity Original Sin 2' which crashes on startup, if the system only
has 4 or less logical cpus.

By Microsoft specification, requesting a thread affinity mask requires it be be a subset of the process affiniy mask.
However the game requests a mask F...FE (-2) which makes wine to return STATUS_INVALID_PARAMETER, which in turn makes the game hang."

Joined: Nov 2010
apprentice
OP Offline
apprentice
Joined: Nov 2010
Will this patch be part of the mainline or do you have to apply it yourself. If you have to apply it how do you do that?


On the AMD side it hangs on the Ryzen 7 1700.

Last edited by Turin231; 16/09/18 08:40 AM.
Joined: Nov 2010
apprentice
OP Offline
apprentice
Joined: Nov 2010
I actually see a similar sounding fix in wine 3.16 staging: ntdll: Relax checks for valid affinity mask in NtSetInformationThread().

I will try today and see if this fixes the hang.

Last edited by Turin231; 16/09/18 09:04 AM.
Joined: Nov 2010
apprentice
OP Offline
apprentice
Joined: Nov 2010
Seems to work like a charm with 3.16. I suppose the same will go with the proton version that is based on 3.16 wine

Last edited by Turin231; 16/09/18 10:21 AM.

Moderated by  gbnf, Monodon 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5