Old gpu installation thread

output-onlinepngtools output-onlinepngtools(2)

Install the nvidia driver manually on Zorin OS 16: (scroll down for Pop! OS instructions)

  1. Download the official Nvidia Driver and place it in the home folder
    Optional: rename the NVIDIA-Linux-x86_64-470.63.01.run driver to 1.run. I use 1.run because i don't want to write the whole nvidia name into the terminal (step 8 and 9).
  2. Install the build essential package, those are needed for the nvidia driver. Write in the terminal:
    sudo apt install build-essential libglvnd-dev pkg-config
  3. Disable Nouveau Nvidia driver, write in the terminal:
    sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
    Write in terminal:
    sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
  4. Check if the nouveau driver is blacklisted, write in the terminal:
    cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf
  5. After you checked, write in the terminal:

sudo update-initramfs -u

  1. Install dkms, this is needed so you don't need to reinstall the nvidia driver anymore after a kernel upgrade. Write in the terminal:

sudo apt-get install dkms

  1. Stop Desktop Manager, write in the terminal:

sudo telinit 3

  1. Make the Nvidia Driver executable (i did not have to do this step in Zorin OS 16), write in terminal:

chmod +x NVIDIA-Linux-x86_64-470.63.01.run

  1. Install the new Nvidia Driver, write in terminal:

sudo bash NVIDIA-Linux-x86_64-470.63.01.run

  1. Follow the steps in the nvidia setup
  2. The Nvidia driver is now installed, reboot with this command:

sudo reboot

  1. When you are in Zorin OS 16 check if the driver is actually installed, to check this write in the terminal:

sudo lshw -c display

  1. When the configuration says "configuration: latency=0" you have to disable secure boot in the bios.
  2. Reboot and your good to go

output-onlinepngtools output-onlinepngtools(2)

Update the nvidia driver manually on Zorin OS 16:

  1. Stop Desktop Manager, write in the terminal:

sudo telinit 3

  1. Make the Nvidia Driver executable (i did not have to do this step in zorin os 16), write in terminal:

chmod +x NVIDIA-Linux-x86_64-470.74.run

  1. Install the new Nvidia Driver.
    Write in terminal:

sudo bash NVIDIA-Linux-x86_64-470.74.run

  1. Hit everything on yes in the installer. (The new driver will delete the older driver)
  2. The Nvidia driver is now installed, reboot with this command:

sudo reboot

output-onlinepngtools(1) output-onlinepngtools(2)

Install the nvidia driver manually on Pop! OS 21.04:
First i found a tutorial online to install the nvidia driver manually on Pop! OS 20.04. This guide did not work at all for Pop! OS 21.04 and i am not sure if the tutorial online is complete, because i had to do alot more then those few steps they posted here → Upgrading NVIDIA Drivers in Pop OS 20.04 | by Nitin Reddy | Medium

  1. Download the official Nvidia Driver and place it in the home folder
    Optional: rename the NVIDIA-Linux-x86_64-470.74.run driver to 1.run
  2. Install the build essential package, those are needed for the nvidia driver.
    In terminal write:

sudo apt install build-essential libglvnd-dev pkg-config

  1. Blacklist the Nouveau Nvidia driver otherwise the nvidia driver does not work proper. In terminal write:
    sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
    In terminal write:
    sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"

  2. Check if the nouveau driver is blacklisted.
    In terminal write:
    cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf

  3. If everything is done
    In terminal write:

sudo update-initramfs -u

Now we are going to install the nvidia driver. We switch to text mode.

  1. In terminal write:

systemctl set-default multi-user.target

  1. In terminal write:

reboot

Now we have booted into text mode. Login with your username and password.

  1. Write:

sudo apt remove --purge ^nvidia-.*

  1. When the purge is done write:

sudo apt-get autoremove

  1. Remember i said to change the NVIDIA-Linux-x86_64-470.74.run to 1.run ?, to make it easier now). Write:

chmod +x ./1.run

Optional: This will uninstall traces of the older nvidia driver. Just to make sure the purge was done correctly.

sudo ./1.run --uninstall

  1. Install the nvidia driver. Write:

sudo ./1.run

  1. Hit everything on yes in the installer.
  2. When the installation is done, write:

sudo -i

  1. When you have root access, write:

systemctl set-default graphical.target

  1. Now write reboot and your good to go if you did all the steps above.
  2. To confirm it’s working open nvidia x server settings, if the driver is not in use it will not open. Also in terminal write:

sudo lshw -c display

  1. When the configuration says "configuration: latency=0" you have to disable secure boot in the bios.

output-onlinepngtools(1) output-onlinepngtools(2)

Update the nvidia driver manually on Pop! OS 21.04:

  1. In terminal write:

systemctl set-default multi-user.target

  1. In terminal write:

reboot

  1. Remember i said to change the NVIDIA-Linux-x86_64-470.74.run to 1.run ?, to make it easier now). Write:

chmod +x ./1.run

  1. Install the new Nvidia Driver.
    Write in terminal:

sudo ./1.run

  1. Hit everything on yes in the installer. (The new driver will delete the older driver)
  2. When the installation is done, write:

sudo -i

  1. When you have root access, write:

systemctl set-default graphical.target

  1. Now write reboot and your good to go if you did all the steps above.
7 Likes