felixdoerre / primus_vk

Vulkan GPU-offloading layer
BSD 2-Clause "Simplified" License
230 stars 18 forks source link

`vkEnumeratePhysicalDevices reported zero accessible devices.` #90

Closed pro-anon closed 2 years ago

pro-anon commented 2 years ago

Does vulkan only run on some gpus?

❯ pvkrun vkcube
Xlib:  extension "NV-GLX" missing on display ":0".
MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
PrimusVK: Searching for display GPU:
PrimusVK: 0x561ea197a730: 32902;358
PrimusVK: Got integrated gpu!
PrimusVK: Device: Intel(R) HD Graphics 4000 (IVB GT2)
PrimusVK:   Type: 1
PrimusVK: Searching for render GPU:
PrimusVK: 0x561ea197a730.
PrimusVK: No device for the rendering GPU found. Is the correct driver installed?
PrimusVK: VK_ICD_FILENAMES not set
vkEnumeratePhysicalDevices reported zero accessible devices.

Do you have a compatible Vulkan installable client driver (ICD) installed?
Please look at the Getting Started guide for additional information.
❯ pacman -Qs icd
local/lib32-ocl-icd 2.3.1-1
    OpenCL ICD Bindings (32-bit)
local/lib32-vulkan-icd-loader 1.3.208-1
    Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/ocl-icd 2.3.1-1
    OpenCL ICD Bindings
local/vulkan-icd-loader 1.3.208-1
    Vulkan Installable Client Driver (ICD) Loader

MY gpu is NVS 5200M, I couldn't find it in any of these two websites https://developer.nvidia.com/vulkan-driver https://vulkan.gpuinfo.org/ Is this what is causing the error? I can't use vulkan on this gpu?

felixdoerre commented 2 years ago

Would you mind sharing how you solved that issue? The error message indicates that you are missing the vulkan driver of your dedicated gpu. For primus_vk to work, you need a vulkan driver for each, the integrated and the dedicated gpu, to both work.

pro-anon commented 2 years ago

@felixdoerre Turns out my gpu doesn't support vulkan, so I can't use it.