Linux GUI NVIDIA Setup and Hacks: Difference between revisions

From WikiMLT
mNo edit summary
Line 1: Line 1:
<noinclude>{{ContentArticleHeader/Linux_Desktop|toc=off}}{{ContentArticleHeader/Hardware}}</noinclude>
<noinclude>{{ContentArticleHeader/Linux_Desktop|toc=off}}{{ContentArticleHeader/Hardware}}</noinclude>
== Performance mode ==
== Performance mode ==


To change the If there are some performance issues check <code>NVIDIA Settings</code> > <code>PowerMizer</code> > <code>Performance Mode</code>. You can change the default performance mode by changing <code>[https://forums.developer.nvidia.com/t/how-to-automatically-set-powermizer-to-prefer-maximum-performace-with-340-and-346-drivers/37980 xorg.conf]</code> or you can change it via the CLI by the following [https://forums.developer.nvidia.com/t/always-put-gpu-in-full-speed-p0/41182 commands].<syntaxhighlight lang="shell" line="1">
You can change the performance mode either from the GUI via <code>NVIDIA X Server Settings</code> tool: <code>PowerMizer</code> > <code>Performance Mode</code> - see {{Media-cite|f|1}}. You can change the default performance mode by changing <code>[https://forums.developer.nvidia.com/t/how-to-automatically-set-powermizer-to-prefer-maximum-performace-with-340-and-346-drivers/37980 xorg.conf]</code> or you can change it via the CLI by the following [https://forums.developer.nvidia.com/t/always-put-gpu-in-full-speed-p0/41182 commands].  
{{Media
| n = 1
| img = NVIDIA.525.X Server Settings.DisplayConfiguration.ForceCompositionPipeline.webp
}}<syntaxhighlight lang="shell" line="1">
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=0  # Adaptive
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=0  # Adaptive
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1  # Prefer Maximum Performance
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1  # Prefer Maximum Performance

Revision as of 10:45, 29 April 2023

Per­for­mance mode

You can change the per­for­mance mode ei­ther from the GUI via NVIDIA X Serv­er Set­tings tool: Pow­er­Miz­er > Per­for­mance Mode – see Fig­ure 1. You can change the de­fault per­for­mance mode by chang­ing xorg.conf or you can change it via the CLI by the fol­low­ing com­mands.

Figure 1. Change NVIDIA X Serv­er Set­tings > Dis­play Con­fig­u­ra­tion > Force Com­po­si­tion Pipeline (NVIDIA dri­ver ver­sion 525) to im­prove v‑sync per­for­mance on ful screen video play­ing.
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=0  # Adaptive
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1  # Prefer Maximum Performance
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=2  # Auto
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=3  # Prefer Consistent Performance

Sec­tion 1