Tutorial: How to Blacklist Nouveau & Install Nvidia Drivers
  • SeinraSeinra
    PMPosts: 1
    Hi guys! I've made this tutorial cuz my Driver Manager wasn't working well, hope it helps:


       1 Obviously starting with an update and upgrade:
      
            sudo apt-get update && sudo apt-get upgrade

       2  Then remove all Nvidia packages, skip this if your OS is fresh installed:

            sudo apt-get remove nvidia* && sudo apt autoremove

       3  Install some packages for build the kernel:

            sudo apt-get install dkms build-essential linux-headers-$(uname -r)

       4  Now block and disable Nouveau kernel driver:

            sudo pluma /etc/modprobe.d/blacklist.conf

       5  Insert the following lines to the blacklist.conf:

    blacklist nouveau
    blacklist lbm-nouveau
    options nouveau modeset=0
    alias nouveau off
    alias lbm-nouveau off

       6  Save and exit.

       7  Disable the Nouveau kernel 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

       8  Build the new kernel:

            sudo update-initramfs -u

       9  Reboot.

       10  After the reboot you need to exit the X Server, for that we need to stop LightDM, press Ctrl+Alt+F1 in the logging screen, log in with your user and password, after that:

            sudo service lightdm stop

       11 Now install your Nvidia driver:

            sudo apt-get install nvidia-VERSION

       12 Reboot.

    This worked for me, I have a HP G60-125NR AMD Turion X2 64bits with a Nvidia 8200M G. This tutorial may not work if you need to install "bumblebee" too, I don't know how to configure it cuz I don't need it, you will have to read somewhere else about that.

    Sorry for my bad english!



  • lxlelxle
    PMPosts: 2,656
    Installing just the headers will fix most driver manager issues prior to the latest release.