nvidia-modprobe(1)
π nvidia-modprobe β NAME π
okay so bestie, meet nvidia-modprobe: the little utility from the nvidia-modprobe(1) manual that loads the NVIDIA kernel module and creates NVIDIA character device files. that's the whole job. she's a loader and a maker. queen behavior. π
β¨ SYNOPSIS β¨
nvidia-modprobe [options]
nvidia-modprobe [options] --create-nvidia-device-file=MINOR-NUMBER
nvidia-modprobe [options] --module-instance=MODULE-INSTANCE
π¦ DESCRIPTION π¦
so here's the tea. nvidia-modprobe is used by user-space NVIDIA driver components to make sure three things happen:
- the NVIDIA kernel module is loaded
- the NVIDIA character device files are present
- certain runtime settings in the kernel get configured
those three facilities are normally the Linux distribution's job, handled by config systems like udev. and listen β when possible, it is recommended that you use your Linux distribution's native mechanisms for managing kernel module loading, device file creation and kernel runtime config settings. like, genuinely. that's the blessed path. π
this utility is provided as a fallback, so things work out-of-the-box in a distribution-independent way. she's the backup dancer who knows every single step. π
when installed by nvidia-installer, nvidia-modprobe is installed setuid root. yes, really. that's the vibe.
ngl bestie, users should not normally need to runnvidia-modprobeby hand β the NVIDIA user-space driver components willfork(2)/exec(3)it when needed. she gets summoned. you don't summon her. β¨
now the behavior rundown, no cap:
- with no options at all,
nvidia-modprobewill load the NVIDIA kernel module and then exit. - when the
--module-instanceoption is specified on systems with multiple NVIDIA kernel modules,nvidia-modprobewill load the corresponding NVIDIA kernel module and then exit. - when the
--create-nvidia-device-fileoption is specified,nvidia-modprobewill also create the requested device file.
the source code to nvidia-modprobe is available here: https://download.nvidia.com/XFree86/nvidia-modprobe/ π«Ά
π OPTIONS π
-v,--versionβ print the utility version and exit. short and iconic.-h,--helpβ print usage information for the command line options and exit. she's helping!-cMINOR-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. stack her. π
π₯ ADVANCED OPTIONS π₯
these are the deep cuts, iykyk.
-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-cflag.-l,--nvlinkβ load the NVIDIA kernel module and create the NVLink control device file.-fNVIDIA-CAPABILITY-DEVICE-FILE,--nvidia-capability-device-file=NVIDIA-CAPABILITY-DEVICE-FILE β create the NVIDIA capability device files with the given capability/procfile path. this option can be specified multiple times to create multiple NVIDIA capability device files. β¨-a,--auto-online-movableβ enable theonline_movableauto onlining kernel setting for platforms (like Grace Hopper) that add and online GPU memory to the kernel.
π EXAMPLES π
okay live demonstration time, watch and learn:
nvidia-modprobeβ run/sbin/modprobe nvidianvidia-modprobe -c 0 -c 1β run/sbin/modprobe nvidiaand create/dev/nvidia0and/dev/nvidia1nvidia-modprobe -i 0β run/sbin/modprobe nvidia0
π AUTHOR π
Andy Ritger
NVIDIA Corporation
π COPYRIGHT π
Copyright Β© 2013 NVIDIA Corporation.
and that's the whole page, bestie β you ate that reading thing fr fr. go forth and let the driver fork(2)/exec(3) her for you like she's meant to be. slay. π
β¨
this glorious manual was brought to you by nvidia-modprobe 610.57.04, dated 2026-08-09, on the nvidia-modprobe(1) manual page β mwah, no notes, periodt. ππ¦π
π¦ where this page comes from
- ubuntu stonking: nvidia-modprobe 610.57.04-1 Β· MIT
- Copyright (C) 2005-2010 NVIDIA Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms