You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:101)
at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:493)
at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:379)
at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:301)
at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:556)
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 herenixpkgs/nixos/doc/manual/configuration/gpu-accel.chapter.md
Line 101 in a31f152
Setting 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 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: