[Linux] WebRTC hardware accelerated decoding does not seem to work
Categories
(Core :: Audio/Video: Playback, defect, P5)
Tracking
()
People
(Reporter: pmenzel+bugzilla.mozilla.org, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0
Steps to reproduce:
[Maybe related to https://bugzilla.mozilla.org/show_bug.cgi?id=969395]
Using Nightly from today, I started it with
MOZ_X11_EGL=1 MOZ_WEBRENDER=1 MOZ_LOG=PlatformDecoderModule:5 nightly
and set media.ffmpeg.low-latency.enabled
to true
.
Then I joined a BigBlueButton conference with seven participants.
Actual results:
The fan started spinning, and it looks like the VP8 videos are not decoded using the Intel IGD.
Expected results:
The fan shouldn’t spin, when hardware acceleration for VP8 decoding is used.
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 1•4 years ago
|
||
Maybe also related to https://bugzilla.mozilla.org/show_bug.cgi?id=1646329.
Reporter | ||
Comment 2•4 years ago
|
||
The system is an Intel Broadwell Dell Latitude E7250 with the devices below:
$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Broadwell-U Host Bridge -OPI [8086:1604] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 5500 [8086:1616] (rev 09)
00:03.0 Audio device [0403]: Intel Corporation Broadwell-U Audio Controller [8086:160c] (rev 09)
00:04.0 Signal processing controller [1180]: Intel Corporation Broadwell-U Processor Thermal Subsystem [8086:1603] (rev 09)
[…]
Reporter | ||
Comment 3•4 years ago
|
||
$ vainfo
libva info: VA-API version 1.8.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.8 (libva 2.8.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.2.0 ()
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
VAProfileNone : VAEntrypointStats
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointFEI
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointFEI
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointFEI
VAProfileVP8Version0_3 : VAEntrypointVLD
Comment 4•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•4 years ago
|
Comment 5•4 years ago
|
||
You can check if hardware video decoding is used by running intel_gpu_top
- that being said, there can be other areas that are very cpu intensive, like video encoding (not hardware accelerated yet) or generally webrender not yet being very efficient in that case (frame build etc.) :/
Comment 6•4 years ago
|
||
Just to be sure: The following preferences are set, right?
media.ffmpeg.vaapi.enabled=true
media.ffvpx.enabled=false
Firefox/79.0
Have you tested this with 79 (outdated Nightly)? It was implemented with Nightly 81.
Reporter | ||
Comment 7•4 years ago
|
||
(In reply to Darkspirit, Servo QA from comment #6)
Just to be sure: The following preferences are set, right?
media.ffmpeg.vaapi.enabled=true
That is set.
media.ffvpx.enabled=false
No, I have it on true. :/ Sorry for missing that in Martin’s post.
Firefox/79.0
Have you tested this with 79 (outdated Nightly)? It was implemented with Nightly 81.
My Bugzilla credentials are stored in “Debian’s Firefox”, which I used to report the bug. I did test with Nightly.
Reporter | ||
Comment 8•4 years ago
|
||
(In reply to Paul Menzel from comment #7)
(In reply to Darkspirit, Servo QA from comment #6)
Just to be sure: The following preferences are set, right?
media.ffmpeg.vaapi.enabled=trueThat is set.
media.ffvpx.enabled=false
No, I have it on true. :/ Sorry for missing that in Martin’s post.
I created bug #1660336, that Firefox’ libvpx supports the VA-API decode path for VP8/VP9.
[…]
Comment 9•4 years ago
|
||
(In reply to Paul Menzel from comment #8)
media.ffvpx.enabled=false
No, I have it on true. :/ Sorry for missing that in [Martin’s post][1].
Easy to miss, thanks for filing bug 1660336! Can you confirm that WebRTC VAAPI decoding works with that pref set to false? (Can this bug be closed as invalid?)
Reporter | ||
Comment 10•4 years ago
|
||
I was able to verify that it worked today with media.ffvpx.enabled=false
. (The fan still spun though with 8 WebRTC streams in BigBlueButton, but that is expected on an Intel Broadwell system i7-5600U.
Reporter | ||
Updated•4 years ago
|
Description
•