Skip to content

Instantly share code, notes, and snippets.

@rayansostenes
Created September 15, 2016 20:46
Show Gist options
  • Save rayansostenes/7dd0d6335454d34e9f5e63b8cc924228 to your computer and use it in GitHub Desktop.
Save rayansostenes/7dd0d6335454d34e9f5e63b8cc924228 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo apt-get install --no-install-recommends xserver-xorg xinit xserver-xorg-video-fbdev lxde lxde-common lightdm
sudo apt-get install git build-essential xorg-dev xutils-dev x11proto-dri2-dev libltdl-dev libtool automake libdrm-dev
git clone https://github.com/ssvb/xf86-video-fbturbo.git
cd xf86-video-fbturbo
autoreconf -vi
./configure --prefix=/usr
make
sudo make install
sudo cat <<EOF
Section “Device” Identifier “Allwinner A10/A13 FBDEV” Driver “fbturbo” Option “fbdev” “/dev/fb0”
Option “SwapbuffersWait” “true”
EndSection
EOF > /usr/share/X11/xorg.conf.d/99-fbturbo.conf
sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment