Skip to content

Instantly share code, notes, and snippets.

@ixtiyoruz
Created December 13, 2019 08:54
Show Gist options
  • Save ixtiyoruz/46917eb0a41db8259bc059c4f72ad8cc to your computer and use it in GitHub Desktop.
Save ixtiyoruz/46917eb0a41db8259bc059c4f72ad8cc to your computer and use it in GitHub Desktop.
nvidia-persistent mode switching
1. switching nvidia to persistend mode
sudo nvidia-smi -i 0,1,2,3 -pm ENABLED
2. limiting nvidia gpu power usage
sudo nvidia-smi -pl 200
here you can put some value in wat instead of 200
@ixtiyoruz
Copy link
Author

  1. to show gpu state change automatically:
    nvidia-smi -l 1

@ixtiyoruz
Copy link
Author

this command overcomes login loop for nvidia 2080 rtx ubuntu
driver.run --dkms --no-opengl-files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment