GeForce 310 with RHEL 8.1 Linux

Hi,

I have a GT218 [GeForce 310] card.
The latest driver on Nvidia site is 340.107

I am planning to move to RHEL 8.1 with current kernel 4.18.0-147
But the kernel driver module does not compile on this OS.

Is it possible to use my card with the above OS?

I contacted Nvidia support, they referred me to this forum.

thanks


Thomas Stephen Lee

Please use a repo driver like rpmfusion, those are patched to work with the rhel kernels.
340 is EOL by end of this year, btw.

rpmfusion also have stopped supporting, I guess.

http://download1.rpmfusion.org/nonfree/el/updates/8/x86_64/n/

I was looking for an update from Nvidia developers before the driver goes EOL.

thanks


Thomas Stephen Lee

https://devtalk.nvidia.com/default/topic/1063002/linux/340-107-driver-compiles-but-can-t-be-loaded-on-5-1-2-kernel/post/5382981/#5382981

patch applied without errors.

and referred instructions at

to create installer.

successfully created a installer file.

but when running the patched installer,

failed at kernel module build step.

thanks


Thomas Stephen Lee

What build errors are shown?

Hi,

please see

http://bit.ly/nvidia-log

thanks


Thomas Stephen Lee

You’re running into the same compile error as here:
https://devtalk.nvidia.com/default/topic/1047179/linux/-solved-nvidia-340-107-linux-5-0-rc5-failed-to-build-kernel-module/post/5382540/#5382540
There’s also a different patch in that thread.

Hi,

please see updated error log after new patch.

http://bit.ly/nvidia-log

thanks


Thomas Stephen Lee

According to NVIDIA schedule, the 340xx driver is planned to be EOL by the end of the year.
Despite it works with the xorg-server version provided by RHEL up to 8.1, we (rpmfusion) don’t plan to introduce it for RHEL 8 and even newer Fedora.

That been said, if anyone volunteer to maintain this driver within the rpmfusion project by testing and collecting patches needed for the updated kernel, please do consider joining the efforts:
https://rpmfusion.org/Contributors

A more reliable alternative is to use nouveau instead for this hardware.

Not prefect work around.
.
Install kernel-ml (5.3)

as per

and

install NVIDIA-Linux-x86_64-340.107-kernel-5.3-patched.run

from

Most installed apps seems working except vlc from RPM Fusion.

thanks

Thomas Stephen Lee

Please report the issue with vlc to bugzilla.rpmfusion.org as it’s working fine with most RHEL users.
You might have hit something specific to you.

An easier setup that wouldn’t requires any patching is to
Use the COPR repository kwizart/kernel-longterm-4.19 using:
dnf copr enable kwizart/kernel-longterm-4.19

dnf install kernel-longterm kernel-longterm-devel

And manually fetch the akmod-nvidia-340xx xorg-11-drv-nvidia-340xx from
http://download1.rpmfusion.org/nonfree/fedora/releases/30/Everything/x86_64/os/repoview/letter_a.group.html
http://download1.rpmfusion.org/nonfree/fedora/releases/30/Everything/x86_64/os/repoview/letter_x.group.html

Also the repo you are using will switch to a newer kernel version at some point and it will likely requires others patches. Best would be to switch to the 4.19 longterm kernel instead

Reported bug to bugzilla.rpmfusion.

https://bugzilla.rpmfusion.org/show_bug.cgi?id=5472

thanks

Thomas Stephen Lee

Tried installing on 5.4 kernel.

http://bit.ly/nvidia-log-5-4

fixes/patches anyone?

thanks


Thomas Stephen Lee

Moved to this patched driver.

https://aur.archlinux.org/packages/nvidia-340xx/

VLC still not working though.

vlc working after

yum reinstall ocl-icd

as per suggestion of rpmfusion maintainer.

Hi,

the new driver from Nvidia (340.108)

https://us.download.nvidia.com/XFree86/Linux-x86_64/340.108/NVIDIA-Linux-x86_64-340.108.run

works fine on RHEL 8.1 with the default Linux kernel (4.18.0-147.3.1)

thanks


Thomas Stephen Lee

hallo my Nvidia (340.108) not install

error
make -C /lib/modules/4.18.0-240.1.1.el8_3.x86_64/build KBUILD_SRC=/usr/src/kern$
-f /usr/src/kernels/4.18.0-240.1.1.el8_3.x86_64/Makefile modules
make[3]: Entering directory ‘/usr/src/kernels/4.18.0-240.1.1.el8_3.x86_64’
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( $
echo >&2;
echo >&2 " ERROR: Kernel configuration is invalid.";
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are$
echo >&2 " Run ‘make oldconfig && make prepare’ on kernel src to fix it$
echo >&2 ;
/bin/false)
mkdir -p ./…/.tmp_versions ; rm -f ./…/.tmp_versions/*
make -f /usr/src/kernels/4.18.0-240.1.1.el8_3.x86_64/scripts/Makefile.build obj$
/usr/src/kernels/4.18.0-240.1.1.el8_3.x86_64/scripts/Makefile.build:45: /usr/sr$
make[4]: *** No rule to make target '/usr/src/kernels/4.18.0-240.1.1.el8_3.x86_$
make[3]: *** [/usr/src/kernels/4.18.0-240.1.1.el8_3.x86_64/Makefile:1544: _modu$
make[3]: Leaving directory ‘/usr/src/kernels/4.18.0-240.1.1.el8_3.x86_64’
make[2]: *** [Makefile:157: sub-make] Error 2
make[2]: Leaving directory ‘/usr/src/kernels/4.18.0-240.1.1.el8_3.x86_64’
NVIDIA: left KBUILD.

plese help me!!