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 (5.8 or newer recommended)
 * Vulkan
 * Vulkan capable GPU
 * Driver supported by DXVK (With AMD, you can check which driver is used by running . If it says that the driver in use is radeon, your system will not be able to use DXVK.)

Building from source


 * (at least version 0.46)
 * Mingw (at least version 6.0)
 * Mingw (at least version 6.0)

From source
Older versions could 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.

app-emulation/dxvk is available from the unofficial repositories “FireBurn” (mingw & winegcc), “ppfeufer-gentoo-overlay” (mingw & winegcc), “tastytea” (mingw) and “thegreatmcpain” (mingw & winegcc). See the wiki article about ebuild repositories for how to use them.

Install Mingw for 64 and 32 bit
It is recommended to create a dedicated crossdev repository.

Add  to EXTRA_ECONF for cross-i686-w64-mingw32/gcc (but not for cross-x86_64-w64-mingw32/gcc) for improved performance.

If crossdev generation of the target toolchain should fail, ensure that  is enabled on   by simply prefixing the relevant emerge command with , mirroring the application of the USE flag to libc via crossdev's   argument. Revert edits to, , and before retrying, or toolchain generation will fail due to the   flag.

Install DXVK
To include 32-bit bindings:

Pre-built release
Pre-built DXVK binaries are available from the GURU repository.

Lutris
Move/copy all files to.

app-emulation/dxvk:

app-emulation/dxvk-bin:

Wine
It is recommended to create the or  directories for different architectures.

app-emulation/dxvk:

app-emulation/dxvk-bin:

External resources

 * DXVK README