Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#69245 - [nvidia-dkms] Provides NVIDIA-MODULE instead of nvidia

Attached to Project: Arch Linux
Opened by imtbl (imtbl) - Thursday, 07 January 2021, 23:22 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 14 May 2022, 00:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Felix Yan (felixonmars)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No


Description: nvidia-dkms provides NVIDIA-MODULE instead of nvidia. I am not sure if this change is intentional or not, but it's certainly different than in the past. It means that when installing a package that requires nvidia (e.g.,, nvidia-dkms does not satisfy that dependency. Furthermore, having nvidia installed and installing nvidia-dkms (or vice versa) will no longer cause the packages to conflict and prompt for removal of the already installed package (which it obviously should).

The same is also true for nvidia-lts (provides NVIDIA-MODULE instead of nvidia), but I wasn't sure if I should open a separate report for that or not, so I didn't.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Saturday, 14 May 2022, 00:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  I quite like the current solution so I'll go with this for now.
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 29 April 2021, 22:08 GMT
Felix, opinions on this?
Comment by Felix Yan (felixonmars) - Friday, 30 April 2021, 23:38 GMT
It seems heftig introduced the change along with moving nvidia-dkms from the nvidia PKGBUILD to nvidia-utils'.

If I understand it correctly, dkms built modules are indeed not in conflict with the pre-compiled one, so both packages providing NVIDIA-MODULE instead of conflicting with each other is technically correct. I don't know which module would be used in this case, though.
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 11 May 2022, 22:53 GMT
I'm changing it to be such: nvidia-dkms will conflict and provide NVIDIA-MODULE. This will resolve ambiguities when having installed nvidia and nvidia-dkms as that would otherwise have been possible. I don't think that I'll change nvidia-lts and in fact I think I'll drop nvidia-lts (following the rest of arch for lts) and encourage users to use dkms for non-linux kernels. This will ease my workload a little while also resolving problems such as these. Third-party packages should then just depend on the NVIDIA-MODULE virtual package and everything should fall into place without ambiguities.

The suggested set of packages is now in testing. Any thoughts on this?