Vulkan ignores dGPU

Hello, new member here. Apologies if this is silly but I’ve been pulling my hair out over this. I have a dual gpu gaming laptop (intel+nvidia) and upon installing cachyos both gpu drivers are already installed, but for some reason vulkan specifically ignores my dGPU because of some set rule that I cannot find or overwrite in any way.

The only way I got it working was by running VK_LOADER_DRIVERS_SELECT=intel,nvidia app-name but I want it to be permanent, echo $VK_LOADER_DRIVERS_SELECT shows only intel and running vulkaninfo --summary says “Driver “nvidia_icd.json” ignored because not selected by env var ‘VK_LOADER_DRIVERS_SELECT’". I’m using budgie desktop if it helps.

Opengl works with no issues, I’m compeltely lost so any help is really appreciated. Thank you.

Have you tried following the guide here: Dual GPU Setup Guide | CachyOS

Alternatively, you can set environment variables globally in /etc/environment.

Alternatively, you can set environment variables globally in /etc/environment.

How do I set them?