@Isaak.Aleksandrov IMHO the 5.6 patch you provided does not work for the actual 5.6.0 final release (Ubuntu 64bit):
$ sh NVIDIA-Linux-x86_64-440.64.run -x
Creating directory NVIDIA-Linux-x86_64-440.64
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 440.64.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
$ cd NVIDIA-Linux-x86_64-440.64
$ patch -p1 -i ~/Downloads/kernel-5.6.patch
patching file kernel/common/inc/nv-linux.h
Hunk #1 FAILED at 553.
1 out of 1 hunk FAILED -- saving rejects to file kernel/common/inc/nv-linux.h.rej
patching file kernel/common/inc/nv-procfs.h
Hunk #1 succeeded at 28 with fuzz 2 (offset -24 lines).
Hunk #2 succeeded at 51 with fuzz 1 (offset -25 lines).
Hunk #3 FAILED at 118.
Hunk #4 succeeded at 128 with fuzz 2 (offset -7 lines).
1 out of 4 hunks FAILED -- saving rejects to file kernel/common/inc/nv-procfs.h.rej
patching file kernel/common/inc/nv-time.h
Hunk #1 succeeded at 27 with fuzz 2 (offset -3 lines).
Hunk #2 succeeded at 41 (offset -3 lines).
patching file kernel/conftest.sh
Hunk #1 succeeded at 780 (offset -417 lines).
Hunk #2 succeeded at 836 with fuzz 1 (offset -610 lines).
patching file kernel/nvidia-modeset/nvidia-modeset-linux.c
Hunk #1 succeeded at 266 (offset 50 lines).
patching file kernel/nvidia-uvm/uvm_linux.h
Hunk #1 succeeded at 301 (offset -28 lines).
Hunk #2 succeeded at 326 (offset -28 lines).
patching file kernel/nvidia/nv-procfs.c
Hunk #1 succeeded at 452 (offset 38 lines).
Hunk #2 succeeded at 469 with fuzz 2 (offset 38 lines).
Hunk #3 succeeded at 734 (offset 207 lines).
Hunk #4 succeeded at 869 (offset 201 lines).
Hunk #5 succeeded at 886 with fuzz 2 (offset 201 lines).
patching file kernel/nvidia/nvidia.Kbuild
Hunk #1 succeeded at 104 with fuzz 2 (offset -13 lines).
Hunk #2 FAILED at 170.
1 out of 2 hunks FAILED -- saving rejects to file kernel/nvidia/nvidia.Kbuild.rej
patching file kernel/nvidia/nvlink_linux.c
Hunk #1 succeeded at 513 (offset -5 lines).
Hunk #2 succeeded at 523 (offset -5 lines).
Hunk #3 succeeded at 539 (offset -5 lines).
Hunk #4 succeeded at 561 (offset -5 lines).
patching file kernel/nvidia/os-interface.c
Hunk #1 succeeded at 463 (offset 33 lines).
Hunk #2 succeeded at 477 (offset 33 lines).
Hunk #3 succeeded at 555 (offset 47 lines).
Hunk #4 succeeded at 595 (offset 47 lines).
Hunk #5 succeeded at 1960 (offset 28 lines).
The 5.6 patch fails with the actual 5.6.0 kernel release.
Let me know if I can help.