Trying to enable Xorg backing-store but it seems to be tricky.

/etc/X11/xorg.conf:

Section "ServerLayout"
    Identifier     "acer-aspire-as3820t"
    Screen 0       "laptop-screen"
EndSection

Section "Extensions"
    Option         "Composite" "on"
EndSection

Section "DRI"
    Mode           0666
EndSection

Section "Monitor"
    Identifier     "13.3-inch"
    Option         "DPMS" "off"
EndSection

Section "Device" 
    Identifier     "intel-hd-graphics" 
    Driver         "intel" 
    Option         "TearFree" "on"
    Option         "AccelMethod" "sna"
    Option         "SwapbuffersWait" "on"
    Option         "DRI" "3"
EndSection

Section "Screen"
    Identifier     "laptop-screen"
    Device         "intel-hd-graphics"
    Monitor        "13.3-inch"
    DefaultDepth   24
    Option         "BackingStore" "on"
    SubSection     "Display"
        Depth      24
        Modes      "1366x768"
    EndSubSection
EndSection

/usr/share/lightdm/lightdm.conf.d/40-lightdm-kde-greeter.conf:

display-setup-script=/usr/bin/xrandr --output LVDS1 --primary --left-of HDMI1
greeter-setup-script=/usr/bin/setxkbmap fi

/usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf:

xserver-command=X -core -dpi 88 +bs

Add your user to video group so you’ll get access to /dev/dri/card0:

$ sudo usermod -a -G video username
Advertisements