tce-load -i compiletc libdrm-dev [pass1] mesa-dev [pass2] https://github.com/intel/libva/releases/download/2.5.0/libva-2.5.0.tar.bz2 cd libva-2.5.0 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -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 sudo make install libva - 2.5.0 (VA-API 1.5.0) [pass1] Installation prefix .............. : /usr/local Default driver path .............. : ${exec_prefix}/lib/dri Extra window systems ............. : drm Build documentation .............. : no Build with messaging ............. : yes libva - 2.5.0 (VA-API 1.5.0) [pass2] 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