Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

When you are installing NVIDIA drivers, and it complains you have Nouveau running. Some GUI related issues with CentOS 7 included in this article.

Step-by-step guide

Open up a terminal

  1. Search for your OS's blacklist '.conf' file and edit it
    I found mine at '/usr/lib/modprobe/dist-blacklist.conf'
  2. Add 'blacklist nouveau' at the end of the 'frame-buffers' list
  3. 'dracut -f', then wait until you can use your terminal again
  4. Reboot your system
  5. Be sure to 'init 3' again, then try to install your NVIDIA drivers again


What it looks like:

[exxact@localhost exx]# sudo -s nano /usr/lib/modprobe.d/dist-blacklist.conf


##add 'blacklist nouveau' at end of '# framebuffer drivers' list
...
...
blacklist nouveau
##save changes


[root@localhost ~]# dracut -f
##wait a few seconds until your terminal is responsive again


[root@localhost ~]# reboot
##rebooting


[exxact@localhost ~]# init 3
[exxact@localhost ~]# ./NVIDIA*
##Done

GUI issues

Sometimes the GUI does not display properly when:

  • Re-installing NVIDIA drivers
  • Using VGA with NVIDIA drivers installed, while on CentOS 7.x

If you get video issues like CentOS loading bar get stuck or can only see the CentOS 7.x background with no login prompt, try to access a terminal (press Ctrl-Alt-F2), and try the following.

NOTE: After performing the NVIDIA driver installation, you may start to get a i8042: No Controller Found pop-up before the OS loads, and when powering off the system. The notification does appear, but does not hinder the system's ability to reach the OS or power off normally.


Onboard Video
[exxact@localhost ~]# rm -rf /etc/X11/xorg.conf
[exxact@localhost ~]# startx
##Check for video on your monitor by switching the monitor to VGA video source... 
the input button on the monitor
Offboard Video
[exxact@localhost ~]# rm -rf /etc/X11/xorg.conf
[exxact@localhost ~]# nvidia-xconfig
##Will state missing files, but at the end says a new file was written
[exxact@localhost ~]# startx
##Check for video on your monitor by switching the mode to whatever output you are using (DVI/HDMI/DP)
the input button on the monitor
##Make sure to remove the VGA cable after making this change; so when CentOS 7 is idle, and the screen sleeps, it does
not revert back to VGA, where it will show the CentOS 7 background with no login prompt

Related articles



  • No labels