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?

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to