Skip to content

Commit

Permalink
interfaces/opengl: Enable parsing of nvidia driver information files
Browse files Browse the repository at this point in the history
Some nvidia hardware companion utilities required access to driver
information in order to operate properly, for example and nvidia-persistenced.
  • Loading branch information
jocado committed Jan 8, 2025
1 parent bc60ea4 commit fe7531c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions interfaces/builtin/opengl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]*"),
Expand Down

0 comments on commit fe7531c

Please sign in to comment.