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.
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..
Last edited by IDNO on 8 Apr 2018 at 9:52 am UTC
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
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
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
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
View video on youtube.com
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
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.
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
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 :(
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?
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.
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
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
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
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.
See more from me