Closed Bug 2055054 Opened 2 months ago Closed 1 month ago

[HDR] Add display information for HDR range to about:support

Categories

(Core :: Graphics: Color Management, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox-esr153 --- fixed
firefox153 --- fixed
firefox154 --- fixed
firefox155 --- fixed

People

(Reporter: ahale, Assigned: ahale)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

We need to have access to the same information shown in the Display Information section of chrome://gpu/ on chromium-based browsers, for HDR purposes we need the value of the SDR reference white level (on Windows this is called SDR content brightness in Settings -> System -> Display -> HDR from a user perspective) and the maximum luminance values of the display (there may be two - one for continuous luminance and one for focused area luminance).

This involves adding new fields to https://searchfox.org/firefox-main/source/widget/Screen.h for these properties, and relevant OS code to set them - search https://searchfox.org/firefox-main/search?q=symbol:_ZN7mozilla6widget13ScreenManager7RefreshEO8nsTArrayI6RefPtrINS0_6ScreenEEE&redirect=false

Relevant docs by OS:

Assignee: nobody → ahale
Attachment #9609034 - Attachment description: WIP: Bug 2055054 - query HDR display information and show it in about:support → Bug 2055054 - query HDR display information and show it in about:support
Pushed by ahale@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d4445a394647 https://hg.mozilla.org/integration/autoland/rev/8f425dcfd002 query HDR display information and show it in about:support r=gfx-reviewers,geckoview-reviewers,win-reviewers,bradwerth,nalexander,yjuglaret

The patch also fixed a bug in initializing MaxContentLightLevel but we currently aren't using that value so it does not change observed behavior.

This also fixes a bug in initializing MaxContentLightLevel but we currently aren't using that value so it does not change observed behavior.

Original Revision: https://phabricator.services.mozilla.com/D312205

Attachment #9613645 - Flags: approval-mozilla-release?

firefox-release Uplift Approval Request

  • User impact if declined/Reason for urgency: No direct impact if declined as it does not change behavior, the reason for urgency is purely that we would like to have this data in about:support when we ask for it if a user encounters poor HDR video experiences on monitors that are barely HDR capable, so that we do not have to ask them to run nightly or chromium browsers to get those numbers.

This is a high priority feature for 153 so we want to be able to get this info from people experiencing problems with it.

  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing: If you wish to see these numbers, make sure HDR mode is on in Windows Settings - System - Display, then go to about:support in Firefox and search for Display0, each display that is in HDR mode will report its resolution and DPI settings followed by "HDR 128/455 nits" or similar, the second number is never less than the first.
  • Risk associated with taking this patch: low
  • Explanation of risk level: Low - we already use these APIs in the code, we're just making a couple additional queries about the display configuration.
  • String changes made/needed?: N/A - as far as I know we do not translate the text within each section of about:support, the only word added is 'nits' which is a common description of brightness of a display.
  • Is Android affected?: yes
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch

:ahale, this has a release (Fx153) uplift request but it needs a beta (Fx154) uplift request first. It landed in nightly for Fx155.

Flags: needinfo?(ahale)

This also fixes a bug in initializing MaxContentLightLevel but we currently aren't using that value so it does not change observed behavior.

Original Revision: https://phabricator.services.mozilla.com/D312205

Attachment #9615286 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: If users encounter problems with the HDR video feature we need more detailed information in about:support about their display capabilities. Until this lands we have to ask them to run Nightly or chromium to get this info.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: No problems so far in nightly, and this is only collecting a little more info from existing data structures, and one additional query that chromium already does.
  • String changes made/needed?: N/A
  • Is Android affected?: yes

Added a 154 uplift. At the time I made the 153 uplift request, 154 was not available as an uplift target.

Flags: needinfo?(ahale)
Attachment #9615286 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9613645 - Flags: approval-mozilla-release? → approval-mozilla-release+
QA Whiteboard: [qa-triage-done-c155/b154]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: