Patreon Logo Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal Logo PayPal. You can also buy games using our partner links for GOG and Humble Store.
Title: D9VK Thread
Page: 8/12
  Go to:
mrdeathjr 27 May 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 27 May 2019
The Gate of Firmament

External Media: You need to be logged in to view this.


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 27 May 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 29 May 2019
Race Driver GRID

External Media: You need to be logged in to view this.


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

External Media: You need to be logged in to view this.


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

External Media: You need to be logged in to view this.


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

External Media: You need to be logged in to view this.


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 29 May 2019
Race Driver GRID running on D9VK at Max details with the LargeAddressAware patch applied: https://www.youtube.com/watch?v=RAc1ebarTB8
mrdeathjr 30 May 2019
Bayonetta

External Media: You need to be logged in to view this.


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

External Media: You need to be logged in to view this.


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 10 years 31 May 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 31 May 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. :)

External Media: You need to be logged in to view this.
Shmerl 2 Jun 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 2 Jun 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
mrdeathjr 3 Jun 2019
Added some files if anyone needs:

D3D9-Libs: this pack must be put in binary game folder, helps for prevent stutter in many games

https://mega.nz/#!KMlVjIpJ!WqPS34ECGjoaj66HNVUJXVr_t97XrSqrsaK8fqb1Rio

LAA-exes: helps with virtual memory error case: grid / fear 2 / farcry 2 and many others

https://mega.nz/#!3Y9nlIAD!dPU6ILle4tcWDKHnmVkE2ZmdZT-rRBQauW5NTqjKUoU

^_^
mrdeathjr 4 Jun 2019
Fable III

External Media: You need to be logged in to view this.


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

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

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

https://www.youtube.com/watch?v=7V2F72pUrdQ

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

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

Transformers Devastation

External Media: You need to be logged in to view this.


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

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

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

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

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

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

FarCry 2 SinglePlayer

External Media: You need to be logged in to view this.


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

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

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

https://www.youtube.com/watch?v=L-e5piOrUaI

Injustice Gods Among Us

External Media: You need to be logged in to view this.


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

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

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

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

Mortal Kombat Komplete Edition

External Media: You need to be logged in to view this.


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

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

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

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

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

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

Hunted Hells Reach

External Media: You need to be logged in to view this.


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

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

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

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

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

https://www.youtube.com/watch?v=6VjV0Bzo3d0

Castlevania Lords of Shadow 1

External Media: You need to be logged in to view this.


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

https://www.youtube.com/watch?v=5Icjrc9pOgE

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

https://www.youtube.com/watch?v=6xwLBBqS1cc

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

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

Castlevania Lords of Shadow 2

External Media: You need to be logged in to view this.


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

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

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

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

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

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

Rise of the Argonauts

External Media: You need to be logged in to view this.


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

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

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

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

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

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

Frontlines Fuel of War

External Media: You need to be logged in to view this.


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

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

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

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

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

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

Sonic and Sega All Stars Racing

External Media: You need to be logged in to view this.


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

https://www.youtube.com/watch?v=oxJr6q-1ID8

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

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

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

https://www.youtube.com/watch?v=7gYTJ7LdFpE

Garfield Kart

External Media: You need to be logged in to view this.


Last test with Pentium G3220 @ 3.0ghz

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

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

https://www.youtube.com/watch?v=7KT7Mtj3usM

^_^
mrdeathjr 5 Jun 2019
Metal Gear Rising

External Media: You need to be logged in to view this.


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

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

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

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

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

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

^_^
mrdeathjr 9 Jun 2019
Anno 1404

External Media: You need to be logged in to view this.


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

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

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

https://www.youtube.com/watch?v=QyCKv-X9tAA

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

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

StarWars The Force Unleashed 1

External Media: You need to be logged in to view this.


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

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

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

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

StarWars The Force Unleashed 2

External Media: You need to be logged in to view this.


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

https://www.youtube.com/watch?v=4Krrb-CJofM

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

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

Mad Riders

External Media: You need to be logged in to view this.


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

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

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

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

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

https://www.youtube.com/watch?v=t-sjtAGQvEk

Naild

External Media: You need to be logged in to view this.


Last test with Pentium G3220 @ 3.0ghz

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

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

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

^_^
Avehicle7887 9 Jun 2019
Anno 1404 requires the LAA patch to be played properly, otherwise it crashes after some gameplay. The Venice expansion runs out of memory even on Windows.

EDIT: It's not written down but I see it is applied during the video, @mrdeathjr: you may want to add it in your posts :)

mrdeathjr 10 Jun 2019
Quoting: Avehicle7887Anno 1404 requires the LAA patch to be played properly, otherwise it crashes after some gameplay. The Venice expansion runs out of memory even on Windows.

EDIT: It's not written down but I see it is applied during the video, @mrdeathjr: you may want to add it in your posts :)

Actually LAA patch is highly recommended with d9vk because d9vk use more virtual memory than wined3d

^_^
Avehicle7887 10 Jun 2019
Quoting: mrdeathjr
Quoting: Avehicle7887Anno 1404 requires the LAA patch to be played properly, otherwise it crashes after some gameplay. The Venice expansion runs out of memory even on Windows.

EDIT: It's not written down but I see it is applied during the video, @mrdeathjr: you may want to add it in your posts :)

Actually LAA patch is highly recommended with d9vk because d9vk use more virtual memory than wined3d

^_^
From my observations it doesn't affect all titles, but I agree it is highly recommended.
mrdeathjr 10 Jun 2019
Alan Wake

External Media: You need to be logged in to view this.


Last test with Pentium G3220 @ 3.0ghz

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

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

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

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

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

Murderer Soul Suspect

External Media: You need to be logged in to view this.


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

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

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

https://www.youtube.com/watch?v=3-USAXCWUwc

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

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

Styx Master of Shadows

External Media: You need to be logged in to view this.


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

https://www.youtube.com/watch?v=2aRrrhuQizw

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

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

^_^
Avehicle7887 10 Jun 2019
Age of Wonders 3 - Game works fine with D9VK however comes with a few notes:

- Works only in full screen. Borderless results in a tiny window, and Windowed resizes at 4:3 aspect ratio and freezes the game. Also no way to disable VSync in Full Screen. Issues not present in WineD3D.
- A minor graphic issue with scrolling text, not game breaking. The same glitch also appears in WineD3D but not in Windows, pictured here (from WineHQ): https://appdb.winehq.org/appimage.php?iId=52597 Bug already [reported here](https://appdb.winehq.org/objectManager.php?sClass=version&iId=30117), possibly a Wine issue?

The game already seems to be Large Address Aware (LAA) enabled, Virtual Ram usage is at about 2.3GB with WineD3D, with D9VK goes up to 3.1GB. Should remain stable even after prolonged gameplay.

External Media: You need to be logged in to view this.
mrdeathjr 12 Jun 2019
The Sims 4

External Media: You need to be logged in to view this.


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

https://www.youtube.com/watch?v=N-A_GmN_Chs

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

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

^_^
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon Logo Patreon. Plain Donations: PayPal Logo 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