No HDR available on OLED laptop with Intel iGPU

Good Evening,

I’m having some trouble enabling HDR on my laptop. I’m running NixOS Unstable with the latest Plasma 6.3 and Mesa 25.0.1 i915 driver. My laptop has an OLED screen that is able to be used for HDR in Windows.

The EDID is as follows, and correctly reports HDR support:

$ di-edid-decode /sys/class/drm/card1-eDP-1/edid
Block 0, Base EDID:
  EDID Structure Version & Revision: 1.4
  Vendor & Product Identification:
    Manufacturer: SDC
    Model: 16707
    Made in: week 25 of 2019
  Basic Display Parameters & Features:
    Digital display
    Bits per primary color channel: 10
    DisplayPort interface
    Maximum image size: 34 cm x 19 cm
    Gamma: 2.20
    Supported color formats: RGB 4:4:4
    First detailed timing includes the native pixel format and preferred refresh rate
  Color Characteristics:
    Red  : 0.6796, 0.3193
    Green: 0.2324, 0.7187
    Blue : 0.1396, 0.0439
    White: 0.3125, 0.3291
  Established Timings I & II: none
  Standard Timings: none
  Detailed Timing Descriptors:
    DTD 1:  3840x2160   60.000348 Hz  16:9    132.481 kHz    551.120000 MHz (344 mm x 194 mm)
                 Hfront   48 Hsync  32 Hback  240 Hpol P
                 Vfront    4 Vsync   4 Vback   40 Vpol N
    DTD 2:  3840x2160   60.000348 Hz  16:9    132.481 kHz    551.120000 MHz (344 mm x 194 mm)
                 Hfront   48 Hsync  32 Hback  240 Hpol P
                 Vfront    4 Vsync   4 Vback   40 Vpol N
    Alphanumeric Data String: 'ATNA56WR14-0 '
  Extension blocks: 1
Checksum: 0x49

----------------

Block 1, CTA-861 Extension Block:
  Revision: 3
  Native detailed modes: 0
  Colorimetry Data Block:
    BT2020RGB
  HDR Static Metadata Data Block:
    Electro optical transfer functions:
      Traditional gamma - SDR luminance range
      SMPTE ST2084
    Supported static metadata descriptors:
      Static metadata type 1
    Desired content max luminance: 115 (603.666 cd/m^2)
    Desired content max frame-average luminance: 109 (530.095 cd/m^2)
    Desired content min luminance: 6 (0.005 cd/m^2)
Checksum: 0xab

----------------

EDID conformity: PASS

I’ve set the KWIN_DRM_ALLOW_INTEL_COLORSPACE environment variable, but both systemsettings and kscreen-doctor fail to detect the display to be HDR compatible:

$ kscreen-doctor -o
Output: 1 eDP-1
        enabled
        connected
        priority 1
        Panel
        Modes:  1:3840x2160@60*!  2:1600x1200@60  3:1280x1024@60  4:1024x768@60  5:2560x1600@60  6:1920x1200@60  7:1280x800@60  8:3840x2160@60  9:3200x1800@60  10:2880x1620@60  11:2560x1440@60  12:1920x1080@60  13:1600x900@60  14:1368x768@60  15:1280x720@60 
        Geometry: 0,0 1920x1080
        Scale: 2
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: Full
        HDR: incapable
        Wide Color Gamut: disabled
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 5% and dimming to 100%

Should HDR be available for my laptop at this point? Even if the intel driver is wip, I should be able to see the option in settings from setting the environment variable, correct? I’m able to use my external displays in HDR mode through my Nvidia dGPU in offload mode, so I’m not sure what the problem is?

The Intel GPU is a UHD 630 on a core i7 10870H, if that provides any further insight?

Thank you in advance!

Hi @Cyber_Raven ,

With the latest version of plasma / kwin 6.3.4 you could add an environment variable in order to “force” the HDR option appear in the display setting.

I’ve posted the temp solution a day ago, you may want to have a look for details:

TL;DR
Add this to your environment and I think KWIN_DRM_ALLOW_INTEL_COLORSPACE is no longer needed so you may want to comment it out.

KWIN_FORCE_ASSUME_HDR_SUPPORT=1

FYI, with the latest version of MPV you could play Youtube in HDR natively as well.

Cheers!

1 Like

I’ve just updated to kwin 6.3.4, I think? (About this System says plasma 6.3.4), and set the environment variable as you said to. I’m still not getting any HDR option in systemsettings or kscreen-doctor.

You said your iGPU was an ARC card, does that mean you’re using the Xe driver? I’m stuck with i915 as my iGPU is a generation too old (UHD 10th Gen), as far as I’m aware.

This bit here

        HDR: incapable
        Wide Color Gamut: disabled

suggests that KWin correctly detects HDR support for the display itself, but that the driver doesn’t support it.

Please check the output of drm_info, to make sure the driver supports hdr with that display. It needs to have both HDR_OUTPUT_METADATA and Colorspace on the eDP connector.

Seems like this is your problem: No HDR_OUTPUT_METADATA property on eDP port on Gen9 graphics (Coffeelake) (#10415) · Issues · drm / i915 / kernel · GitLab

1 Like

Thanks, that does seem like the problem I’m having, I’ll keep an eye on that issue and hope it gets resolved.

I checked the drm_info output as you suggested and I can’t see the HDR_OUTPUT_METADATA field at all. Seems to line up with the drm issue.