u/Ok-Mix9649

▲ 11 r/archlinux+2 crossposts

NVIDIA DXVK/VKD3D issues fix.

Original post: https://www.reddit.com/r/linux_gaming/comments/1sxa85y/dx12_games_do_not_launch_on_nvidia_gpu_595_open/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button.

So, I had issues with NVIDIA not properly working with modern DX11/12 games through DXVK/VKD3D. I then found out that the issues stems from my nvidia gpu not being recognized as CUDA device.

Eventually, the issue was fixed by removing `page_poison=1` from boot kernel parameters (you typically find it in `/etc/modprobe/*` or `/etc/default/grub`). Second issue was the `nvidia_uvm` (on debian, it's `nvidia-current-uvm`) not being loaded at boot (you can load it manually after boot, or add it to `/etc/initramfs-tools/modules` for debian or `/etc/mkinitcpio.conf` for arch).

I tested the fix on arch and debian. Both work great! This post is for those people who are striving to death to find fix for such issue (I am one of them)!

reddit.com
u/Ok-Mix9649 — 6 hours ago

Hi! I have recently joined linux gaming club! I have tested many games using heroic launcher and steam, but found that dx12 games do not work with my nvidia gpu (thus, my iGPU is forcefully utilized). I found out that the issue is particularly with vkd3d not being able to initialize nvidia gpu vulkan device on windows prefix.
But that doesn't mean that vkd3d is in fault, since I suppose that Desktop Nvidia GPUs work fine with vkd3d (dx12 games on linux) right?
The key error code in proton log: 7268.416:0148:014c:err:vkd3d-proton:vkd3d_create_vk_device: Failed to create Vulkan device, vr -3.

Do you have the same issue? (everybody with any NVIDIA gpu is welcomed).
Thanks for feedback in advance!

reddit.com
u/Ok-Mix9649 — 23 days ago