On Sat, 18 Jun 2022 23:31:48 +0100 Barry wrote:
Try that (for the running kernel):
dnf remove kmod-nvidia-$(uname -r) akmods --akmod nvidia
As I said that does not work because the already built modules are not Deleted.
They are since akmod packages the modules in the kmod-nvidia-$(uname -r) RPM.
Thus "dnf remove kmod-nvidia-$(uname -r)" properly removes the kernel modules.
It may be you can rm the nvidia module and that may good enough to trigger the build.
No trigger in this case IMO, you should call akmods to build them.