Browse Source

fixed xf86-video-intel uxa/sna driver glitches

Bachir Soussi Chiadmi 5 years ago
parent
commit
1843660fc3
2 changed files with 12 additions and 0 deletions
  1. 10 0
      assets/20-intel.conf
  2. 2 0
      post-install.sh

+ 10 - 0
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

+ 2 - 0
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