Check out our Monthly Survey Page to see what our users are running.
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 checked 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 . You can also follow my personal adventures on Bluesky.
See more from me
The comments on this article are closed.
All posts need to follow our rules. For users logged in: please hit the Report Flag icon on any post that breaks the rules or contains illegal / harmful content. Guest readers can email us for any issues.
108 comments Subscribe
Page: «5/6»
  Go to:

cRaZy-bisCuiT 16 Apr 2018
There 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.
Shmerl 16 Apr 2018
It's not hard indeed.
Pompesdesky 16 Apr 2018
There 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 ^_^


Last edited by Pompesdesky on 16 Apr 2018 at 3:27 pm UTC
Shmerl 16 Apr 2018
Wine users should learn how to make Wine prefixes and what not. Learning pays off. We are talking about manual no support type of scenarios. Winetricks can make it easier. Some tools like POL / Lutris can do it too. But that's not really the main benefit. The main benefit of Wine and dxvk is ability for developers to make supported ports.


Last edited by Shmerl on 16 Apr 2018 at 3:29 pm UTC
tuubi 16 Apr 2018
View PC info
  • Supporter Plus
Maybe you're in there for so long that you don't see why people claim some things are hard to do in Linux ^_^
Linux itself doesn't make Wine hard to use or DXVK difficult to install, so please think before you assign the blame. And it's still slightly easier to run Windows games on Linux than vice versa, isn't it? :P
cRaZy-bisCuiT 16 Apr 2018
There 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.


Last edited by cRaZy-bisCuiT on 16 Apr 2018 at 11:42 pm UTC
Pompesdesky 17 Apr 2018
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 a lot for the detailed explanation, I'll try this tonight. Could help as I tried installing Lutris yesterday and something's wrong, altough I have Wine installed (checked in terminal via wine --version ^^) Lutris doesn't see it in the list of Wine runners.

When I say I'm an advanced user it's just that I'm able to look for solutions when I get into a problem, which average Joe won't bother doing, but when I find a solution I'm just stupidly copy/pasting what I found, I have no idea what the instructions you just gave exactly do for example. It's nearly black magic and I could as well paste a code telling my computer to wipe itself clean without knowing it :D

And by the way I don't Google for information as Google is more evil than Microsoft to me. I think any Linux user should use Qwant or other more privacy friendly search engines ;)
cRaZy-bisCuiT 17 Apr 2018
I do use ecosia most of the time, obviously this other very well-known search engine married the devil ages ago.

Have fun installing DXVK!

PS: I could really advice to start to think about what you do with your computer and why - one the one hand it will make your life much more easier, on the other hand you learn something about the system you use.


Also, there are many Wikis and tutorials, in addition, you can check what a command does with...

 man COMMAND

By the way, the best Ubuntu-Wiki I know is by Ubuntuusers.de - it's in German but I never found a better one.


Last edited by cRaZy-bisCuiT on 17 Apr 2018 at 10:09 am UTC
Zlopez 17 Apr 2018
  • Supporter Plus
I tried it on Fedora 27 and didn't have any luck. The vulkaninfo just saying VK_ERROR_INCOMPATIBLE_DRIVER.
I know that the vulkan is working outside wine without any issue.
I also tried the wine-staging 3.5 build provided by lutris, but had the same output.
Whitewolfe80 18 Apr 2018
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 a lot for the detailed explanation, I'll try this tonight. Could help as I tried installing Lutris yesterday and something's wrong, altough I have Wine installed (checked in terminal via wine --version ^^) Lutris doesn't see it in the list of Wine runners.

When I say I'm an advanced user it's just that I'm able to look for solutions when I get into a problem, which average Joe won't bother doing, but when I find a solution I'm just stupidly copy/pasting what I found, I have no idea what the instructions you just gave exactly do for example. It's nearly black magic and I could as well paste a code telling my computer to wipe itself clean without knowing it :D

And by the way I don't Google for information as Google is more evil than Microsoft to me. I think any Linux user should use Qwant or other more privacy friendly search engines ;)

Did you install the wine version via lutris or via command line it may explain why it cant see it
Whitewolfe80 18 Apr 2018
There 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 ^_^

You are right if someone is coming from windows linux seems very complicated bc as you say they are used to double clicking and just pressing next when prompted. The closest linux gets to that are deb files but that is pretty much for basic productivity software rarely games.
tuubi 18 Apr 2018
View PC info
  • Supporter Plus
You are right if someone is coming from windows linux seems very complicated bc as you say they are used to double clicking and just pressing next when prompted. The closest linux gets to that are deb files but that is pretty much for basic productivity software rarely games.
No, the closest Linux gets is installers of course. In fact I'd assume most new Linux gamers install their games through Steam nowadays, just as they did on Windows. For the rest, I think GOG has mojosetup-based graphical installers for all of their Linux releases, and itch has a client and so on. Which means you're still pretty much spreading FUD.

Remember, "Linux isn't like Windows" isn't the same as "Linux is complicated". That would make MacOS just as complicated, and ChromeOS as well. For basic users Linux is no harder than Windows. Of course, getting used to something new always takes time, especially if it's something non-trivial like an operating system. Even if you're switching to something better.
Ehvis 18 Apr 2018
View PC info
  • Supporter Plus
Linux is no harder than Windows.

In many cases it's even easier.

What's harder is people trying to run bleeding edge development code. But that stuff is not supposed to be easy.
tuubi 18 Apr 2018
View PC info
  • Supporter Plus
Linux is no harder than Windows.

In many cases it's even easier.

What's harder is people trying to run bleeding edge development code. But that stuff is not supposed to be easy.
I'd say that's usually easier on Linux than Windows as well. :)
Ehvis 18 Apr 2018
View PC info
  • Supporter Plus
Linux is no harder than Windows.

In many cases it's even easier.

What's harder is people trying to run bleeding edge development code. But that stuff is not supposed to be easy.
I'd say that's usually easier on Linux than Windows as well. :)

Well, it's harder than not having to do it. :P


Last edited by Ehvis on 18 Apr 2018 at 2:47 pm UTC
Pompesdesky 19 Apr 2018
Did you install the wine version via lutris or via command line it may explain why it cant see it

Guess it was via command line and quite some time ago as it's version 3.0. I'll try removing everything including Lutris and start again from scratch, might help.
Whitewolfe80 19 Apr 2018
You are right if someone is coming from windows linux seems very complicated bc as you say they are used to double clicking and just pressing next when prompted. The closest linux gets to that are deb files but that is pretty much for basic productivity software rarely games.
No, the closest Linux gets is installers of course. In fact I'd assume most new Linux gamers install their games through Steam nowadays, just as they did on Windows. For the rest, I think GOG has mojosetup-based graphical installers for all of their Linux releases, and itch has a client and so on. Which means you're still pretty much spreading FUD.

Remember, "Linux isn't like Windows" isn't the same as "Linux is complicated". That would make MacOS just as complicated, and ChromeOS as well. For basic users Linux is no harder than Windows. Of course, getting used to something new always takes time, especially if it's something non-trivial like an operating system. Even if you're switching to something better.

In some parts i agree but i have helped more than a few windows users and and if it cant be solved by a double click or by some user friendly gui they are not interested. I know at least 20 people if i showed then the linux terminal would say fuck that too stupidly fiddly. I never found fiddly but it I did have a big learning curve to teach myself linux and i have an IT degree there are some small over laps granted its much easier now than it was even five years ago.
How to install this on a Playonlinux prefix?

I installed the GOG edition of Metro 2033 Redux using WIne 3.6 via POL and the game load and works (but with a very bad audio)..
how to install and enable DXVK on that prefix?

(And how to fix that audio problem, if it is possible?)
===========
VULKAN INFO
===========

Vulkan Instance Version: 1.1.70

ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Attempt to retrieve either 'vkGetInstanceProcAddr' or 'vk_icdGetInstanceProcAddr' from ICD libGL.so.1 failed.
Cannot create Vulkan instance.
/build/vulkan-02bUNO/vulkan-1.1.70+dfsg1/demos/vulkaninfo.c:768: failed with VK_ERROR_INCOMPATIBLE_DRIVER


Im using 396.18 drivers..
Solved!

Inside /usr/share/vulkan/icd.d/nvidia_icd.json there was a wrong entry:
{
    "file_format_version" : "1.0.0",
    "ICD": {
        "library_path": "libGL.so.1",
        "api_version" : "1.1.70"
    }
}




the correct nvidia_icd.json is (at least for my Ubuntu/Nvidia system):

{
    "file_format_version" : "1.0.0",
    "ICD": {
        "library_path": "libGLX_nvidia.so.0",
        "api_version" : "1.1.70"
    }
}


And the Vulkan-smoketest works fine...

Now, I need to make it work on Wine 3.6 via Playonlinux

I need a file called winevulkan.dll but it is not available on Wine 3.6
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.
Buy Games
Buy games with our affiliate / partner links: