You are not logged in.
I am trying to install Vulkan on my laptop which has I5 6300U (HD 520 integrated GPU). I've installed all the packaged mentioned in intel graphics and vulkan arch wiki entries but when running vulkaninfo it gives this output:
ERROR: [Loader Message] Code 0 : loader_get_json: Failed to open JSON file /usr/share/vulkan/icd.d/nvidia_icd.json
ERROR: [Loader Message] Code 0 : vkCreateInstance: Found no drivers!
Cannot create Vulkan instance.
This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.
ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools-1.3.245/vulkaninfo/vulkaninfo.h:677:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER
Intel's site says that HD 520 supports Vulkan so I am unsure what I'm doing wrong. I also don't know why icd loader is trying to load nvidia_icd. I dont't have any nvidia packages on my machine
Last edited by Piroks (2023-04-30 21:27:38)
Offline
Intel's site says that HD 520 supports Vulkan
https://ark.intel.com/content/www/us/en … 0-ghz.html doesn't mention vulkan and claims the processor was launched in Q3 2015 before vulkan was introduced by Khronos .
Please share the link to the page were intel states the HD 520 supports vulkan .
The output of
$ ls /usr/share/vulkan/icd.d/
$ pacman -Qs vulkan
may also be helpful .
Last edited by Lone_Wolf (2023-04-30 11:43:01)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
$ ls /usr/share/vulkan/icd.d/
intel_hasvk_icd.i686.json intel_hasvk_icd.x86_64.json intel_icd.i686.json intel_icd.x86_64.json
$ pacman -Qs vulkan
local/lib32-vulkan-icd-loader 1.3.245-1
Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/lib32-vulkan-intel 23.0.3-1
Intel's Vulkan mesa driver (32-bit)
local/vulkan-headers 1:1.3.248-1 (vulkan-devel)
Vulkan header files
local/vulkan-icd-loader 1.3.245-1
Vulkan Installable Client Driver (ICD) Loader
local/vulkan-intel 23.0.3-1
Intel's Vulkan mesa driver
local/vulkan-tools 1.3.245-1 (vulkan-devel)
Vulkan Utilities and Tools
site that mentions HD 520 Vulkan support
https://www.intel.com/content/www/us/en … phics.html
Offline
ERROR: [Loader Message] Code 0 : loader_get_json: Failed to open JSON file /usr/share/vulkan/icd.d/nvidia_icd.json
Optimus? =>
lspci
Try to set VK_ICD_FILENAMES, the skylake IGP is supposed to be supported by vulkan-intel, https://wiki.archlinux.org/title/Intel_ … stallation
Offline
I don't have anything related to optimus installed, at least it doesn't seem so.
But running works
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json vkcube
Is there a better way to permanently alter this variable, other than a simple export?
Offline
Then why is there the nvidia reference?
Please post the output of "lspci".
You'll have to export the variable if you need to explicitly define the ICD, https://wiki.archlinux.org/title/Environment_variables
Offline
$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:16.3 Serial controller: Intel Corporation Sunrise Point-LP Active Management Technology - SOL (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #3 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection I219-LM (rev 21)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
04:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
Offline
No nvidia GPU indeed…
pacman -Qs nvidia
Or is
echo $VK_ICD_FILENAMES
maybe already set to the wrong value before you change it?
Offline
I made sure before asking, that I don't have any packages related to nvidia/AMD and deleted all of them, and yeah I forgot to say that VK_ICD_FILENAMES was set by default to
$ echo $VK_ICD_FILENAMES
> /usr/share/vulkan/icd.d/nvidia_icd.json
I really would like to know why its default value is a non-existent file but setting in upon login to intel's icd fixes the issue.
Offline
There's no default value for this, it's something you're setting - somehow.
See the link I posted, in doubt "grep -r VK_ICD_FILENAMES $HOME /etc"
Offline
Found it! When I was cloning my dotfiles from my desktop to my laptop I forgot that I was setting VK_ICD_FILENAMES during login
Offline