You are not logged in.

#1 2017-05-11 23:04:22

lki3d4
Member
Registered: 2017-05-11
Posts: 2

NVRM: API mismatch, nvidia and kernal update issue

Hi Archers, thank you for your help.  This morning I updated both the kernel (to 4.10.13-1-ARCH) and the Nvidia driver (to 381.22-1) and broke my system. dmesg returns the following:

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

I have tried reinstalling the driver and utils (all vanilla from the arch repos), rebuilding the kernel module using "mkinitcpio -p linux" (with the correct kernel headers installed), and tried these processes with both nvidia-dkms and with the regular nvidia driver in the repos. It seems that I can't get the kernel to boot with the 381.22 module installed no matter what I try.

uname -r returns that I am running the new kernel (i.e., I am not booting into the old config).

Any thought on how I can get the new modules to build into the kernel?  For the moment I have downgraded to nvidia v378.13.

Thanks very much.

Offline

#2 2017-05-12 14:30:15

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,153

Re: NVRM: API mismatch, nvidia and kernal update issue

For the broken installation:

uname -a
modinfo nvidia
pacman -Qi nvidia nvidia-utils
pacman -Qkk nvidia nvidia-utils

Try to unload the kernel module and reload it at runtime (eg. via ssh - you'll likely lose the console on success)

Offline

#3 2017-05-13 00:38:01

lki3d4
Member
Registered: 2017-05-11
Posts: 2

Re: NVRM: API mismatch, nvidia and kernal update issue

Thanks seth, appreciate the reply.  I ended up swapping out my kernel for LTS for the time being....Still not sure what happened, but LTS seems to be working ok for now.  Thanks again for posting.

Offline

#4 2017-05-13 12:39:00

Nektarios
Member
Registered: 2013-02-19
Posts: 90

Re: NVRM: API mismatch, nvidia and kernal update issue

I had the exact same issue. I reinstalled nvidia and nvidia-utils, ran mkinitcpio -p linux, added "nomodeset" to grub and ran grub-mkconfig -o /boot/grub/grub.cfg and rebooted and it worked well.

Offline

Board footer

Powered by FluxBB