I have an older nvidia card and I'm using the proprietary drivers with akmod from rpmfusion.
akmod-nvidia-340xx-340.107-8.fc30.x86_64 xorg-x11-drv-nvidia-340xx-kmodsrc-340.107-4.fc30.x86_64 xorg-x11-drv-nvidia-340xx-libs-340.107-4.fc30.x86_64 xorg-x11-drv-nvidia-340xx-340.107-4.fc30.x86_64 kmod-nvidia-340xx-5.2.18-200.fc30.x86_64-340.107-8.fc30.x86_64
Every time the kernel gets updated, akmod does its thing, builds the kmod-nvidia rpm and all is well.
Except for 5.3 kernels, akmod fails to build. For instance, in
/var/cache/akmods/nvidia-340xx/340.107-8-for-5.3.11-200.fc30.x86_64.failed.log
I see
2019/11/15 21:07:34 akmodsbuild: /tmp/akmodsbuild.LuUtkSzx/BUILD/nvidia-340xx-kmod-340.107/_kmod_build_5.3.11-200.fc30.x86_64/nv-linux.h: In function 'nv_execute_on_all_cpus': 2019/11/15 21:07:34 akmodsbuild: /tmp/akmodsbuild.LuUtkSzx/BUILD/nvidia-340xx-kmod-340.107/_kmod_build_5.3.11-200.fc30.x86_64/nv-linux.h:903:21: error: void value not ignored as it ought to be 2019/11/15 21:07:34 akmodsbuild: 903 | int __ret = on_each_cpu(func, info, wait); | ^~~~~~~~~~~
So I guess in kernel 5.3 on_each_cpu() no longer returns int, but void. The nvidia driver has not been updated to reflect that.
Do I need to wait for nvidia to fix that (if they ever do, given that this is the legacy driver) or does anyone on the fedora side do any kind of back porting that can fix it? Do I file a bug with bugzilla?
On 11/16/19 12:32 PM, Amadeus WM via users wrote:
I have an older nvidia card and I'm using the proprietary drivers with akmod from rpmfusion.
Which makes this an rpmfusion question and not a Fedora question.
Please reference https://rpmfusion.org/Howto/NVIDIA%C2%A0 https://rpmfusion.org/Howto/NVIDIA
The Legacy GeForce 8/9/200/300 section.
340xx is EOL and no longer supplied in F31. It also became unsupported in F30 with the advent of the 5.3 kernel.
You can use it with a nouveau like any video driver. I buy one a few weeks ago and works well with F30 and F31.