Page 1 of 1

Please Help with NVIDIA Driver installation on Centos 7

Posted: 2018/10/30 10:15:18
by NomisTuo
Dear all,

First I am sorry if my post as already been treated in the past but unfortunately, I cannot find the solution to my problem in the forum...

I followed the instruction given by LinuxInside regarding the installation of kmod-nvidia and bumblebee but unfortunately the nvidia driver at the end of the process is not used.

Here is the result of the lshw -C Display on my system after the installation and configuration of kmod-nvidia and bumblebee :

Code: Select all

  *-display UNCLAIMED       
       description: VGA compatible controller
       product: GP104GL [Quadro P4000]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:21:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller cap_list
       configuration: latency=0
       resources: memory:b2000000-b2ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:6000(size=128) memory:b3080000-b30fffff
  *-display UNCLAIMED
       description: VGA compatible controller
       product: GP104GL [Quadro P4000]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:2d:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller cap_list
       configuration: latency=0
       resources: iomemory:38ff0-38fef iomemory:38ff0-38fef memory:b4000000-b4ffffff memory:38ffe0000000-38ffefffffff memory:38fff0000000-38fff1ffffff ioport:8000(size=128) memory:b5080000-b50fffff
Using also the lspci command, I got the following answer:

Code: Select all

21:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104GL [Quadro P4000] [10de:1bb1] (rev a1)
	Subsystem: Hewlett-Packard Company Device [103c:11a3]
	Kernel modules: nouveau, nvidia_drm, nvidia
--
2d:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104GL [Quadro P4000] [10de:1bb1] (rev a1)
	Subsystem: Hewlett-Packard Company Device [103c:11a3]
	Kernel modules: nouveau, nvidia_drm, nvidia
So it looks like the nvidia driver has been install (it is listed in kernel modules) but not it is not used... I found it also weird that lspci does not give me any "Kernel driver in use" for the VGA controller...

Do you have any idea?

Thank you very much in advance.

Re: Please Help with NVIDIA Driver installation on Centos 7

Posted: 2018/10/30 11:15:39
by TrevorH
Install and run nvidia-detect to make sure you have the right kmod-nvidia package installed.

Re: Please Help with NVIDIA Driver installation on Centos 7

Posted: 2018/10/30 16:22:43
by NomisTuo
Hi TrevorH,

Thank you for your reply. I already install nvidia-detect as recommended by LinuxInside... I used it to select the kmod-nvidia package to install, i.e.

Code: Select all

yum install $(nvidia-detect)
Do you have any other idea?

Thank you in advance.

Re: Please Help with NVIDIA Driver installation on Centos 7

Posted: 2018/10/31 15:04:38
by jlehtone
NomisTuo wrote:
2018/10/30 10:15:18
I followed the instruction given by LinuxInside regarding the installation of kmod-nvidia and bumblebee
As you know,
... wait, do you? Do I? "LinuxInside" rings no bells. "Bumblebee" ... relates to laptops?

There might be rationale that by referring to some foo only those that really know the foo are able to answer, and thus the quality of answers is "better" ... or you get total nonsense, like my post.


The installation from ELRepo is quite reliable, at least on desktops. Installs files, blocks nouveau, sets X11 to use the driver. You did reboot after install?

You list hardware. I would look at loaded kernel modules (lsmod) and the log of X11 (/var/log/Xorg.0.log).

Apparently two P4000 cards. (Not a laptop then?) If not laptop, why bumblebee?

Re: Please Help with NVIDIA Driver installation on Centos 7

Posted: 2018/11/05 11:12:58
by NomisTuo
Hello jlehtone,

I did not want to give the impression that I followed blindly some instruction list... I just wanted to give you the an enumeration of the actions I performed on a freshly installed centos 7.5 since I have few expresses with installing NVIDIA drivers on centos.

I installed Bumblebee in order to recover a dektop interface. Without Bumblebee during startup, my screen was stuck at blinking cursor & the very start of centos 7, i can only use command lines with ctrl+alt+f2. With Bumblebee at least I was able to get my Desktop back.

To answer your questions:
1) I reboot after the install --> as mentioned before, without Bumblebee, I got stuck at the centos startup. With Bumblebee I get a functionnal Desktop.
2) I run lsmod --> no trace of nvidia nor nouveau but the snd_hda_codec_XXX is listed (I put the complete output in attachment)
3) I put the complete Xorg.0.log file in attchment.

Thank you very in advance for your help.

Best regards.

Re: Please Help with NVIDIA Driver installation on Centos 7

Posted: 2018/11/06 06:42:51
by desertcat
NomisTuo wrote:
2018/11/05 11:12:58
Hello jlehtone,

I did not want to give the impression that I followed blindly some instruction list... I just wanted to give you the an enumeration of the actions I performed on a freshly installed centos 7.5 since I have few expresses with installing NVIDIA drivers on centos.

I installed Bumblebee in order to recover a dektop interface. Without Bumblebee during startup, my screen was stuck at blinking cursor & the very start of centos 7, i can only use command lines with ctrl+alt+f2. With Bumblebee at least I was able to get my Desktop back.

To answer your questions:
1) I reboot after the install --> as mentioned before, without Bumblebee, I got stuck at the centos startup. With Bumblebee I get a functionnal Desktop.
2) I run lsmod --> no trace of nvidia nor nouveau but the snd_hda_codec_XXX is listed (I put the complete output in attachment)
3) I put the complete Xorg.0.log file in attchment.

Thank you very in advance for your help.

Best regards.
This is all very confusing. IF this is a DESKTOP system, try removing the installed graphics card. If there are two graphics card try removing one. if there is only one card try relocating to another slot. Regardless make sure that this is an NVIDIA card to start with and then go to the Nvidia website to confirm what classification it belongs under. You should NOT have to use Bumblebee with a desktop system.

Next what are you using for a Desktop Environment?? KDE, GNOME, GNOME "Classic", etc.? For fun try installing KDE (if you are not already using it). In short try an alternate DE and see if the problem still exists. What this almost sounds like is a problem with GDM, try replacing GDM with LightDM . To install LightDM see this post:

viewtopic.php?f=47&t=67166

There is something really wrong here: Either your graphic card is improperly identified and you have the wrong driver; you are using a DE that might be unrecognized; or this is a problem with your Display Manager (GDM) which might be solved by switching to another DM light LightDM. Any or all of these might be what is causing your problem.