Page 1 of 1

CentOS doesn't load after NVIDIA drivers install

Posted: 2017/09/12 19:03:10
by Abdelrahman Said
I am testing something with the NVIDIA drivers downloaded from their website, but they don't seem to work.

I have updated, blacklisted nouveau, and installed the driver, but each time I load the OS, it stops at this point:

Code: Select all

[  OK  ] Started GNOME Display Manager.
Nothing happens afterwards.

Any ideas how can I fix this?

NOTE: I know I can use kmod-nvidia, and this is actually what I am using on my regular computer. But on this one, I need to test something with the drivers downloaded from the website.

Re: CentOS doesn't load after NVIDIA drivers install

Posted: 2017/09/14 06:15:41
by jlehtone
Boot to systemd.unit=multi-user.target and then look at the log files:
/var/log/messages
/var/log/Xorg.0.log
/var/log/gdm/

Re: CentOS doesn't load after NVIDIA drivers install

Posted: 2017/09/15 18:17:36
by Abdelrahman Said
jlehtone wrote:Boot to systemd.unit=multi-user.target and then look at the log files:
/var/log/messages
/var/log/Xorg.0.log
/var/log/gdm/
Thank you very much, jlehtone. I checked the files you mentioned, and these are some of the messages I found that are related to the NVIDIA drivers.

In both /var/log/Xorg.0.log and /var/log/gdm/:0.log, I found the same message:

Code: Select all

[    28.447] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[    28.447] (EE) NVIDIA:     system's kernel log for additional error messages and
[    28.447] (EE) NVIDIA:     consult the NVIDIA README for details.
[    28.447] (EE) No devices detected.
[    28.447] (EE) 
Fatal server error:
[    28.447] (EE) no screens found(EE)
In the /var/log/messages, these are the messages that were generated on today's boot. There are other messages from previous boot attempts, but they are mostly similar:

Code: Select all

Sep 15 18:53:48 localhost kernel: nvidia: loading out-of-tree module taints kernel.
Sep 15 18:53:48 localhost kernel: nvidia: module license 'NVIDIA' taints kernel.
Sep 15 18:53:48 localhost kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
Sep 15 18:53:48 localhost kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 247
Sep 15 18:53:48 localhost kernel: NVRM: This can occur when a driver such as: #012NVRM: nouveau, rivafb, nvidiafb or rivatv #012NVRM: was loaded and obtained ownership of the NVIDIA device(s).
Sep 15 18:53:48 localhost kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 247
Sep 15 18:53:48 localhost kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 247
Sep 15 18:53:48 localhost kernel: NVRM: This can occur when a driver such as: #012NVRM: nouveau, rivafb, nvidiafb or rivatv #012NVRM: was loaded and obtained ownership of the NVIDIA device(s).
Sep 15 18:53:48 localhost kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 247
Sep 15 18:56:34 localhost kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 247
Sep 15 18:56:34 localhost kernel: NVRM: This can occur when a driver such as: #012NVRM: nouveau, rivafb, nvidiafb or rivatv #012NVRM: was loaded and obtained ownership of the NVIDIA device(s).
Sep 15 18:56:34 localhost kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 247
Any idea what should I do here?