Hello:
Until Linux kernel 5.0.6 I can build 418.52.03, 418.52.05 and 418.52.07
But, from Linux kernel > 5.0.7 (actually 5.1.6) I can’t build the driver with 418.52.07 or 418.52.10.
In other hand, 418.30 build OK. The Vulkan Beta Drivers only build from Linux kernel > 5.0.7 with:
sh NVIDIA-Linux-x86_64-418.52.10.run --no-unified-memory --no-drm
Some piece of nvidia-installer.log
nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Mon Jun 3 16:22:44 2019
installer version: 418.52.10
PATH: /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/sbin
nvidia-installer command line:
./nvidia-installer
Unable to load: nvidia-installer ncurses v6 user interface
Unable to load: nvidia-installer ncurses user interface
Using built-in stream user interface
→ Detected 4 CPUs online; setting concurrency level to 4.
→ Installing NVIDIA driver version 418.52.10.
→ There appears to already be a driver installed on your system (version: 430.14). As part of installing this driver (version: 418.52.10), the existing driver will be uninstalled. Are you sure you want to continue? (Answer: Continue installation)
→ Running distribution scripts
executing: ‘/usr/lib/nvidia/pre-install’…
grep: /etc/sysconfig/kernel: No such file or directory
→ done.
→ The distribution-provided pre-install script completed successfully. If this is the first time you have run the installer, this script may have helped disable Nouveau, but a reboot may be required first. Would you like to continue, or would you prefer to abort installation to reboot the system? (Answer: Continue installation)
→ Performing CC sanity check with CC=“/usr/bin/cc”.
→ Kernel source path: ‘/lib/modules/5.1.6-1.g7375706-default/source’
→ Kernel output path: ‘/lib/modules/5.1.6-1.g7375706-default/build’
→ Performing Compiler check.
→ Performing Dom0 check.
→ Performing Xen check.
→ Performing PREEMPT_RT check.
→ Performing vgpu_kvm check.
→ Cleaning kernel module build directory.
executing: ‘cd ./kernel; /usr/bin/make -k -j4 clean NV_EXCLUDE_KERNEL_MODULES=“” SYSSRC=“/lib/modules/5.1.6-1.g7375706-default/source” SYSOUT=“/lib/modules/5.1.6-1.g7375706-default/build”’…
rm -f -r conftest
make[1]: Entering directory ‘/usr/src/linux-5.1.6-1.g7375706’
make[2]: Entering directory ‘/usr/src/linux-5.1.6-1.g7375706-obj/x86_64/default’
make[2]: Leaving directory ‘/usr/src/linux-5.1.6-1.g7375706-obj/x86_64/default’
make[1]: Leaving directory ‘/usr/src/linux-5.1.6-1.g7375706’
→ Building kernel modules
executing: ‘cd ./kernel; /usr/bin/make -k -j4 NV_EXCLUDE_KERNEL_MODULES=“” SYSSRC=“/lib/modules/5.1.6-1.g7375706-default/source” SYSOUT=“/lib/modules/5.1.6-1.g7375706-default/build”’…
make[1]: Entering directory ‘/usr/src/linux-5.1.6-1.g7375706’
make[2]: Entering directory ‘/usr/src/linux-5.1.6-1.g7375706-obj/x86_64/default’
SYMLINK /tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-modeset/nv-modeset-kernel.o
[…]
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-uvm/uvm8.c:187:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.fault = uvm_vm_fault_sigbus_wrapper
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-uvm/uvm8.c:187:14: note: (near initialization for ‘uvm_vm_ops_disabled.fault’)
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-uvm/uvm8.c:525:21: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.fault = uvm_vm_fault_wrapper,
^~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-uvm/uvm8.c:525:21: note: (near initialization for ‘uvm_vm_ops_managed.fault’)
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-uvm/uvm8.c:526:21: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.page_mkwrite = uvm_vm_fault_wrapper,
^~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-uvm/uvm8.c:526:21: note: (near initialization for ‘uvm_vm_ops_managed.page_mkwrite’)
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-uvm/uvm8.c:609:21: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.fault = uvm_vm_fault_sigbus_wrapper,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-uvm/uvm8.c:609:21: note: (near initialization for ‘uvm_vm_ops_semaphore_pool.fault’)
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-5.1.6-1.g7375706/scripts/Makefile.build:277: /tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-uvm/uvm8.o] Error 1
[…]
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-drv.c: In function ‘nv_drm_init_mode_config’:
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-drv.c:222:5: error: implicit declaration of function ‘drm_kms_helper_poll_init’; did you mean ‘drm_modeset_lock_init’? [-Werror=implicit-function-declaration]
drm_kms_helper_poll_init(dev);
^~~~~~~~~~~~~~~~~~~~~~~~
drm_modeset_lock_init
CC [M] /tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-encoder.o
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-drv.c:226:5: error: implicit declaration of function ‘drm_kms_helper_poll_disable’; did you mean ‘drm_bridge_post_disable’? [-Werror=implicit-function-declaration]
drm_kms_helper_poll_disable(dev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
drm_bridge_post_disable
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-drv.c: In function ‘nv_drm_load’:
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-drv.c:364:5: error: implicit declaration of function ‘drm_helper_hpd_irq_event’; did you mean ‘drm_helper_crtc_in_use’? [-Werror=implicit-function-declaration]
drm_helper_hpd_irq_event(dev);
^~~~~~~~~~~~~~~~~~~~~~~~
drm_helper_crtc_in_use
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-drv.c: In function ‘__nv_drm_unload’:
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-drv.c:403:5: error: implicit declaration of function ‘drm_kms_helper_poll_fini’; did you mean ‘drm_modeset_lock_fini’? [-Werror=implicit-function-declaration]
drm_kms_helper_poll_fini(dev);
^~~~~~~~~~~~~~~~~~~~~~~~
drm_modeset_lock_fini
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-5.1.6-1.g7375706/scripts/Makefile.build:277: /tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-drv.o] Error 1
CC [M] /tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-connector.o
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-encoder.c: In function ‘nv_drm_handle_display_change’:
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-encoder.c:293:5: error: implicit declaration of function ‘drm_kms_helper_hotplug_event’; did you mean ‘drm_sysfs_hotplug_event’? [-Werror=implicit-function-declaration]
drm_kms_helper_hotplug_event(dev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drm_sysfs_hotplug_event
CC [M] /tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-gem.o
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-5.1.6-1.g7375706/scripts/Makefile.build:277: /tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-encoder.o] Error 1
CC [M] /tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-fb.o
CC [M] /tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-modeset.o
/tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-connector.c:212:31: error: ‘drm_helper_probe_single_connector_modes’ undeclared here (not in a function); did you mean ‘drm_helper_move_panel_connectors_to_head’?
.fill_modes = drm_helper_probe_single_connector_modes,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drm_helper_move_panel_connectors_to_head
make[3]: *** [/usr/src/linux-5.1.6-1.g7375706/scripts/Makefile.build:277: /tmp/selfgz1777/NVIDIA-Linux-x86_64-418.52.10/kernel/nvidia-drm/nvidia-drm-connector.o] Error 1
[…]
ERROR: The nvidia-uvm kernel module was not created.
ERROR: The nvidia-uvm kernel module failed to build. This kernel module is required for the proper operation of CUDA. If you do not need to use CUDA, you can try to install this driver package again with the ‘–no-unified-memory’ option.