Created
September 14, 2017 23:14
-
-
Save hsaputra/ef096819df433834b28da8cbd3beded3 to your computer and use it in GitHub Desktop.
GPU NVIDIA remove nouveau driver
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
remove all nvidia packages ,skip this if your system is fresh installed | |
sudo apt-get remove nvidia* && sudo apt autoremove | |
install some packages for build kernel: | |
sudo apt-get install dkms build-essential linux-headers-generic | |
now block and disable nouveau kernel driver: | |
sudo vim /etc/modprobe.d/blacklist.conf | |
Insert follow lines to the blacklist.conf: | |
blacklist nouveau | |
blacklist lbm-nouveau | |
options nouveau modeset=0 | |
alias nouveau off | |
alias lbm-nouveau off | |
save and exit. | |
Disable the Kernel nouveau by typing the following commands(nouveau-kms.conf may not exist,it is ok): | |
echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf | |
build the new kernel by: | |
sudo update-initramfs -u | |
reboot | |
CTRL+ALT+F1 | |
sudo service lightdm stop | |
Run installer file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment