X11视频加速 2D加速

sudo apt-get install git build-essential xorg-dev xutils-dev x11proto-dri2-dev
sudo apt-get install 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 -j2

sudo make install

添加设备
sudo nano /etc/X11/xorg.conf

Section "Device"
        Identifier      "Allwinner A10/A13 FBDEV"
        Driver          "fbturbo"
        Option          "fbdev" "/dev/fb0" 
        Option          "SwapbuffersWait" "true"
EndSection

最后重启
sudo reboot

达到的效果,用SMPlayer以X11模式播放720P以下视频不再卡顿

标签: PocketChip, X11加速

添加新评论