Linux GUI NVIDIA Setup and Hacks

From WikiMLT

Per­for­mance mode

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.

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.

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