summaryrefslogtreecommitdiffstats
path: root/abs/core/xf86-video-intel/xf86-video-intel.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-06-24 19:18:49 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-06-24 19:18:49 (GMT)
commit771eb0cb5590ee1ddc9291b14c46b86031cbd95b (patch)
treee9cc21054b0a4242c0d40d694392d8761a1f0e4c /abs/core/xf86-video-intel/xf86-video-intel.install
parent475a23548f0d6379c8c7f6f692a4f69c51b6dc7b (diff)
downloadlinhes_pkgbuild-771eb0cb5590ee1ddc9291b14c46b86031cbd95b.zip
linhes_pkgbuild-771eb0cb5590ee1ddc9291b14c46b86031cbd95b.tar.gz
linhes_pkgbuild-771eb0cb5590ee1ddc9291b14c46b86031cbd95b.tar.bz2
xf86-video-intel: 2.99.917
Diffstat (limited to 'abs/core/xf86-video-intel/xf86-video-intel.install')
-rw-r--r--abs/core/xf86-video-intel/xf86-video-intel.install22
1 files changed, 17 insertions, 5 deletions
diff --git a/abs/core/xf86-video-intel/xf86-video-intel.install b/abs/core/xf86-video-intel/xf86-video-intel.install
index d523eb6..213f7d4 100644
--- a/abs/core/xf86-video-intel/xf86-video-intel.install
+++ b/abs/core/xf86-video-intel/xf86-video-intel.install
@@ -1,8 +1,20 @@
+post_upgrade() {
+ if (( $(vercmp $2 2.21.15) < 0 )); then
+ post_install
+ fi
+}
+
post_install() {
- echo ">>> This driver now allows to switch"
- echo ">>> between sna/uxa acceleration methods."
- echo ">>> Add to the device section in /etc/X11/xorg.conf"
- echo ">>> Option \"AccelMethod\" \"sna\""
- echo ">>> use uxa method if you run into trouble with sna."
+ 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 :
+ Section "Device"
+ Identifier "Intel Graphics"
+ Driver "intel"
+ Option "AccelMethod" "uxa"
+ #Option "AccelMethod" "sna"
+ EndSection
+MSG
}