From f0448d53fe03b17ef65b1f12c54287ec3329ea9e Mon Sep 17 00:00:00 2001 From: h3ndrik Date: Tue, 4 Jan 2022 22:56:14 +0100 Subject: [PATCH] allow device access to gpu hardware acceleration --- conf/systemd.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index a420a86..026ad03 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -22,11 +22,12 @@ Restart=always # Details for these options: https://www.freedesktop.org/software/systemd/man/systemd.exec.html NoNewPrivileges=yes PrivateTmp=yes -PrivateDevices=yes +#PrivateDevices=yes RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK RestrictNamespaces=yes RestrictRealtime=yes DevicePolicy=closed +DeviceAllow=/dev/dri/renderD128 ProtectSystem=full ProtectControlGroups=yes ProtectKernelModules=yes