[Share Experiences] How to - Use Intel VAAPI with Chrome 99 or newer on Deepin (20.5)
Tofloor
poster avatar
Vamp
deepin
2022-04-02 03:54
Author

Hello there,

With Chrome 99, the neccesary libva version is >=2.11. Deepin repo is contain 2.4.0. (really old)

If we try to install a new version of libva (for example from debian testing repo) it install a LOT of dependencys and we get a "mule" system... I also try to install it from source, but it not work on my side.

After that, i fortunatelly found this topic, that help me solve the problem.

So the step-by-step guide:

  1. Install Non-Free Intel GPU driver (not necceasry, but i prefer it)

    For Intel Gen 7 and earlier hardware:

    sudo apt install i965-va-driver-shaders
    

    For Intel Gen 8+ hardware:

    sudo apt install intel-media-va-driver-non-free
    
  2. Download this packages:
    libva-2.14_deb_deepin.zip

    vainfo_2.12.0+ds1-1_amd64.zip

  3. Unzip it, and install all deb packages:

    libva (amd64 folder)

    dpkg -i ./libva*
    

    It install all neccesary libva components. (drm, etc...)

    vainfo

    dpkg -i ./vainfo*
    
    
  4. Install missing dependencies

    sudo apt -f install
    

Now, your libva version is 2.14, it is enought that you able to run chrome with hardware decoding!

/opt/apps/cn.google.chrome/files/chrome --disable-features=UseChromeOSDirectVideoDecoder --enable-features=VaapiVideoDecoder

Képernyőkép_Terület kiválasztása_20220401134821.png

Reply Favorite View the author
All Replies
心平气和
deepin
2022-04-02 04:52
#1

好东西

Reply View the author
deepin
2022-04-02 05:48
#2

用不了,可能是电脑太老了

1.jpg

Reply View the author
Vamp
deepin
2022-04-02 07:06
#3

用不了,可能是电脑太老了

1.jpg

What is the content that you try to play it? Youtube?

Reply View the author
deepin
2022-04-02 15:01
#4
Vamp

What is the content that you try to play it? Youtube?

youtube和bilibili都不行,可能是不支持4代cpu

Reply View the author
Vamp
deepin
2022-04-03 05:06
#5

youtube和bilibili都不行,可能是不支持4代cpu

Default, youtube use VP9 codec. This decoder only support the modern Intel cards.

But one trick exist. All Youtube videos also exist with h.264 format, that most of cards are support.

With this extension, you force youtube, that use this type of decoder:

https://chrome.google.com/webstore/detail/h264ify/aleakchihdccplidncghkekgioiakgal

Reply View the author
deepin
2022-04-03 15:45
#6
Vamp

Default, youtube use VP9 codec. This decoder only support the modern Intel cards.

But one trick exist. All Youtube videos also exist with h.264 format, that most of cards are support.

With this extension, you force youtube, that use this type of decoder:

https://chrome.google.com/webstore/detail/h264ify/aleakchihdccplidncghkekgioiakgal

可以了😄

image.png

Reply View the author