DXVK

DXVK is Article description::a [[Vulkan-based translation layer for Direct3D 9/10/11 which allows running 3D applications on Linux using Wine.]]

Requirements

 * Wine 3.10 or newer (4.5 or newer recommended)
 * Vulkan
 * Vulkan capable GPU
 * Driver supported by DXVK (With AMD, you can check which driver is used by running lspci -k. If it says that the driver in use is radeon, your system will not be able to use DXVK.)

Building from source


 * Meson build system (at least version 0.43)
 * dev-util/glslang
 * Mingw

External repository
A DXVK ebuild is available from tastytea's repository.

(you'll need app-eselect/eselect-repository first)

Pre-built release
Fetch the DXVK from a release pageː

https://github.com/doitsujin/dxvk/releases

Extract itː

From source
Versions up to 1.6.1 can be compiled with winegcc, a gcc wrapper from wine. However, upstream discourages the use of winegcc and recommends Mingw. Support for winegcc was completely dropped after version 1.6.1.

Clone the DXVK Git repository:

Install Mingw for 64 and 32 bit:

You can add --disable-sjlj-exceptions --with-dwarf2 to EXTRA_ECONF for cross-i686-w64-mingw32/gcc (but not for cross-x86_64-w64-mingw32/gcc) for improved performance.

Build and install DXVK:

This will create the directory which contains the 64-bit version of DXVK. For 32 bit, replace all occurrences of 64 with 32.

Lutris
Move/copy all .dll-files to ~/.local/share/lutris/runtime/dxvk/x{64,32}.

tastytea's repository:

Prebuilt and compiled:

WINE
It is recommended to create or  in /home/$USER/ for different architectures.

tastytea's repository:

Prebuilt:

Compiled:

Removal
tastytea's repository:

Compiled: