Open Bug 2038112 Opened 6 months ago Updated 2 months ago

HDR not working on on Netflix (AMD Radeon RX580)

Categories

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

Desktop
Windows 10
defect

Tracking

()

Tracking Status
firefox151 --- disabled
firefox152 --- affected
firefox154 --- affected
firefox155 --- affected
firefox156 --- affected

People

(Reporter: danibodea, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

Note

  • HDR is not enabling on RX580 by default.
  • HDR is not enabling if gfx.color_management.hdr.force_enabled is flipped to true. gfx.color_management.hdr is true by default.

Found in

  • Nightly v152.0a1 (20260507083759)

Affected versions

  • Nightly v152.0a1 (20260507083759)

Tested platforms

  • Affected platforms: Windows 10 + AMD RX580
  • Unaffected platforms:

Steps to reproduce
Precondition: Enable HDR in Windows and

  1. Play HDR videos from Netflix/Youtube/individual files on HDR screen.

Expected result

  • Nightly play correctly in HDR.

Actual result

  • Nightly does not play in HDR, but SRD.

Regression range

  • not a regression.

Additional notes

  • HDR is working correctly in Chrome. Colors and luminosity are dull compared to Chrome.
  • GPU drivers are up-to-date.
  • If the SDR content brightness slider is moved, the brightness over videos is changing, proving it's playing in SDR.
  • Individual HDR files are not playing at all, not even in SDR; Error: "No video with supported format and MIME type found."
Blocks: 2028917
Severity: -- → S3
Priority: -- → P3
Has STR: --- → yes
QA Whiteboard: [QA-5085][qa-found-in-c152][S3]
OS: Unspecified → Windows 10
Hardware: Unspecified → Desktop

The two displays listed in about:support there are listed as SDR? Is HDR mode enabled for these displays in Windows Settings?

Display0: 2560x1080@144Hz scales:1.000000|1.000000 SDR
Display1: 1920x1080@60Hz scales:1.000000|1.000000 SDR
DisplayCount: 2
HardwareStretching: both=0 window-only=0 full-screen-only=2 none=0 error=0
OutputColorSpaces: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709, DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
OverlaySupport: NV12=None YUV2=None BGRA8=Software RGB10A2=None RGBA16F=None VpSR=Not Supported VpAutoHDR=Not Supported HwOverlayHDR=Not Supported
Flags: needinfo?(dbodea)

Yes, HDR was enabled in Windows settings; Chrome plays videos in HDR correctly.
Please note that this could be a Windows 10 exclusive issue. Windows 11+RX580 configuration is not available for testing.

Weirdy enough, only one screen (HDR capable) was connected at the time. This configuration will be retested during Beta151 testing round, tomorrow.

Flags: needinfo?(dbodea)

I have retested this configuration extensively.

I tried other DP cables and restarting several times, it appears that Firefox recognized the HDR display:
Display0 5120x2880@60Hz scales:1.000000|2.500000 HDR
Unfortunately, the behavior has not changed:

  • Youtube videos start in SDR directly, even though the HDR tag appears in the Youtube player quality settings, while HDR works correctly in Chrome.
  • Netflix does not recognize HDR capabilities (HDR support: false (media-capabilities)) in neither Nightly, Beta or Chrome;

I retried again with HDMI cables, restarted the computer, it appears that Firefox recognized the HDR display and also shows some OverlaySupport information:
Display0 3840x2160@59Hz scales:1.000000|2.000000 HDR
OverlaySupport NV12=None YUV2=None BGRA8=Software RGB10A2=None RGBA16F=None VpSR=Not Supported VpAutoHDR=Not Supported HwOverlayHDR=Not Supported (it did not show this with DP cable)
Fortunately, it appears that HDR works in Youtube, but does not wotk in Netflix:

  • Youtube displays 2160p30, 2016p60, both PQ and HLG with great playback performance.
  • Netflix does not recognize HDR capabilities (HDR support: false (media-capabilities)) in neither Nightly, Beta or Chrome;

I'm not sure why this difference (between DP/HDMI cables) is observed, but I suspect this might be expected on such an old graphics card.
I wish I knew of the complexity if hardware compatibility on Windows. Please feel free to request further information if necessary.

Flags: needinfo?(ahale)

Updating the title to reflect the latest findings following the hardware compatibility resolutions. Please comment if you believe a separate report should be filed following this change.

It remains noteworthy that Google Chrome is able to play HDR content in scenarios where Firefox does not detect the HDR display at all.

Summary: HDR not working on AMD (Radeon) RX580 → HDR not working on on Netflix (AMD Radeon RX580)
See Also: → 2060971

Can you re-test this? With the shader approach in place since 153 I think this should work.

Flags: needinfo?(ahale) → needinfo?(dbodea)
  • HDR works on Youtube(link1, link2, but Netflix videos still play in SDR: HDR support: false (media-capabilities).
  • Individual files like link1 or link2 or link3 still do not play at all; Error displayed: No video with supported format and MIME type found.
  • about:support info:
    Display0 3840x2160@59Hz scales:1.000000|2.000000 HDR 280/400 nits
    OverlaySupport NV12=None YUV2=None BGRA8=Software RGB10A2=None RGBA16F=None VpSR=Not Supported VpAutoHDR=Not Supported HwOverlayHDR=Not Supported
  • Tested in Nightly v156.0a1, Beta v155.0b2, Release v154.0. on Windows 10 + AMD RX 580.
  • As a conclusion, there was no change in the reproduction of this bug since comment 8.
Flags: needinfo?(dbodea)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: