H264 hardware decoding unavailable on Linux
Posted: 2019-01-05, 11:43
I tried to force it by setting media.hardware-video-decoding.force-enabled to true in about:config. Unfortunately about:support still says No for Hardware H264 Decoding and I can see no video decoding activity either in intel_gpu_top.
I also tried to start Pale Moon with environment variable MOZ_USE_OMTC=1 which was completely ineffective.
My GPU info on about:support as follows.
My OS info on about:support as follows.
The output of vainfo as follows.
Upgrading to Stretch or any newer Debian is not an option for me right now. As media players based on ffmpeg can use hardware acceleration, there must be a way for Pale Moon as well.
I also tried to start Pale Moon with environment variable MOZ_USE_OMTC=1 which was completely ineffective.
My GPU info on about:support as follows.
Code: Select all
Active Yes
Description Intel Open Source Technology Center -- Mesa DRI Intel(R) Haswell Mobile
Vendor ID Intel Open Source Technology Center
Device ID Mesa DRI Intel(R) Haswell Mobile
Driver Version 3.0 Mesa 10.3.2
Code: Select all
Name Pale Moon
Version 28.2.1 (64-bit)
Build ID 20181118201445
User Agent Mozilla/5.0 (X11; Linux x86_64; rv:60.9) Gecko/20100101 Goanna/4.1 Firefox/60.9 PaleMoon/28.2.1
OS Linux 3.16.0-4-amd64
Code: Select all
libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_36
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.36 (libva 1.4.1)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Mobile - 1.4.1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
- Packages libgstreamer-vaapi1.0-0 gstreamer1.0-vaapi i965-va-driver are installed.
- VLC Media Player works fine and plays 4K videos at 60 FPS that would be an impossible task for the CPU. It also generates a lot of HW video decoding activity that can be seen in intel_gpu_top.