You are not logged in.

#1 2020-11-23 20:11:49

RobinLikesToCode
Member
Registered: 2016-10-04
Posts: 50

[SOLVED] API Mismatch causes Nvidia Driver fail

In Xorg.0.log, i get

NVIDIA: Failed to initialize the nvidia kernel module.

In journalctl, i get

NVRM: API Mismatch: the client has the version 455.45.01, but
NVRM: this kernle module has the version 455.38. Please
NVRM: make sure that this kernel modula and all NVIDIA driver
NVRM: components have the same version.

I'm stumped on this one.
Should I give up and use Nouveau?

Last edited by RobinLikesToCode (2020-11-23 20:53:07)

Offline

#2 2020-11-23 20:18:02

loqs
Member
Registered: 2014-03-06
Posts: 18,922

Re: [SOLVED] API Mismatch causes Nvidia Driver fail

Did you start/restart the X server since the 455.45 package installation without rebooting?

Last edited by loqs (2020-11-23 20:18:55)

Offline

#3 2020-11-23 20:25:57

RobinLikesToCode
Member
Registered: 2016-10-04
Posts: 50

Re: [SOLVED] API Mismatch causes Nvidia Driver fail

I believe so, but I also tried rebooting after I noticed the problem.

My video is running off my CPU right now so it's slow, but I can find additional info if you need.

Offline

#4 2020-11-23 20:39:59

RobinLikesToCode
Member
Registered: 2016-10-04
Posts: 50

Re: [SOLVED] API Mismatch causes Nvidia Driver fail

Another thing that's part of this weird issue is when I go to remake my initramfs, there's now possibly missing firmware for

xchi_pci

which was not missing before.
This is probably the graphics card PCI connection.

The card isn't dead though.
I booted into windows and ran a video game and everything functions normally.

Offline

#5 2020-11-23 20:41:50

loqs
Member
Registered: 2014-03-06
Posts: 18,922

Re: [SOLVED] API Mismatch causes Nvidia Driver fail

What is the output of the following:

modinfo nvidia
uname -a
pacman -Q linux

and what package provides the nvidia module?

Offline

#6 2020-11-23 20:50:01

RobinLikesToCode
Member
Registered: 2016-10-04
Posts: 50

Re: [SOLVED] API Mismatch causes Nvidia Driver fail

"modinfo nvidia" produces

filename:       /lib/modules/5.9.9-arch1-1/extramodules/nvidia.ko.xz
alias:          char-major-195-*
version:        455.45.01
supported:      external
license:        NVIDIA
srcversion:     9596FDF4ECB68196404E921
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:
retpoline:      Y
name:           nvidia
vermagic:       5.9.9-arch1-1 SMP preempt mod_unload
parm:           NvSwitchRegDwords:NvSwitch regkey (charp)
parm:           NvSwitchBlacklist:NvSwitchBlacklist=uuid[,uuid...] (charp)
parm:           nv_cap_enable_devfs:Enable (1) or disable (0) nv-caps devfs support. Default: 1 (int)
parm:           NVreg_ResmanDebugLevel:int
parm:           NVreg_RmLogonRC:int
parm:           NVreg_ModifyDeviceFiles:int
parm:           NVreg_DeviceFileUID:int
parm:           NVreg_DeviceFileGID:int
parm:           NVreg_DeviceFileMode:int
parm:           NVreg_InitializeSystemMemoryAllocations:int
parm:           NVreg_UsePageAttributeTable:int
parm:           NVreg_RegisterForACPIEvents:int
parm:           NVreg_EnablePCIeGen3:int
parm:           NVreg_EnableMSI:int
parm:           NVreg_TCEBypassMode:int
parm:           NVreg_EnableStreamMemOPs:int
parm:           NVreg_EnableBacklightHandler:int
parm:           NVreg_RestrictProfilingToAdminUsers:int
parm:           NVreg_PreserveVideoMemoryAllocations:int
parm:           NVreg_DynamicPowerManagement:int
parm:           NVreg_DynamicPowerManagementVideoMemoryThreshold:int
parm:           NVreg_EnableUserNUMAManagement:int
parm:           NVreg_MemoryPoolSize:int
parm:           NVreg_KMallocHeapMaxSize:int
parm:           NVreg_VMallocHeapMaxSize:int
parm:           NVreg_IgnoreMMIOCheck:int
parm:           NVreg_NvLinkDisable:int
parm:           NVreg_EnablePCIERelaxedOrderingMode:int
parm:           NVreg_RegisterPCIDriver:int
parm:           NVreg_RegistryDwords:charp
parm:           NVreg_RegistryDwordsPerDevice:charp
parm:           NVreg_RmMsg:charp
parm:           NVreg_GpuBlacklist:charp
parm:           NVreg_TemporaryFilePath:charp
parm:           NVreg_AssignGpus:charp

"uname -a" produces

Linux computer 5.9.9-arch1-1 #1 SMP PREEMPT Wed, 18 Nov 2020 19:52:04 +0000 x86_64 GNU/Linux

"pacman -Q linux" produces

linux 5.9.9.arch1-1

Offline

#7 2020-11-23 20:51:39

RobinLikesToCode
Member
Registered: 2016-10-04
Posts: 50

Re: [SOLVED] API Mismatch causes Nvidia Driver fail

SOLUTION:

I solved this with:

$ sudo pacman -Rdds nvidia
$ sudo mkinitcpio -P
$ reboot
$ sudo pacman -S nvidia
$ sudo mkinitcpio -P
$ reboot

Last edited by RobinLikesToCode (2020-11-23 20:52:19)

Offline

Board footer

Powered by FluxBB