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:
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.
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.
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 ^_^
Last edited by Pompesdesky on 16 April 2018 at 3:27 pm UTC
Last edited by Shmerl on 16 April 2018 at 3:29 pm UTC
Quoting: PompesdeskyMaybe 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
Quoting: PompesdeskyQuoting: 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.
Last edited by cRaZy-bisCuiT on 16 April 2018 at 11:42 pm UTC
Quoting: cRaZy-bisCuiTOh 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 ;)
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 April 2018 at 10:09 am UTC
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.
Quoting: PompesdeskyQuoting: cRaZy-bisCuiTOh 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
See more from me