Skip to content

Commit

Permalink
modprobe.d: Add comments for nvidia options
Browse files Browse the repository at this point in the history
  • Loading branch information
ventureoo committed Jul 2, 2024
1 parent f1ca48b commit 9274730
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions usr/lib/modprobe.d/nvidia.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,28 @@
#
# NVreg_UsePageAttributeTable=1 (Default 0) - Activating the better memory
# management method (PAT). The PAT method creates a partition type table at a
# specific address mapped inside the register and utilizes the memory
# architecture and instruction set more efficiently and faster. If your system
# can support this feature, it should improve CPU performance.
#
# NVreg_InitializeSystemMemoryAllocations=0 (Default 1) - Disables clearing
# system memory allocation before using it for the GPU. Potentially improves
# performance, but at the cost of increased security risks. Write "options
# nvidia NVreg_InitializeSystemMemoryAllocations=1" in
# /etc/modprobe.d/nvidia.conf, if you want to return the default value. Note:
# It is possible to use more memory (?)
#
# NVreg_DynamicPowerManagement=0x02 - Enables the use of dynamic power
# management for Turing generation mobile cards, allowing the dGPU to be
# powered down during idle time.
#
# nvidia_drm.modeset=1 (default 0) - Enables modesetting support for the NVIDIA
# driver. Critical for Wayland support and proper PRIME Offload operation.
#
# nvidia_drm.fbdev=1 - Enables hardware framebuffer support. Allows to use
# native display resolution in tty. This option has no effect on PRIME laptops,
# as the framebuffer is handled by the iGPU. This parameter is marked as
# experimental, so bugs may occur.
#
options nvidia NVreg_UsePageAttributeTable=1 NVreg_InitializeSystemMemoryAllocations=0 NVreg_DynamicPowerManagement=0x02
options nvidia_drm modeset=1 fbdev=1

0 comments on commit 9274730

Please sign in to comment.