Hi! I’m pretty new to Fedora and while my first priority after installing KDE Workstation was to get the NVIDIA drivers installed, when I rebooted my computer the first time, it showed this message. I have searched around a lot online and have used both the “sudo dnf install nvidia-driver” and the RPM Fusion method (specifically the one for my graphics card) and the message still appears every time I boot my computer up. If I type any of those commands into the Konsole, it shows as already installed, and in Discover, it also shows it is enabled (specifically, the box that reads “RPM Fusion for Fedora 42- Nonfree- NVIDIA Driver” (although the two under as the debug and source are not checked).
I am on an Asus TUF Gaming FX505DD laptop, with a NVIDIA GeForce GTX 1660 Ti and AMD Radeon Vega 8 graphics cards. I’m not sure if the multiple graphics cards are what is causing this issue or what could be, I would really appreciate some help or pointed in the right direction for this! Thanks so much!
It seems that you might have installed the nvidia drivers from two different repositories. Package name nvidia-driver indicates negativo repo, later you tried to install the driver packaged by rpmfusion.
pls post the output of these two commands as pre-formatted text </> dnf list --installed \*nvidia\* and dnf repolist --enabled
First off, thank you so much!! I really appreciate it a lot. Secure boot was enabled and I enrolled the key, and the error still appeared. That would also make sense, I had been following a tutorial on setting it up so trying 2 methods would cause some conflict.
that looks good.
My bad, I guess you have generated a new key with sudo kmodgenca -a so we need to recompile the kernel modules. They will be signed with the new enrolled key.
A quick note: the kernel modules must be recompiled for each new kernel version or Nvidia drivers. This process starts automatically after the usual upgrade process has finished. So don’t reboot immediately but give the system time to finish compiling the nvidia kernel modules. It will take a few minutes.
Otherwise the system will compile the missing kernel modules at the next boot process. This will take longer as usual, so don’t panic and wait a few minutes for the login screen to appear.
Basically, the command akmods --rebuild runs in the background.