tce-load -i compiletc libdrm-dev [pass1] mesa-dev [pass2] wget https://github.com/intel/libva/releases/download/2.12.0/libva-2.12.0.tar.bz2 cd libva-2.12.0 CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static --sysconfdir=/etc find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 5.27s] sudo make install libva - 2.12.0 (VA-API 1.12.0) Installation prefix .............. : /usr/local Default driver path .............. : ${exec_prefix}/lib/dri Extra window systems ............. : drm x11 glx wayland Build documentation .............. : no Build with messaging ............. : yes