summaryrefslogtreecommitdiffstats
path: root/abs/core/xf86-video-intel/xf86-video-intel.install
blob: 213f7d48bd0027112436a9a93ab7dd6e4e987dae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 :
      Section "Device"
        Identifier  "Intel Graphics"
        Driver      "intel"
        Option      "AccelMethod"  "uxa"
        #Option      "AccelMethod"  "sna"
      EndSection
MSG
}