omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

HDR metadata in DisplayID 2.0 / CTA-861 block not parsed on ASUS Vivobook S 14 OLED (libdisplay-info 0.3.0)

Open Paldumais opened this issue 1 month ago • 3 comments

System details

ASUS Vivobook S 14 OLED M5406WA-DH71-CB (Ryzen AI 9 365, Radeon 880M), BIOS 316, Panel: Samsung Display Corp. (SDC) 0x419D, 2880x1800 @ 120 Hz, eDP-1, Marketed as VESA DisplayHDR True Black 600, 10-bit, 100% DCI-P3

What's wrong?

On the ASUS Vivobook S 14 OLED M5406WA, the eDP panel exposes its HDR capabilities in a DisplayID 2.0 block of the EDID. Hyprland on Omarchy doesn't seem to pick up the HDR metadata. I suspect libdisplay-info 0.3.0 (the version in Arch) only has basic DisplayID 2 support and doesn't decode this block. I'd like to know whether Omarchy can ship a newer libdisplay-info (0.4.0 exists upstream) or if there is a recommended workaround.

Software

  • Omarchy: 4.0.6-1
  • Hyprland: 0.52.6
  • libdisplay-info: 0.3.0-1 (pacman -Q libdisplay-info)

Panel advertises 10 bpc in the EDID (Bits per primary color channel: 10; supported bpc for RGB: 6, 8, 10)

  • amdgpu output_bpc reports Maximum: 10
  • hyprctl monitorsc shows currentFormat: XRGB2101010, colorManagementPreset: dp3`

The AMD display engine exposes:

CURVE_1D_TYPE:

sRGB EOTF
PQ 125 EOTF
BT.2020 Inverse OETF

sRGB Inverse EOTF
PQ 125 Inverse EOTF
BT.2020 OETF

So the GPU/display pipeline appears to support the required HDR transfer functions.

My 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: 16797
Made in: 2022
Basic Display Parameters & Features:
Digital display
Bits per primary color channel: 10
DisplayPort interface
Maximum image size: 30 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
Display supports continuous frequencies
Color Characteristics:
Red  : 0.6826, 0.3164
Green: 0.2451, 0.7138
Blue : 0.1396, 0.0439
White: 0.3125, 0.3291
Established Timings I & II: none
Standard Timings: none
Detailed Timing Descriptors:
DTD 1:  2880x1800   60.000699 Hz  16:10   218.883 kHz    652.270000 MHz (302 mm x 189 mm)
Hfront   32 Hsync   8 Hback   60 Hpol P
Vfront    8 Vsync   8 Vback 1832 Vpol N
Display Range Limits:
Monitor ranges (Range Limits Only): 48-120 Hz V, 218-218 kHz H, max dotclock 660 MHz
Empty Descriptor
Alphanumeric Data String: 'ATNA40CU09-0 '
Extension blocks: 1
Checksum: 0x23




Block 1, DisplayID Extension Block:
Version: 2.0
Extension Count: 0
Display Product Primary Use Case: None of the listed primary use cases; generic display
Product Identification Data Block (0x20), OUI 4C-83-00:
Product Code: 16797
Year of Manufacture: 2032
Display Parameters Data Block (0x21):
Image size: 300.0 mm x 190.0 mm
Display native pixel format: 2880x1800
Scan Orientation: Left to Right, Top to Bottom
Luminance Information: Minimum guaranteed value
Color Information: CIE 1931
Audio Speaker Information: integrated
Native Color Chromaticity:
Primary #1:  (0.683105, 0.315918)
Primary #2:  (0.245117, 0.714111)
Primary #3:  (0.139893, 0.043945)
White Point: (0.312744, 0.329102)
Native Maximum Luminance (Full Coverage): 400.000000 cd/m^2
Native Maximum Luminance (10% Rectangular Coverage): 616.000000 cd/m^2
Native Minimum Luminance: 0.000500 cd/m^2
Native Color Depth: 12 bpc
Display Device Technology: Organic LED
Native Gamma EOTF: 2.20
Display Interface Features Data Block:
Supported bpc for RGB encoding: 6, 8, 10
Supported bpc for YCbCr 4:4:4 encoding: 8, 10
Supported bpc for YCbCr 4:2:2 encoding: 8, 10
Supported color space and EOTF standard combination 1: DCI-P3, BT.2020/SMPTE ST 2084
Video Timing Modes Type 7 - Detailed Timings Data Block:
DTD:  2880x1800  120.000294 Hz  16:10   218.881 kHz    652.264000 MHz (aspect 16:10, no 3D stereo, preferred)
Hfront   32 Hsync   8 Hback   60 Hpol N
Vfront    8 Vsync   8 Vback    8 Vpol N
CTA-861 DisplayID Data Block:
Vendor-Specific Data Block (AMD), OUI 00-00-1A:
Version: 3
Feature Caps: 0x03
Minimum Refresh Rate: 48 Hz
Maximum Refresh Rate: 120 Hz
Flags 1.x: 0x00
Flags 2.x: 0xa0
Maximum luminance: 116 (616.884 cd/m^2)
Minimum luminance: 2 (0.000 cd/m^2)
Unknown: 0x60 0x02
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: 116 (616.884 cd/m^2)
Desired content max frame-average luminance: 96 (400.000 cd/m^2)
Desired content min luminance: 2 (0.000 cd/m^2)
Checksum: 0x91
Checksum: 0x90`

Current behavior

SDR works perfectly. 120 Hz works. VRR appears available. DP3 gamut information is exposed. HDR metadata capability exists. EDID contains HDR10 information.

However:

HDR mode never activates.

Questions

  1. Can Omarchy track/ship libdisplay-info 0.4.0 (or a patched 0.3.0), if it adds support for this block?
  2. If upstream handling is already fine, is there a recommended Hyprland config (cm, hdredid, etc.) for panels like this?
  3. I did ask a similar question on discord : https://discord.com/channels/1390012484194275541/1562159943312875680

Paldumais avatar Oct 27 '26 13:10 Paldumais

There's a workaround/temporary fix : https://github.com/Boogie61/hdr-edid-fix

Paldumais avatar Oct 30 '26 18:10 Paldumais

GPT-6 in Codex (reasoning effort not exposed) read the report, its EDID decode and the linked workaround. The classification pass returned no usable answer from its second model, so the hardware-compatibility classification remains unsettled. No reproduction or workaround testing was performed, and no fix is verified. This is waiting for maintainer review of the classification before verification proceeds.

omarchybot avatar Nov 18 '26 17:11 omarchybot

GPT-6 in Codex (reasoning effort not exposed) read the report, its EDID decode and the linked workaround. The classification pass returned no usable answer from its second model, so the hardware-compatibility classification remains unsettled. No reproduction or workaround testing was performed, and no fix is verified. This is waiting for maintainer review of the classification before verification proceeds.

Thanks for the review. To help settle the classification: I believe this is a software parsing gap, not a hardware incompatibility.

The panel’s EDID declares HDR in the CTA-861 DisplayID data block: BT2020RGB colorimetry, SMPTE ST 2084 EOTF, static metadata type 1, max 616.9 cd/m², max frame-average 400 cd/m², min ~0 cd/m². The DisplayID Display Interface Features block also lists DCI-P3 + BT.2020/ST 2084. edid-decode (v4l-utils) decodes all of this correctly, so the data is valid and present. The AMD pipeline exposes the required curves (PQ 125 EOTF, BT.2020 Inverse OETF) and output_bpc max is 10. The same EDID also reports “HDR incapable” under KDE Plasma (kscreen-doctor) and gives no HDR/bt2100 mode under GNOME (gdctl). Since the compositors differ but the EDID parsing library (libdisplay-info 0.3.0) is shared, that points at the parsing layer, not the panel.

Paldumais avatar Nov 18 '26 18:11 Paldumais