Include vulkan/icd.d/nvidia_layers.json

This change includes vulkan/icd.d/nvidia_layers.json in the list of
possible graphics mounts.
This commit is contained in:
Evan Lezar 2023-11-22 13:48:58 +01:00
parent b46bc10c44
commit 7d79b311d8
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,8 @@
* Skip update of ldcache in containers without ldconfig. The .so.SONAME symlinks are still created.
* Normalize ldconfig path on use. This automatically adjust the ldconfig setting applied to ldconfig.real on systems where this exists.
* Include `nvidia/nvoptix.bin` in list of graphics mounts.
* Include `vulkan/icd.d/nvidia_layers.json` in list of graphics mounts.
* [libnvidia-container] Fix device permission check when using cgroupv2 (fixes #227)

View File

@ -73,6 +73,7 @@ func NewGraphicsMountsDiscoverer(logger logger.Interface, driverRoot string, nvi
[]string{
"glvnd/egl_vendor.d/10_nvidia.json",
"vulkan/icd.d/nvidia_icd.json",
"vulkan/icd.d/nvidia_layers.json",
"vulkan/implicit_layer.d/nvidia_layers.json",
"egl/egl_external_platform.d/15_nvidia_gbm.json",
"egl/egl_external_platform.d/10_nvidia_wayland.json",