Every article tag can be clicked to get a list of all articles in that category. Every article tag also has an RSS feed! You can customize an RSS feed too!
We do often include affiliate links to earn us some pennies. See more here.

Since there's a lot of excitement around DXVK we've been following it closely and a fresh release made it out last night.

For those who don't remember it, DXVK is the compatibility layer for running Direct3D 11 games in Wine using Vulkan. It's a very promising project, with a lot of people having fun with it already on Linux.

The latest release, version 0.41, has a slight reduction of overall CPU overhead, has better GPU saturation when Deferred Contexts are used for rendering and features a configurable HUD. The announcement also notes five bugs fixed, one which will make Mesa users happy as it fixes tessellation shaders causing a crash in Mesa drivers.

An an example of how it runs, here's a video from well-known Linux YouTuber Xpander showing off Kingdom Come: Deliverance using a previous build of DXVK:

YouTube Thumbnail
YouTube videos require cookies, you must accept their cookies to view. View cookie preferences.
Accept Cookies & Show   Direct Link

 

Very impressive stuff there, hopefully it will make it into Wine proper when it's further developed. Projects like this, could really help more people dual-boot and eventually be full Linux gamers.

Article taken from GamingOnLinux.com.
Tags: Vulkan, Wine
15 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
The comments on this article are closed.
108 comments
Page: «11/11
  Go to:

Mohandevir Apr 23, 2018
Quoting: cRaZy-bisCuiT
Quoting: Pompesdesky
Quoting: cRaZy-bisCuiTThere is a Lutris script, for example for Battlefield 4.


On the other hand I don't get why people claim it's hard to install DXVK. It's actually, as mentioned before, pretty easy. Create a Wine Prefix and either install DXVK via script in that or just copy over the two DLLs. Nothing hard about that.

You just can't say that's easy. For any average Windows user for whom everything has always been just a double click away this can be a show stopper. Even for me that's not easy, I consider myself an advanced user as I used to handle Windows very well and have managed to game on Linux for more than 2 years now.

But when you say "create a Wine Prefix" I know that will require me to search the Web to find out how to do it, it'll most likely take me half an hour or more to understand and do that. Then I'll have to install DXVK via script, which again is not easier than a double click, and then again copy 2 DLLs and put them in a probably hidden folder.

Maybe you're in there for so long that you don't see why people claim some things are hard to do in Linux ^_^

Oh lord, please don't get me wrong, this message is not exactly targeted at you or someone specific, but as mentioned before it's easy. It will take you less than a minute. And if you consider yourself an advanced windows user, you should have knowledge about the cmd / power shell, thus not being afraid of the terminal. Even if you google for "How to create a wine prefix." the first result will already tell you. This will take you 5 minutes of googling on how to create one and maybe 5 more on how to make use of it.

Assuming you use a debian based distro (Debian, Ubuntu, some more...) open a terminal (CRTL + T) you could do it like this:

How to deploy a wine prefix & install DXVK

1. Create Wine-Prefix (64bit / x64 in this case)
WINEPREFIX="$HOME/.dxvk" wine wineboot

Note: The prefix is named "dxvk" like this. You could name it however you so desire.

2. Download dxvk-Release (0.42 in this case)
wget https://github.com/doitsujin/dxvk/releases/download/v0.42/dxvk-0.42.tar.gz

3. Extract the archive and change into the x64 directory
tar -xvf  dxvk-0.42.tar.gz && cd dxvk-0.42/x64/

4. Install dxvk in your desired Wineprefix
WINEPREFIX="$HOME/.dxvk" ./setup_dxvk.sh

At this point you are already done. Now you can execute e.g. .exe-files in this prefix:
WINEPREFIX="$HOME/.dxvk" wine BLAHBLAH.exe

If you don't want to type the prefix in all the time, just do:
export WINEPREFIX="$HOME/.dxvk"

...and as long as the terminal is open you will always refer to this prefix.

How to deploy a wine prefix & install DXVK in one command
WINEPREFIX="$HOME/.dxvk" wine wineboot && wget https://github.com/doitsujin/dxvk/releases/download/v0.42/dxvk-0.42.tar.gz && tar -xvf  dxvk-0.42.tar.gz && cd dxvk-0.42/x64/ && WINEPREFIX="$HOME/.dxvk" ./setup_dxvk.sh

...which will only take a few seconds.

Thanks!

Going to try that too. I was probably following the wrong tutorial or misunderstood something. It was about building Wine to run DXVK. Got problems with missing dependencies that couldn't get installed and I was running out of time so I gave up trying. That's why I asked for a PoL script.

Imo, PoL is a clean way of managing your wine games (when you have more than one) in a single interface. Lutris seems good too, It's just that I never tried.

Anyway, before getting a PoL script, DXVK will need to be integrated into wine, I guess...

Does the Steam version of Witcher 3 will work with DXVK, if the Steam overlay is disabled? Do I need to do something else? I don't have the GOG version.

Thanks again!
cRaZy-bisCuiT Apr 23, 2018
Quoting: MohandevirThanks!

Going to try that too. I was probably following the wrong tutorial or misunderstood something. It was about building Wine to run DXVK. Got problems with missing dependencies that couldn't get installed and I was running out of time so I gave up trying. That's why I asked for a PoL script.

Imo, PoL is a clean way of managing your wine games (when you have more than one) in a single interface. Lutris seems good too, It's just that I never tried.

Anyway, before getting a PoL script, DXVK will need to be integrated into wine, I guess...

Does the Steam version of Witcher 3 will work with DXVK, if the Steam overlay is disabled? Do I need to do something else? I don't have the GOG version.

Thanks again!

You need Wine 3.5 or newer, otherwise you need to obtain it, either via PPA, AUR etc. or you have to build it.

About the Witcher: I don't know.
toidi Apr 26, 2018
Hi, just joined so I can contribute to this thread.

Firstly, over on Lutris.net there is a prebuilt 3.6/dxvk/pba build (just check the forums for it).

Secondly, and more importantly. Some AMD GPU owners may run into issues when running anything Vulkan based on their Linux install, this is due to the driver defaulting to 'Radeon' instead of the needed 'Amdgpu' at boot time. I had this issue with DXVK and CEMU and it seems to affect those of us on 270-390 GCN1.1 cards in particular.

The workaround is to disable the Radeon driver and Enable the AMD in your grub conf file:

GRUB_CMDLINE_LINUX_DEFAULT="radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1"
This is a copy of my Linux Default line showing the command.

Apologies if this has already been covered earlier in the thread, as I did not have time to read the whole thread thoroughly.

Cheers Danny.
Mohandevir May 2, 2018
I've been able to install and make Steam's Witcher 3 start following cRaZy-bisCuiT's how-to, with Wine 3.7.

In fact I copied the game folder of my Windows install to my wine prefix. This said, it's really laggy and slow. Better than stock Wine but not really playable. It's far from the Windows version with the same hardware (i7-3770, GTX 960, Nvidia 396.18). Any clue what might be wrong?
Ehvis May 2, 2018
View PC info
  • Supporter Plus
Quoting: MohandevirI've been able to install and make Steam's Witcher 3 start following cRaZy-bisCuiT's how-to, with Wine 3.7.

In fact I copied the game folder of my Windows install to my wine prefix. This said, it's really laggy and slow. Better than stock Wine but not really playable. It's far from the Windows version with the same hardware (i7-3770, GTX 960, Nvidia 396.18). Any clue what might be wrong?

DXVK had a big performance with the new shader compiler from the 396.18 drivers. I'm not entirely up to date on DXVK, but I'm not sure if that has all been fixed on the side either DXVK or the driver. If not (or you're using an older DXVK version), then this could explain the low performance.
Shmerl May 2, 2018
Quoting: MohandevirI've been able to install and make Steam's Witcher 3 start following cRaZy-bisCuiT's how-to, with Wine 3.7.

In fact I copied the game folder of my Windows install to my wine prefix. This said, it's really laggy and slow. Better than stock Wine but not really playable. It's far from the Windows version with the same hardware (i7-3770, GTX 960, Nvidia 396.18). Any clue what might be wrong?

Better use this thread for it.
Zlopez May 3, 2018
  • Supporter Plus
I was able to run Warhammer End Times: Vermintide.
View video on youtube.com
echazarenc May 12, 2018
Quoting: cRaZy-bisCuiTThere is a Lutris script, for example for Battlefield 4.


On the other hand I don't get why people claim it's hard to install DXVK. It's actually, as mentioned before, pretty easy. Create a Wine Prefix and either install DXVK via script in that or just copy over the two DLLs. Nothing hard about that.

Lutris script for BT4 doesnt work for me. Origin install is ok, I can download the game, but the finalisation failed with DirectX and VC++ error.
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!
The comments on this article are closed.