[kde-workspace] fix choppy fullscreen with OpenGL compositing on latest intel drv (kde#336589)
Kevin Kofler
kkofler at fedoraproject.org
Sat Jul 5 23:56:54 UTC 2014
commit 7a688070de23ee77d173981060ddbd3ce039edb0
Author: Kevin Kofler <Kevin at tigcc.ticalc.org>
Date: Sun Jul 6 01:56:40 2014 +0200
fix choppy fullscreen with OpenGL compositing on latest intel drv (kde#336589)
* Sat Jul 05 2014 Kevin Kofler <Kevin at tigcc.ticalc.org> 4.11.10-8
- backport upstream patch to fix choppy fullscreen with OpenGL compositing on
the latest xorg-x11-drv-intel driver from KWin 5 (kde#336589, fdo#80349)
kde-workspace-4.11.10-kwin-intel-kde#336589.patch | 13 +++++++++++++
kde-workspace.spec | 15 ++++++++++++---
2 files changed, 25 insertions(+), 3 deletions(-)
---
diff --git a/kde-workspace-4.11.10-kwin-intel-kde#336589.patch b/kde-workspace-4.11.10-kwin-intel-kde#336589.patch
new file mode 100644
index 0000000..044663b
--- /dev/null
+++ b/kde-workspace-4.11.10-kwin-intel-kde#336589.patch
@@ -0,0 +1,13 @@
+diff -ur kde-workspace-4.11.10/kwin/libkwineffects/kwinglplatform.cpp kde-workspace-4.11.10-kwin-intel-kde#336589/kwin/libkwineffects/kwinglplatform.cpp
+--- kde-workspace-4.11.10/kwin/libkwineffects/kwinglplatform.cpp 2014-06-08 12:55:49.000000000 +0200
++++ kde-workspace-4.11.10-kwin-intel-kde#336589/kwin/libkwineffects/kwinglplatform.cpp 2014-07-06 01:50:06.000000000 +0200
+@@ -818,7 +818,8 @@
+ m_supportsGLSL = false;
+
+ m_limitedGLSL = m_supportsGLSL && m_chipClass < I965;
+- m_looseBinding = true;
++ // see https://bugs.freedesktop.org/show_bug.cgi?id=80349#c1
++ m_looseBinding = false;
+
+ if (m_chipClass < I965) {
+ m_recommendedCompositor = OpenGL1Compositing;
diff --git a/kde-workspace.spec b/kde-workspace.spec
index dcfcf43..cae7ec6 100644
--- a/kde-workspace.spec
+++ b/kde-workspace.spec
@@ -20,7 +20,7 @@
Summary: KDE Workspace
Name: kde-workspace
Version: 4.11.10
-Release: 7%{?dist}
+Release: 8%{?dist}
License: GPLv2
URL: https://projects.kde.org/projects/kde/kde-workspace
@@ -147,7 +147,11 @@ Patch210: kdebase-workspace-4.5.90-no_HAL2.patch
# rhel patches
Patch300: kde-workspace-4.8.3-webkit.patch
-## trunk patches
+## trunk (Plasma 5) patches
+# fix choppy fullscreen with OpenGL compositing on latest intel drv (kde#336589)
+# upstream patch by Martin Gräßlin from kwin master
+# http://commits.kde.org/kwin/e8241313fc979aefafc8c2a0207570d6394f1580
+Patch400: kde-workspace-4.11.10-kwin-intel-kde#336589.patch
# pkg rename
Obsoletes: kdebase-workspace < 4.7.97-10
@@ -509,7 +513,8 @@ Requires: akonadi
%patch300 -p1 -b .webkit
%endif
-# trunk patches
+# trunk (Plasma 5) patches
+%patch400 -p1 -b .kde#336589
# ensure the file we are about to replace exists
[ -f startkde.cmake ]
@@ -1088,6 +1093,10 @@ fi
%changelog
+* Sat Jul 05 2014 Kevin Kofler <Kevin at tigcc.ticalc.org> 4.11.10-8
+- backport upstream patch to fix choppy fullscreen with OpenGL compositing on
+ the latest xorg-x11-drv-intel driver from KWin 5 (kde#336589, fdo#80349)
+
* Thu Jul 03 2014 Rex Dieter <rdieter at fedoraproject.org> 4.11.10-7
- QT_PLUGIN_PATH contains repeated paths (#1115268)
More information about the scm-commits
mailing list