tce-load -i Xorg-7.7-3d-dev glamor-egl-dev xorg-server-dev cd xf86-video-intel-2.21.15 patch -Np1 -i ../xf86-video-intel-2.21.15-api_change-1.patch CFLAGS="-mtune=generic -Os -pipe" CXXFLAGS="-mtune=generic -Os -pipe" ./configure --prefix=/usr/local --sysconfdir=/etc --localstatedir=/var --enable-kms-only --with-default-accel=sna --enable-glamor [-lto seems to get stuck in loop with CCLD intel_drv.la] find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; make sudo make install xf86-video-intel 2.21.15 will be compiled with: Acceleration backends: *sna uxa glamor Additional debugging support? none Support for Direct Rendering Infrastructure: DRI2 Support for Xv motion compensation (XvMC and libXvMC): yes