Since latest update to kernel 5.19.16-100.fc35.x86_64 and nvidia 520-56 I’m getting the following messages in the journal.
Oct 20 11:00:47 odyssey kernel: NVRM: API mismatch: the client has the version 5
20.56.06, but
NVRM: this kernel module has the version 515.76.
Please
NVRM: make sure that this kernel module and all
NVIDIA driver
NVRM: components have the same version.
Not seeing any problems with the system just the messages in the journal over and over again.
Have you rebooted since installing the updated kernel? This can happen if you’ve updated with dnf update but haven’t rebooted, so the libraries on the filesystem are now newer than the current runtime kernel module. Rebooting into the new kernel should fix it if that’s the case.
Verify that the versions match between uname -r and the most recent kernel version from rpm -q kernel.
I had a similar note with the driver update. I had not rebooted but the driver was updated overnight. I then tried to run nvidia-smi and it failed with a message about NVRM version mismatch.
I also noted that there was an update to the nvidia firmware recently that may have been a factor as well. nvidia-gpu-firmware.noarch 20221012-141.fc36 @updates