Package Base Details: nvidia-390xx

Git Clone URL: (read-only, click to copy)
Keywords: 400 500 600 GeForce nvidia
Submitter: Svenstaro
Maintainer: jonathon
Last Packager: jonathon
Votes: 50
Popularity: 7.46
First Submitted: 2020-03-11 17:30
Last Updated: 2021-01-09 14:03

Pinned Comments

jonathon commented on 2020-10-19 12:40


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:

forcegk commented on 2020-03-20 02:18

Hello, I'd recommend to you all using the nvidia-390xx-dkms package. If anyone here knows how to change the script in order for the package to recompile every time linux kernel gets updated, please let me know via email. Thank you.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 ... Next › Last »

HunabKu commented on 2020-12-18 12:41

Hi @air-g4p,

i was this problem with no mainline kernel like zen and ck in past.

Always works with mainline kernel and nvidia-390xx-dkms package.

Please consider to use them together.

air-g4p commented on 2020-12-18 07:45

Hi All,

Further proof that the patched PKGBUILD will build against any 5.10 kernel - I've got linux and linux-zen (both 5.10-X) working.

However, the same patched PKGBUILD will fail against any 5.9 kernel. I built linux-ck 5.9.14-1-ck today, and got this dkms error:

==> dkms install --no-depmod -m nvidia -v 390.138 -k 5.9.14-1-ck Error! Bad return status for module build on kernel: 5.9.14-1-ck (x86_64) Consult /var/lib/dkms/nvidia/390.138/build/make.log for more information. ==> Warning, `dkms install --no-depmod -m nvidia -v 390.138 -k 5.9.14-1-ck' returned 10

@iron_overheat - IDK anything about your kernel family, but did you try building against the project's 5.10rc kernel?


iron_overheat commented on 2020-12-17 23:34

@xtrymind , I am having the exact same errors as @air-g4p. I am using TkG patched kernel (also here), which was building fine before when changing MIT to GPL on uvm_common.c and uvm_unsupported.c.

air-g4p commented on 2020-12-17 16:02

@Zod and @xtrymind,

Yep - PKGBUILD related.

Yes, it is now very clear this is solely a 5.10 > 5.9 issue, see:

Thanks to each of you for your effort(s), which ARE appreciated!


air-g4p commented on 2020-12-17 13:53

HMMH...the 5-10.patch is still failing for me from a clean installation, see:


kernel-5.10.patch ... Passed

Please let me know if you have better ideas.


Zod commented on 2020-12-17 11:51

$dkms status nvidia, 390.138, 5.10.1-arch1-1, x86_64: installed

Thanks xtrymind

somercet commented on 2020-12-17 06:07

xtrymind: compiled, rebooted, and works. Thank you.

01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 520] (rev a1)

xtrymind commented on 2020-12-16 20:59

here is my patch for 5.10 kernel, build successfully and ran it on my pc

air-g4p commented on 2020-12-16 07:21

Hi All,

390xx-dkms ran correctly for me throughout the 5.9-X kernel series. However, after installing the 5.10 kernel today, dkms threw this error:

 ==> dkms install --no-depmod -m nvidia -v 390.138 -k 5.10.1-arch1-1
Error! Bad return status for module build on kernel: 5.10.1-arch1-1 (x86_64)
Consult /var/lib/dkms/nvidia/390.138/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m nvidia -v 390.138 -k 5.10.1-arch1-1'     returned 10

For anyone interested the entire make.log is here:

As expected, following reboot, I get the dreaded:

$ optirun glxspheres64

[  106.241443] [ERROR]Cannot access secondary GPU - error: [XORG] (EE)    Failed to load module "nouveau" (module does not exist, 0)

[  106.241494] [ERROR]Aborting because fallback start is disabled.

Please let me know if you have any thoughts about this.


xtrymind commented on 2020-12-15 23:11

@iron_overheat try this patch

but i'm stuck with ERROR: modpost: "swiotlb" [/linux/nvidia-390xx/src/NVIDIA-Linux-x86_64-390.138-no-compat32/kernel/nvidia.ko] undefined!