From f72b80c6278ee450d5a0188eeb46ad106c9c0b70 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..f97d9845e14 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/[0-9]*:[0-9]*:[0-9]*.[0-9]*/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]*"),