DXVK [GitHub], which provides a Vulkan-based D3D11 and D3D10 implementation for use in Wine has a new build out. The pace of development on this continues to absolutely mesmerise me, with each release bringing something really interesting. Reminder: See my interview with the creator of DXVK here.
New feature highlights in 0.80:
Improvements
- Added State Cache
- Direct3D Feature Level 11_1 is now supported.
- Minor overall reduction of CPU overhead.
Bug fixes
- Fixed crashes on some APU systems without dedicated video memory (#640)
- Assetto Corsa: Fixed crashes and artifacts when reflections are disabled (#648)
- Project Cars 2: Fixed crash upon loading the game (#375, #641)
About the new State Cache feature, they said this:
In order to reduce stutter on subsequent runs of an application, DXVK now caches pipeline state, which allows it to compile shaders earlier than it currently does, even if the driver's shader cache got invalidated after an update. This may temporarily cause very high CPU load.
By default, this feature is enabled, and cache files are typically created in the same directory where the game executable is located. Refer to the README for further details.
We don't know when this will be pulled into Proton for Valve's Steam Play, which is now a few versions behind. If you wish to test DXVK with Wine directly, I've no doubt Lutris will have a build up sometime soon.
Good to know, thanks. I see the one in bin, and it's around 1 MB after a brief test.
I noticed that general stutter is lower now. A lot of Ryzen cores help (DXVK reports using 12 threads for compilation):
info: DXVK: Read 627 valid state cache entries info: DXVK: Using 12 compiler threads
Last edited by Shmerl at 23 September 2018 at 7:54 pm UTC. Edited 3 times.
Yes.
If you have 8 cores ( 4c / 8t included ) and greater , it uses 3/4 of cores for that.
If you have less than 8 cores it uses half of them.
That might be true in this case; though in general (including anything mission critical), you do have to think twice, or take precautions, before using zero-point software.
Fantastic update, this has eliminated a lot of the stutter in Witcher 3 :-)
I have but one question - How does the new shader cache work with Nvidia? The games now seem to store shader cache in both the *.dxvk-cache file and Nvidia's own method (I'm using the __GL_SHADER_DISK_CACHE_PATH envvar). Do they work together or I can disable the Nvidia built in one?
Thanks for your work.
That clears it, thanks :-)
Ok so that is not part of the feature level then I suppose? (Or the Wikipedia page is wrong on 11_1 being the highest feature level for DX11).
Anyway, you are far to humble ;)
Last edited by F.Ultra at 24 September 2018 at 5:04 pm UTC
And, well, that works in games that don't need the feature, but some do need it.
Last edited by YoRHa-2B at 24 September 2018 at 5:07 pm UTC