Closed Bug 1749623 Opened 2 years ago Closed 2 years ago

RDD/VAAPI: Video not shown in bookmark panel's page preview, only its background is shown

Categories

(Core :: Audio/Video: Playback, defect, P3)

x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1751363
Tracking Status
firefox-esr91 --- unaffected
firefox96 --- disabled
firefox97 --- disabled
firefox98 --- disabled

People

(Reporter: jan, Unassigned)

Details

(Keywords: nightly-community, regression)

Attachments

(4 files)

Gnome Xwayland, Debian Testing, Intel

STR: Click on the bookmark star in the address bar.
Actual: Preview image only shows the video's background.
Expected: Preview image with video content.

  • It works with VAAPI disabled.
  • Problem occurs with VAAPI in RDD process, it was fine in content process.

MOZ_DISABLE_CONTENT_SANDBOX=1 mozregression --good 2021-09-14 --bad 2021-12-11 --pref gfx.x11-egl.force-enabled:true gfx.webrender.all:true media.ffmpeg.vaapi.enabled:true -a https://bug1619882.bmoattachments.org/attachment.cgi?id=9149605

7:28.40 INFO: Last good revision: 56a843d9ae1c89aa705eaddf404f8c7ef8af8f58
7:28.40 INFO: First bad revision: 84872badd1c1cb0aefeccfa995074f4b902359ab
7:28.40 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=56a843d9ae1c89aa705eaddf404f8c7ef8af8f58&tochange=84872badd1c1cb0aefeccfa995074f4b902359ab

84872badd1c1cb0aefeccfa995074f4b902359ab Jeff Muizelaar — Bug 1744037. Set media.rdd-ffmpeg.enabled=@IS_EARLY_BETA_OR_EARLIER@ r=stransky

"first bad" is good when setting media.rdd-ffmpeg.enabled to false (VAAPI is used in content process):
mozregression --repo autoland --launch 84872badd1c1cb0aefeccfa995074f4b902359ab --pref gfx.x11-egl.force-enabled:true gfx.webrender.all:true media.ffmpeg.vaapi.enabled:true media.rdd-ffmpeg.enabled:false -a https://bug1619882.bmoattachments.org/attachment.cgi?id=9149605

bug 1698778 was also bad when trying it out:
mozregression --good 2021-11-23 --pref gfx.x11-egl.force-enabled:true gfx.webrender.all:true media.ffmpeg.vaapi.enabled:true media.rdd-ffmpeg.enabled:true -a https://bug1619882.bmoattachments.org/attachment.cgi?id=9149605

(bug 1743647 disallowed VAAPI in content process.)

Flags: needinfo?(stransky)
Has Regression Range: --- → yes
Has STR: --- → yes

We may fail to create GL context somewhere to get the dmabuf surface snapshot.
Can you please attach log of MOZ_LOG="Dmabuf:5, PlatformDecoderModule:5" ?
Thanks.

Flags: needinfo?(stransky) → needinfo?(jan)
Attached file 1749623.txt

MOZ_LOG="Dmabuf:5, PlatformDecoderModule:5" mozregression --launch 20220111213255 --pref media.ffmpeg.vaapi.enabled:true -a https://bug1619882.bmoattachments.org/attachment.cgi?id=9149605 -P stdout > 1749623.txt

Flags: needinfo?(jan)
Attached file 1749623_debug.txt

MOZ_LOG="Dmabuf:5, PlatformDecoderModule:5" mozregression --launch 20220111213255 --pref media.ffmpeg.vaapi.enabled:true -a https://bug1619882.bmoattachments.org/attachment.cgi?id=9149605 -B debug -P stdout > 1749623_debug.txt

Attached file asan_log.txt

with Asan Nightly and old intel VAAPI driver:

[GFX1]: GetAsSourceSurface: ScopedFramebufferForTexture failed.

and a lot of

[Child 11213, MediaDecoderStateMachine #1] WARNING: Decoder=61700005ad00 Decode error: NS_ERROR_OUT_OF_MEMORY (0x8007000e) - mozilla::MediaResult mozilla::FFmpegVideoDecoder<58>::CreateImageVAAPI(int64_t, int64_t, int64_t, MediaDataDecoder::DecodedData &): Unable to get frame by vaExportSurfaceHandle(): file /builds/worker/checkouts/gecko/dom/media/MediaDecoderStateMachine.cpp:3568

Could this just be a duplicate of bug 1743638 / bug 1721617 because this are the STR from bug 1721617 comment 2?

I forgot to mention: The video preview is shown in Asan Nightly (VAAPI is used according to intel_gpu_top), but not in Nightly.

Severity: -- → S3
Priority: -- → P3
See Also: → 1751363
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
No longer blocks: egl-linux-vaapi
No longer regressed by: 1744037
See Also: 1751363
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: