Rocky Linux 8.7 - How to install intel-media-driver

I am running Rocky Linux 8.7 and I have 13th Gen Intel i9-13900 with integrated GPU.

I am trying to take use the hardware Quick Sync encoding/decoding feature in apps like OBS.

I have installed the RPM fusion repo but I get an error when I try to install intel-media-driver.

sudo dnf install intel-media-driver
No match for argument: intel-media-driver
Error: Unable to find a match: intel-media-driver

Would you please help me how to install intel-media-driver?
Thanks in advance!

There are multiple RPM Fusion repos, intel-media-driver is in the nonfree one. Configuration - RPM Fusion

Thanks for your help Brian! I have both installed but still get the error message. Is 8.7 not compatible with the intel-media-driver?

[abc@localhost ~]$ sudo dnf install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E %rhel).noarch.rpm
Last metadata expiration check: 0:56:12 ago on Wed 17 May 2023 09:43:46 PM PDT.
epel-release-latest-8.noarch.rpm                                                   83 kB/s |  25 kB     00:00    
Package epel-release-8-19.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[abc@localhost ~]$ sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm
Last metadata expiration check: 0:56:24 ago on Wed 17 May 2023 09:43:46 PM PDT.
rpmfusion-free-release-8.noarch.rpm                                                21 kB/s |  11 kB     00:00    
rpmfusion-nonfree-release-8.noarch.rpm                                             15 kB/s |  11 kB     00:00    
Package rpmfusion-free-release-8-0.1.noarch is already installed.
Package rpmfusion-nonfree-release-8-0.1.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[abc@localhost ~]$ sudo dnf install intel-media-driver
Last metadata expiration check: 0:56:48 ago on Wed 17 May 2023 09:43:46 PM PDT.
No match for argument: intel-media-driver
Error: Unable to find a match: intel-media-driver
[abc@localhost ~]$
[abc@localhost ~]$ dnf search intel-media-codec
Rocky Linux 8 - AppStream                                                         8.8 MB/s |  11 MB     00:01    
Rocky Linux 8 - BaseOS                                                             11 MB/s | 6.1 MB     00:00    
Rocky Linux 8 - Extras                                                             17 kB/s |  14 kB     00:00    
Rocky Linux 8 - PowerTools                                                        2.0 MB/s | 2.8 MB     00:01    
Extra Packages for Enterprise Linux 8 - x86_64                                    8.4 MB/s |  14 MB     00:01    
google-chrome                                                                      16 kB/s | 3.6 kB     00:00                                                                
RPM Fusion for EL 8 - Free tainted                                                1.9 kB/s | 1.8 kB     00:00    
RPM Fusion for EL 8 - Free - Updates                                              138 kB/s | 310 kB     00:02    
RPM Fusion for EL 8 - Nonfree tainted                                             1.3 kB/s | 1.7 kB     00:01    
RPM Fusion for EL 8 - Nonfree - Updates                                            59 kB/s |  89 kB     00:01    
Sublime Text - x86_64 - Stable                                                    3.6 kB/s | 2.2 kB     00:00    
No matches found.
[abc@localhost ~]$ 

Oh interesting. On browsing the repo, it looks like it isn’t in 8 (Index of /nonfree/el/updates/8/x86_64) but it is in 9 (Index of /nonfree/el/updates/9/x86_64/i)

Looks like the appropriate contact is kwizart: nonfree/intel-media-driver | PkgDB

Thanks again for your help and confirming. I am a beginner so please pardon my ignorance. So I should make an account at rpmfusion.org and send kwizart a message?

Filed a bug report for you at 6685 – EL8 Build of intel-media-driver is AWOL

1 Like

Awesome. Thank you so much for your help Brian!

Hello,

Thanks for reporting the issue to rpmfusion.org

The main problem with intel video hw accel on Rocky is that the version that can be packaged in rpmfusion is tight to the version of libva provided by RHEL (that is inherited in Rocky).

So the intel-media-driver package that could be provided in EL8 is probably older than what can be used to support your very recent hardware.

I would recommends to use Rocky 9 instead that has a much more recent version of both libva and intel-media-driver available. But if not enough recent, the way forward for us (at rpmfusion) is probably to enable modular support so we can provide an alternate more recent version of libva/intel-media driver…

1 Like

Well, After a double check, libva in RHEL 8.8 has been updated and is now newer than the libva in RHEL9.2. So I will make an updated intel-media-driver package on EL8. But again, unlikely to be efficient for very recent hardware…

1 Like

Thank you so much for looking into this @nchauvet. I found the detailed info super helpful. Unfortunately I can’t run Rocky 9 since I built the workstation to use Autodesk Maya which doesn’t support ver 9 yet. But I may do a dual boot of 8 and 9.

[abc@Rocky ~]$ cat /etc/os-release
NAME="Rocky Linux"
VERSION="8.8 (Green Obsidian)"
...

[jae@Rocky ~]$ sudo dnf install intel-media-driver
Last metadata expiration check: 0:08:13 ago on Wed 24 May 2023 09:07:23 PM PDT.
No match for argument: intel-media-driver
Error: Unable to find a match: intel-media-driver
[abc@Rocky ~]$ 

Hello @nchauvet :: Sorry to be a pain but I just tried again on 8.8 and I still don’t see the intel-media-drive. I get the same error message. Is there anything I can do to force update the repo to pickup the update? Thanks in advance!!