nvidia-driver-555/nvidia-graphics-drivers-555/debian/nvidia-open-kernel-common-555.udev
Ward from fusion-voyager-3 8ecfdaef5a
All checks were successful
PikaOS Package Build & Release (i386) / build (push) Successful in 53s
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 1m10s
fix open mods
2024-08-10 15:50:32 +03:00

10 lines
471 B
Plaintext

# Set ACLs for console users on /dev/nvidia*
# This is necessary until the driver uses some other form of auth
ENV{ACL_MANAGE}=="0", GOTO="nvidia_end"
DRIVER=="nvidia",ENV{NVIDIA_DEVICE}="1"
ENV{NVIDIA_DEVICE}!="1", GOTO="nvidia_end"
ENV{ACL_MANAGE}="1"
TEST!="/lib/libglib-2.0.so.0", GOTO="nvidia_end"
# apply ACL for all locally logged in users
TEST=="/var/run/ConsoleKit/database", RUN+="nvidia_helper --action=$env{ACTION} --device=$env{DEVNAME}"
LABEL="nvidia_end"