Last active
January 25, 2022 13:01
-
-
Save ptheywood/6bdef9094f41d4e3f7d55cf8837ab0a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fixing Nvidia 4.18+ Profiling on Ubuntu 19.04 | |
1. Set module parmeter | |
``` | |
echo 'options nvidia "NVreg_RestrictProfilingToAdminUsers=0"' | sudo tee -a /etc/modprobe.d/nvidia.conf | |
``` | |
2. Rebuild intramfs. | |
``` | |
sudo update-initramfs -u | |
``` | |
## Ubuntu 1604 | |
For 1604 it appears the module is not just nvidia but nvidia_418 (for the 418 driver.) | |
1. Set module parmeter | |
``` | |
echo 'options nvidia-418 "NVreg_RestrictProfilingToAdminUsers=0"' | sudo tee -a /etc/modprobe.d/nvidia.conf | |
``` | |
2. Rebuild intramfs. | |
``` | |
sudo update-initramfs -u | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nvidia.conf.tmp
didn't work, butnvidia.conf
did