[Nix-dev] How to enable Vulkan on Intel?
Moritz Ulrich
moritz at tarn-vedra.de
Mon Nov 21 10:48:28 CET 2016
Hello,
The current master contains mesa-13.x which supports the new Vulkan API.
However, `vulkaninfo` complains that it can't find `libvulkan_intel.so`
on my machine (a Lenovo Thinkpad x260).
The problematic lines in `vulkaninfo` look like this:
INFO: [loader] Code 0 : Found manifest file /run/opengl-driver/share/vulkan/icd.d/intel_icd.x86_64.json, version "1.0.0"
WARNING: [loader] Code 0 : /nix/store/vjlwiln5gl7xy2mz70rn350ckw14j32l-mesa-noglu-13.0.1/lib/libvulkan_intel.so: cannot open shared object file: No such file or directory
The culprit lies in intel_icd.x86_64.json which tells it to load
"/nix/store/vjlwiln5gl7xy2mz70rn350ckw14j32l-mesa-noglu-13.0.1/lib/libvulkan_intel.so",
which doesn't exist.
My guess is that the json file should point to
/run/opengl-driver/lib/libvulkan_intel.so instead. This file exists on
my setup.
Am I doing anything wrong, or is something in our packaging of
`vulkan-loaders` broken?
Cheers
Moritz
More information about the nix-dev
mailing list