This magical component takes care of translating instructions from Direct3D 9/10/11 (from Windows) to Vulkan (to Linux) and is developed by doitsujin and many other contributors.
Mainly dxvk is a .dll override bundle which, integrated in a wine prefix, allows you to detect and translate calls from DirectX to Vulkan. This is done automatically, without any user intervention.
Basic DXVK is installed and enabled by Bottles when creating a bottle in the following environments:
You can check its activation from the bottle preferences, checking the "DXVK for Direct3D" voice.
When this component is enabled, a backup of the old dlls is created in the wineprefix and automatically recovered when disabled.
You can keep this component updated from Bottles preferences.
DXVK came with a large number of environment variables to better configure it.
DXVK_STATE_CACHE_PATH is preconfigured and points to the root path of the bottle
DXVK is preconfigured to
compiler otherwise is set to
devinfo, memory, drawcalls, fps, version, api, compiler if enabled from the settings for Developers and Debug in the bottle
Other variables can be found from the official repository and can be set using the Environment Variables field in the bottle preferences, like this: