Don't want to see articles from a certain category? When logged in, go to your User Settings and adjust your feed in the Content Preferences section where you can block tags!
DXVK (D3D11 on Vulkan for WINE) runs Nier Automata!
Page: «3/3
  Go to:
whizse Mar 11, 2018
(Can not for the life of me get dxvk working on anything but 32bit stuff, but that's probably a problem on my end!)
Should not have blamed dxvk here! Everything Vulkan 64bit was crashing for me. Deleting ~/.cache/radv_builtin_shaders solved it.

An uneducated guess is that switching between 32- and 64bit versions of the driver confused radv? I mention it here in case anyone else runs into the same problem, since I guess this mostly concerns Wine. (Very few native 32bit Vulkan games I assume).
Julius Mar 26, 2018
I tried following this directions to get it working with Lutris:
https://forums.lutris.net/t/how-to-setup-dxvk-on-lutris/1704

But I am having issues getting my test game Nier:Automata to run, so far it just crashes at startup. Anyone has an idea what might be going wrong?
libgradev Mar 26, 2018
But I am having issues getting my test game Nier:Automata to run, so far it just crashes at startup. Anyone has an idea what might be going wrong?

Run Steam in the prefix first, then launch NieR.
Julius Mar 26, 2018
Thanks... but after some playing around with the settings it seems like disabling the steam overly did the trick?

With DXVK the overall framerate in Nier is much better, but does anyone else have this odd every 5 second or so quick stutter? I thought it was shader compiling related and would go away after some play-time, but it seems to persist. Not really major that it would not be playable, but slightly annoying.
YoRHa-2B Mar 28, 2018
I thought it was shader compiling related and would go away after some play-time, but it seems to persist.
Even if you keep running around in the same area for a while?

Pipeline compilation stutter is nasty and it will happen every time the game uses a combination of shaders that it hasn't used before, and in most games it won't go away completely.
tuubi Mar 28, 2018
Pipeline compilation stutter is nasty and it will happen every time the game uses a combination of shaders that it hasn't used before, and in most games it won't go away completely.
I assume DXVK doesn't have a shader cache of any sort (yet)? I understand you can't precompile much when you're wrapping DX11 at runtime, but a cache should help after first run. But I guess something like this wouldn't be a priority when you've got actual API features to implement.
YoRHa-2B Mar 28, 2018
It does have a shader cache and it's even being used during the first run to speed up compilation of pipelines which are similar to each other (i.e. same shaders, but different blending parameters).

If it's not that, it might also be the game itself which does have some minor stuttering issues even on Windows, especially if you haven't installed the game on an SSD.
Shmerl Mar 28, 2018
It does have a shader cache and it's even being used during the first run to speed up compilation of pipelines which are similar to each other

Just FYI in case you missed it: https://github.com/KhronosGroup/Vulkan-Ecosystem/issues/26
Julius Apr 1, 2018
Even if you keep running around in the same area for a while?

Pipeline compilation stutter is nasty and it will happen every time the game uses a combination of shaders that it hasn't used before, and in most games it won't go away completely.

Yeah, it was pretty much constant... however after updating to the March 31st compile, the stuttering seems to be gone on Nier Automata. Thanks a lot for the great work on DXVK!
Pependos Apr 3, 2018
Game crash at launch. Witcher 3 works fine, Kingdom Come: Deliverance, RiME, The Witness. Other games also crashes - GTA V, Obduction, Alan Wake. And I can't understand what N:A needs to run properly. I install wine3.5 and VulkanSDK, apply dxvk, nothing more. Any suggestions?
Julius Apr 4, 2018
Did you try to disable the steam overlay for N:A as I wrote before? That seem to have fixed the crash for me.
Pependos Apr 10, 2018
My problem solved after enabling 'virtual desktop' in winecfg and doing some tricks with resolution.
Pependos Apr 11, 2018
Good news: suddenly for me, but my DualShock3 works like a charm right out-of-the-box! Just plug-in and enjoy. Bad news: low performance. I have about 18-20 fps on most areas (especially open-air), and my game runs sooooo sloooowwwlllyyy and sssmmmooottthhh, just like in slo-mo videos, even in low settings, even with a 'performance' mode for CPU. Honestly, that's not what I expect after perfect The Witcher 3's 25 fps on max settings in Novigrad main square. Maybe there are some parameters I need to ajust? I prefer the real-time game speed with missing some frames to a 'smooth-and-slowly' game run.
YoRHa-2B Apr 11, 2018
The slow motion thing is caused by the game itself. Basically, if you drop below 30 FPS, you're screwed.

On Windows you can use the FAR mod for the game to work around it, but that doesn't work on Wine/DXVK. In general though, this game is a GPU hog that heavily favours AMD, a 950 probably just doesn't cut it. At least for 1080p.
Pependos Apr 11, 2018
Oh, thanks. And one more question. With dxvk enabled there are no other screen resolutions available except the 'virtual desktop' resolution. In clear new prefix without dxvk there are a lots of resolutions for choose. Is it normal?
YoRHa-2B Apr 11, 2018
Yes. It did actualy support multiple resolutions at one point but it didn't work properly for many games.

If you are building DXVK yourself, you can comment out these two lines and it should show all resolutions. It works in Nier, but causes trouble with most other games due to the buggy DXGI implementation.
popsulfr Apr 12, 2018
FAR mod for the game to work around it, but that doesn't work on Wine/DXVK.

Well...



This is on Windows though with DXVK enabled. Using the Special K Global Injector and only injecting after starting the game it seems to work.

Haven't tried in wine yet but I expect there to be issues with the Special K injection :(

I have to applaud the progress you've been making with DXVK, this is amazing stuff.
YoRHa-2B Apr 12, 2018
Haven't tried in wine yet but I expect there to be issues with the Special K injection
Yep, that's why it won't work. I tested this a couple of times, unsuccessfuly.

Anyway, that's some pretty awful framerate. Do you have MSAA enabled or does it really run that poorly on NV?
popsulfr Apr 12, 2018
Yep, that's why it won't work. I tested this a couple of times, unsuccessfuly.

Yeah... heh confirmed this for myself :S: Is this an issue with how Wine handles dynamic libraries ? The injector tries and I get the infamous MGS sound crash. Playing around with taskset and limiting the amount of cores does some weird stuff though, sometimes it just gets stuck or crashes later. I've seen bug reports pertaining to FAR having issues sometimes with the how the cores are used so I gave it shot.

Technically it would be feasible although a huge undertaking to merge the Special K code base with DXVK to make a special version just for NieR:A, right? I mean it works on Windows if it is injected later (but that's maybe an argument on how broken windows is sometimes :P)

Anyway, that's some pretty awful framerate. Do you have MSAA enabled or does it really run that poorly on NV?

This is without DXVK



So closer to 60 indeed. And I do not have any Anti-aliasing enabled since it doesn't play well with the Ambient Occlusion.

EDIT:

On Wine Staging 3.5 + DXVK 1fb22a6 (wrong commit, sorry) adb1789



The performance is a bit worse on Linux Wine

The only variable I have is DXVK_HUD=1.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register