Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Everything.

Please be sure you check the following before attempting any steps of this guide:

  • (If there is absolutely no POST screen) Check if the monitors are correctly plugged in and powered on
  • Using off-board video (from GPU cards)

If you are experiencing the following symptoms, a NVIDIA driver re-installation may be needed to get the X11 working properly:

  • Ubuntu returns to login page after logging in with correct credentials
  • Experiencing white blinking line on the top left after BIOS loaded

Reinstalling NVIDIA drivers is a more involved procedure, and is prone to cause further driver issues if the reinstall is not needed.

Step-by-step guide:

Open up a terminal for the system:

ctrl+alt+f2 (try f1/f2/f3 if 'f2' does not work)

or

alt+(left or right arrow key)

or

SSH access (if possible)

...

If NVIDIA fails stating kernel source does not match

Check 'uname -r' to see if the system is running the latest kernel version for the NVIDIA driver installation

If NVIDIA driver fails due to running an X server

init 3
#proceed to install NVIDIA drivers 

If running cd /usr/local/CUDA_INSTALL_FILES states the directory is not found:

try 'mkdir CUDA_INSTALL_FILES'

If nouveau needs to be blacklisted:

...

1) Update necessary packages used for Ubuntu

Code Block
themeEmacs
apt -y update && apt -y upgrade && apt -y dist-upgrade

2) Download NVIDIA driver from website

Code Block
themeEmacs
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/375.39/NVIDIA-Linux-x86_64-375.39.run

3) Update permissions on the file you just downloarded

Code Block
themeEmacs
chmod 700 ./NV *tab key to fill in the rest*

4) Remove nouveau related files that prevents system from installing NVIDIA drivers

Code Block
themeEmacs
apt-get remove nvidia* && apt-get autoremove

5) Blacklist nouveau files from re-installing themselves when you restart the system

Code Block
themeEmacs
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist-nouveau.conf

...

 && echo "blacklist lbm-nouveau" >> /etc/modprobe.d/blacklist-nouveau.conf

...

 && echo "options nouveau modeset=0" >> /etc/modprobe.d/blacklist-nouveau.conf

...

 && echo "alias nouveau off" >> /etc/modprobe.d/blacklist-nouveau.conf

...

 && echo "alias lbm-nouveau off" >> /etc/modprobe.d/blacklist-nouveau.conf

...

 && echo options nouveau modeset=0 | tee -a /etc/modprobe.d/nouveau-kms.conf

6. Updates your system to boot with the settings you JUST changed

Code Block
themeEmacs
update-

...

intramfs-u

7. Reboot

Code Block
themeEmacs
reboot

8. Run this command as root user, just do it...

Code Block
themeEmacs
stop lightdm

9. Install NVIDIA driver

Code Block
themeEmacs
./NV *tab key to fill in rest*


Filter by label (Content by label)
showLabelsfalse
max5
spacesESKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("missing","black","driver","login","ubuntu","gui","screen","nvidia") and type = "page" and space = "ESKB"
labelsblack screen ubuntu gui missing login nvidia driver

...