summaryrefslogtreecommitdiff
path: root/extra/xf86-video-intel/xf86-video-intel.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-25 01:38:48 -0700
committerroot <root@rshg054.dnsready.net>2013-08-25 01:38:48 -0700
commiteed3b2a218be9aa9d9d8256f6b8ccd06d04b8804 (patch)
tree2404ba9a8a5481c0a2e700ca72d9657f6c393a64 /extra/xf86-video-intel/xf86-video-intel.install
parent49e0f6ae5dad013852999f497117d6798b2fb085 (diff)
Sun Aug 25 01:38:43 PDT 2013
Diffstat (limited to 'extra/xf86-video-intel/xf86-video-intel.install')
-rw-r--r--extra/xf86-video-intel/xf86-video-intel.install19
1 files changed, 13 insertions, 6 deletions
diff --git a/extra/xf86-video-intel/xf86-video-intel.install b/extra/xf86-video-intel/xf86-video-intel.install
index b03eea8aa..661387906 100644
--- a/extra/xf86-video-intel/xf86-video-intel.install
+++ b/extra/xf86-video-intel/xf86-video-intel.install
@@ -1,12 +1,19 @@
post_upgrade() {
- post_install
+ if (( $(vercmp $2 2.21.15) < 0 )); then
+ post_install
+ fi
}
post_install() {
- echo ">>> This driver now uses sna as the default"
- echo ">>> acceleration methods."
- echo ">>> You can use uxa method if you run into trouble."
- echo ">>> Add to the device section in /etc/X11/xorg.conf"
- echo ">>> Option \"AccelMethod\" \"uxa\""
+ cat <<MSG
+>>> This driver now uses SNA as the default acceleration method. You can
+ still fall 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"
+ EndSection
+MSG
}