WebRender fullscreen video on second screen flickers when interacting with window on primary screen
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: alvinhochun, Unassigned)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
37.20 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Steps to reproduce:
- Enable WebRender
- Play a Youtube video fullscreen on secondary screen
- Open a Firefox window on the primary screen and move the cursor around the page and UI elements
Actual results:
The video playback on the secondary screen flickers with black frames.
Expected results:
The video playback on the secondary screen should not be affected.
Reporter | ||
Comment 1•5 years ago
|
||
Video showing the issue: https://www.youtube.com/watch?v=uKJ4OYgrMBM
It is not a recent regression, as I remember seeing it happening on or before Firefox 69.
Reporter | ||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 3•5 years ago
|
||
It looks similar to Bug 1586929.
Updated•5 years ago
|
Reporter | ||
Comment 4•5 years ago
|
||
I forgot to mention that if the fullscreen video plays on the primary screen instead and I interact with a Firefox window on the secondary screen instead, the flickering does not occur. Though this could be a red herring.
Comment 5•5 years ago
|
||
Alexis, could you take a look and see if there are any similarities here to bug 1586929
Comment 6•5 years ago
•
|
||
I wouldn't be shocked if the two bugs had the same root cause. The reporter has another Pascal gpu, and pascal and up seems to be the common thread for our correctness problems.
Reporter | ||
Comment 7•5 years ago
|
||
Firefox is running on the Intel GPU however. The DP output is also not connected to the NVIDIA GPU.
Comment 8•5 years ago
|
||
alvinhochun, if you can repeat this problem reliably and feel that this is a regression, it would be a great help if you could run mozregression to find out which change caused the flickering. It might provide a clue about how to fix it.
This tool has a Windows GUI, and the whole process should not take more than a couple of minutes: https://mozilla.github.io/mozregression/
Reporter | ||
Comment 9•5 years ago
|
||
I don't know if this would be a regression. I can't remember when I first tried enabling WebRender and whether I saw this behaviour right as it was enabled. But let's say if I do try to bisect it, on which release should I start with? Or another way to ask -- when did WebRender start becoming usable on Windows? Or should I start from even before that?
I'll see when I have the free time. I will probably update the Intel driver before retesting.
Comment 10•5 years ago
|
||
alvinhochun - curious if you are still seeing this issue after updating your driver?
Updated•5 years ago
|
Reporter | ||
Comment 11•5 years ago
|
||
@Jessie Sorry for the late reply. I couldn't use the external monitor for a week so I couldn't give you an update.
Yes, the issue still exists on Firefox 73.0b1 with latest Intel driver 26.20.100.7584 (11-26-2019).
Reporter | ||
Comment 12•5 years ago
|
||
I did a bit of testing with mozregression and what I get is that the flickering issue doesn't seem to be reproducible with the 2018-03-28 nightly but it is reproducible with the 2018-03-29 nightly. This is the pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=6aa3b57955fed5e137d0306478e1a4b424a6d392&tochange=dcd10220d55aea46db212314c46d25a96a7be243
It does not have enough data to do further bisection.
Reporter | ||
Comment 13•5 years ago
|
||
I also just tried with the following config variations using 73.0b1 and the issue is reproducible on all of them:
- (Default:) Run on Intel GPU with ANGLE enabled
- Run on NVIDIA GPU with ANGLE enabled
- Run on Intel GPU with ANGLE disabled (webgl.disable-angle=false)
- Run on NVIDIA GPU with ANGLE disabled
Comment 14•5 years ago
|
||
Bugbug thinks this bug is a regression, but please revert this change in case of error.
Comment 16•5 years ago
|
||
I am curious if you still see this in Beta 75? Or Nightly?
Comment 17•5 years ago
|
||
Bug 1191971 from the regression range seems like it could be the culprit here.
Updated•5 years ago
|
Reporter | ||
Comment 18•5 years ago
|
||
(In reply to Jessie [:jbonisteel] pls NI from comment #16)
I am curious if you still see this in Beta 75? Or Nightly?
I just re-enabled webrender on beta 75.0b2 (Build ID 20200310192828) and I couldn't reproduce the issue for now. I'll see if it comes up again in a few days.
Reporter | ||
Comment 19•5 years ago
|
||
I have not encountered the issue since re-enabling WebRender. Just for the sake of it, I ran mozregression and found the revision that fixed the issue:
Bug 1592509 - Re-enable gfx.webrender.compositor by default on Windows r=gw,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D59434
So apparently the "fix" is enabling gfx.webrender.compositor
. I tried disabling the config and can immediately re-reproduce the issue.
Reporter | ||
Comment 20•5 years ago
|
||
Commenting again since the code block cause the other bug to not be linked:
Seems to be fixed by Bug 1592509 due to it enabling gfx.webrender.compositor
.
Comment 21•5 years ago
|
||
If you set gfx.webrender.compositor=false does the bug come back?
Reporter | ||
Comment 22•5 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #21)
If you set gfx.webrender.compositor=false does the bug come back?
Yes, it does.
Reporter | ||
Comment 23•5 years ago
|
||
Somehow I just started getting the issue again after updating to 75.0b7 (Build ID: 20200322132212). gfx.webrender.compositor
is still set to true
. I have no idea if it was just a fluke or if something else changed.
Comment 24•5 years ago
|
||
(In reply to alvinhochun from comment #23)
Somehow I just started getting the issue again after updating to 75.0b7 (Build ID: 20200322132212).
gfx.webrender.compositor
is still set totrue
. I have no idea if it was just a fluke or if something else changed.
Can you check what WEBRENDER_COMPOSITOR says in about:support?
Reporter | ||
Comment 25•5 years ago
|
||
I see, it says blacklisted by runtime: Blacklisted.
Reporter | ||
Comment 26•5 years ago
|
||
WEBRENDER_COMPOSITOR appears to be blacklisted due to https://hg.mozilla.org/releases/mozilla-beta/rev/44089ee090c9#l3.34 (I'm still running win10 build 17134.)
Comment 27•5 years ago
|
||
Sotaro, can you take a look at this? DirectComp fixes it, but since not all users will be getting DC right away this is worth looking at
Comment 28•5 years ago
|
||
Hi Rares, would be interesting to see if you can repro this
Comment 29•5 years ago
|
||
I tried reproducing this issue on an Intel UHD 630 laptop with Windows 10 but without success, after Forcing Webrender to enable as well as setting gfx.webrender.compositor = false I was still unable to reproduce this issue on my end, I also used my secondary GPU NVDIA GTX 1050 as my primary and again I did not notice any flicker on my end.
I tried Release 75, as well as beta 76.0b6 and Nightly 77.0a1 (2020-04-20).
Updated•5 years ago
|
Comment 30•5 years ago
|
||
Can you send us the specs of your second screen? (make/model/resolution, etc)
Reporter | ||
Comment 31•5 years ago
|
||
The external screen is a Dell U2417H, 1920x1080 60Hz on 100% scaling.
I suspect for a bit that the resolution of the primary screen might also play a role. The primary screen is 2560x1440 60Hz on 150% scaling.
Comment hidden (obsolete) |
Comment 33•5 years ago
|
||
Hi,
Sorry this was intended for a different flickering issue my comment is not related to this one. I will revert the flags.
I tried reproducing this on my end however (windows 10 pro) after noticing this, but my second screen won't flickr either when moving cursor on primary screen. (tried all release, beta and nightly builds)
Best,
Clara.
Updated•5 years ago
|
Comment 34•4 years ago
|
||
@Alvin: Can you see if this is still occurring on latest nightly?
Reporter | ||
Comment 35•4 years ago
|
||
I seem to still be able to reproduce something like it on 81.0a1 (build ID 20200818214031) with gfx.webrender.compositor
set to false
, but the behaviour seems slightly different. The flickering happens when playing a video fullscreen on the second monitor but mostly when I drag the other window around the primary monitor, and not when simply moving the cursor around the page and UI elements like before. I see no flickering in the video when using the address bar, interacting with other web pages, scrolling, selecting from the hamburger menu, maximizing and restoring the window. It does however flicker rapidly when I drag the other window by its title bar, and less rapidly when I resize the other window.
Note that some time after my last comment, I have updated my system to win10 1909 (build 18363) which may or may not have caused the change. I have not tested for this issue since making the last comment until just now, because having the compositor enabled has eliminated this issue for me.
Comment 36•2 years ago
|
||
Is this still an issue in Firefox 103 on your machine?
Comment 37•2 years ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:gw, since the bug has recent activity, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 38•2 years ago
|
||
Closing incomplete as no reply from reporter.
Updated•9 months ago
|
Description
•