Vulkan loader reports one physical device even though no GPU is present
System information
- OS: Ubuntu 20.04
- GPU: 62:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. Integrated Matrox G200eW3 Graphics Controller (rev 04)
- Kernel version: 5.4.0-31-generic
- Mesa version: 20.0.4
- Xserver version (if applicable): N/A
- Desktop manager and compositor: N/A
If applicable
- DXVK version: N/A
- Wine/Proton version: N/A
Describe the issue
When I run glfwinfo -m 3 -n 3
from GLFW, I’d expect to see no Vulkan physical device since there is no Intel or AMD GPU in this computer.
Instead I’m getting a segfault due to vkEnumeratePhysicalDevices()
returning that one physical device is present, and a subsequent vkGetPhysicalDeviceProperties()
on the returned physical device segfaults.
Regression
Did it used to work?
No idea, this is the first time I try to use this server for llvmpipe stuff (unrelated to this issue).
Log files as attachment
- Backtrace
(gdb) bt
#0 0x00007ffff139d4f4 in vkGetPhysicalDeviceProperties ()
from /lib/x86_64-linux-gnu/libvulkan.so.1
#1 0x000055555556fb1e in main (argc=5, argv=0x7fffffffeb58)
at ../tests/glfwinfo.c:844
Any extra information would be greatly appreciated
Setting VK_ICD_FILENAMES
to either of the icd files always gives me one physical device, which would lead me to think both anv and radv are at fault, or some shared code.
Edit: VK_ICD_FILENAMES=
or VK_ICD_FILENAMES=/foo
gives me “Vulkan required instance extensions: missing”, while VK_ICD_FILENAMES=/foo.json
gives me “Vulkan loader: missing”, neither file exist. But then they don’t segfault.