linux_wiki:screen_tear_fix_kde

This is an old revision of the document!


Screen Tear Fix Kde

General Information

Fixing screen tearing in KDE.

Checklist

  • KDE Plasma (KDE 5)

Kwin Environmental Vars

The Kwin environmental variables solution does not impact performance like other solutions on the internet suggesting Full Composition Pipelining.


  • Create a new file and add some environmental variables.
    sudo vim /etc/profile.d/kwin.sh
     
    #!/bin/bash
    # Prevents screen tearing with NVIDIA Drivers (Only enable 1 at a time)
    export __GL_YIELD="USLEEP"
    #export KWIN_TRIPLE_BUFFER=1
    • Try first with USLEEP.
    • If that doesn't help, comment out that line and uncomment the Triple Buffer line.
  • Source the file to pick up the new variables
    source /etc/profile.d/kwin.sh

  • linux_wiki/screen_tear_fix_kde.1533267175.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)