Jump to content

NVIDIA on Linux: Difference between revisions

From SameTeem
No edit summary
No edit summary
Line 1: Line 1:


== Extra free performance ==
== Extra free performance ==
  sudo nano /etc/modprobe.d/nvidia.conf  
  sudo nano /etc/modprobe.d/nvidia.conf  
Add
Add
  <nowiki>options nvidia NVreg_UsePageAttributeTable=1 \   
  <nowiki>options nvidia NVreg_UsePageAttributeTable=1 \   
   NVreg_DynamicPowerManagement=0x02 \  
   NVreg_DynamicPowerManagement=0x02 \  
Line 16: Line 13:


This will allow the graphics card to run at lower speeds while doing things that use CUDA, such as video decoding
This will allow the graphics card to run at lower speeds while doing things that use CUDA, such as video decoding
  sudo nano /etc/environment    
  sudo nano /etc/environment
Add
Add
  CUDA_DISABLE_PERF_BOOST=1
  CUDA_DISABLE_PERF_BOOST=1

Revision as of 02:05, 29 April 2026

Extra free performance

sudo nano /etc/modprobe.d/nvidia.conf 

Add

options nvidia NVreg_UsePageAttributeTable=1 \  
   NVreg_DynamicPowerManagement=0x02 \ 
   NVreg_InitializeSystemMemoryAllocations=1 \ 
   NVreg_RegistryDwords=RMIntrLockingMode=1 \ 
   NVreg_EnableResizableBar=1 

Don't allow GPU to stay at maximum power while running tasks

This will allow the graphics card to run at lower speeds while doing things that use CUDA, such as video decoding

sudo nano /etc/environment

Add

CUDA_DISABLE_PERF_BOOST=1