Open mcmah309 opened 8 months ago
The warning is harmless, that is simply the result of having multiple Vulkan drivers on a system. This is also why setting that variable globally doesn't work, because some systems have more than 1 Vulkan driver that is dynamically selected at runtime.
The chromium issue is related to the fact that chromium ships its own non-patched vulkan-loader, and since we don't have configuration files in their standard locations this does not work. I believe that it should be possible to substitute that library directly with our own version since it appears to just be an unmodified release.
Describe the bug
opt-hardware.opengl.driSupport
, or related, does not setVK_ICD_FILENAMES
as mentioned here https://github.com/NixOS/nixpkgs/blob/a31f1521f0b989e5f8eabaf4d237836d23a04706/nixos/doc/manual/configuration/gpu-accel.chapter.md?plain=1#L101 . This causes a warning and possible downstream issuesSetting this variable manually removes this warning.
Steps To Reproduce
Turn on
opt-hardware.opengl.driSupport
on.Expected behavior
VK_ICD_FILENAMES
is set and Vulkan functions normally.Possibly related issue to Chromium apps on Nvidia failing. Chrome log entry even though everything else looks good in
vulkaninfo --summary
:Notify maintainers
Sorry if I tag the wrong person. @xaverdh @Kiskae @Madouura @abbradar
Metadata
Add a :+1: reaction to issues you find important.