Created
December 19, 2018 10:55
-
-
Save GabrielMMelo/b9c35ac50c8c2af5efd27d95a7ac9bbf to your computer and use it in GitHub Desktop.
Script thats fixes my unix-like OS problem with nvidia boards
This file contains hidden or 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
sudo apt-get install bbswitch-dkms | |
sudo vi /etc/modprobe.d/blacklist.conf | |
###### add this below | |
# Blacklist the alternative nvidia module | |
blacklist nouveau | |
# Blacklist the original nvidia module | |
blacklist nvidia | |
sudo vi /etc/modules | |
###### add this below | |
# Switch off discrete GPU | |
bbswitch load_state=0 | |
###### Update initial ramdisk | |
sudo update-initramfs -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment