The release of the new version of DXVK layer 1.7, which provides the implementation of DXGI (DirectX Graphics Infrastructure), Direct3D 9, 10 and 11, which it works through the translation of Vulkan API calls.
While DXVK Although it is mainly used on Steam Play, it is not the only place where Linux users can take advantage of this fantastic technology. Too brings Vulkan-based D3D11 implementation for Linux and Wine, Regarding performance and optimization when running Direct3D 11 games on Wine, as they also provide support for Direct3D9.
Main new features of DXVK 1.7
In this new version of the implementation added support for Vulkan graphical API extensions VK_EXT_custom_border_color which is used to support border colors in Sampler and also solves many problems in games based on Direct3D 9 including Crysis and Halo 2 Vista. Another support received is VK_EXT_robustness2, similar to D3D11 used to handle access outside the acceptable resource area range.
It is important to take into account that pTo use these extensions, you must have Wine 5.8 (development version), as well as the AMD and Intel Mesa 20.2-dev drivers or the NVIDIA 440.66.12-beta driver.
We can also find that the use of cleaning operations and barriers was optimized during rendering, which allowed to slightly improve the performance of some games.
In D3D11 games, the ability to use compute queues for asynchronous resource loading has been added if the driver (eg RADV) does not support a separate transmission queue;
It also stands out in this new version reduced memory consumption in D3D9, thus avoiding the exhaustion of available memory in some games, such as Toxikk.
Of the other changes that stand out in this new version:
- Some functionality has been implemented from DXGI 1.6, which will be used in future versions of World of Warcraft.
- Fixed Vulkan verification errors in Cloudpunk and other games that incorrectly use the resource buffer.
- Fix compilation problems in GCC 10.1.
- Fixed various issues associated with D3D9.
- Redesigned dxgi.tearFree option.
- Fixed issues in Fallout New Vegas, Freelancer, GTA IV, and Halo Custom Edition games.
- Build support with winelib has been discontinued. MinGW is now required to build DXVK.
How to add DXVK support to Linux?
To use DXVK, drivers with API Vulkan 1.1 support are required, such as AMD RADV 18.3, NVIDIA 440.66, Intel ANV 19.0, and AMDVLK.
DXVK can be used to run 3D applications and games on Linux using Wine, acting as a higher-performance alternative to Wine's built-in Direct3D 11 implementation that runs on OpenGL.
DXVK requires the latest stable version of Wine to run. So, if you don't have this installed. Now we will only have to download the latest stable package of DXVK, this one we found In the following link.
After having made the download now we are going to unzip the package just obtained, this can be done with from your desktop environment or from the terminal itself by executing in the following command:
tar -xzvf dxvk-1.7.0.tar.gz
Then we access the folder with:
And we execute the sh command to run the install script:
sudo sh setup-dxvk.sh install
setup-dxvk.sh install --without-dxgi
When installing DXVK in a prefix of Wine. The advantage is that Wine vkd3d can be used for D3D12 games and DXVK for D3D11 games.
Also, the new script allows the dll to be installed as symbolic links, making it easier to update the DXVK to get more Wine prefixes (you can do this via the –symlink command).
How will you see the folder DXVK contains two other dlls for 32 and 64 bits these we are going to place them according to the following routes.
Where "user" you replace it with the username you use in your Linux distribution.
For 64 bits we put them in:
And for 32 bits in: