Bug 80218

Summary: TearFree sometimes causes windows to not refresh properly with Kwin OpenGL compositing
Product: xorg Reporter: Ildar Nurislamov <absorbb>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED NOTOURBUG QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Ildar Nurislamov 2014-06-19 08:31:00 UTC
Not sure if it mesa bug or driver or X - i update regularly all of them. Sometimes windows content is not refreshed. Easily noticeable if Kwin Vsync is also enabled (which is redundant of course). Faster way to reproduce - switch skype 4.3 from contacts view to history (gray button at the right side) few times. Harder to notice if kwin vsync is disabled. Also happened in Firefox. I think it is not application dependent. E.g. popup menu can not show up at all.
Started to happen maybe days or weeks ago. I dont use OpenGL compositing mostly.
Comment 1 Ildar Nurislamov 2014-06-19 08:36:58 UTC
Actually it seems that problem is not reproducible with kwin vsync off. It
Comment 2 Ildar Nurislamov 2014-06-19 08:37:32 UTC
... It lowers significance
Comment 3 Chris Wilson 2014-06-19 09:08:14 UTC
It's a bug in Kwin. They ignore notifications that the buffers change.


diff --git a/kwin/libkwineffects/kwinglplatform.cpp b/kwin/libkwineffects/kwinglplatform.cpp
index ae2f459..c41b9df 100644
--- a/kwin/libkwineffects/kwinglplatform.cpp
+++ b/kwin/libkwineffects/kwinglplatform.cpp
@@ -808,7 +808,6 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface)
             m_supportsGLSL = false;
 
         m_limitedGLSL = m_supportsGLSL && m_chipClass < I965;
-        m_looseBinding = true;
 
         if (m_chipClass < I915) {
             m_recommendedCompositor = XRenderCompositing;

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.