--- a/kernel/dkms.conf +++ b/kernel/dkms.conf @@ -6,7 +6,7 @@ AUTOINSTALL="yes" # this will cause the kernel module build to infer that it was invoked via # Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting # the 'make' command name to suppress this behavior. -MAKE[0]="'make' -j"$(nproc)" NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} modules" +MAKE[0]="'make' -j"$(nproc)" IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} modules" # The list of kernel modules will be generated by nvidia-installer at runtime. BUILT_MODULE_NAME[0]="nvidia"