[arch-commits] Commit in kdebase-workspace/trunk (KDEBUG-336589.patch PKGBUILD)

Andrea Scarpino andrea at nymeria.archlinux.org
Tue Jun 24 16:59:17 UTC 2014


    Date: Tuesday, June 24, 2014 @ 18:59:16
  Author: andrea
Revision: 215420

upgpkg: kdebase-workspace 4.11.10-2

Fix OpenGL is choppy in fullscreen with Intel card

Added:
  kdebase-workspace/trunk/KDEBUG-336589.patch
Modified:
  kdebase-workspace/trunk/PKGBUILD

---------------------+
 KDEBUG-336589.patch |   26 ++++++++++++++++++++++++++
 PKGBUILD            |   11 ++++++++---
 2 files changed, 34 insertions(+), 3 deletions(-)

Added: KDEBUG-336589.patch
===================================================================
--- KDEBUG-336589.patch	                        (rev 0)
+++ KDEBUG-336589.patch	2014-06-24 16:59:16 UTC (rev 215420)
@@ -0,0 +1,26 @@
+commit e8241313fc979aefafc8c2a0207570d6394f1580
+Author: Martin Gräßlin <mgraesslin at kde.org>
+Date:   Mon Jun 23 07:45:44 2014 +0200
+
+    [libkwineffects] Require strict binding for intel driver
+    
+    According to driver devs it's a "buggy micro-optimisation", see
+    https://bugs.freedesktop.org/show_bug.cgi?id=80349#c1
+    
+    BUG: 336589
+    REVIEW: 118893
+
+diff --git a/libkwineffects/kwinglplatform.cpp b/libkwineffects/kwinglplatform.cpp
+index 4b2e6f3..9a391a0 100644
+--- a/libkwineffects/kwinglplatform.cpp
++++ b/libkwineffects/kwinglplatform.cpp
+@@ -811,7 +811,8 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface)
+             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 < I915) {
+             m_recommendedCompositor = XRenderCompositing;

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-24 16:14:03 UTC (rev 215419)
+++ PKGBUILD	2014-06-24 16:59:16 UTC (rev 215420)
@@ -6,7 +6,7 @@
 _pkgname=kde-workspace
 pkgver=4.11.10
 _pkgver=4.13.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Provides the interface and basic tools for the KDE workspace"
 arch=('i686' 'x86_64')
 url='https://projects.kde.org/projects/kde/kde-workspace'
@@ -29,7 +29,8 @@
 source=("http://download.kde.org/stable/${_pkgver}/src/${_pkgname}-${pkgver}.tar.xz"
         'kde.pam' 'kde-np.pam' 'kscreensaver.pam' 'kdm.service' 'kdm.logrotate'
         'etc-scripts.patch' 'terminate-server.patch' 'kdm-xinitrd.patch'
-        'khotkeys-qt4.patch')
+        'khotkeys-qt4.patch'
+        'KDEBUG-336589.patch')
 sha1sums=('2968043563e25d2d2618c9f49fdfbab5fa14c8cd'
           '660eae40a707d2711d8d7f32a93214865506b795'
           '6aeecc9e0e221f0515c6bf544f9a3c11cb6961fe'
@@ -39,7 +40,8 @@
           'c079ebd157c836ba996190f0d2bcea1a7828d02c'
           'ac7bc292c865bc1ab8c02e6341aa7aeaf1a3eeee'
           'd509dac592bd8b310df27991b208c95b6d907514'
-          'aa9d2e5a69986c4c3d47829721ea99edb473be12')
+          'aa9d2e5a69986c4c3d47829721ea99edb473be12'
+          'e7a21bd2371ce069627ddbfffb3cf5caddcb1bff')
 
 prepare() {
         mkdir build
@@ -55,6 +57,9 @@
 
         # KDEBUG#202629
         patch -p0 -i "${srcdir}"/terminate-server.patch
+
+        cd kwin
+        patch -p1 -i "${srcdir}"/KDEBUG-336589.patch
 }
 
 build() {




More information about the arch-commits mailing list