PIP video flickering with MOZ_X11_EGL=1
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: sotaro, Unassigned)
References
(Blocks 1 open bug)
Details
When Firefox run with MOZ_X11_EGL=1, PIP video had flickering.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
I saw the problem with the following STR.
- [1] Start Firefox and set pref media.ffmpeg.vaapi.enabled=true and gfx.webrender.all=true
- [2] Re-start Firefox with "MOZ_DISABLE_RDD_SANDBOX=1 MOZ_X11_EGL=1 ./mach run"
- [3] Visit https://www.youtube.com/watch?v=LXb3EKWsInQ
- [4] Set video to 1440p60
- [5] Enable PIP
At [5], PIP video rendering had flickering. The problem seemed to happen when video resolution was high.
MOZ_DISABLE_RDD_SANDBOX=1 of [2] was necessary for Bug 1673184.
Reporter | ||
Comment 2•5 years ago
•
|
||
When MOZ_X11_EGL=1 , RenderCompositorOGL was used instead of RenderCompositorEGL. It seems to be related. RenderCompositorEGL uses shared GL context, but RenderCompositorOGL does not. It seems that RenderDMABUFTextureHost could not handle multiple GL contexts.
During PIP, video frames are forwarded to both main window and PIP window. See Bug 1682206
Comment 3•5 years ago
|
||
cc Andrew: I can't recall what the current status was regarding making EGL the default.
Comment 4•5 years ago
|
||
(In reply to Jamie Nicol [:jnicol] from comment #3)
cc Andrew: I can't recall what the current status was regarding making EGL the default.
Sounds like something we should fix first. It would only go out to nightly first anyways.
Comment 5•5 years ago
|
||
Is there a metabug for that which we should block this against?
Updated•5 years ago
|
Reporter | ||
Comment 7•4 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #1)
I saw the problem with the following STR.
- [1] Start Firefox and set pref media.ffmpeg.vaapi.enabled=true and gfx.webrender.all=true
- [2] Re-start Firefox with "MOZ_DISABLE_RDD_SANDBOX=1 MOZ_X11_EGL=1 ./mach run"
- [3] Visit https://www.youtube.com/watch?v=LXb3EKWsInQ
- [4] Set video to 1440p60
- [5] Enable PIP
At [5], PIP video rendering had flickering. The problem seemed to happen when video resolution was high.
MOZ_DISABLE_RDD_SANDBOX=1 of [2] was necessary for Bug 1673184.
Sorry, for slow response.
Since Bug 1685436 fix, pref media.rdd-process.enabled=false was necessary for testing. And I confirmed that the problem was addressed.
Description
•