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 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: «3/6»
  Go to:

Is this DX11 for games exclusive or it works with DX9 games too?...

Just DX11 (and maybe DX10 later). DX9 is different.

I didn't know that...
It will be good to see a performance comparative between DX11 games ported to Linux and DX11 games running via wine with DXVK..
IDNO 8 Apr 2018
WoW this looks good. Btw i found an cool OS Kibojoe Linux very minimal arch linux with manjaro linux. If you into gaming i like lightwaight desktops. To not use much ram :D cuz i am still useing 8gb. And yeah i am useing right now is SteamOS. :D


Last edited by IDNO on 8 Apr 2018 at 9:52 am UTC
Shmerl 9 Apr 2018
It will be good to see a performance comparative between DX11 games ported to Linux and DX11 games running via wine with DXVK..

It would be probably comparable, since most of those ported games, use quite similar approach of translating it into Vulkan.


Last edited by Shmerl on 9 Apr 2018 at 3:41 am UTC
Shmerl 9 Apr 2018
Another question... ^^
For the last task, i want to use Witcher 3 (GOG version) but it's already installed on my System, as i tested it with wine-staging-2.21.
Can I just copy/paste the folder into the _DXVK_prefix?
I didn't install Steam also, I don't think it's necessary in my case, is it?

I recommend making a clean install of the GOG version (classic installer) into its own prefix, then enable dxvk there.

Alternatively, simply update your current prefix to latest Wine release or even Wine master (better build it from source to make sure it supports Vulkan), and then same way enable dxvk in it.

When building, don't forget Vulkan dev package.


Last edited by Shmerl on 9 Apr 2018 at 3:45 am UTC
Shmerl 9 Apr 2018
Elex
Tried to run it and got that. There was also an exception window but I could not select it.
It's odd , I get the two logos then a black screen.
On regular wine (3.4 I think) i managed to see both the intros and the main menu but trying to start a game resulted in a black screen.

Are you using Steam version? If yes, make sure to disable Steam overlay. I've heard it's not compatible with dxvk. GOG version obviously shouldn't have this problem.


Last edited by Shmerl on 9 Apr 2018 at 3:47 am UTC
Geppeto35 9 Apr 2018
Still quite complex to do, it seems. Why no automated method exists? That's one of the point that is still harm gaming on linux OS. I need a step-by-step text tutorial (or a copy/paste command lines) but for everyone, we need a double-click file or a checkbox in a graphic window ^^
TheRiddick 9 Apr 2018
Tried to get deliverance running on my 1080ti but cryengine says unsupported gpu, needs DX11 compat ... blah blah whatever.

Shrug

EDIT: well managed to get it to load with audio and HUD but 3d is black, I get the following errors. Probably a minor configuration problem.

0048:fixme:nvapi:NvAPI_D3D_GetObjectHandleForResource (0xac0d3c0, 0x2b106d60, 0xadee9e0): stub
0048:err:nvapi:NvAPI_D3D11_SetDepthBoundsTest Failed to get wined3d device handle!


Last edited by TheRiddick on 9 Apr 2018 at 8:04 am UTC
NuSuey 8 years 9 Apr 2018
Btw, if you guys missed that.. Telltale DX11 games also work in DXVK
View video on youtube.com
TheRiddick 9 Apr 2018
Well Witcher 3 works wonderfully at 4k (above 60fps), some shader stutter but thats fine. Thought settings are not on ultra or anything, just default stuff.

I just can't for the life of my figure out why KCD has a blank screen on loadup but I can hear the music, see and move the icon, and hear the interface beeps as I pan over them, just can't see anything.

Thinking It could be a mod or something I have installed, or a specific configuration I have done in the files.


Last edited by TheRiddick on 9 Apr 2018 at 9:36 am UTC
Faattori 9 Apr 2018
I just can't for the life of my figure out why KCD has a blank screen on loadup but I can hear the music, see and move the icon, and hear the interface beeps as I pan over them, just can't see anything.

If you are playing through Steam, try with the Steam Overlay disabled.
TheRiddick 9 Apr 2018
Yeah I have that disabled by default. I'm starting to wonder if the game is flipping out because of screen resolution (im at 4k and its trying to run 1080p), or perhaps some other default game configuration.

I remember under windows it had some issues switching display modes at times.


EDIT: Got a slightly different error this time. 0114:err:d3dcompiler:compile_shader HLSL shader parsing failed.

Thinking the latest version of dxvk might have broke something.


Last edited by TheRiddick on 9 Apr 2018 at 9:39 am UTC
Pompesdesky 9 Apr 2018
Does someone have the possibility to try out Battlefield 3 and 4?
BF3 I don't think will work because of Battlelog.
I tried out BF4 tho and it works pretty well! There are a few bugs, and (at least on my AMD card) particles draw as black boxes, which can be pretty irritating. Also Punkbuster is not really happy about us using modified DLLs and you probably will get kicked from servers. Singleplayer and Unranked/No PB Servers should be fine though :)
I was running Medium Settings, 720p on a RX480 at 100-200fps ^-^

Do you happen to have a link to something explaining how to make BF4 work ? All I can see is a Garbage status for the game on WineHQ and can't find any relevant info on making it actually work :(
Arehandoro 9 Apr 2018
I finally managed to install dxvk yesterday with The Witcher 3 :)

Firstly I must say, with Wine 3.5, it was much simpler than I was expecting. Only had to download the nightly files of dxvk and apply the script to the wineprefix I had created for the game.

Secondly, the game runs smoothly and nicely. I have everything on High, with some Ultra options enabled, and the experience it's wonderful. However, shadows seem a bit too dark and somehow I can't change the resolution from within the game -Which I guess is running at the native one to my desktop-

Lastly, I will have to give it a go with some other games to do more testing. Are the Arkham Asylum games DX11? Is it possible to setup vk9 and dxvk on the same prefix?
TheRiddick 9 Apr 2018
Yeah witcher 3 works for me but KCD is black screen, so must be a new bug somewhere either in DXVK or NVIDIA drivers? or it could be the recent KCD patch? only someone with a previously working KCD would know.
razing32 9 Apr 2018
Elex
Tried to run it and got that. There was also an exception window but I could not select it.
It's odd , I get the two logos then a black screen.
On regular wine (3.4 I think) i managed to see both the intros and the main menu but trying to start a game resulted in a black screen.

Are you using Steam version? If yes, make sure to disable Steam overlay. I've heard it's not compatible with dxvk. GOG version obviously shouldn't have this problem.

It's the GOG version.
But thanks for the heads up.
Geppeto35 9 Apr 2018
Please can someone points to a clear text tutorial to install DXVK plus the witcher 3, or details here how to do that (in fact lost in winprefix and stuff like that). Thanks ^_^
Shmerl 9 Apr 2018
Please can someone points to a clear text tutorial to install DXVK plus the witcher 3, or details here how to do that (in fact lost in winprefix and stuff like that). Thanks ^_^

Installation of dxvk is explained on the project page: https://github.com/doitsujin/dxvk

About setting up a custom prefix (or custom Wine), see:

* How to use custom prefix.
* How to use custom Wine.


Last edited by Shmerl on 9 Apr 2018 at 12:28 pm UTC
Arehandoro 9 Apr 2018
Please can someone points to a clear text tutorial to install DXVK plus the witcher 3, or details here how to do that (in fact lost in winprefix and stuff like that). Thanks ^_^

Assuming you have wine64 installed and wine 3.5 installed:

WINEPREFIX="~/Path/to/your/directory" wine wineboot
export WINEPREFIX="~/Path/to/your/directory"


Download the 10 files for The Witcher 3 from GOG. And download the 64 bits files stored in https://haagch.frickel.club/files/dxvk/latest/ for dxvk.

mkdir /path/for/dxvk

In that folder there should be the same structure/files that is on the ftp server above. That is "bin" and "lib64" within dxvk folder plus 2 files and a script in "bin" and two files on "lib64"

cd /your/dxvk/directory/bin
WINEPREFIX=/Path/to/your/wineprefix bash setup_dxvk.sh


See that completes successfully.

wine setup_the_witcher_3.exe

Wait for the installation to finish and off you go. I didn't have to do anything else and sorry for bad explanation, not much time at work for a better one xD

Cheers


Last edited by Arehandoro on 9 Apr 2018 at 12:40 pm UTC
Shmerl 9 Apr 2018
wine setup_the_witcher_3.exe

Using Wine like that assumes that default Wine supports Vulkan. Many report that Ubuntu's version and some others too do not. So it's recommended to build Wine from source and use that custom one, which needs some additional environment setup like above. Same applies to running setup_dxvk.sh by the way.


Last edited by Shmerl on 9 Apr 2018 at 12:41 pm UTC
Arehandoro 9 Apr 2018
wine setup_the_witcher_3.exe

Using Wine like that assumes that default Wine supports Vulkan. Many report that Ubuntu's version and some others too do not. So it's recommended to build Wine from source and use that custom one, which needs some additional environment setup like above. Same applies to running setup_dxvk.sh by the way.

I didn't know. Feel very lucky now that in my case was so easy. Thanks for the heads up though.
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.