Server Setup

How to enable Intel hardware acceleration for video playback in RHEL/CentOS 8

by , , revisited on

We have by far the largest RPM repository with dynamic stable NGINX modules and VMODs for Varnish 4.1 and 6.0 LTS. If you want to install nginx, Varnish and lots of useful modules for them, this is your one stop repository to get all performance related software.
You have to maintain an active subscription in order to be able to use the repository!

Ensure Fedora repositories

sudo dnf -y install
sudo dnf install fedora-release

Install VA-API implementation for Intel G45 and HD Graphics family

dnfplus install libva-intel-driver

Run vlc on the command line to check:

vlc ""

Output should include:

[00007f03b06656e0] avcodec decoder: Using Intel i965 driver for Intel(R) Coffee Lake – 2.1.0 for hardware decoding

Video in Chrome

Browser is another story. It needs to support the aformentioned VA-API interface. And the stable Chrome version doesn’t.

So you can;

dnfplus install chromium-vaapi

This will install a separate version of Chrome, actually Chromium with VA-API support. To verify if video acceleration is supported, go to chrome://gpu page. And you will see it say:

Video Decode: Hardware accelerated

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.