primus_vk: GTA V using proton and DXVK does not run
I have set up primus_vk on Arch Linux using the modifications discussed in this issue #5. Arch Linux does not ship vulkan-smoketest, but I am able to run vulkan-info and vk-cube with my 960m using optirun (I have ENABLE_PRIMUS_LAYER=1 set in my profile).
optirun vulkaninfo does give an error after printing out the expected information:
/build/vulkan-tools/src/Vulkan-Tools/vulkaninfo/vulkaninfo.c:3618: failed with VK_ERROR_INITIALIZATION_FAILED
Though vkcube seems to run without any problems
Adding optirun to the games in Steam’s launch options seems to have no effect however, and they act simply as they do without primus_vk. The games I have tried are No Man’s Sky and Grand Theft Auto 5 (the latter using the fix described here https://github.com/ValveSoftware/Proton/issues/37#issuecomment-415833819). In the case of No Man’s Sky the game simply does not launch, with Grand Theft Auto 5 the launcher works but complains about missing DirectX runtimes. Both games launch when using nvidia-xrun in a different tty.
My laptop has a 960m with an intel i7-6700HQ. My current versions are: nvidia 410.57-1 dxvk 0.80-2 bumblebee 3.2.1-19 primus 20151110-7 mesa 18.2.1-2 vulkan-intel 18.2.1-2 nvidia-utils 410.57-1 lib32-nvidia-utils 410.57-1
I removed the 32 bit intel vulkan driver as this seemed to be causing some issues in vulkaninfo.
Apologies if I missed something that means this shouldn’t work yet but I’ve reread the readme and the issues several times and found nothing.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 22 (13 by maintainers)
The package is up: https://www.archlinux.org/packages/multilib/x86_64/lib32-primus_vk/
@jonpas, Arch now has an official package for primus_vk: https://www.archlinux.org/packages/community/x86_64/primus_vk/
I’m using primus_vk to run GTA 5 just by using pvkrun %command% on steam, it works with good performance.
I’m now creating a lib32-primus_vk package, based on the existing one on the AUR: https://aur.archlinux.org/packages/lib32-primus-vk-git/
@appetterson @felixdoerre How do you make GTA5 run using this? I have Ni no Kuni 2 and all Naruto games working with primus_vk and dxvk and Proton using this run command
PROTON_LOG=1 ENABLE_PRIMUS_LAYER=1 PRIMUS_VK_MULTITHREADING=1 DXVK_HUD=1 primusrun %command%
and when I try GTA5 it goes to the launcher, then it launches, then there is a black screen, then the game crashes Here’s the 200 lines before and after Wine backtrace from the log provided from steam: gta.log What is interesting is this backtrace:Why did it call
libvulkan_intel.so
? Isn’t it should use Nvidia card?GTA5 runs with Proton and dxvk using nvidia-xrun though