Vkd3d not working

I’ve had a reoccurring issue with linux and vkd3d/wine. The issue is that whenever I install a new system that chance of vkd3d working is 50/50.
Currently I have a wine prefix installed on an external drive. When I connect the drive to one PC vkd3d works in the prefix, when I connect the other PC, vkd3d does not work in the prefix.
Also the .wine folder in the home directory seems to have no effect. I’ve deleted the .wine folder on both systems and nothing is effected.

dxvk/vkd3d work on one system

while the other system only works with dxvk

both using the exact same prefix and settings

In the past I used to think something was wrong with the prefix, but the issue stems from pc to pc while the prefix is working just fine. It just depends on the PC.

This why when people share instructions to install vkd3d-proton or anything else that is no good to me because the wine prefix is just fine.

Is they’re something I’m missing as how vkd3d is installed onto a system?

Also when you steam I can restore backups of all the protons and horizon zero dawn. After doing so on one PC game launches just fine, on other pc game crashes.

It’s all related to vkd3d not working, but I don’t understand why?

the current gpu’s are rtx 2060/rtx 3070

the 3070 is currently not working with vkd3d

originally I was using pop os! with 3070 and vkd3d worked, but only in my prefix with both cyberpunk 2077 and horizon zero dawn, but in steam horizon zero dawn would just crash.

now vkd3d just doesn’t work period with 3070, I currently have linux mint 20.1 installed with xanmod kernel.

Currently using dxvk 1.7.3L-03f11ba lutris 6.4 because this configuration works with Cyberpunk 2077

Latest glorious eggroll doesn’t work for me and it never works with GOG Galaxy

Sad reality as well is that no lutris install scripts seem to install vkd3d. Lutris almost seems abandoned in favor of steam-proton.

If anyone has deep knowledge on how to consistently ensure vkd3d works on a Linux system I’d be glad to here the details.

Currently using dxvk 1.7.3L-03f11ba lutris 6.4 because this configuration works with Cyberpunk 2077

Um, you said that the 3070 doesn’t work with vkd3d-proton at all anymore. If Cyberpunk 2077 is working, then that means vkd3d-proton is working.

Currently using dxvk 1.7.3L-03f11ba lutris 6.4 because this configuration works with Cyberpunk 2077

DXVK has nothing whatsoever to do with vkd3d-proton, except it needs to be a build with support for dxvk_config.dll, which should be all DXVK versions after 1.8 I think.

Also the .wine folder in the home directory seems to have no effect. I’ve deleted the .wine folder on both systems and nothing is effected.

That’s because ~/.wine has nothing to do with other wineprefixes. Every wineprefix is completely separate from every other wineprefix, and they can’t affect one another in any way.

For Steam you need to be using at least Proton 6.3-4 (or Proton Experimental), or Glorious Eggroll or TKG 6.5 or later. Especially for Cyberpunk 2077.

Sad reality as well is that no lutris install scripts seem to install vkd3d. Lutris almost seems abandoned in favor of steam-proton.

Um, that’s not a thing. Lutris doesn’t “install” vkd3d-proton into wine-prefixes. That’s not how it works, at all. Lutris comes bundled with both DXVK and vkd3d-proton. It loads them at runtime assuming you have “Enable DXVK/Vkd3d-Proton” toggled on in the “Runner Options” menu for each non-Steam game.

Also don’t use Lutris to launch Steam games, just launch them from Steam.

And Lutris isn’t remotely abandoned, it’s in active development. You seem to have some misconceptions about how Wine, DXVK, Vkd3d-Proton et al. interact with one another, that’s not anything to do with Lutris (or Steam).

And without you providing even a single log file, no one’s going to be able to help you. It’s even more sad when Lutris includes the ability to save logs to a file with like 3 clicks.

I’m getting this in my logs

244:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.0.0.
244:info:vkd3d_instance_init: vkd3d-proton - build: 946bcd7922f77bf.
244:fixme:d3d12_get_vk_physical_device: Could not find Vulkan physical device for DXGI adapter

the log ends with

wine: Call from 000000007BC2F9B8 to unimplemented function dbghelp.dll.StackWalkEx, aborting
wine: Unimplemented function dbghelp.dll.StackWalkEx called at address 000000007BC2F9B8 (thread 00fc), starting debugger…

Problem solved, both lutris and steam were loading the wrong Vulkan ICD loader. Since it’s a laptop with a 5800h and rtx 3070, both lutris and steam were selecting amd gpu rather then nvidia_icd.
Strange since, my 4800h/rtx2060 didn’t have the issue.