Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Build latest driver Intel video driver for Linux

Code Block
cd ~
rm -Rf gmmlib/
git clone https://github.com/intel/gmmlib.git
cd gmmlib/
#git checkout -b intel-gmmlib-22.7.1
git checkout master
mkdir build && 
cd build
# cmake -DCMAKE_BUILD_TYPE=Release ..
cmake ../
make -j 4
make install


cd ~ ../..

git clone https://github.com/intel/libva.git
cd libva
#git checkout v2.22-branch
git checkout master
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
make
make install

# vainfo, mpeg2vaenc, avcenc, h264encode, jpegenc, av1encode, hevcencode, vp9enc, vp8enc, decode, encode  is there
cd ~cd ..

git clone https://github.com/intel/libva-utils.git
cd libva-utils
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
make
make install


cd ~
rm -Rf media-driver/..

git clone https://github.com/intel/media-driver.git
cd media-driver/
#git checkout -b intel-media-24.3.4
git checkout master
mkdir build
cd build 
cmake ../
make -j 4
make install
cd ../..

and now check with vainfo

...