Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 6668  / 1 Year ago, sun, february 12, 2023, 12:37:36

every time I try to do nvidia-smi it takes a long time for it to show up; it turns out there should be persistence mode enabled one easy way is to just call nvidia-smi pm -1. But this does not enable it for boot.


How can I make it work on boot? I tried to run sudo nvidia-persistenced but it's the following to syslog:


 kernel: [  949.165626] NVRM: Persistence mode is deprecated and will be removed in a future release. Please use nvidia-persistenced instead.
nvidia-persistenced: Started (1994)
nvidia-persistenced: Failed to open libnvidia-cfg.so.1: libnvidia-cfg.so.1: cannot open shared object file: No such file or directory
nvidia-persistenced: Shutdown (1994)
nvidia-persistenced: Started (1997)
nvidia-persistenced: Failed to open libnvidia-cfg.so.1: libnvidia-cfg.so.1: cannot open shared object file: No such file or directory
nvidia-persistenced: Shutdown (1997)
nvidia-persistenced: Started (2041)
nvidia-persistenced: Failed to open libnvidia-cfg.so.1: libnvidia-cfg.so.1: cannot open shared object file: No such file or directory
nvidia-persistenced: Shutdown (2041)


More From » boot

 Answers
2

The following helped me to resolve error and make persistence daemon:


sudo apt install libnvidia-cfg1-510 #replace 510 with your driver version

then run the following command:


sudo nvidia-persistenced --user USER #replace USER with your username

if you just want to make it presistance for only your current session just run this:


sudo nvidia-smi -pm 1 

[#702] Sunday, February 12, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
laceanz

Total Points: 86
Total Questions: 113
Total Answers: 104

Location: Australia
Member since Thu, Jan 26, 2023
1 Year ago
laceanz questions
Tue, Apr 26, 22, 07:43, 2 Years ago
Sat, Oct 23, 21, 09:40, 3 Years ago
Sat, Nov 5, 22, 08:24, 2 Years ago
Sat, Mar 12, 22, 07:56, 2 Years ago
Tue, Mar 28, 23, 23:58, 1 Year ago
;