0x1949 Team - FAZEMRX - MANAGER
Edit File: 71-u-d-c-gpu-detection.rules
# Rule installed by ubuntu-drivers-common # Remove SimpleDRM device when nvidia-drm loads. # This normally happens automatically for DRM devices that also register # a framebuffer device, but that's not the case yet for the nvidia driver. ACTION=="add", SUBSYSTEM=="module", KERNEL=="nvidia_drm", TEST=="/sys/devices/platform/simple-framebuffer.0/drm/card0", RUN+="/bin/rm /dev/dri/card0" # Create a file with the card details for gpu-manager ACTION=="add", SUBSYSTEM=="drm", DEVPATH=="*/drm/card*", RUN+="/sbin/u-d-c-print-pci-ids" # Create a file when a module is loaded ACTION=="add", SUBSYSTEMS=="pci", DRIVERS=="nvidia", RUN+="/bin/touch /run/u-d-c-nvidia-was-loaded" ACTION=="add", SUBSYSTEM=="module", KERNEL=="nvidia_drm", RUN+="/bin/touch /run/u-d-c-nvidia-drm-was-loaded"