Bug 382831

Summary: Tearing Prevention (vsync) only works for a few seconds, then screen tearing begins again [screencast included]
Product: [Plasma] kwin Reporter: Unknown <null>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Severity: major CC: null, pablow.1422
Priority: NOR    
Version: 5.10.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
URL: https://youtu.be/Sqe43Zso9XI
Latest Commit: Version Fixed In:

Description Unknown 2017-07-27 21:25:03 UTC
See video link in URL field for example. When I enable the screen tearing prevention in the Compositor settings, click apply, then drag & move a window around, screen tearing seems fixed for a few seconds, but the tearing returns after that. Changing the settings again produces the same result: tearing is fixed for a few seconds, but dragging and moving a window across the screen will show that screen tearing returns.

When tearing prevention is applied (regardless of the setting), the settings stick after you click APPLY or OK, and the tearing is gone, period.

Kubuntu 17.04 x64
KDE Plasma 5.10.4 (via ppa:kubuntu-ppa/backports)
KDE Frameworks 5.36.0
Qt 5.7.1
Linux kernel 4.10.0-28-generic
Nvidia GTX 1080 graphics card
Nvidia 384.59 proprietary driver (via ppa:graphics-drivers/ppa)
Comment 1 Pablo 2017-07-28 15:18:25 UTC
This is an old and known issue with NVIDIA driver and kwin. By the way, screen tearing will not show in your screencast (recheck your video please).

This is the (original?) bug entry with a lengthy discussion:
There's a workaround in the last comment.
Comment 2 Martin Flöser 2017-07-28 16:16:00 UTC

*** This bug has been marked as a duplicate of bug 322060 ***
Comment 3 Unknown 2017-07-28 18:10:43 UTC
@Pablo, sorry about that -- didn't realize the screen-tearing wasn't evident in the video. I'll do better to re-check those before posting, next time.

I'll continue the discussion at the bug that my bug was marked a duplicate of. Thanks for your responses.