D9VK Thread
Page: «15/24»
  Go to:
mrdeathjr May 27, 2019
Quoting: Avehicle7887I'd like to expand a bit about the Large Address Aware that @mrdeathjr mentioned in some of his posts and may have been overlooked.

As some of you know, 32bit games tend to crash on Wine due to running out of Virtual Memory (not to be confused with System Memory). While this issue is also present on Windows, on Linux it is more affected due to the way the 2 OS's handle memory management.

To remedy these crashes on Windows, people changed a flag in the executables which allowed the games to use 4GB instead of 2GB. Just as on Windows, this method also helps greatly on Wine. I found a tool which can easily patch the exes on this thread (dates back to 2010): https://www.techpowerup.com/forums/threads/large-address-aware.112556/ - All you need to run this tool is Wine with Mono and it's pretty straightforward to use: Browse to the exe file > Tick the checkbox to enable LAA and Save.

I've patched a few games and monitored their Virtual Memory usage, which went from around 3.6GB down to 2.5GB. Considering those games crash at 4GB they were inching close to the edge. Also be aware that this is not a magic bullet for all games, it works on a lot of games but not all of them.

Below I've made a list of all the games I tried it with and are now no longer crashing:

Colin McRae DiRT (1st game from 2006) - Max Details, with D9VK.
Racer Driver GRID (1st game from 2007) - Max Details, with D9VK.
Titan Quest Anniversary - Max Details, with D9VK.
Legend of Grimrock 2 - Max Details, with WineD3D 2.2GB / D9VK 2.9GB but stable.

These games do not crash but get very close:

Tomb Raider: Anniversary
Tomb Raider: Legend
Tomb Raider: Underworld

I've originally knew about this back in the Win7 heydays and every time I tried to resolve the crashing issues somehow I never came across to trying this on Linux, until someone on Youtube suggested me to apply it to Titan Quest.

D9VK use more virtual memory than wined3d but with this fix can help in various games

Many thanks

^_^
mrdeathjr May 27, 2019
The Gate of Firmament



Last test with Pentium G3258 @ 4.1ghz + Artic Cooling Alpine 11 Plus

https://www.youtube.com/watch?v=eNNcL3xhOW8

With Core i3 8350K Tri-Core @ 5.0ghz + Zalman CNPS 10x Performa+

https://www.youtube.com/watch?v=Im616KhZ6jU

D9VK With Core i3 8350K Tri-Core @ 5.0ghz + Zalman CNPS 10x Performa+

https://www.youtube.com/watch?v=tXsVreE8REU

^_^
Avehicle7887 May 27, 2019
Colin McRae DiRT running on D9VK and patched with 4GB LargeAddressAware. I pulled no punches in this video, max details and V-Sync off. After the recording I left the game open and checked the Virtual Memory usage and after half an hour of gameplay it was still happily sitting at 2.4GB, I couldn't be any happier.

https://www.youtube.com/watch?v=oHxUkeu0S4E

PS: Expect a Race Driver GRID video soon.
mrdeathjr May 29, 2019
Race Driver GRID



Last test with Pentium G3258 @ 4.1ghz + Artic Cooling Alpine 11 Plus

https://www.youtube.com/watch?v=DKWEyA24n0s

D9VK with Core i3 8350K Tri-Core @ 5.0ghz + Zalman CNPS 10x Performa+

https://www.youtube.com/watch?v=0_LfYAPrHDY


Grand Theft Auto IV + Mods



Last test with Pentium G3258 @ 4.1ghz + Artic Cooling Alpine 11 Plus

https://www.youtube.com/watch?v=9a_Lci7vdqE

D9VK with Core i3 8350K Tri-Core @ 5.0ghz + Zalman CNPS 10x Performa+

https://www.youtube.com/watch?v=ayemwhOrN2A


Fear 2



Last test with Pentium G3258 @ 4.1ghz + Artic Cooling Alpine 11 Plus

https://www.youtube.com/watch?v=1ZYwJfAQBC4

D9VK with Core i3 8350K Tri-Core @ 5.0ghz + Zalman CNPS 10x Performa+

https://www.youtube.com/watch?v=wVa3GJQYdAs


Kyn



Last test with Pentium G3258 @ 4.1ghz + Artic Cooling Alpine 11 Plus

https://www.youtube.com/watch?v=AmOgEOWU8zg

D9VK with Core i3 8350K Tri-Core @ 5.0ghz + Zalman CNPS 10x Performa+

https://www.youtube.com/watch?v=NjNwKnuMTsI

^_^
Avehicle7887 May 29, 2019
Race Driver GRID running on D9VK at Max details with the LargeAddressAware patch applied: https://www.youtube.com/watch?v=RAc1ebarTB8
mrdeathjr May 30, 2019
Bayonetta



Last test with Pentium G3258 @ 4.1ghz + Artic Cooling Alpine 11 Plus

https://www.youtube.com/watch?v=xj5OXNJHq0o

With Core i3 8350K Tri-Core @ 5.0ghz + Zalman CNPS 10x Performa+

https://www.youtube.com/watch?v=XdmrIh941ao

D9VK With Core i3 8350K Tri-Core @ 5.0ghz + Zalman CNPS 10x Performa+

https://www.youtube.com/watch?v=wimyo7LAYcQ


Vanquish



Last test with Pentium G3258 @ 4.1ghz + Artic Cooling Alpine 11 Plus

https://www.youtube.com/watch?v=KEoH7oVaaRw

With Core i3 8350K Tri-Core @ 5.0ghz + Zalman CNPS 10x Performa+

https://www.youtube.com/watch?v=lYieVeEnoqQ

D9VK With Core i3 8350K Tri-Core @ 5.0ghz + Zalman CNPS 10x Performa+

https://www.youtube.com/watch?v=CJJ_PHT-cww


^_^
lejimster May 31, 2019
Quoting: GuestI've followed the video guide about using d9vk with lutris but I can't seem to get it working. Any help would be appreciated.
I make a folder in /local/share/lutris/runtimes/dxvk called d9vk and put the two folders of dlls and the setup in that. I then go to configure game in Lutris and in runner options I manually type the name of the folder. I put the environmental variables for the hud but I never get an hud and no log file for d9vk in the game folder.

It might be slightly different for Ubuntu than Arch, but I have my d9vk stuff extracted in:

~/.local/share/lutris/runtime/dxvk/d9vk

the 2 folders should be sufficient, no need for the setup script.

In Runner options make sure you have Enable DXVK turned on and type the folder name exactly as it's named as above for DXVK version, it's probably case sensitive.
Double check your environment variables are actually set, something like:
DXVK_HUD     full
Avehicle7887 May 31, 2019
Far Cry 2 (GOG) running at Ultra settings with D9VK and patched with Large Address Aware flag, after a solid non stop 1hr of playing, the game was happily sitting at 2.7GB Virtual Memory usage. :)

Shmerl Jun 2, 2019
Quoting: Avehicle7887To remedy these crashes on Windows, people changed a flag in the executables which allowed the games to use 4GB instead of 2GB. Just as on Windows, this method also helps greatly on Wine. I found a tool which can easily patch the exes on this thread (dates back to 2010): https://www.techpowerup.com/forums/threads/large-address-aware.112556/ - All you need to run this tool is Wine with Mono and it's pretty straightforward to use: Browse to the exe file > Tick the checkbox to enable LAA and Save.

Trying this now with Bioshock Infinite, since it's crashing with dxvk enabled. They should have released the source for that tool.

Interesting that they have a source for that tool. May be we can rewrite it into something sensible that's not using Mono.
Shmerl Jun 2, 2019
Nah, it still fails like this:

009b:err:ntdll:RtlpWaitForCriticalSection section 0x18570ca0 "?" wait timed out in thread 009b, blocked by 009c, retrying (60 sec)
mmap() failed: Cannot allocate memory
Failed to create permanent mapping for memfd region with ID = 927986187
Ignoring received block reference with non-registered memfd ID = 927986187
Assertion 'pa_atomic_load(&(c)->_ref) >= 1' failed at pulse/context.c:1052, function pa_context_disconnect(). Aborting.
00b2:fixme:dbghelp:validate_addr64 Unsupported address fffffffff79c0000
00b2:fixme:dbghelp:validate_addr64 Unsupported address fffffffff7980000
00b2:fixme:dbghelp:validate_addr64 Unsupported address fffffffff7b20000
00b2:fixme:dbghelp:validate_addr64 Unsupported address fffffffff7780000
00b2:fixme:dbghelp:validate_addr64 Unsupported address fffffffff2180000
00b2:fixme:dbghelp:validate_addr64 Unsupported address fffffffff0440000
00b2:fixme:dbghelp:validate_addr64 Unsupported address fffffffff2130000
00b2:fixme:dbghelp:validate_addr64 Unsupported address ffffffffe41e0000
00b2:fixme:dbghelp:validate_addr64 Unsupported address fffffffff0e40000
00b2:fixme:dbghelp:validate_addr64 Unsupported address fffffffff0e10000
00b2:fixme:dbghelp:validate_addr64 Unsupported address fffffffff0410000
00b2:fixme:dbghelp:validate_addr64 Unsupported address ffffffffe6230000
00b2:fixme:dbghelp:validate_addr64 Unsupported address ffffffffe5780000
00b2:fixme:faultrep:ReportFault 0x2114ef04 0x0 stub
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.

Buy Games
Buy games with our affiliate / partner links: