diff --git a/assets/20-intel.conf b/assets/20-intel.conf new file mode 100644 index 0000000..d23ef3c --- /dev/null +++ b/assets/20-intel.conf @@ -0,0 +1,10 @@ +# 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 : +# https://bbs.archlinux.org/viewtopic.php?pid=1533863#p1533863 +Section "Device" + Identifier "Intel Graphics" + Driver "intel" + Option "AccelMethod" "uxa" + #Option "AccelMethod" "sna" +EndSection diff --git a/post-install.sh b/post-install.sh index 95420bf..76e15d0 100755 --- a/post-install.sh +++ b/post-install.sh @@ -213,6 +213,8 @@ alpi_xserver(){ sudo pacman -S --needed --noconfirm -q xf86-input-libinput # integred gpu sudo pacman -S --needed --noconfirm -q xf86-video-intel + # https://bbs.archlinux.org/viewtopic.php?pid=1533863#p1533863 + sudo cp $_cwd/assets/20-intel.conf /etc/X11/xorg.conf.d/ # discret gpu # sudo pacman -S --needed --noconfirm -q bbswitch bumblebee primus # sudo pacman -S --needed --noconfirm -q nvidia nvidia-utils nvidia-libgl