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: 42
Popularity: 4.20
First Submitted: 2020-03-11 17:30
Last Updated: 2020-10-19 00:55

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!

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 »

rokero commented on 2020-08-27 10:19

[ 495.021820] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.

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

problem driver, no detected secundary GPU.

onyx67 commented on 2020-08-18 14:36

problem solved with the version >> nvidia-390xx-dkms 390.138-5

air-g4p commented on 2020-08-17 04:37

@ forcegk,

nvidia-390xx-dkms 390.138-5 compiled and installed correctly against all four of my kernels:

==> dkms install --no-depmod -m nvidia -v 390.138 -k 5.8.1-zen1-1-zen ==> dkms install --no-depmod -m nvidia -v 390.138 -k 5.7.15.a-1-hardened ==> dkms install --no-depmod -m nvidia -v 390.138 -k 5.8.1-arch1-1 ==> dkms install --no-depmod -m nvidia -v 390.138 -k 5.7.14-1-ck

Thank you for your good work done here!

deliodc commented on 2020-08-16 21:55


onyx67 commented on 2020-08-16 09:57

I had an error during the update.It seems that the sources are no longer compatible with the latest Linux kernel. Here is the error during the update:

dkms install --no-depmod -m nvidia -v 390.138 -k 5.8.1-arch1-1 [2020-08-15T15:12:48+0200] [ALPM-SCRIPTLET] Error! Bad return status for module build on kernel: 5.8.1-arch1-1 (x86_64) 2020-08-15T15:12:48+0200] [ALPM-SCRIPTLET] Consult /var/lib/dkms/nvidia/390.138/build/make.log for more information. [2020-08-15T15:12:48+0200] [ALPM-SCRIPTLET] ==> Warning, `dkms install --no-depmod -m nvidia -v 390.138 -k 5.8.1-arch1-1' returned 10

The last few lines of the log: make [2]: [scripts/ /var/lib/dkms/nvidia/390.138/build/nvidia/nv-instance.o] Error 1 make [2]: Waiting for unfinished business... make [2]: [scripts/ /var/lib/dkms/nvidia/390.138/build/nvidia/nv-gpu-numa.o] Error 1 make [2]: [scripts/ /var/lib/dkms/nvidia/390.138/build/nvidia/nv-frontend.o] Error 1 make [2]: [scripts/ /var/lib/dkms/nvidia/390.138/build/nvidia/nv.o] Error 1 make [1]: [Makefile:1756: /var/lib/dkms/nvidia/390.138/build] Error 2 make[1]: exit the directory "/usr/lib/modules/5.8.1-arch1-1/build". make: *** [Makefile:81: modules] Error 2

SimPS commented on 2020-08-15 06:18

@adriaticc how should I use this patch? I don't know, could you please explain me?

adriaticc commented on 2020-08-15 06:10

@forcegk This simplified patch skips the stuff and just adapts __vmalloc and mmap_sem. I did this before I noticed the Debian patch, which I assume is more complicated because Debian kernels are more heavily patched, meaning they have to actually check the args of __vmalloc rather than going by the kernel version.

diff -ur NVIDIA-Linux-x86_64-390.138-no-compat32/kernel/common/inc/nv-linux.h NVIDIA-Linux-x86_64-390.138-no-compat32.patched/kernel/common/inc/nv-linux.h
--- NVIDIA-Linux-x86_64-390.138-no-compat32/kernel/common/inc/nv-linux.h    2020-08-14 22:55:11.263087850 -0700
+++ NVIDIA-Linux-x86_64-390.138-no-compat32/kernel/common/inc/nv-linux.h    2020-08-14 22:56:44.029754054 -0700
@@ -535,7 +535,11 @@

 static inline void *nv_vmalloc(unsigned long size)
+    void *ptr = __vmalloc(size, GFP_KERNEL);
     void *ptr = __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
     if (ptr)
         NV_MEMDBG_ADD(ptr, size);
     return ptr;
diff -ur NVIDIA-Linux-x86_64-390.138-no-compat32/kernel/common/inc/nv-mm.h NVIDIA-Linux-x86_64-390.138-no-compat32.patched/kernel/common/inc/nv-mm.h
--- NVIDIA-Linux-x86_64-390.138-no-compat32/kernel/common/inc/nv-mm.h   2020-05-14 05:29:21.000000000 -0700
+++ NVIDIA-Linux-x86_64-390.138-no-compat32/kernel/common/inc/nv-mm.h   2020-08-14 22:57:42.109753768 -0700
@@ -29,6 +29,11 @@
 typedef int vm_fault_t;

+#include <linux/version.h>
+#define mmap_sem mmap_lock
 /* get_user_pages
  * The 8-argument version of get_user_pages was deprecated by commit

SimPS commented on 2020-08-15 05:50

Not working with 5.8 kernel. How should I fix it?

air-g4p commented on 2020-08-11 08:25


nvidia-390xx-dkms 390.138-3 breaks against my 5.8.X kernels, including linux and zen.

Please re-compile your dkms package to support the 5.8.X kernel series.


nyyu commented on 2020-08-09 08:07