Enabling accelerated graphics post-Skylake
Make sure the xserver-xorg-video-intel package is installed, and then:
1 # Setup xorg.conf
2 sudo mkdir -p /etc/X11/xorg.conf.d
3 sudo cat << EOF > /etc/X11/xorg.conf.d/20-intel.conf
4 Section "Device"
5 Identifier "Intel Graphics"
6 Driver "intel"
7 Option "TearFree" "true"
8 Option "Backlight" "intel_backlight"
9 EndSection
10 EOF
11
12 # Setup kernel
13 sudo echo "options i915 enable_guc_loading=1 enable_guc_submission=1 enable_rc6=1 enable_fbc=1 enable_psr=1 disable_power_well=0 semaphores=1" > /etc/modprobe.d/i915.conf
14 sudo update-initramfs -k all -u
Sources: