Problem installing NVIDIA 304.137 driver on Crunchbangplusplus 10

I have internal videocard NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2).

The log file for the installation contains this:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Dec 30 22:36:11 2019
installer version: 304.137

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

nvidia-installer command line:
    ./nvidia-installer

Using: nvidia-installer ncurses v6 user interface
-> License accepted.
-> Installing NVIDIA driver version 304.137.
-> There appears to already be a driver installed on your system (version: 304.137).  As part of installing this driver (version: 304.137), the existing driver will be uninstalled.  Are you sure you want to continue? ('no' will abort installation) (Answer: Yes)
-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: No)
WARNING: The path to the `modprobe` utility reported by '/proc/sys/kernel/modprobe', `/sbin/modprobe`, differs from the path determined by `nvidia-installer`, `/usr/sbin/modprobe`.  Please verify that `/sbin/modprobe` works correctly and correct the path in '/proc/sys/kernel/modprobe' if it does not.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/4.19.0-6-amd64/source'
-> Kernel output path: '/lib/modules/4.19.0-6-amd64/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./kernel; make clean'...
-> Building kernel module:
   executing: 'cd ./kernel; make module SYSSRC=/lib/modules/4.19.0-6-amd64/source SYSOUT=/lib/modules/4.19.0-6-amd64/build'...
   NVIDIA: calling KBUILD...
   make -C /lib/modules/4.19.0-6-amd64/build KBUILD_SRC=/usr/src/linux-headers-4.19.0-6-common \
   -f /usr/src/linux-headers-4.19.0-6-common/Makefile modules
   test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
   echo >&2;							\
   echo >&2 "  ERROR: Kernel configuration is invalid.";		\
   echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
   echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
   echo >&2 ;							\
   /bin/false)
   mkdir -p /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/.tmp_versions ; rm -f /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/.tmp_versions/*
   make -f /usr/src/linux-headers-4.19.0-6-common/scripts/Makefile.build obj=/tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel
   (cat /dev/null;   echo kernel//tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nvidia.ko;) > /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/modules.order
     cc -Wp,-MD,/tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/src/linux-headers-4.19.0-6-common/arch/x86/include -I./arch/x86/include/generated  -I/usr/src/linux-headers-4.19.0-6-common/include -I./include -I/usr/src/linux-headers-4.19.0-6-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-4.19.0-6-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-4.19.0-6-common/include/linux/kconfig.h -include /usr/src/linux-headers-4.19.0-6-common/include/linux/compiler_types.h  -I/tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel -I/tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtun
   e=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date
   -time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=/usr/src/linux-headers-4.19.0-6-common/= -Wno-packed-not-aligned  -I/tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.137\" -Wno-unused-function -Wuninitialized -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -c -o /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/.tmp_nv.o /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv.c
   In file included from /usr/src/linux-headers-4.19.0-6-common/include/linux/byteorder/little_endian.h:11,
                    from /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/uapi/asm/byteorder.h:5,
                    from /usr/src/linux-headers-4.19.0-6-common/include/asm-generic/bitops/le.h:6,
                    from /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/bitops.h:510,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/bitops.h:19,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/kernel.h:11,
                    from /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:45,
                    from /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/current.h:6,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/sched.h:12,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/utsname.h:6,
                    from /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv-linux.h:40,
                    from /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:13:
   /usr/src/linux-headers-4.19.0-6-common/include/linux/byteorder/generic.h: In function ‘cpu_to_be32_array’:
   /usr/src/linux-headers-4.19.0-6-common/include/linux/byteorder/generic.h:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
     for (i = 0; i < len; i++)
                   ^
   /usr/src/linux-headers-4.19.0-6-common/include/linux/byteorder/generic.h: In function ‘be32_to_cpu_array’:
   /usr/src/linux-headers-4.19.0-6-common/include/linux/byteorder/generic.h:203:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
     for (i = 0; i < len; i++)
                   ^
   In file included from /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/current.h:5,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/sched.h:12,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/utsname.h:6,
                    from /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv-linux.h:40,
                    from /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:13:
   /usr/src/linux-headers-4.19.0-6-common/include/linux/thread_info.h: In function ‘check_copy_size’:
   /usr/src/linux-headers-4.19.0-6-common/include/linux/thread_info.h:141:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
     if (unlikely(sz >= 0 && sz < bytes)) {
                                ^
   /usr/src/linux-headers-4.19.0-6-common/include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
    # define unlikely(x) __builtin_expect(!!(x), 0)
                                             ^
   /usr/src/linux-headers-4.19.0-6-common/include/asm-generic/qrwlock.h: In function ‘queued_write_trylock’:
   /usr/src/linux-headers-4.19.0-6-common/include/asm-generic/qrwlock.h:75:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
              cnts, cnts | _QW_LOCKED) == cnts);
                                       ^~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   /usr/src/linux-headers-4.19.0-6-common/include/linux/mmzone.h: In function ‘next_zones_zonelist’:
   /usr/src/linux-headers-4.19.0-6-common/include/linux/mmzone.h:984:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘enum zone_type’ [-Wsign-compare]
     if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx))
                                               ^~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/compiler.h:76:40: note: in definition of macro ‘likely’
    # define likely(x) __builtin_expect(!!(x), 1)
                                           ^
   In file included from /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/current.h:6,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/sched.h:12,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/utsname.h:6,
                    from /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv-linux.h:40,
                    from /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:13:
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_get_many’:
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
             ((val) == 1 || (val) == -1)) ?  \
                                  ^~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                     ^~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_1’
      case 1: stem##1(variable, __VA_ARGS__);break;  \
              ^~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                    ^~~~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-refcount.h:183:3: note: in expansion of macro ‘this_cpu_add’
      this_cpu_add(*percpu_count, nr);
      ^~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
             ((val) == 1 || (val) == -1)) ?  \
                                  ^~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                     ^~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_2’
      case 2: stem##2(variable, __VA_ARGS__);break;  \
              ^~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                    ^~~~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-refcount.h:183:3: note: in expansion of macro ‘this_cpu_add’
      this_cpu_add(*percpu_count, nr);
      ^~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
             ((val) == 1 || (val) == -1)) ?  \
                                  ^~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                     ^~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_4’
      case 4: stem##4(variable, __VA_ARGS__);break;  \
              ^~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                    ^~~~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-refcount.h:183:3: note: in expansion of macro ‘this_cpu_add’
      this_cpu_add(*percpu_count, nr);
      ^~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
             ((val) == 1 || (val) == -1)) ?  \
                                  ^~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                      ^~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:382:11: note: in expansion of macro ‘this_cpu_add_8’
      case 8: stem##8(variable, __VA_ARGS__);break;  \
              ^~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                    ^~~~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-refcount.h:183:3: note: in expansion of macro ‘this_cpu_add’
      this_cpu_add(*percpu_count, nr);
      ^~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-refcount.h: In function ‘percpu_ref_put_many’:
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
             ((val) == 1 || (val) == -1)) ?  \
                                  ^~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:420:34: note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_1(pcp, val) percpu_add_op((pcp), val)
                                     ^~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘this_cpu_add_1’
      case 1: stem##1(variable, __VA_ARGS__);break;  \
              ^~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                    ^~~~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:521:33: note: in expansion of macro ‘this_cpu_add’
    #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                    ^~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-refcount.h:282:3: note: in expansion of macro ‘this_cpu_sub’
      this_cpu_sub(*percpu_count, nr);
      ^~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
             ((val) == 1 || (val) == -1)) ?  \
                                  ^~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:421:34: note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_2(pcp, val) percpu_add_op((pcp), val)
                                     ^~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘this_cpu_add_2’
      case 2: stem##2(variable, __VA_ARGS__);break;  \
              ^~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                    ^~~~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:521:33: note: in expansion of macro ‘this_cpu_add’
    #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                    ^~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-refcount.h:282:3: note: in expansion of macro ‘this_cpu_sub’
      this_cpu_sub(*percpu_count, nr);
      ^~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
             ((val) == 1 || (val) == -1)) ?  \
                                  ^~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:422:34: note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_4(pcp, val) percpu_add_op((pcp), val)
                                     ^~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘this_cpu_add_4’
      case 4: stem##4(variable, __VA_ARGS__);break;  \
              ^~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                    ^~~~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:521:33: note: in expansion of macro ‘this_cpu_add’
    #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                    ^~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-refcount.h:282:3: note: in expansion of macro ‘this_cpu_sub’
      this_cpu_sub(*percpu_count, nr);
      ^~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
             ((val) == 1 || (val) == -1)) ?  \
                                  ^~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:480:35: note: in expansion of macro ‘percpu_add_op’
    #define this_cpu_add_8(pcp, val)  percpu_add_op((pcp), val)
                                      ^~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:382:11: note: in expansion of macro ‘this_cpu_add_8’
      case 8: stem##8(variable, __VA_ARGS__);break;  \
              ^~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:511:33: note: in expansion of macro ‘__pcpu_size_call’
    #define this_cpu_add(pcp, val)  __pcpu_size_call(this_cpu_add_, pcp, val)
                                    ^~~~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:521:33: note: in expansion of macro ‘this_cpu_add’
    #define this_cpu_sub(pcp, val)  this_cpu_add(pcp, -(typeof(pcp))(val))
                                    ^~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-refcount.h:282:3: note: in expansion of macro ‘this_cpu_sub’
      this_cpu_sub(*percpu_count, nr);
      ^~~~~~~~~~~~
   In file included from /usr/src/linux-headers-4.19.0-6-common/include/linux/page_ref.h:7,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/mm.h:26,
                    from /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv-linux.h:82,
                    from /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:13:
   /usr/src/linux-headers-4.19.0-6-common/include/linux/page-flags.h: In function ‘PagePoisoned’:
   /usr/src/linux-headers-4.19.0-6-common/include/linux/page-flags.h:162:21: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare]
     return page->flags == PAGE_POISON_PATTERN;
                        ^~
   In file included from /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/current.h:6,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/sched.h:12,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/utsname.h:6,
                    from /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv-linux.h:40,
                    from /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:13:
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-rwsem.h: In function ‘percpu_up_read_preempt_enable’:
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
             ((val) == 1 || (val) == -1)) ?  \
                                  ^~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:401:34: note: in expansion of macro ‘percpu_add_op’
    #define raw_cpu_add_1(pcp, val)  percpu_add_op((pcp), val)
                                     ^~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:379:11: note: in expansion of macro ‘raw_cpu_add_1’
      case 1: stem##1(variable, __VA_ARGS__);break;  \
              ^~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
    #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                   ^~~~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
     raw_cpu_add(pcp, val);      \
     ^~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
    #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                     ^~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
    #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                                 ^~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
      __this_cpu_dec(*sem->read_count);
      ^~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
             ((val) == 1 || (val) == -1)) ?  \
                                  ^~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:402:34: note: in expansion of macro ‘percpu_add_op’
    #define raw_cpu_add_2(pcp, val)  percpu_add_op((pcp), val)
                                     ^~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:380:11: note: in expansion of macro ‘raw_cpu_add_2’
      case 2: stem##2(variable, __VA_ARGS__);break;  \
              ^~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
    #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                   ^~~~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
     raw_cpu_add(pcp, val);      \
     ^~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
    #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                     ^~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
    #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                                 ^~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
      __this_cpu_dec(*sem->read_count);
      ^~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
             ((val) == 1 || (val) == -1)) ?  \
                                  ^~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:403:34: note: in expansion of macro ‘percpu_add_op’
    #define raw_cpu_add_4(pcp, val)  percpu_add_op((pcp), val)
                                     ^~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:381:11: note: in expansion of macro ‘raw_cpu_add_4’
      case 4: stem##4(variable, __VA_ARGS__);break;  \
              ^~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
    #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                   ^~~~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
     raw_cpu_add(pcp, val);      \
     ^~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
    #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                     ^~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
    #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                                 ^~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
      __this_cpu_dec(*sem->read_count);
      ^~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:131:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
             ((val) == 1 || (val) == -1)) ?  \
                                  ^~
   /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/percpu.h:471:35: note: in expansion of macro ‘percpu_add_op’
    #define raw_cpu_add_8(pcp, val)   percpu_add_op((pcp), val)
                                      ^~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:382:11: note: in expansion of macro ‘raw_cpu_add_8’
      case 8: stem##8(variable, __VA_ARGS__);break;  \
              ^~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:424:32: note: in expansion of macro ‘__pcpu_size_call’
    #define raw_cpu_add(pcp, val)  __pcpu_size_call(raw_cpu_add_, pcp, val)
                                   ^~~~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:460:2: note: in expansion of macro ‘raw_cpu_add’
     raw_cpu_add(pcp, val);      \
     ^~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:498:34: note: in expansion of macro ‘__this_cpu_add’
    #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
                                     ^~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-defs.h:500:30: note: in expansion of macro ‘__this_cpu_sub’
    #define __this_cpu_dec(pcp)  __this_cpu_sub(pcp, 1)
                                 ^~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/percpu-rwsem.h:97:3: note: in expansion of macro ‘__this_cpu_dec’
      __this_cpu_dec(*sem->read_count);
      ^~~~~~~~~~~~~~
   In file included from /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/paravirt.h:17,
                    from /usr/src/linux-headers-4.19.0-6-common/arch/x86/include/asm/irqflags.h:72,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/irqflags.h:16,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/rcupdate.h:39,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/rculist.h:11,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/pid.h:5,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/sched.h:14,
                    from /usr/src/linux-headers-4.19.0-6-common/include/linux/utsname.h:6,
                    from /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv-linux.h:40,
                    from /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:13:
   /usr/src/linux-headers-4.19.0-6-common/include/linux/vmstat.h: In function ‘zone_numa_state_snapshot’:
   /usr/src/linux-headers-4.19.0-6-common/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
      (cpu) < nr_cpu_ids;)
            ^
   /usr/src/linux-headers-4.19.0-6-common/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
    #define for_each_online_cpu(cpu)   for_each_cpu((cpu), cpu_online_mask)
                                       ^~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/vmstat.h:156:2: note: in expansion of macro ‘for_each_online_cpu’
     for_each_online_cpu(cpu)
     ^~~~~~~~~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/vmstat.h: In function ‘zone_page_state_snapshot’:
   /usr/src/linux-headers-4.19.0-6-common/include/linux/cpumask.h:243:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
      (cpu) < nr_cpu_ids;)
            ^
   /usr/src/linux-headers-4.19.0-6-common/include/linux/cpumask.h:778:36: note: in expansion of macro ‘for_each_cpu’
    #define for_each_online_cpu(cpu)   for_each_cpu((cpu), cpu_online_mask)
                                       ^~~~~~~~~~~~
   /usr/src/linux-headers-4.19.0-6-common/include/linux/vmstat.h:221:2: note: in expansion of macro ‘for_each_online_cpu’
     for_each_online_cpu(cpu)
     ^~~~~~~~~~~~~~~~~~~
   In file included from /usr/src/linux-headers-4.19.0-6-common/include/linux/efi.h:20,
                    from /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv-linux.h:193,
                    from /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:13:
   /usr/src/linux-headers-4.19.0-6-common/include/linux/rtc.h: In function ‘rtc_tv_nsec_ok’:
   /usr/src/linux-headers-4.19.0-6-common/include/linux/rtc.h:245:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
     if (to_set->tv_nsec < TIME_SET_NSEC_FUZZ) {
                         ^
   /usr/src/linux-headers-4.19.0-6-common/include/linux/rtc.h:250:22: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
     if (to_set->tv_nsec > NSEC_PER_SEC - TIME_SET_NSEC_FUZZ) {
                         ^
   /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv.c: In function ‘nv_start_rc_timer’:
   /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:3032:5: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
        init_timer(&nvl->rc_timer);
        ^~~~~~~~~~
        init_timers
   /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:3033:28: error: assignment to ‘void (*)(struct timer_list *)’ from incompatible pointer type ‘void (*)(long unsigned int)’ [-Werror=incompatible-pointer-types]
        nvl->rc_timer.function = nv_kern_rc_timer;
                               ^
   /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv.c:3034:18: error: ‘struct timer_list’ has no member named ‘data’
        nvl->rc_timer.data = (unsigned long) nv;
                     ^
   cc1: some warnings being treated as errors
   make[4]: *** [/usr/src/linux-headers-4.19.0-6-common/scripts/Makefile.build:309: /tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel/nv.o] Error 1
   make[3]: *** [/usr/src/linux-headers-4.19.0-6-common/Makefile:1534: _module_/tmp/selfgz1133/NVIDIA-Linux-x86_64-304.137/kernel] Error 2
   make[2]: *** [Makefile:146: sub-make] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [Makefile:261: module] Error 1
   make: *** [makefile:59: module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

I tried apply patch
https://adufray.com/nvidia-304.137-bionic-18.04.patch
and driver installed without dkms and with 32-bit compatibility,
but after reboot i see only booting screen and second black screen,
and screeens changes each other every 1 second.

So i booted in other os and see /var/log/xorg.log,
i found error “ABI”

I ried add “IGNORE ABI true” in Section server flags in xorg.conf,
but it does not help.

So i deinstalled nvidia
sudo nvidia.run --uninstall
sudo apt --reinstall install libvdpau1