OS Manuals

/usr/bin/nvidia-modprobe

NVIDIA driver (userspace)

From nvidia-driver-userspace-12.3 545.23.08-r56 (extra-packages), captured 2026-11-05 by running nvidia-modprobe --help (exit 0). permalink

nvidia-modprobe:  version 545.23.08


  This setuid program is used to create, in a Linux distribution-independent way, NVIDIA Linux device files and load the NVIDIA kernel module, on behalf of NVIDIA Linux driver components which may not have sufficient privileges to perform these actions on their own.


nvidia-modprobe [options]

  -v, --version
      Print the utility version and exit.

  -h, --help
      Print usage information for the command line options and exit.

  -c MINOR-NUMBER, --create-nvidia-device-file=MINOR-NUMBER
      Create the NVIDIA device file with the given minor number; this option can be specified multiple times to create multiple NVIDIA device files.

  -u, --unified-memory
      Load the NVIDIA Unified Memory kernel module or create device files for it, instead of the NVIDIA kernel module.

  -m, --modeset
      Load the NVIDIA modeset kernel module and create its device file.

  -s, --nvswitch
      Load the NVIDIA kernel module and create the NVSwitch device files for each minor number specified using the -c flag.

  -l, --nvlink
      Load the NVIDIA kernel module and create the NVLink control device file.

  -f NVIDIA-CAPABILITY-DEVICE-FILE, --nvidia-capability-device-file=NVIDIA-CAPABILITY-DEVICE-FILE
      Create the NVIDIA capability device files with the given capability /proc file path. This option can be specified multiple times to create multiple NVIDIA capability device files.

  -a, --auto-online-movable
      Enable the online_movable auto onlining kernel setting for platforms (like Grace Hopper) that add and online GPU memory to the kernel
Options (9)
OptionDescriptionSource
-v, --versionPrint the utility version and exit.help
-h, --helpPrint usage information for the command line options and exit.help
-c, --create-nvidia-device-file MINOR-NUMBERCreate the NVIDIA device file with the given minor number;help
-u, --unified-memoryLoad the NVIDIA Unified Memory kernel module or create device files for it, instead of the NVIDIA kernel module.help
-m, --modesetLoad the NVIDIA modeset kernel module and create its device file.help
-s, --nvswitchLoad the NVIDIA kernel module and create the NVSwitch device files for each minor number specified using the -c flag.help
-l, --nvlinkLoad the NVIDIA kernel module and create the NVLink control device file.help
-f, --nvidia-capability-device-file NVIDIA-CAPABILITY-DEVICE-FILECreate the NVIDIA capability device files with the given capability /proc file path.help
-a, --auto-online-movableEnable the online_movable auto onlining kernel setting for platforms (like Grace Hopper) that add and online GPU memory to the kernelhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.