Skip to content

Instantly share code, notes, and snippets.

@cvetan
Created November 4, 2018 21:52
Show Gist options
  • Save cvetan/7bbe391b8af27248251748c5840d11aa to your computer and use it in GitHub Desktop.
Save cvetan/7bbe391b8af27248251748c5840d11aa to your computer and use it in GitHub Desktop.
Gnome 3 fix for nvidia-graphics
# file /etc/environment
CLUTTER_VBLANK=none
# max performance command
nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1 > /dev/null
# fix tearing command
nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
# multiple monitors example
nvidia-settings --assign CurrentMetaMode="DVI-D-0: nvidia-auto-select +1920+0 { ForceFullCompositionPipeline = On }, HDMI-0: nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment