Missing Codecs | Video playback not works all the time

pls post the output of vainfo and eglinfo -B as preformatted text </>

When I tried typing vainfo it didn’t recognise it, I don’t know what I did wrong. Also, I had to install the inxi command that you mentioned. I’ll try and give you the inputs a bit later

I will also try this too after I tell you the result of the commands

dnf install libva-utils   egl-utils

also what is the output of

 dnf list ffmpeg\*  libavcodec\*  --installed

according to the intel info the GPU should be able to decode x264 and x265.
I think you forgot to swap the default fedora ffmpeg-free version with rpmfusion’s ffmpeg full version

sudo dnf swap ffmpeg-free ffmpeg --allowerasing
sudo dnf install  libavcodec-freeworld
sudo dnf update @multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
sudo dnf install intel-media-driver
sudo dnf remove libva-intel-driver
1 Like

an admin split topic in two.

when you executed the 5 sudo lines from my last post, what is now the output of vainfo ?

Thank you for giving me the util install, it did install few things.

The input of vainfo :

vainfo
Trying display: wayland
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/iHD_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/iHD_drv_video.so
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 25.1.4 ()
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointEncPicture
      VAProfileVP8Version0_3          :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD

Input of eglinfo -B :

eglinfo -B
GBM platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.4
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.4
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.4
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.4
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.4
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.4
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.4
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.4
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.4
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.4
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.4
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.4
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.0.4
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.0.4
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.4
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 20.1.2, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.0.4
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 20.1.2, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.0.4
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 20.1.2, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.0.4
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Input #3

dnf list ffmpeg\*  libavcodec\*  --installed
Paquets installés
ffmpeg-free.x86_64     7.1.1-3.fc42 <inconnu>
libavcodec-free.x86_64 7.1.1-3.fc42 624cbc92582d4ecfae4c58749abde4f8

And I also copy pasted what you gave me

And after your lines, vainfo is as follows :

Trying display: wayland
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.4.4 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileNone                   :	VAEntrypointStats
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointFEI
      VAProfileH264Main               :	VAEntrypointEncSliceLP
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointFEI
      VAProfileH264High               :	VAEntrypointEncSliceLP
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointFEI
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          :	VAEntrypointVLD
      VAProfileVP8Version0_3          :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointFEI
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD

that’s better.

Restart firefox and check about:support, also reset the modified value for network.dns.disableIPv6 in about:config to default =false

I think you should now be able to stream a video.
The extension enhanced-h264ify might still come handy to block AV1 videos, because the GPU can’t decode this codec. It’s better to fall back to a video codec that the system is able to decode with hw-support.

1 Like

Good news, some formats that were unavailable before went green, especially H264 and HEVC :


I’ll also disable in about:config and tell you if it helps. The plugin is back being active at least.

2 Likes

about:config is at the right value and I added your extension… but same result again. I don’t understand the issue. I changed the font of the system yesterday night and visibly, it changed it on Mozilla too but I don’t see why this would be of influence to buffing videos.. And anyway it functioned a little with that new font before it all bugged so I don’t believe there’s a link ? What do you think ?
At least loading the pages on youtube is back to normal, it was oddly slow before. It’s just playing the video that still doesn’t work for some odd reason.

can you try another site like http://arte.tv

with the FF extension: block only AV1.

Wow it’s odd as hell lol :joy: It makes it like a slide show, without sound. I haven’t seen something like that in 15+ years, maybe in 2009 when internet was sooo slow and buggy

It even says this after few ‘slides’, some replays of the same moment and a crash :

By the way, I believe I had another plugin before but it disappeared, widewine or something ? Idk if it’s relevant but yeah

do you have some other FF extensions installed like noscript or uMatrix?

widevine ist for DRM support, required for i.e Netflix, Amazon Prime etc

I have none, only installed are the cisco h264 plugin that we reactivated and the extension you gave me as advice. I didn’t connect to my mozilla account that had other extensions, since it seemed being part of the problem or something. So only got those two here.

Oh. widevine came back on its own somehow, it popped suddenly when I wanted checking before trying to install it. Maybe because I ticked DRM option ?
I tried Netflix by the way, and same issue. The same moment stays there forever, it’s just an image.

strange.
what is the output of inxi -nzxx ?

as a test, quit firefox and open it in a terminal with

LIBVA_DRIVER_NAME=iHD  firefox 

and try to watch a video.

❯ inxi -nzxx
Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw_8821ce v: N/A pcie: speed: 2.5 GT/s
    lanes: 1 port: 4000 bus-ID: 01:00.0 chip-ID: 10ec:c821
  IF: wlo1 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>

Unfortunately even with your command it doesn’t work. I try to watch without being connected, I don’t mind being confronted to adds.. if only it worked because even those can’t play.

Input from the terminal :

❯ LIBVA_DRIVER_NAME=iHD  firefox
(as)
(asas)
(asas)
(asas)
(asas)
(as)
(asas)
(asas)
(asas)
(as)
libva info: VA-API version 1.22.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib64/dri-nonfree/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0

~ took 1m34s