You are not logged in.

#1 2024-11-02 05:02:24

Gabachin
Member
Registered: 2022-05-06
Posts: 105

Stale Nvidia package (Resolved)

When I check the status of nvidia, I get

 nvidia/550.78: broken
Error! nvidia/550.78: Missing the module source directory or the symbolic link pointing to it.
Manual intervention is required!
nvidia/565.57.01, 6.11.5-zen1-1-zen, x86_64: installed
nvidia/565.57.01, 6.6.59-1-lts, x86_64: installed
lspci | grep NVIDIA
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX250] (rev a1)

       

I do not understand why the 550 version even appears, since I have 565 installed.

❯ nvidia-smi
Fri Nov  1 23:11:31 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.57.01              Driver Version: 565.57.01      CUDA Version: 12.7     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce MX250           Off |   00000000:01:00.0 Off |                  N/A |
| N/A   51C    P8             N/A / 5001W |       5MiB /   2048MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A       979      G   /usr/lib/Xorg                                   4MiB |
+-----------------------------------------------------------------------------------------+

I first got this error today when I did an update with pacman. I have checked the troubleshoot section of the Arch Nvidia Wiki and several google search hits with no luck as to why this is ocurring all of a sudden.

Last edited by Gabachin (2024-11-05 19:19:07)

Offline

#2 2024-11-02 08:37:14

seth
Member
Registered: 2012-09-03
Posts: 59,009

Re: Stale Nvidia package (Resolved)

That's from dkms

pacman -Qs nvidia

and https://wiki.archlinux.org/title/Dynami … port#Usage

Also please use [code][/code] tags, not "quote" tags. Edit your post in this regard.
Also please don't use clickbait titles - they make your thread worthless for others with similar problems.
You can click "Edit" in the lower right corner of your post to fix the subject.
If you struggle with expressing the problem in the English language, you can use eg. https://deepl.com/

Online

#3 2024-11-02 15:50:03

Gabachin
Member
Registered: 2022-05-06
Posts: 105

Re: Stale Nvidia package (Resolved)

Yes, thanks. I know it is a dkms  problem since I did a dkms status to see the error. Are you saying I should do a dkms autoinstall to rebuild the modules? When I do a pacman -Syu, this happens automatically though, right?  And the error warning outputs when I do this. In any case I am not using the nvidia card on my machine; all I want to know is why the error occurs, for learning purposes. I also do not understand what you mean by "clickbait tiltles". Thanks again for your help.

Last edited by Gabachin (2024-11-02 15:52:22)

Offline

#4 2024-11-02 15:56:05

seth
Member
Registered: 2012-09-03
Posts: 59,009

Re: Stale Nvidia package (Resolved)

The subject is as generic as it gets, it doesn't provide a meaningful summary of the problem but asks you to click the thread to get a basic idea of the problem.

If you've a stale nvidia 550.78 dkms package or config, just remove that.
The error is otherwise meaningless - you don't intend to build the module anyway.

Online

#5 2024-11-02 16:48:19

Gabachin
Member
Registered: 2022-05-06
Posts: 105

Re: Stale Nvidia package (Resolved)

Got it. I just wanted to know why all of a sudden, I got the error message. Why only now?

Last edited by Gabachin (2024-11-02 16:50:46)

Offline

#6 2024-11-02 20:57:02

seth
Member
Registered: 2012-09-03
Posts: 59,009

Re: Stale Nvidia package (Resolved)

The wiki wrote:

If the package dkms is removed the information regarding previous module build files is lost. If this is the case, go through /usr/lib/modules/kernel_release and /var/lib/dkms/package_name and delete all files and directories no longer in use.

Did you remove and later re-install dkms?
You can check your pacman log if not sure.

Online

#7 2024-11-03 15:54:16

Gabachin
Member
Registered: 2022-05-06
Posts: 105

Re: Stale Nvidia package (Resolved)

No, never. I only installed dkms to use nvidia with the zen kernel. This was a few years ago. I really saw no benefit with nvidia so I switched back to intel. I did check the pacman log before posting here. It did not not show an uninstall. This is why I am stumped. Like I said, I only want to know what happened for learning purposes. Since I do not even use nvidia anymore. I suppose I could just disable nvidia in the bios (Dell Vostro i7 10) and uninstall everything nvidia-related. Thanks for pointing me to the relevant part of the wiki. I do try to read the docs before posting but sometimes they confuse me.

Offline

#8 2024-11-03 18:36:16

seth
Member
Registered: 2012-09-03
Posts: 59,009

Re: Stale Nvidia package (Resolved)

I suppose I could just disable nvidia in the bios (Dell Vostro i7 10) and uninstall everything nvidia-related.

This is neither necessary nor won't it do anything about the error at hand.

I cannot tell you why you'd get the error *now*, but you've stale 550xx dkms config around, so it'll have happend when that was supposed to be updated to 560xx or 565xx and the only thing that can pot. give a clue as to "what" has happened is your pacman log.

Online

#9 2024-11-04 00:28:04

Gabachin
Member
Registered: 2022-05-06
Posts: 105

Re: Stale Nvidia package (Resolved)

I redid a search of my pacman log and sure enough, the offending package appears:

bat /var/log/pacman.log | rg nvidia/550.78
[2024-05-04T10:01:35-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.6.30-1-lts
[2024-05-04T10:05:21-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.8.9-arch1-1
[2024-05-04T10:09:34-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.8.9-zen1-1-zen
[2024-05-09T16:57:48-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.8.9-arch1-1
[2024-05-09T16:57:49-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.6.30-1-lts
[2024-05-09T16:57:51-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.8.9-zen1-1-zen
[2024-05-09T16:58:44-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.8.9-arch1-2
[2024-05-09T17:01:07-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.6.30-2-lts
[2024-05-09T17:03:56-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.8.9-zen1-2-zen
[2024-05-19T19:27:04-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.8.9-zen1-2-zen
[2024-05-19T19:27:05-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.6.30-2-lts
[2024-05-19T19:27:06-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.8.9-arch1-2
[2024-05-19T19:28:44-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.9.1-zen1-1-zen
[2024-05-19T19:32:22-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.9.1-arch1-1
[2024-05-19T19:35:32-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.6.31-1-lts
[2024-05-23T11:52:46-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.9.1-zen1-1-zen
[2024-05-23T11:52:47-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.9.1-arch1-1
[2024-05-23T11:52:48-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.6.31-1-lts
[2024-05-23T11:55:48-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.9.1-zen1-2-zen
[2024-05-23T12:00:07-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.6.31-2-lts
[2024-05-23T12:04:33-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.9.1-arch1-2
[2024-05-26T13:07:33-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.9.1-arch1-2
[2024-05-26T13:07:34-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.6.31-2-lts
[2024-05-26T13:07:36-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.9.1-zen1-2-zen
[2024-05-26T13:08:08-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.6.32-1-lts
[2024-05-26T13:11:45-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.9.2-arch1-1
[2024-05-26T13:14:58-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.9.2-zen1-1-zen
[2024-06-02T10:18:18-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.9.2-arch1-1
[2024-06-02T10:18:19-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.9.2-zen1-1-zen
[2024-06-02T10:18:49-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.9.3-zen1-1-zen
[2024-06-02T10:22:06-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.9.3-arch1-1
[2024-06-02T12:13:37-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.9.3-zen1-1-zen
[2024-06-02T12:13:41-0600] [ALPM-SCRIPTLET] ==> dkms install --no-depmod nvidia/550.78 -k 6.9.3-zen1-1-zen
[2024-06-11T10:05:39-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.6.32-1-lts
[2024-06-11T10:05:40-0600] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/550.78 -k 6.9.3-zen1-1-zen
[2024-06-11T10:05:41-0600] [ALPM-SCRIPTLET] ==> dkms remove nvidia/550.78
[2024-06-14T09:23:08-0600] [ALPM-SCRIPTLET] File: /var/lib/dkms/nvidia/550.78/source/dkms.conf does not exist.
[2024-10-19T21:10:39-0600] [ALPM-SCRIPTLET] Error! nvidia/550.78: Missing the module source directory or the symbolic link pointing to it.
[2024-10-21T16:23:45-0600] [ALPM-SCRIPTLET] Error! nvidia/550.78: Missing the module source directory or the symbolic link pointing to it.
[2024-10-23T21:08:59-0600] [ALPM-SCRIPTLET] Error! nvidia/550.78: Missing the module source directory or the symbolic link pointing to it.
[2024-10-23T21:09:00-0600] [ALPM-SCRIPTLET] Error! nvidia/550.78: Missing the module source directory or the symbolic link pointing to it.
[2024-11-01T22:16:00-0600] [ALPM-SCRIPTLET] Error! nvidia/550.78: Missing the module source directory or the symbolic link pointing to it.
[2024-11-03T17:59:10-0600] [ALPM-SCRIPTLET] Error! nvidia/550.78: Missing the module source directory or the symbolic link pointing to it.
 | paul@arch                   

I think I know what happened now. Some time ago, I unistalled the linux kernel, keeping only zen and lts. So that kernel is gone. And so the error appears with the nvidia package. Can you explain why this happened and/or direct me to a source in the wiki? What do I need to do to correct the error? Like I said, I just want to learn about these processes.

Last edited by Gabachin (2024-11-04 00:28:29)

Offline

#10 2024-11-04 08:11:49

seth
Member
Registered: 2012-09-03
Posts: 59,009

Re: Stale Nvidia package (Resolved)

Can you explain why this happened and/or direct me to a source in the wiki? What do I need to do to correct the error?

Specifically https://wiki.archlinux.org/title/Dynami … ve_modules at the trailing notes.

But /var/lib/dkms/nvidia/550.78/source/dkms.conf once will have belonged to some (older) nvidia-dkms package that was likely not properly cleaned up w/ the 560xx update.
That incident won't be covered by your grep.

Online

#11 2024-11-05 19:18:40

Gabachin
Member
Registered: 2022-05-06
Posts: 105

Re: Stale Nvidia package (Resolved)

OK; I understand what happened. I should have R more closely TFM. Thanks for your help.

Offline

Board footer

Powered by FluxBB