Vulkan does not works, vulkaninfo says out of memory

Hello !
I’m trying to make my steam games to work but it seems that every time I use vulkan the game crashes.
Doom crashes when I switch from opengl to vulkan and the Witcher 3 can’t launch. Other games that doesn’t use vulkan works well.

I realised that when starting steam I had this error message :

vkCreateInstance failed with error -1
BInit - Unable to initialize Vulkan!

So I checked vulkaninfo and here’s what happened :

~ >>> vulkaninfo                                                               
ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools-1.3.240/vulkaninfo/vulkaninfo.h:676:vkCreateInstance failed with ERROR_OUT_OF_HOST_MEMORY

Looking through internet I’ve found that some others that had the problem had amd vulkan installed instead of nvidia (can’t include the link in ly topic for some reason).

I am using nvidia proprietary drivers with optimus (prime rendering).
Here are all my vulkan things :

~ >>> pacman -Qqs vulkan                                                                     

Is that normal that vulkan-radeon, vulkan-amdgpu-pro are installed but not nvidia-vulkan ?
nvidia-utils is installed, by the way.

PS : as you can see I’m not a linux specialist, or a fluent english speaker, sorry if this is annoying.

Thank you very much for your help !

Hi, I had the same issue and removing these two worked for me: amdvlk lib32-amdvlk

I would remove the radeon and intel ones as well in your case. vulkan-icd-loader, lib32-vulkan-icd-loader, and nvidia-utils should be all you need.

Can you post top or htop on console and some system info ?

That was just it…

sudo pacman -Rs lib32-vulkan-radeon vulkan-amdgpu-pro vulkan-radeon amf-amdgpu-pro

And everything works after a reboot.

Sorry I didn’t mentionned my configuration

OS: Manjaro Linux x86_64 
Kernel: 5.10.167-1-MANJARO 
DE: GNOME 43.2 
CPU: Intel i5-7300HQ (4) @ 3.500GHz 
GPU: NVIDIA GeForce GTX 1060 Mobile 
GPU: Intel HD Graphics 630 
Memory: 3583MiB / 15890MiB

I don’t know why I had radeon and amd vulkan drivers installed, but i realised that I had the package obs-studio-amf installed that wasn’t compatible with my intel/nvidia computer, so maybe installing this package without noticing made me install amf-amdgpu-pro and some dependencies.

One last thing :

~ >>> pacman -Qqs amdgpu                                                       

Do I also uninstall those ?
Thank you all for your help. I guess posting top or htop isn’t usefull anymore.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.