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
On Mon, 6 Nov 2017, Jerry Geis wrote:> I have uninstalled the above and reinstalled. Same issue.But did you reboot (or at least unload/load the nvidia kernel module)? jh
On Mon, 2017-11-06 at 11:32 -0500, Jerry Geis wrote:> 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. >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.
Thanks - yes I have rebooted now - and I get the same error. Next step ? Jerry
On Mon, 2017-11-06 at 12:36 -0500, Jerry Geis wrote:> Thanks - yes I have rebooted now - and I get the same error. > Next step ? >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 On Mon, Nov 6, 2017 at 12:36 PM, Jerry Geis <jerry.geis at gmail.com> wrote:> Thanks - yes I have rebooted now - and I get the same error. > Next step ? > > Jerry > > >
Jerry Geis wrote:> 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<snip> 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