Linux GUI NVIDIA Setup and Hacks: Difference between revisions
Line 16: | Line 16: | ||
| sz = 300 | | sz = 300 | ||
}} | }} | ||
== Deal with the bad vSync on full screen video | == Deal with the bad vSync on full screen video == | ||
Topics about such issue could be found in Internet back to 2010. Most of the proposed solutions doesn't do anything with latest NVIDIA driver (525 2003y). The only discussion that was helpful to me was [https://ubuntuforums.org/showthread.php?t=2235382&p=13079406#post13079406 NVIDIA Video Tearing at Ubuntu forums] and especially the advice related to <code>xorg.conf</code>. Also I didn't changed the OpenGL related settings proposed in the linked comment. | Topics about such issue could be found in Internet back to 2010. Most of the proposed solutions doesn't do anything with latest NVIDIA driver (525 2003y). The only discussion that was helpful to me was [https://ubuntuforums.org/showthread.php?t=2235382&p=13079406#post13079406 NVIDIA Video Tearing at Ubuntu forums] and especially the advice related to <code>xorg.conf</code>. Also I didn't changed the OpenGL related settings proposed in the linked comment. | ||
Line 28: | Line 28: | ||
# Modify the <code>Device</code> section in that file <code>xorg.conf</code>, as it is proposed in the mentioned discussion [https://ubuntuforums.org/showthread.php?t=2235382&p=13079406#post13079406 NVIDIA Video Tearing]. | # Modify the <code>Device</code> section in that file <code>xorg.conf</code>, as it is proposed in the mentioned discussion [https://ubuntuforums.org/showthread.php?t=2235382&p=13079406#post13079406 NVIDIA Video Tearing]. | ||
# Place the new configuration file in its place: <code>/etc/X11/xorg.conf</code> and reboot the system, just to be sure the settings are permanently applied. | # Place the new configuration file in its place: <code>/etc/X11/xorg.conf</code> and reboot the system, just to be sure the settings are permanently applied. | ||
Here is my final <code>xorg.conf</code> configuration.<noinclude> | |||
<noinclude> | |||
<div id='devStage'> | <div id='devStage'> | ||
{{devStage | {{devStage |
Revision as of 10:52, 29 April 2023
Performance mode
You can change the performance mode either from the GUI via NVIDIA X Server Settings
tool: PowerMizer
> Performance Mode
– see Figure 1. You can change the default performance mode by changing xorg.conf
or you can change it via the CLI by the following commands.
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
Deal with the bad vSync on full screen video
Topics about such issue could be found in Internet back to 2010. Most of the proposed solutions doesn't do anything with latest NVIDIA driver (525 2003y). The only discussion that was helpful to me was NVIDIA Video Tearing at Ubuntu forums and especially the advice related to xorg.conf
. Also I didn't changed the OpenGL related settings proposed in the linked comment.
In addition I've forced the full composition pipeline – see Figure 2, which I was found as advice somewhere within my research…
So the steps that (I hope) solved the problem for me was:
- Run:
sudo nvidia-xconfig
- Open
nvidia-settings
and check theForce Full Composition Pipeline
option – Fig 2. - Generate new
xorg.conf
from withinnvidia-settings
. - Modify the
Device
section in that filexorg.conf
, as it is proposed in the mentioned discussion NVIDIA Video Tearing. - Place the new configuration file in its place:
/etc/X11/xorg.conf
and reboot the system, just to be sure the settings are permanently applied.
Here is my final xorg.conf
configuration.