Skip to content

Instantly share code, notes, and snippets.

@sxiii
Last active December 19, 2021 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sxiii/ffb14820152c419adeb6b7a32211b17f to your computer and use it in GitHub Desktop.
Save sxiii/ffb14820152c419adeb6b7a32211b17f to your computer and use it in GitHub Desktop.
Nvidia Arch Linux DXVK Debug (run World War Z Aftermatch on Arch Linux with hardware directx/proton acceleration)

Story

I've got some games stopped working on ArchLinux (Garuda) via Steam -> Vulkan/Proton -> DXVK It was hard to debug but finally I did it

Originally I tried to reinstall steam, game, proton, try different versions etc but nothing helped At some point I found out that game launches with PROTON_USE_WINED3D=1 %command% argument in steam game properties However, the performance of the game was really bad and textures was kinda wrong and too dark

So I found out the problem: Nvidia does not like amd vulkan files to be installed. I don't know how they got into my laptop, here's how I found it: Run vulkaninfo (vulkan-tools package) in CLI If it errors out with something like ERROR vulkaninfo.h:689:vkCreateInstance failed with ERROR_OUT_OF_HOST_MEMORY it probaly means that you got amd vulkan installed Remove AMD files: pacman -Rs amdvlk lib32-amdvlk Reference https://bbs.archlinux.org/viewtopic.php?id=262694 Now run the game again and it should work OK If it does not, try update system packages and reinstall nvidia driver, or game files, fetch recent proton (6.21-ge) etc.

Maybe useful parameters to test

  • PROTON_USE_WINED3D11=1
  • PROTON_USE_WINED3D=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment