(Tutorial) How to make high refresh rates work in Xorg

This concerns a multi monitor setup with different refresh rates (e. g. 1 with 60hz and 1 with 144hz).

The text below is part of the linked article. If you have both nvidia and picom installed, check both sections.

NVIDIA (propietary)

  • Open nvidia-settings
  • Go to 'X Server Display Configuration’
  • In the bottom right, Click on ‘Advanced…’ if it says 'Advanced…'
  • Make sure anything regarding ‘force composition pipeline’ is checked off
  • Make sure you selected the highest refresh rates possible. You can either select it through the settings, configure it with xrandr or with your DEs Display Settings, is applicable

picom

  • Make sure to start picom with –no-vsync

Misc

If it still doesn’t work, try settings these environment variables:


<span style="color:#323232;">CLUTTER_DEFAULT_FPS=<your highest refresh rate>
</span><span style="color:#323232;">__GL_SYNC_DISPLAY_DEVICE=<your highest refresh rate display>
</span><span style="color:#323232;">__GL_SYNC_TO_VBLANK=0
</span>

Find the DISPLAY_DEVICE name with xrandr | grep connected

Add the text block above to /etc/environment (Tip: Use EDITOR=<your editor, if EDITOR is not set anywhere else> sudoedit instead of sudo nano or sudo vim)

-> sudoedit /etc/environment

ElectroLisa,
@ElectroLisa@lemmy.blahaj.zone avatar

Suggestion to append the title with “and Nvidia”. Came here thinking this guide will have stuff for AMD

roon,
@roon@lemmy.ml avatar

I don’t seem to have a tab named ‘X Server Display Configuration’ 🤔

https://lemmy.ml/pictrs/image/f1f4b7e5-79ed-4b4b-b289-c04b17689298.png

vepro,

Only difference in info I can see is that display name ends with :0 instead of :0.0. Depending on your DE, you might fiddle with display settings there. Are you running X natively and not XWayland?

roon,
@roon@lemmy.ml avatar

Natively. I’m on KDE Plasma with X11 session

  • All
  • Subscribed
  • Moderated
  • Favorites
  • archlinux@lemmy.ml
  • DreamBathrooms
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • tacticalgear
  • megavids
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • JUstTest
  • lostlight
  • All magazines