Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

...

Instructions for Ubuntu 14.04

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-initramfs -u

7. Reboot

Code Block
themeEmacs
reboot

8. Run this command as root user

Code Block
themeEmacs
service lightdm stop

or

systemctl stop lightdm.service

If Ubuntu 16.04, it is 'service lightdm stop' instead

9. Install NVIDIA driver

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

Re-installing drivers (Ubuntu 16.x)

  1. Download '.run' driver from NVIDIA site, or use '.run' driver in '/home' folder
  2. Exit GUI and stop all NVIDIA-related services; perform the following commands in text/console mode

    Code Block
    themeEmacs
    ##To stop the GUI, used command:
    systemctl stop lightdm


  3. Run '.run' file as root

Re-installing drivers (If using NVIDIA-docker) (Ubuntu 16.x)

  1. Download '.run' driver from NVIDIA site, or use '.run' driver in '/home' folder
  2. Exit GUI and stop all NVIDIA-related services; perform the following commands in text/console mode

    Code Block
    themeEmacs
    ##To stop the GUI, used command:
    systemctl stop lightdm
    
    ##To stop the docker digits, use:
    docker stop <docker ID>


  3. Run '.run' file as root

Example of looking Docker container ID

Code Block
themeEmacs
##Use command 'docker ps -a' to list docker IDs

spc@u09292017001:~$ docker ps -a
CONTAINER ID        IMAGE                 COMMAND              CREATED             STATUS              PORTS                              NAMES
4ddbe2048db6        nvidia/digits         "python -m digits"   10 minutes ago      Up 10 minutes       0.0.0.0:5000->5000/tcp, 6006/tcp   digits-640594574-0
1d070d81dbcb        portainer/portainer   "/portainer"         11 minutes ago      Up 11 minutes       0.0.0.0:9000->9000/tcp             portainer-304854449-0
spc@u09292017001:~$


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

...