The kernel included in CentOS-8 (the last time I tested it), did not properly build and run the proprietary NVIDIA drivers .. neither did the same kernel in RHEL.
What I did was shift my workstation install to the elrepo kernel-ml kernels (you might want kernel-lt .. it is latest long term kernel). I
can then build the latest NVIDIA drivers for my graphics card and use them.
I have no issues using the elrepo kernels .. those guys and gals are outstanding. All the stuff they do is great.
My card is a 1080ti .. so I have not tried building for Quadro 3100M .. but if NVIDIA has a linux driver for that, then it should build using the elrepo kernels.
Phil Perry can tell us if the NVIDIA drivers they carry actually now work for EL8 .. i stopped trying it after I switched kernels as they don’t carry drivers on elrepo for the kernel-ml or kernel-lt and I just rebuild the official NVIDIA drivers manually after every kernel update.
Thanks, Johnny Hughes
I found out, trying to install the driver, the NVIDIA installer was complaining. (I was pointed to where the latest driver for it was, by Nvidia (which surprised me a bit that they were still maintaining it actually, at least it’s the impression I have)
That was sort of my plan, to see and wait if things would work with later kernels. Fr now my desktop seems to be working ok-ish. When my desktop is up for over 10-12 hrs, there seem to be some flickering, windows that ‘switch’ focus etc, and at times the gnome desktop flat out crashes (the machine keeps running, but no gnome.
thank you! for letting me know.
Ron
The GK104GLM [Quadro K3100M] _should_ be supported by the latest NVIDIA
driver (currently v460.67) on el8. I say _should_ as I’m not 100% sure. I’m assuming your device is as below (check the device IDs with ‘pci -nn’):
I’d be interested to know which driver version NVIDIA pointed you towards?
Assuming it is supported by the latest v460.67 driver, and the above omission is a mistake, ELRepo have a driver (kmod-nvidia) which should work with the el8 distro kernel.
As Johnny says above, if you use a different kernel, such as those from elrepo, you will need to install the driver directly from NVIDIA.
Regards, Phil
Thanks Phil.
I MIGHT try shifting back to the main CentOS kernel and see if they have fixed the issue I was having loading NVIDIA drivers. If I ever have any spare time on my hands :)
I was able to build/compile the drivers with NVIDIA-Linux-x86_64-460.73.01.run on 4.18.0-240.22.1.el8_3.x86_64, it gave me a warning about pkcfg, but no other warnings/errors and seem to install, however, after booting it still didn’t use that driver, but the nouveau one
@Johnny Hughes- what version of the nVidia drivers did you have problems with, and what were the problems? I’m just curious. I have a Latitude E7450 with an M840 chipset and I’ve never had problems compiling or getting them to work under stock CentOS 8 kernels.
well I have a Dell Precision M6800/M6700 with NVIDIA Corporation GK104GLM [Quadro K3100M] (rev a1) cards
(but will try again later, I probably forgot to disable nouveau)
My card is fairly standard (gtx 1060 in a workstation). The last time i tried the base CentOS 8 Linux kernel was probably early in the 8.1 time frame. I then just shifted to kernel-ml from elrepo and starting building directly from nvidia.
I have not tried to shift back.
Not exactly an apples-to-apples comparison as I’m on Ubuntu, but just to show that Nvidia still supports this card (I’m on the same laptop –
m6700 – though lower powered GPU). I have enabled Optimus in the BIOS
and also installed bumblee for Optimus [1] support. $ ubuntu-drivers devices == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 == modalias
: pci:v000010DEd000011BEsv00001028sd0000153Fbc03sc00i00 vendor : NVIDIA
Corporation model : GK104GLM [Quadro K3000M] driver : nvidia-driver-390
– distro non-free recommended driver : nvidia-340 – distro non-free driver : nvidia-driver-418-server – distro non-free driver :
xserver-xorg-video-nouveau – distro free builtin $ dpkg -l nvidia* *bee*
| awk ‘/^(Des|\| Sta!|\||\+)/{print}; /^ii/{print}’
Desired=Unknown/Install/Remove/Purge/Hold |
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase
Dang it – formatting destroyed again… Thunderbird – The bane of email on Linux…
One more attempt:
Not exactly an apples-to-apples comparison as I’m on Ubuntu, but just to show that Nvidia still supports this card (I’m on the same laptop –
m6700 – though lower powered GPU).
I have enabled Optimus in the BIOS and also installed bumblee for Optimus [1] support.
$ dpkg -l nvidia* *bee*| awk ‘/^(Des|\| Sta!|\||\+)/{print}; /^ii/{print}’
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================================-========================-============-===============================================
ii bumblebee 3.2.1-22 amd64 NVIDIA
Optimus support for Linux ii nvidia-compute-utils-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA compute utilities ii nvidia-dkms-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA DKMS package ii nvidia-driver-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA driver metapackage ii nvidia-kernel-common-390 390.141-0ubuntu0.20.04.1
amd64 Shared files used with the kernel module ii nvidia-kernel-source-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA kernel source package ii nvidia-prime 0.8.15.3~0.20.04.1 all
Tools to enable NVIDIA’s Prime ii nvidia-settings 440.82-0ubuntu0.20.04.1
amd64 Tool for configuring the NVIDIA graphics driver ii nvidia-utils-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA driver support binaries
The attached is for a project we did about 6 months ago. Hope that this helps. Mark
—–Original Message—
Installation of Dell T7600 CentOS 7.6 Nvidia GPU Driver
Make sure that the Dell T7600 is attached to a network.
Install OS if required: Boot USB CentOS 7.6 distribution
Use arrow keys to position to ‘Install CentOS 7’
Enter
Use arrow keys to insert at the end of boot command line: nouveau.modeset=0
Build CentOS 7.6 making sure that the network is enabled during the configuration phase
Reboot making sure that the USB CentOS 7.6 distribution is removed
Common procedure: At CentOS boot prompt enter
Use arrow keys to insert at end of line starting ‘linux16’: nouveau.modeset=0
Enter
Log in, start a terminal window and become superuser
Enter: yum -y update kernel-3.10.0-1160.11.1.el7.x86_64
Enter: cd /etc/default then edit the file grub
Change: GRUB_DEFAULT=0
Append to GRUB_CMDLINE_LINUX before last “: nouveau.modeset=0
Enter: grub2-mkconfig -o /boot/grub2/grub.cfg
Enter: grub2-mkconfig -o /boot/efi/EFI/CentOS/grub.cfg
Enter Browser and go to: http://www.nvidia.com/object/unix.html
Download Nvidia Legacy Driver 390.138 and save *
Reboot making sure the 1160.11 kernel is selected
Log in, start a terminal window and become superuser
Enter: yum -y groupinstall “Development Tools”
Enter: yum -y install kernel-devel epel-release
Enter: systemctl isolate multi-user.target
Log in and become superuser
Change directory to where the Nvidia driver was saved *
Enter: sh NVIDIA-Linux-x86_64-* and answer Yes/Overwrite to everything
Reboot making sure that the 1160.11 kernel is selected
The procedure is now complete
To check the driver is installed correctly: Log in, start a terminal window and become superuser
Enter: lshw – numeric -C display
The configuration line should have: driver=nvidia
nvidia-settings can now be used to change display settings Mark
—–Original Message—–
From: CentOS Dang it – formatting destroyed again… Thunderbird – The bane of email on Linux…
One more attempt:
Not exactly an apples-to-apples comparison as I’m on Ubuntu, but just to show that Nvidia still supports this card (I’m on the same laptop –
m6700 – though lower powered GPU).
I have enabled Optimus in the BIOS and also installed bumblee for Optimus [1] support.
$ dpkg -l nvidia* *bee*| awk ‘/^(Des|\| Sta!|\||\+)/{print}; /^ii/{print}’
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================================-========================-==========
+++==-===============================================
ii bumblebee 3.2.1-22 amd64 NVIDIA Optimus support for Linux ii nvidia-compute-utils-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA compute utilities ii nvidia-dkms-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA DKMS package ii nvidia-driver-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA driver metapackage ii nvidia-kernel-common-390 390.141-0ubuntu0.20.04.1
amd64 Shared files used with the kernel module ii nvidia-kernel-source-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA kernel source package ii nvidia-prime 0.8.15.3~0.20.04.1 all Tools to enable NVIDIA’s Prime ii nvidia-settings 440.82-0ubuntu0.20.04.1
amd64 Tool for configuring the NVIDIA graphics driver ii nvidia-utils-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA driver support binaries
I know Nvidia still supports it, their helpdesk person told me. I
don’t know what optimus is, but I have 2 M6800 laptops and a M6700
SI’ll see if I can find that. Someone else told me that that RHEL/CentOS 8 just has a lot less drivers included (I don’t know if that is true though)
Hi,
so I went through the BIOS and found it under “switchable graphics”.
It was turned on, checked.
What is it Optimus does, and, … does it even matter/work in RHEL/CentOS? (the other otption has to do with the docking station display ports. It can use it when in a docking station, which mine usually is.
When I turned off Optimus, since it was on, to see if there is a difference, I had turn the Docking DP otion on else nothing would work.
Also, I looked at some CentOS 7 machines I still have, there is something there kmod-nvidia, however that is not in RHEL/CentOS 8
anymore? (has that to do with the issues of compiling the kernel menioned way earlier in this thread?)
I am trying to see if switching the state of Optimus, whatever it is,
makes a difference in gnome crashing … or not
16 thoughts on - Video Driver For NVIDIA Quadro
Have you looked at Nvidia.com? They probably have something for it unless it is truly ancient.
is that a notebook? There is a listing at nvidia.com for a K3100M at this page: https://www.nvidia.com/Download/driverResults.aspx/153717/en-us
The kernel included in CentOS-8 (the last time I tested it), did not properly build and run the proprietary NVIDIA drivers .. neither did the same kernel in RHEL.
What I did was shift my workstation install to the elrepo kernel-ml kernels (you might want kernel-lt .. it is latest long term kernel). I
can then build the latest NVIDIA drivers for my graphics card and use them.
http://elrepo.org/tiki/kernel-ml http://elrepo.org/tiki/kernel-lt
I have no issues using the elrepo kernels .. those guys and gals are outstanding. All the stuff they do is great.
My card is a 1080ti .. so I have not tried building for Quadro 3100M .. but if NVIDIA has a linux driver for that, then it should build using the elrepo kernels.
Phil Perry can tell us if the NVIDIA drivers they carry actually now work for EL8 .. i stopped trying it after I switched kernels as they don’t carry drivers on elrepo for the kernel-ml or kernel-lt and I just rebuild the official NVIDIA drivers manually after every kernel update.
Thanks, Johnny Hughes
I found out, trying to install the driver, the NVIDIA installer was complaining. (I was pointed to where the latest driver for it was, by Nvidia (which surprised me a bit that they were still maintaining it actually, at least it’s the impression I have)
That was sort of my plan, to see and wait if things would work with later kernels. Fr now my desktop seems to be working ok-ish. When my desktop is up for over 10-12 hrs, there seem to be some flickering, windows that ‘switch’ focus etc, and at times the gnome desktop flat out crashes (the machine keeps running, but no gnome.
thank you! for letting me know.
Ron
The GK104GLM [Quadro K3100M] _should_ be supported by the latest NVIDIA
driver (currently v460.67) on el8. I say _should_ as I’m not 100% sure. I’m assuming your device is as below (check the device IDs with ‘pci -nn’):
[10de:11b6] NVIDIA Corporation GK104GLM [Quadro K3100M]
That device was previously listed as supported:
https://download.nvidia.com/XFree86/Linux-x86_64/410.66/README/supportedchips.html
but I can’t find it listed on the currently supported chipset’s page, hence my doubt:
https://download.nvidia.com/XFree86/Linux-x86_64/460.67/README/supportedchips.html
I’d be interested to know which driver version NVIDIA pointed you towards?
Assuming it is supported by the latest v460.67 driver, and the above omission is a mistake, ELRepo have a driver (kmod-nvidia) which should work with the el8 distro kernel.
As Johnny says above, if you use a different kernel, such as those from elrepo, you will need to install the driver directly from NVIDIA.
Regards, Phil
Thanks Phil.
I MIGHT try shifting back to the main CentOS kernel and see if they have fixed the issue I was having loading NVIDIA drivers. If I ever have any spare time on my hands :)
I was able to build/compile the drivers with NVIDIA-Linux-x86_64-460.73.01.run on 4.18.0-240.22.1.el8_3.x86_64, it gave me a warning about pkcfg, but no other warnings/errors and seem to install, however, after booting it still didn’t use that driver, but the nouveau one
@Johnny Hughes- what version of the nVidia drivers did you have problems with, and what were the problems? I’m just curious. I have a Latitude E7450 with an M840 chipset and I’ve never had problems compiling or getting them to work under stock CentOS 8 kernels.
well I have a Dell Precision M6800/M6700 with NVIDIA Corporation GK104GLM [Quadro K3100M] (rev a1) cards
(but will try again later, I probably forgot to disable nouveau)
My card is fairly standard (gtx 1060 in a workstation). The last time i tried the base CentOS 8 Linux kernel was probably early in the 8.1 time frame. I then just shifted to kernel-ml from elrepo and starting building directly from nvidia.
I have not tried to shift back.
Not exactly an apples-to-apples comparison as I’m on Ubuntu, but just to show that Nvidia still supports this card (I’m on the same laptop –
m6700 – though lower powered GPU). I have enabled Optimus in the BIOS
and also installed bumblee for Optimus [1] support. $ ubuntu-drivers devices == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 == modalias
: pci:v000010DEd000011BEsv00001028sd0000153Fbc03sc00i00 vendor : NVIDIA
Corporation model : GK104GLM [Quadro K3000M] driver : nvidia-driver-390
– distro non-free recommended driver : nvidia-340 – distro non-free driver : nvidia-driver-418-server – distro non-free driver :
xserver-xorg-video-nouveau – distro free builtin $ dpkg -l nvidia* *bee*
| awk ‘/^(Des|\| Sta!|\||\+)/{print}; /^ii/{print}’
Desired=Unknown/Install/Remove/Purge/Hold |
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase
Dang it – formatting destroyed again… Thunderbird – The bane of email on Linux…
One more attempt:
Not exactly an apples-to-apples comparison as I’m on Ubuntu, but just to show that Nvidia still supports this card (I’m on the same laptop –
m6700 – though lower powered GPU).
I have enabled Optimus in the BIOS and also installed bumblee for Optimus [1] support.
$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd000011BEsv00001028sd0000153Fbc03sc00i00
vendor : NVIDIA Corporation model : GK104GLM [Quadro K3000M]
driver : nvidia-driver-390 – distro non-free recommended driver : nvidia-340 – distro non-free driver : nvidia-driver-418-server – distro non-free driver : xserver-xorg-video-nouveau – distro free builtin
$ dpkg -l nvidia* *bee*| awk ‘/^(Des|\| Sta!|\||\+)/{print}; /^ii/{print}’
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================================-========================-============-===============================================
ii bumblebee 3.2.1-22 amd64 NVIDIA
Optimus support for Linux ii nvidia-compute-utils-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA compute utilities ii nvidia-dkms-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA DKMS package ii nvidia-driver-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA driver metapackage ii nvidia-kernel-common-390 390.141-0ubuntu0.20.04.1
amd64 Shared files used with the kernel module ii nvidia-kernel-source-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA kernel source package ii nvidia-prime 0.8.15.3~0.20.04.1 all
Tools to enable NVIDIA’s Prime ii nvidia-settings 440.82-0ubuntu0.20.04.1
amd64 Tool for configuring the NVIDIA graphics driver ii nvidia-utils-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA driver support binaries
[1]:
http://forum.notebookreview.com/threads/linux-driver-software-support-for-m6700.696804/
Hi,
The attached is for a project we did about 6 months ago. Hope that this helps. Mark
—–Original Message—
Installation of Dell T7600 CentOS 7.6 Nvidia GPU Driver
Make sure that the Dell T7600 is attached to a network.
Install OS if required: Boot USB CentOS 7.6 distributionnouveau.modeset=0
Use arrow keys to position to ‘Install CentOS 7’
Enter
Use arrow keys to insert at the end of boot command line:
Build CentOS 7.6 making sure that the network is enabled during the configuration phase
Reboot making sure that the USB CentOS 7.6 distribution is removed
Common procedure: At CentOS boot prompt enternouveau.modeset=0 nouveau.modeset=0
Use arrow keys to insert at end of line starting ‘linux16’:
Enter
Log in, start a terminal window and become superuser
Enter: yum -y update kernel-3.10.0-1160.11.1.el7.x86_64
Enter: cd /etc/default then edit the file grub
Change: GRUB_DEFAULT=0
Append to GRUB_CMDLINE_LINUX before last “:
Enter: grub2-mkconfig -o /boot/grub2/grub.cfg
Enter: grub2-mkconfig -o /boot/efi/EFI/CentOS/grub.cfg
Enter Browser and go to: http://www.nvidia.com/object/unix.html
Download Nvidia Legacy Driver 390.138 and save *
Reboot making sure the 1160.11 kernel is selected
Log in, start a terminal window and become superuser
Enter: yum -y groupinstall “Development Tools”
Enter: yum -y install kernel-devel epel-release
Enter: systemctl isolate multi-user.target
Log in and become superuser
Change directory to where the Nvidia driver was saved *
Enter: sh NVIDIA-Linux-x86_64-* and answer Yes/Overwrite to everything
Reboot making sure that the 1160.11 kernel is selected
The procedure is now complete
To check the driver is installed correctly: Log in, start a terminal window and become superuser
Enter: lshw – numeric -C display
The configuration line should have: driver=nvidia
nvidia-settings can now be used to change display settings Mark
—–Original Message—– Dang it – formatting destroyed again… Thunderbird – The bane of email on Linux…
From: CentOS
One more attempt:
Not exactly an apples-to-apples comparison as I’m on Ubuntu, but just to show that Nvidia still supports this card (I’m on the same laptop –
m6700 – though lower powered GPU).
I have enabled Optimus in the BIOS and also installed bumblee for Optimus [1] support.
$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 == modalias : pci:v000010DEd000011BEsv00001028sd0000153Fbc03sc00i00
vendor : NVIDIA Corporation model : GK104GLM [Quadro K3000M]
driver : nvidia-driver-390 – distro non-free recommended driver : nvidia-340 – distro non-free driver : nvidia-driver-418-server – distro non-free driver : xserver-xorg-video-nouveau – distro free builtin
$ dpkg -l nvidia* *bee*| awk ‘/^(Des|\| Sta!|\||\+)/{print}; /^ii/{print}’
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================================-========================-==========
+++==-===============================================
ii bumblebee 3.2.1-22 amd64 NVIDIA Optimus support for Linux ii nvidia-compute-utils-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA compute utilities ii nvidia-dkms-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA DKMS package ii nvidia-driver-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA driver metapackage ii nvidia-kernel-common-390 390.141-0ubuntu0.20.04.1
amd64 Shared files used with the kernel module ii nvidia-kernel-source-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA kernel source package ii nvidia-prime 0.8.15.3~0.20.04.1 all Tools to enable NVIDIA’s Prime ii nvidia-settings 440.82-0ubuntu0.20.04.1
amd64 Tool for configuring the NVIDIA graphics driver ii nvidia-utils-390 390.141-0ubuntu0.20.04.1
amd64 NVIDIA driver support binaries
[1]:
http://forum.notebookreview.com/threads/linux-driver-software-support-for-m6700.696804/
Hi,
I know Nvidia still supports it, their helpdesk person told me. I
don’t know what optimus is, but I have 2 M6800 laptops and a M6700
SI’ll see if I can find that. Someone else told me that that RHEL/CentOS 8 just has a lot less drivers included (I don’t know if that is true though)
Hi,
so I went through the BIOS and found it under “switchable graphics”.
It was turned on, checked.
What is it Optimus does, and, … does it even matter/work in RHEL/CentOS? (the other otption has to do with the docking station display ports. It can use it when in a docking station, which mine usually is.
When I turned off Optimus, since it was on, to see if there is a difference, I had turn the Docking DP otion on else nothing would work.
Also, I looked at some CentOS 7 machines I still have, there is something there kmod-nvidia, however that is not in RHEL/CentOS 8
anymore? (has that to do with the issues of compiling the kernel menioned way earlier in this thread?)
I am trying to see if switching the state of Optimus, whatever it is,
makes a difference in gnome crashing … or not
thanks,
Ron