https://bugs.kde.org/show_bug.cgi?id=431954

            Bug ID: 431954
           Summary: KWin OpenGL acceleration causes flickering and stale
                    content
           Product: kwin
           Version: 5.20.5
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: compositing
          Assignee: kwin-bugs-n...@kde.org
          Reporter: carana2...@gmail.com
  Target Milestone: ---

SUMMARY
Using OpenGL hardware accelaration with vsync on KWin causes programs to
flicker and render stale content.

STEPS TO REPRODUCE
1. Choose OpenGL as render infrastructure
2. Set Tearing Prevention to something other than none.
3. Enable compositing.
3. Open programs that have large sections that need constant repainting (such
as fast scrolling (sideways and vertically) in Okular, tabbing in a terminal,
or blinking carets.

OBSERVED RESULT
KWin will render stale content (flicker between the current frame and a stale
frame from a few miliseconds prior) and cause vertical screen tearing. This is
especially noticeable in Okular (when scrolling fast), LibreOffice and Konsole
(when the caret blinks).

It is absent when compositing is disabled, in screen recordings via Xcomposite,
and when vsync is forced via _GL_SYNC_TO_VBLANK (when Tearing Prevention is set
to Never).

EXPECTED RESULT
KWin should the current window content without the need to disable compositing
or using Mesa environment variables.

SOFTWARE/OS VERSIONS 
Operating System: Arch Linux
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.7-111-tkg-pds
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to