[Exchange Ideas] Add Intel Hybrid Driver to Deepin (Haswell and Skylake architecture)
Experiences and Insight 230 views · 1 replies ·
Vamp
Moderator
2023-01-12 09:41
Author
Hello there,
Lot of people use older Notebooks with Skylake architecture. This architecture GPU is not suppport modern codecs default (for example VP9 that use Youtube) but able to decode it a special driver named Intel Hybrid Driver. It not a standalone package, it need to install beside the normal driver.
On Debian (and Deepin) i not found this package, so now need to compile it from source. I would like to add some progress how to do it your own.
Update 1 - 2023.01.13
Change libva to 2.17 dev
Change libva-utils to 2.17 dev
change intel-vaapi-driver to master branch (it 2 year newer)
change intel-hybrid-driver to my repo. It contain all fix that pull after the intel repo is archived.
Update your system to latesest version (V20.8 now)
git clone --branch v2.17-branch https://github.com/intel/libva
cd libva
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
time make -j$(nproc) VERBOSE=1
sudo make -j$(nproc) install
cmrt
git clone https://github.com/intel/cmrt
cd cmrt
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
time make -j$(nproc) VERBOSE=1
sudo make -j$(nproc) install
intel-hybrid-driver (i use a fork, not the Intel repo, because it contain a fix that need, that you use libva 2.0+)
git clone https://github.com/vampywiz17/intel-hybrid-driver
cd intel-hybrid-driver
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
time make -j$(nproc) VERBOSE=1
sudo make -j$(nproc) install
intel-vaapi-driver
git clone https://github.com/intel/intel-vaapi-driver
cd intel-vaapi-driver
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-hybrid-codec
time make -j$(nproc) VERBOSE=1
sudo make -j$(nproc) install
libva-utils
git clone --branch v2.17-branch https://github.com/intel/libva-utils
cd libva-utils
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
time make -j$(nproc) VERBOSE=1
sudo make -j$(nproc) install
Add environment variables this file: /etc/environment
And check a youtube video with 1440p resolution, VP9 codec! Not bad a 10 years old architekture :)
Test:
Test machine - Intel Haswell CPU (i5-4300U) with Intel HD Graphics 4400
Youtube VP9 1080p - no frame drop
Youtube VP9 1440p - no frame drop
Youtube VP9 2160p - medium frame drop
Youtube VP9 1080p60 - low-medium frame drop
Youtube VP9 1440p60 - high frame drop
Youtube VP9 2160p60 - very high frame drop
Hello there,
Lot of people use older Notebooks with Skylake architecture. This architecture GPU is not suppport modern codecs default (for example VP9 that use Youtube) but able to decode it a special driver named Intel Hybrid Driver. It not a standalone package, it need to install beside the normal driver.
On Debian (and Deepin) i not found this package, so now need to compile it from source. I would like to add some progress how to do it your own.
Update 1 - 2023.01.13
Update your system to latesest version (V20.8 now)
Install dependencies
Compile this modules
libva
cmrt
intel-hybrid-driver (i use a fork, not the Intel repo, because it contain a fix that need, that you use libva 2.0+)
intel-vaapi-driver
libva-utils
Add environment variables this file: /etc/environment
Reboot the system and test it!
vainfo (my Notebook is Haswell):
And check a youtube video with 1440p resolution, VP9 codec! Not bad a 10 years old architekture :)
Test:
Test machine - Intel Haswell CPU (i5-4300U) with Intel HD Graphics 4400
Youtube VP9 1080p - no frame drop
Youtube VP9 1440p - no frame drop
Youtube VP9 2160p - medium frame drop
Youtube VP9 1080p60 - low-medium frame drop
Youtube VP9 1440p60 - high frame drop
Youtube VP9 2160p60 - very high frame drop