[arch-commits] Commit in xf86-video-intel/trunk (PKGBUILD xf86-video-intel.install)

Andreas Radke andyrtr at archlinux.org
Thu Jul 28 19:50:19 UTC 2016


    Date: Thursday, July 28, 2016 @ 19:50:18
  Author: andyrtr
Revision: 272655

upgpkg: xf86-video-intel 1:2.99.917+684+g6988b87-2

add install/update msg about new DRI3 default and possible fallback

Modified:
  xf86-video-intel/trunk/PKGBUILD
  xf86-video-intel/trunk/xf86-video-intel.install

--------------------------+
 PKGBUILD                 |    2 +-
 xf86-video-intel.install |   23 ++++++++++++-----------
 2 files changed, 13 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-28 19:38:57 UTC (rev 272654)
+++ PKGBUILD	2016-07-28 19:50:18 UTC (rev 272655)
@@ -5,7 +5,7 @@
 pkgname=xf86-video-intel
 _commit=6988b87 # 7 digits
 pkgver=2.99.917+684+g6988b87
-pkgrel=1
+pkgrel=2
 epoch=1
 arch=(i686 x86_64)
 url="https://01.org/linuxgraphics"

Modified: xf86-video-intel.install
===================================================================
--- xf86-video-intel.install	2016-07-28 19:38:57 UTC (rev 272654)
+++ xf86-video-intel.install	2016-07-28 19:50:18 UTC (rev 272655)
@@ -1,20 +1,21 @@
-post_upgrade() {
-  if (( $(vercmp $2 2.21.15) < 0 )); then
-    post_install
-  fi
-}
-
 post_install() {
   cat <<MSG
->>> This driver uses SNA as the default acceleration method. You can try
-    falling back to UXA if you run into trouble. To do so, save a file with
-    the following content as /etc/X11/xorg.conf.d/20-intel.conf :
+>>> This driver now uses DRI3 as the default Direct Rendering
+    Infrastructure. You can try falling back to DRI2 if you run
+    into trouble. To do so, save a file with the following 
+    content as /etc/X11/xorg.conf.d/20-intel.conf :
       Section "Device"
         Identifier  "Intel Graphics"
         Driver      "intel"
-        Option      "AccelMethod"  "uxa"
-        #Option      "AccelMethod"  "sna"
+        Option      "DRI" "2"             # DRI3 is now default 
+        #Option      "AccelMethod"  "sna" # default
+        #Option      "AccelMethod"  "uxa" # fallback
       EndSection
 MSG
 }
 
+post_upgrade() {
+  if (( $(vercmp $2 2.99.917+682) < 0 )); then
+    post_install
+  fi
+}



More information about the arch-commits mailing list