From fe7531c041dc0e01235df086cee61e832a349c32 Mon Sep 17 00:00:00 2001 From: Justin Cattle Date: Mon, 23 Dec 2024 18:07:20 +0000 Subject: [PATCH] interfaces/opengl: Enable parsing of nvidia driver information files Some nvidia hardware companion utilities required access to driver information in order to operate properly, for example and nvidia-persistenced. --- interfaces/builtin/opengl.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interfaces/builtin/opengl.go b/interfaces/builtin/opengl.go index c66fe38f7a7..cf6d2602f8c 100644 --- a/interfaces/builtin/opengl.go +++ b/interfaces/builtin/opengl.go @@ -103,6 +103,8 @@ const openglConnectedPlugAppArmor = ` # nvidia /etc/vdpau_wrapper.cfg r, @{PROC}/driver/nvidia/params r, +@{PROC}/driver/nvidia/gpus/*/information r, +@{PROC}/driver/nvidia/capabilities/mig/monitor r, @{PROC}/modules r, /dev/nvidia* rw, unix (send, receive) type=dgram peer=(addr="@nvidia[0-9a-f]*"),