Skip to content

Nvidia DKMS 430.34 seems broken on lts kernel (at least for me)

I feel like either there is something wrong with my system setup or the new nvidia-dkms package is broken, but it only seems broken on my LTS kernel (I have LTS and current 5.2.1) installed. For some reason even after multiple dkms rebuilds it is reporting a version mismatch between the module and nvidia-utils. When I boot LTS it says the kernel module is 430.26 but the utils api is 430.30. This seems to happen far to often and I can't understand if its a packaging issue or something going on with my machine.

my dkms tree looks like this:

jbrink in /var/lib/dkms/nvidia(ruby-2.6.3) λ tree .
.
├── 430.34
│   ├── 4.19.59-1-lts
│   │   └── x86_64
│   │       ├── log
│   │       │   └── make.log
│   │       └── module
│   │           ├── nvidia-drm.ko.xz
│   │           ├── nvidia.ko.xz
│   │           ├── nvidia-modeset.ko.xz
│   │           └── nvidia-uvm.ko.xz
│   ├── 5.2.1-arch1-1-ARCH
│   │   └── x86_64
│   │       ├── log
│   │       │   └── make.log
│   │       └── module
│   │           ├── nvidia-drm.ko.xz
│   │           ├── nvidia.ko.xz
│   │           ├── nvidia-modeset.ko.xz
│   │           └── nvidia-uvm.ko.xz
│   └── source -> /usr/src/nvidia-430.34
├── kernel-4.19.59-1-lts-x86_64 -> 430.34/4.19.59-1-lts/x86_64
└── kernel-5.2.1-arch1-1-ARCH-x86_64 -> 430.34/5.2.1-arch1-1-ARCH/x86_64

The modinfo for LTS:

filename:       /var/lib/dkms/nvidia/kernel-4.19.59-1-lts-x86_64/module/nvidia.ko.xz
alias:          char-major-195-*
version:        430.34
supported:      external
license:        NVIDIA
srcversion:     A3890A554A98C32DE59CD5A
alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        ipmi_msghandler
retpoline:      Y
name:           nvidia
vermagic:       4.19.59-1-lts SMP mod_unload modversions 
parm:           NvSwitchRegDwords:NvSwitch regkey (charp)
.......

I have checked version numbers on drm and modeset as well they all match, but every time i boot that LTS kernel its bitching about a version mismatch and I feel stupid at this point/

0 points3 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
cebcsj

Author

11
posts
220
comments
1
media
View profile

3 comments

Okay it looks like I am an idiot, for some reason it was just the initramfs, I don't understand why it is not generating a new one for each of my kernels though on a pacman -Syu

1 points

you need a pacman hook for that

4 points

Yah I need to look into it more, I ran mkinitfs -p linux when troubleshooting but I guess I needed to run it for each kernel. It was making me feel dumb until I just unloaded it and then loaded with insmod and file location and it came right up 😆

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.