Created
May 8, 2020 15:02
-
-
Save shdbwa/f853fe589f6112de5e56b8aa0867b3fe to your computer and use it in GitHub Desktop.
Quick script to reload nvidia-uvm kernel module, failling after sleep.
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
#!/bin/sh | |
# Quick script to reload nvidia-uvm kernel module, failling after sleep. | |
# | |
# NVIDIA KERNEL | |
# 440.82 5.3.0-51 | |
# | |
echo "# Quick script to reload nvidia-uvm kernel module, failling after sleep." | |
echo "#### RUN THIS AS ROOT! ####" | |
echo "#### Remove nvidia_uvm module ####" | |
sudo rmmod nvidia_uvm | |
echo "#### Reload nvidia_uvm module ####" | |
sudo modprobe nvidia_uvm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment