NVIDIA 440.82 - Kernel 5.7 Patch

Dear NVIDIA Linux employee (singular, because you are grossly under staffed),

Linux binary drivers have broken on the latest kernel release again. This time its Kernel version 5.7.0.

Thankfully somebody else has already found the solution. It’s a simple compiler error. Everything you need follow the link below:

4 other people have tested it and given thumbs up. This solution is now 1 month old and nobody have reported an issue with it.

diff --git a/kernel/conftest.sh b/kernel/conftest.sh
index 8f807a1..af29636 100755
--- a/conftest.sh
+++ b/conftest.sh
@@ -143,6 +143,7 @@ test_headers() {
     FILES="$FILES video/nv_internal.h"
     FILES="$FILES asm/book3s/64/hash-64k.h"
     FILES="$FILES asm/set_memory.h"
+    FILES="$FILES asm/pgtable.h"
     FILES="$FILES asm/prom.h"
     FILES="$FILES asm/powernv.h"
     FILES="$FILES asm/tlbflush.h"
@@ -466,6 +467,9 @@ compile_test() {
             # It does not exist on all architectures.
             #
             CODE="
+            #if defined(NV_ASM_PGTABLE_H_PRESENT)
+            #include <asm/pgtable.h>
+            #endif
             #if defined(NV_ASM_SET_MEMORY_H_PRESENT)
             #include <asm/set_memory.h>
             #else

Please apply patch and release a new driver version.
Thank you,

3 Likes

Thanks for the patch. This is really depressing. I would expect a lot better from nvidia.

1 Like

Well until fix is released, you can instead manually apply patch into you /usr/src folder after the build failed. Then run again the dkms build

1 Like

Thanks for reporting issue to us.
I have filed a bug 200622636 internally for tracking purpose.

This bug has been fixed and will be available in upcoming driver release.

2 Likes

Thanks for the pointers with the patch. Is there a similar patch available for the 440.66.15 driver and kernel 5.7?

maybe in the next release version, which at this rate will be after the summer

This same patch should work fine in the meantime, together with the old 5.6 patch: NVIDIA 440.64 - Kernel 5.6 ($1945940) · Snippets · Snippets · GitLab

Thanks Isaak for your nvidia-driver` patches for kernel 5.7. And in fact for all your other patches! Really helpful, appreciate it.

1 Like

I just noted that 440.100 was released. Does this driver resolve the issue?

http://uk.download.nvidia.com/XFree86/Linux-x86_64/440.100/NVIDIA-Linux-x86_64-440.100.run

1 Like