Package Details: nvidia-390xx-dkms 390.157-7

Git Clone URL: (read-only, click to copy)
Package Base: nvidia-390xx-utils
Description: NVIDIA drivers - module sources
Upstream URL:
Licenses: custom
Submitter: svenstaro
Maintainer: jonathon (vnctdj)
Last Packager: vnctdj
Votes: 56
Popularity: 0.30
First Submitted: 2020-03-11 17:29 (UTC)
Last Updated: 2023-11-09 23:20 (UTC)

Pinned Comments

jonathon commented on 2022-05-26 09:46 (UTC)

Please don't flag this package out-of-date unless a new version has been released by NVIDIA.

jonathon commented on 2021-12-26 22:44 (UTC) (edited on 2021-12-26 22:44 (UTC) by jonathon)

The DKMS package guidelines are explicit that linux-headers should not be a dependency of any DKMS package.

As a concrete example of why including that as a hard dependency is a bad idea, what happens when linux is not an installed kernel?

jonathon commented on 2020-10-19 12:41 (UTC) (edited on 2021-05-11 14:18 (UTC) by jonathon)


I have adopted the 390xx packages to keep them secure. I do not run any 390xx hardware so will not notice any breakages and cannot test any changes.

Until such time as someone else steps up to maintain these packages - ideally someone who actually has 390xx hardware - I have to rely on you to tell me what changes are needed.

Don't expect a response if you post only "this doesn't work", and do not email me to complain about the package not working!

Use this forum thread for discussion:

A binary package is also available in my kernel-lts unofficial user repository.

Latest Comments

1 2 3 4 5 6 .. 20 Next › Last »

drankinatty commented on 2024-01-10 03:10 (UTC) (edited on 2024-01-10 03:10 (UTC) by drankinatty)

Thank Goodness! I saw 6.6 go into testing as LTS and just saw 6.7 in core-testing and had that sinking feeling again.... But if no changes are required, then the kernel module Gods have smiled upon us!

bpetlert commented on 2024-01-10 02:57 (UTC)

My system is working fine with kernel 6.7.0-1-ck-generic-v2. It seems kernel 6.7 does not require any additional patch.

erholst commented on 2023-11-27 00:02 (UTC) (edited on 2023-11-27 00:17 (UTC) by erholst)

lines with DEST_MODULE_LOCATION inside /usr/src/nvidia-390.157/dkms.conf can be removed cause they are ignored and dkms overrides it with its own hardcoded location (/updates/dkms). proof:

drankinatty commented on 2023-11-10 09:34 (UTC) (edited on 2023-11-10 09:34 (UTC) by drankinatty)

Great job. Both versions of the patch posted were identical in changes. Yours to and the one posted by @Wargoth. I'll grab your PKGBUILD and compare. All I did was create the kernel-6.6.patch file and add it to prepare() just below the kernel-6.5.patch and bumbed the $pkgrel by 1. Generated the b2sums, updated the PKGBUILD with the new sums, built and then installed the new nvidia-390xx-dkms, nvidia-390xx-utils and opencl-nvidia-390xx (optional).

Then when the update with linux-6.6 hit, it was just a normal update -- just the way I like it.

vnctdj commented on 2023-11-09 23:10 (UTC)

I've just integrated canolucas' patch, thanks to him and to everyone who tested the patch!

drankinatty commented on 2023-11-09 05:21 (UTC)

@canolucas patch worked perfectly. Just did the linux-6.6.1 update, dkms built the module without complaint, on reboot, the display is up and running. Let's hope 6.7 is as tame. Great job!

air-g4p commented on 2023-11-08 07:25 (UTC) (edited on 2023-11-08 11:07 (UTC) by air-g4p)

@canolucas - thanks for your and Ike Devolder's efforts. nvidia-390xx-utils now compiles, installs and operates correctly against 6.6.0-arch1-1.

As a heads up to everyone, if you are going use Ike's new PKGBUILD, note the file verification change from b2sums in the current version versus sha512sums in the new version.


canolucas commented on 2023-11-08 02:57 (UTC) (edited on 2023-11-08 02:58 (UTC) by canolucas)

@air-g4p looks like your build failed because of the error: ‘drm_gem_prime_handle_to_fd’ undeclared. You need to apply the patch correctly or manually remove the following line from nvidia-drm-drv.c (line 708 aprox) .prime_handle_to_fd = drm_gem_prime_handle_to_fd,

Here is a working PKGBUILD for reference:

air-g4p commented on 2023-11-07 14:59 (UTC)

Appreciate the 6.6 patch efforts, but for me it fails this way:

==> dkms install --no-depmod nvidia/390.157 -k 6.6.0-arch1-1
Error! Bad return status for module build on kernel: 6.6.0-arch1-1 (x86_64)
Consult /var/lib/dkms/nvidia/390.157/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/390.157 -k 6.6.0-arch1-1' exited 10

make.log, here:

Please let me know if you spot the issue.


canolucas commented on 2023-11-06 20:12 (UTC)

@drankinatty @Wargoth That's awesome news, thanks for the feedback. I also tested it using the latest kernel from core-testing, its working fine so far. If no other changes are needed, I think we are ready for pushing to git. Please comment if you think otherwise or if any compilation fails.