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
…14893)

Some nvidia hardware companion utilities required access to driver
information in order to operate properly, for example and nvidia-persistenced.
  • Loading branch information
jocado authored Jan 20, 2025
1 parent 35d5fc9 commit a75e772
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 a75e772

Please sign in to comment.