wineHQ and dx11

It took a bit more than a couple of minutes for me to get DXVK to run and it still occasionally hangs for me, but if anyone wants to try, here is what I had to do to get it running on Debian 10 / “Buster”:

  • Installing a recent WINE version from WineHQ with Vulkan support enabled (i.e. 3.7. from the development branch). The WINE version that comes with Debian does not have Vulkan support compiled in yet (likely for a good reason).
wget https://dl.winehq.org/wine-builds/debian/pool/main/wine-devel-amd64_3.7.0~buster_amd64.deb
wget https://dl.winehq.org/wine-builds/debian/pool/main/wine-devel-i386_3.7.0~buster_i386.deb
wget https://dl.winehq.org/wine-builds/debian/pool/main/wine-devel_3.7.0~buster_amd64.deb

Followed by (as root or with sudo):

dpkg -i wine-devel-amd64_3.7.0~buster_amd64.deb 
dpkg -i wine-devel-i386_3.7.0~buster_i386.deb 
dpkg -i wine-devel_3.7.0~buster_amd64.deb 
  • Installing the 32-bit libraries of MESA for Vulkan support.
    apt-get install mesa-vulkan-drivers:i386

  • Reinstalling the Nvidia driver 396.18.05 to provide the 32-bit Vulkan library now that MESA support has been installed.

  • Downloading and installing the VulkanSDK for Windows under WINE.
    https://vulkan.lunarg.com/sdk/home#windows
    wine VulkanSDK-1.1.73.0-Installer.exe

  • Creating the file winevulkan.json and registry keys for 32- and 64-bit as describe here:
    https://github.com/roderickc/wine-vulkan

  • At this point can one try to run the cube.exe demo in the VulkanSDK directory, to see if it’s all working. One should see a rotating 3D cube:

cd $WINEPREFIX/drive_c/VulkanSDK/1.1.73.0/Bin
wine cube.exe

One can now start EVE the usual way. When the variable DXVK_HUD=1 is set does one get a small overlay with the Vulkan version and the frame rate.

So now I can fly around a little, but eventually it hangs. I’ve disabled the new Vulkan compiler, but it makes no difference. So I’m going to stop testing at this point and only keep following the development on this.

Hope someone finds this useful and has got more luck with it.

2 Likes