NVIDIA 440.66.x can't build in 5.6. and 5.7 kernels

Hello:

As the title says, I can’t install the Beta drivers with Vulkan in 5.6 or 5.7 kernel series.
I am still on kernel 5.5.7 because this compile good the driver from .run file without patches.

To try to install in 5.7 series (and before in 5.6 series) I do this:

All as root and with the system in runlevel 3 editing Grub entry and adding the parameter 3 at the end of the line that boot kernel.

# wget -O kernel-5.7.patch https://gitlab.com/snippets/1965550/raw
# sh NVIDIA-Linux-x86_64-440.66.17 run -x
# cd NVIDIA-Linux-x86_64-440.66.17
# patch -p1 -i ../kernel-5.7.patch
# reboot
# cd /home/krovikan/NVIDIA-Linux-x86_64-440.66.17/
# ./nvidia-installer

Result of this, after a growth until the end of build bar of the installer in ncurses, is fail in building kernel module. I added the /var/log/nvidia-installer.log

My System is openSUSE Leap 15.1 with NVIDIA GTX 1070.

nvidia-installer.log (935,9 KB)

Regards

They won’t compile.
Use this one:

The Vulkan driver will also need a 5.6 patch: NVIDIA 440.64 - Kernel 5.6 ($1945940) · Snippets · Snippets · GitLab

The same instructions will work, just add in the 5.6 patch before the 5.7 one.

$ wget -O kernel-5.6.patch https://gitlab.com/snippets/1945940/raw
$ wget -O kernel-5.7.patch https://gitlab.com/snippets/1965550/raw
$ sh NVIDIA-Linux-x86_64-440.66.17.run -x
$ cd NVIDIA-Linux-x86_64-440.66.17
$ patch -p1 -i ../kernel-5.6.patch
$ patch -p1 -i ../kernel-5.7.patch
# ./nvidia-installer

You mean that I need the two patches for 5.7 kernel?

Yes, that’s correct. The 5.6 one will fix the timeval and proc_ops issues.

Is compiled after a months of trying at 5.6 and 5.7. Now I am running with 5.7.7 kernel.

A lot of thanks.

Regards

1 Like