Nvidia Error

Home » CentOS » Nvidia Error
CentOS 8 Comments

I am getting this error on CentOS 7.4

kernel: NVRM: API mismatch: the client has the version 384.98, but#012NVRM:
this kernel module has the version 384.90. Please#012NVRM: make sure that this kernel module and all NVIDIA driver#012NVRM: components have the same version

nvidia-detect -v Probing for supported NVIDIA devices…
[10de:1288] NVIDIA Corporation GK208 [GeForce GT 720]
This device requires the current 384.98 NVIDIA driver kmod-nvidia

I have installed elrepo:
yum-plugin-nvidia-1.0.2-1.el7.elrepo.noarch elrepo-release-7.0-3.el7.elrepo.noarch kmod-nvidia-384.98-1.el7_4.elrepo.x86_64
nvidia-x11-drv-384.98-1.el7.elrepo.x86_64
nvidia-detect-384.98-1.el7.elrepo.x86_64

How do I resolve that ?
I have uninstalled the above and reinstalled. Same issue.

Thanks,

Jerry

8 thoughts on - Nvidia Error

  • Easiest thing: reboot your machine.

    If you can’t do that, unload the nvidia module and then reload it:

    rmmod nvidia modprobe nvidia

    The underlying issue is that you have upgraded the nvidia kernel module rpm, but the loaded version was still the old one so the nvidia driver
    (in nvidia-x11-drv) was detecting the wrong version. Rebooting will solve that problem, especially if there has been a new kernel installed.

    BTW, the clue is really in the error message from the kernel, it basically tells you what needs to happen without explicitly telling you the steps to do it.

    P.

  • Does it still say that the kernel module has version 384.90?

    What version kernel is your machine running?

    Can you do ‘find /usr/lib/modules -name nvidia.ko’ to see where the nividia kernel modules are.

    P.

  • yes the error is still the .90

    I looked back, everything was working Friday… I did a yum update on Friday but did not reboot. I rebooted this morning and I have the issue. The kernel package before was NOT the 693.5.2 it was 692.2.2

    Does that help at all ? my kernel is not yet supported or something ?

    Jerry

  • Jerry Geis wrote:
    If that’s the most-current kernel, 384.90, but the NVidia driver wants 384.98, perhaps you need to downgrade kmod-nvidia until the .98
    kernel is out.

    Just guessing….

    mark

  • Hi Jerry,

    Yes, it is supported and it should work, so I’m not sure what has gone wrong for you (other than you failed to reboot after the update), but lets see if we can fix it.

    Please start by uninstalling and reinstalling the nvidia packages to see if that fixes the issue:

    yum erase kmod-nvidia nvidia-x11-drv yum install kmod-nvidia nvidia-x11-drv

    and reboot the system.

    If it’s still not working after a reboot, please could you post any error messages (again) together with the output (as root) from:

    lsinitrd -k $(uname -r) | grep nvidia.*ko

    and the output from:

    find /lib/modules/ -name nvidia*.ko

  • HI group,

    Thanks for the help… It came down to the fact that one of my software raid arrays was not synced. I fixed that, re-ran the grub2-mkconfig and rebooted and it worked.

    Thanks again.

    Jerry