I updated nvidia driver yesterday, and today when I did a restart, X would not start.
I just updated the nvidia drivers to 367.44-26.1. Along with the nvidia drivers the kernel was also updated from 4.1.27-27 to 4.1.31-30. Booting up with the old kernel does not work either.
I tried to reinstall the nvidia drivers, but still not working.
The Xorg.0.log mention nvidia 367.35 drivers
Also from the log it seems it tries to load nouveau, but fails, even though it is blacklisted.
Could not open module nouveau.
I noticed some warnings when I reinstalled the nvidia drivers
depmod: WARNING: could not open /lib/modules/4.1.12-1-default/modules.order: No such file or directory
depmod: WARNING: could not open /lib/modules/4.1.12-1-default/builtin: No such file or directory
There is only
/lib/modules/4.1.12-1-default/builtin.bin
I have tried to reinstall all the nvidia packages 3 times now. Even tried to rpm -e --nodeps remove the packages then reinstall.
From what I could read from the Xorg.0.log it loaded the nvidia driver… Or did it.
Executing startx gives me the message that nvidia_drm is not currently loaded, and nvidia_uvm is in use.
Trying the install the NVIDIA driver The Hard Way gave me some clues.
Using: nvidia-installer ncurses user interface
-> Detected 12 CPUs online; setting concurrency level to 12.
ERROR: An NVIDIA kernel module ‘nvidia-uvm’ appears to already be loaded in your kernel. This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA Persistence Daemon), but this may also happen if your kernel was configured without support for module unloading. Please be sure to exit any programs that may be using the GPU(s) before attempting to upgrade your driver. If no GPU-based programs are running, you know that your kernel supports module unloading, and you still receive this message, then an error may have occured that has corrupted an NVIDIA kernel module’s usage count, for which the simplest remedy is to reboot your computer.
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
The installation was able to go further if I stopped the service fahclient (Folding@Home) which used the nvidia_uvm.
Not sure why.
So I reinstalled the nvidia the Easy Way. Then disabled the fahclient service and X was able to start up when I rebooted.
The virtualbox drivers are installed by default and are used if the OS is installed in a VM. for a OS installed on bare metal they are not needed and there was a problem with them in some case interfering with NVIDIA update code