Created
May 9, 2020 10:56
-
-
Save duard/502a1308e18852de942623345bba02af to your computer and use it in GitHub Desktop.
Fix ubuntu debian xfce tearing (4k full hd 60 fps) nvidia
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mv ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml.bkp; | |
echo $(xrandr | sed -nr '/(\S+) connected (primary )?([0-9]+x[0-9]+)(\+\S+).*/{ s//\1: \3 \4 { ForceFullCompositionPipeline = On }, /; H}; ${ g; s/\n//g; s/, $//; p }'); | |
# add this to Section "Device" | |
Option "NoLogo" "1" | |
Option "RenderAccel" "1" | |
Option "TripleBuffer" "true" | |
Option "MigrationHeuristic" "greedy" | |
Option "AccelMethod" "sna" | |
Option "TearFree" "true" | |
# add this to Section "Screen" | |
Option "metamodes" "HDMI-0:3840x2160_60 +0+0 { ForceFullCompositionPipeline = On }" | |
# Option "metamodes" "HDMI-0:3840x2160 +0+0 { ForceFullCompositionPipeline = On }" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment