Skip to content

Conversation

@tariq1890
Copy link
Contributor

@tariq1890 tariq1890 commented Jan 8, 2025

With this change, the ubuntu24.04 will select the recommended kernel module type for a driver version and the gpu device. It also provides users the option to explicitly set a desired kernel module type.

We also replace the -m flag with the --kernel-module-type as the former is deprecated. See below (taken from the nvidia-installer CLI help text) UPDATE: It looks like --kernel-module-type is a new flag and is only available from R560 onwards. So we can only add this flag after R535 and R550 are EOL'ed

  -M KERNEL-MODULE-TYPE, --kernel-module-type=KERNEL-MODULE-TYPE
      The type of kernel modules to build and install. Valid values are "open" and "proprietary".

  -m KERNEL-MODULE-BUILD-DIRECTORY, --kernel-module-build-directory=KERNEL-MODULE-BUILD-DIRECTORY
      Directly set the directory within the package from which to build the kernel modules. This option is deprecated; use "--kernel-module-type" instead.

@tariq1890 tariq1890 force-pushed the u24.04-kmod-type-auto branch from 6c5d172 to aba4224 Compare January 8, 2025 21:28
@tariq1890 tariq1890 changed the title [ubuntu24.04] use --kernel-module-type open when specified [ubuntu24.04] use KERNEL_MODULE_TYPE envar in place of OPEN_KERNEL_MODULES_ENABLED Jan 8, 2025
@tariq1890 tariq1890 merged commit 17e000f into main Jan 9, 2025
7 checks passed
@tariq1890 tariq1890 deleted the u24.04-kmod-type-auto branch January 9, 2025 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants