Firefox 160 on Windows: content washed out in fullscreen (F11) with HDR off
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
People
(Reporter: martin.stoinov, Unassigned, NeedInfo)
References
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:160.0) Gecko/20100101 Firefox/160.0
Steps to reproduce
- Windows, HDR turned off in Windows display settings. Default Firefox graphics settings (hardware acceleration on, gfx.webrender.dcomp-win.enabled = true).
- Open any website, or a page with a playing video.
- Press F11 to enter fullscreen.
- While in fullscreen, right-click on the page to open the context menu, then close it.
Actual results
- In fullscreen the image becomes washed out (lifted blacks, reduced contrast). Sometimes the whole content area including video is affected, sometimes only the page UI.
- While the context menu is open, colours return to normal; when it closes, the washout returns.
- Windowed (non-fullscreen) mode is unaffected.
- Started today after updating to Firefox 160. Chrome and Brave in fullscreen on the same system are unaffected.
Isolation:
- Hardware acceleration off: fixes it.
- gfx.webrender.compositor = false: no change.
- gfx.webrender.dcomp-win.enabled = false: fixes it (hardware acceleration on).
This suggests the DirectComposition presentation path in fullscreen (likely overlay/independent flip promotion) applies a wrong colour space or range; the context menu forces normal DWM composition, which restores correct colours.
Expected results
Fullscreen colours should match windowed mode, with default graphics settings.
Comment 1•7 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•7 days ago
•
|
||
Thanks for the report. This sounds similar to bug 2091358, where fullscreen video is washed out and setting gfx.webrender.overlay-hdr to false fixes it. Could you try that (restart Firefox after changing it, with gfx.webrender.dcomp-win.enabled back at true) and say whether it fixes both the video and the page UI washout?
Your about:support also shows one display, Display2 (3840x2160@120Hz), in HDR mode. Which monitor is the fullscreen window on, and does it still happen with HDR turned off on all displays?
A few other things that would help:
- about:support with gfx.webrender.dcomp-win.enabled set back to true. The attached one was taken with the workaround on.
- If gfx.webrender.overlay-hdr doesn't help, does it reproduce with gfx.webrender.dcomp-video-overlay-win set to false (and dcomp-win left on)?
- Can you confirm 159 is fine on the same setup? If so, mozregression can find the change that caused it. It downloads and runs a series of builds; you check each one for the washout and mark it good or bad.
There is a GUI version with a Windows installer (mozregression-gui) on the releases page:
https://github.com/mozilla/mozregression/releases
Start a new bisection, choose Firefox, and enter 159 as the good release and 160 as the bad one.
Or from the command line (pip install mozregression):
mozregression --good 159 --bad 160
More details: https://mozilla.github.io/mozregression/
| Reporter | ||
Comment 3•7 days ago
|
||
| Reporter | ||
Comment 4•7 days ago
|
||
Hey Tim!
so...
gfx.webrender.dcomp-win.enabled=ON
gfx.webrender.overlay-hdr=OFF
gfx.webrender.overlay-vp-auto-hdr=OFF (for good measure)
=> still washed out.
The Windows HDR thing is disabled for this machine. The HDR "enabled" panel you're seeing is a virtual one, which is exclusively used by Sunshine for game streaming. It has nothing of relevance to the issue at hand. It's been like that for at least an year, and hasn't been used in at least 2 months.
The problem at hand is a day or two old.
I just checked if the issue shows up on both physical screens. Listed as LG and DELL panels, I believe.
My encounter was on the LG, and I have not yet tried the DELL. And I just did -
the DELL is fine, not washed out. But that's an 8-bit SDR panel.
The LG on the other hand is 10-bit SDR.
That's the only meaningful difference I can come up with between them. Resolutions, rates, I don't really think matter for this. The DELL is ran in portrait mode, but I don't think that's what saves it. :)
About the other 3:
- should be fine now.
- there's no such switch in the list (gfx.webrender.dcomp-video-overlay-win)
- not sure if it was 159 few days ago, but either that or even older. (I'll pass on the version juggling, sorry)
Martin
Comment 5•7 days ago
|
||
Thanks Martin, that's really useful. Since overlay-hdr didn't help, this is a different problem from bug 2091358. Sorry about the pref name, it has been split into gfx.webrender.dcomp-video-hw-overlay-win and gfx.webrender.dcomp-video-sw-overlay-win.
The LG being 10-bit and the Dell 8-bit may well be the key. Recent Windows 11 versions can turn on "Automatically manage color for apps" by themselves for 10-bit displays, and that changes how Windows composites colors on that display.
- In Windows Settings > System > Display, select the LG, then look under Color management (or Advanced display). Is "Automatically manage color for apps" on? If it is, does turning it off make the washout go away?
- Did Windows install an update in the last few days (Settings > Windows Update > Update history) that might have caused this?
- With everything else back at default, does setting gfx.color_management.mode to 0 and restarting Firefox change anything?
Updated•4 days ago
|
Comment 6•4 days ago
|
||
Martin: I'm not sure, but I suspect your perception of effort to use mozregression is an overestimation? mozregression doesn't disturb your Firefox installs, which is how I interpret "version juggling". It extracts individual versions to their own temporary storage, so the inconvenience you create in your own environment should be, at most, disk space and a folder entry.
Description
•