Hardware video acceleration not working using Firefox and UHD 620?
I'm trying to get hardware video acceleration to work using Firefox on a Kaby Lake CPU (Core i5 8350U) with an UHD 620 iGPU. Here's what I did so far according to the wiki.
Installed intel-media-driver, libva-intel-driver and lib32-libva-intel-driver, libvdpau-va-gl, libva-vdpau-driver.
I verified that the following VA-API codecs can be decoded: MPEG2, H264, VC1, VP8, HEVC, VP9 and the following can be encoded: MPEG2, H264, VP8, HEVC using libva-utils.
And even though the CPU should be able to decode VP9 vdpauinfo is only showing H264 decoder capabilities. But I also realized that the i915 driver is loaded and not the iHD one (according to inxi -G).
But journalctl | grep "iHD" shows the following:
May 23 13:32:19 laptop plasmashell[16880]: libva info: User environment variable requested driver 'iHD'May 23 13:32:19 laptop plasmashell[16880]: libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
I also tried configuring VA-API by setting the LIBVA_DRIVER_NAME environment variable to iHD in my .bashrc but it still loads i915. Or did I maybe misunderstood this?
I tried setting VDPAU_DRIVER=va_gl which also appeared to do nothing.
In Firefox I configured the following according to the wiki:
- Compositing is using WebRender.
- Set
gfx.webrender.alltotrue. - Set
media.ffmpeg.vaapi.enabledtotrue. - Set
media.rdd-ffmpeg.enabledtotrue(default). - Set
media.ffvpx.enabledtofalse. - Set
media.navigator.mediadatadecoder_vpx_enabledtotrue. - Set
media.rdd-vpx.enabledtofalse.
Despite doing all this, intel_gpu_top is showing no load on Video.
Should I only install intel-media-driver or libva-intel-driver? Or is it okay to have both installed and let the system choose the correct driver?
Is it intended behavior that inxi is showing the i915 driver being used?
Am I missing anything for Firefox 100.0.2 that's maybe not in the wiki?
Edited 23 May 2022. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 5 · 79% up
- Kind
- Text
- ID
- uvydaf