Skip to content

Name the 14-inch MacBook Pro M4 panel: 10-bit, Display P3 - #134

Draft
IronsideXXVI wants to merge 1 commit into
omacom:mainfrom
IronsideXXVI:panel-line-14-macbook-pro-m4
Draft

IronsideXXVI wants to merge 1 commit into
omacom:mainfrom
IronsideXXVI:panel-line-14-macbook-pro-m4

Conversation

@IronsideXXVI

@IronsideXXVI IronsideXXVI commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

What changes:

  • Names the 14-inch MacBook Pro panel in displays.conf with the runtime's new panel directive: connector eDP, mode 3024x1964, bitdepth=10 cm=dp3.
  • Hyprland drives the built-in panel at 8 bits per channel and as an sRGB display, its defaults for every output. Apple's display controller takes a 10-bit frame from it and shows SDR frames in the panel's own gamut, Display P3 here, so sRGB sent unconverted shows oversaturated; that is why Omarchy gives Apple Silicon displays the EDID preset. On this panel dp3 fits better: it maps into exact Display P3 rather than the EDID's rounded primaries, and where the panel's EDID lists BT.2020 colorimetry, as this Mac's kernel's does once it offers HDR, Hyprland switches the connector to BT.2020 for the EDID preset.
  • Omarchy then gives that panel's monitor rules both settings and leaves external monitors alone; a bitdepth or cm set in hypr/monitors.lua wins. A runtime without the directive ignores the line.
  • No version bump here: omarchy-mac/version moves only in a release bump pull request (check-version-bump).

Depends on omacom/omarchy#18582, which adds default/hypr/panel-defaults.lua, the reader of the directive. The integration test runs that file against the staged displays.conf, so test/integration/runtime points at that pull request's head commit for now and moves to its merge commit once it merges. This stays a draft until then. #131 also moves omarchy-mac to 0.2.7; whichever merges second takes the next version.

Verification:

  • On the 14-inch MacBook Pro M4, which we are bringing up as a supported Mac, Hyprland then hands the display controller XRGB2101010 frames, and with cm = "dp3" the connector stays on its default colorspace and the driver tells the display controller the frames are Display P3. Whether the panel link itself carries 10 bits can't be read from Linux; macOS reports 8 bits with dithering for this panel.
  • omarchy-mac/test/desktop-setup-test.sh learns the directive and checks that it names a panel display-cutouts.json describes; it passes. test/integration/apple-platform-hooks-test.sh runs the runtime's panel-defaults.lua against the staged file; CI runs it against the pinned runtime.

Other Macs: only this panel is listed, the one panel this has been checked on. Another panel joins once a report shows the same on it.

IronsideXXVI added a commit to IronsideXXVI/omarchy-j604 that referenced this pull request Nov 12, 2026
What the J604 runs now: kernel 1.848, mesa-aurora and vulkan-aurora
1.8139 (the 1.8134 content, rebuilt so the repository matches what is
installed after a rollback), omarchy-dev 1.3 (the 1.1 content), stock
Hyprland. The mesa T8132 patch drops a trailer line; its change is the
same.

UPSTREAM.md: the new heads of aurora-silicon/linux#1494, #1495 and #1496
(now with Dylan's Signed-off-by), omacom/omarchy#18582 and
omacom/omarchy-mac-pkgs#134. omacom/omarchy#18228 is a live release item
again: on 1.848 two NVMe namespaces fall back to mq-deadline on every
boot.
@IronsideXXVI
IronsideXXVI force-pushed the panel-line-14-macbook-pro-m4 branch from 37fd709 to 42f4503 Compare November 20, 2026 18:37
@IronsideXXVI

Copy link
Copy Markdown
Contributor Author

Rebased on current main (42f4503). In the README I kept main's cutoutWidth text and added this PR's panel sentence, and the runtime pin follows omacom/omarchy#18582 as before. I dropped the 0.2.7 bump, because check-version-bump only lets a release PR change omarchy-mac/version.

Local run of the tests.yml steps on the merge with main: all four gate scripts pass, and so do the omarchy-mac-boot suite, both acceptance runs and candidate-set. The panel test needs the runtime from #18582, and that runtime also makes test/integration/mac-update-boot-verify-test.sh fail ("an update that leaves a coherent boot chain succeeds"). That isn't from this branch. Main's tree fails the same way with that runtime, and with plain quattro at 36b70f1b. It passes only with main's current pin, 2fca7fe0. The fix belongs in its own PR, so this stays a draft until that one and #18582 land.

@IronsideXXVI

Copy link
Copy Markdown
Contributor Author

The boot-verify fix is up as #167: 4 ok / 0 not ok with this PR's runtime (52d735da5). Once it and omacom/omarchy#18582 land I'll rebase this and take it out of draft.

@malik-na malik-na left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hardware check on a 14" MacBook Pro M4 Pro (J614s): the panel is eDP-1 3024x1964@120, so the directive's mode is right.

Blocked on the runtime: this Mac's runtime (omarchy-settings-dev 4.0.0.r8603) has no default/hypr/panel-defaults.lua (omacom/omarchy#18582), so the line is ignored. With this build installed, displays.conf ends with panel eDP 3024x1964 bitdepth=10 cm=dp3, and hyprctl monitors stays at XRGB8888 / colorManagementPreset: edid, including after hyprctl reload. hyprctl configerrors is empty, and omarchy-hw-display still returns apple-panel-bl. So it is harmless before #18582.

Hyprland drives the built-in panel at 8 bits per channel and as an sRGB
display, its defaults for every output. Apple's display controller takes
a 10-bit frame from it and shows SDR frames in the panel's own gamut,
Display P3 here, so sRGB sent unconverted shows oversaturated; that is
why Omarchy gives Apple Silicon displays the EDID preset. On this panel
dp3 fits better: it maps into exact Display P3 rather than the EDID's
rounded primaries, and where the panel's EDID lists BT.2020 colorimetry,
as the J604 kernel's does once it offers HDR, Hyprland switches the
connector to BT.2020 for the EDID preset. Name the panel in
displays.conf with the runtime's panel directive: connector eDP, mode
3024x1964, bitdepth=10 cm=dp3. Omarchy then gives that panel's monitor
rules both settings and leaves external monitors alone; a bitdepth or cm
set in hypr/monitors.lua wins.

Only the 14-inch MacBook Pro panel is listed: checked on a MacBook Pro
14-inch M4 (J604), and confirmed as eDP-1 3024x1964@120 on a 14-inch M4
Pro (J614s). The package's displays.conf grammar test checks that the
directive names a panel display-cutouts.json describes. The integration
test runs panel-defaults.lua once omacom/omarchy#18582 lands and
test/integration/runtime moves to its merge commit; a runtime without
the directive ignores the line.
@IronsideXXVI
IronsideXXVI force-pushed the panel-line-14-macbook-pro-m4 branch from 42f4503 to b35544f Compare December 1, 2026 08:27
@IronsideXXVI

Copy link
Copy Markdown
Contributor Author

Thanks for checking this on the 14" M4 Pro (J614s), @malik-na — great to have confirmation that it shares eDP-1 3024x1964@120 and that the panel directive is a clean no-op with empty hyprctl configerrors before omacom/omarchy#18582.

Rebased cleanly onto main (fc077db) as b35544f:

  • Resolved the README.md conflict and kept main's test/integration/runtime pin (f03edf86) so the current runtime tests stay intact while omacom/omarchy#18582 is still open.
  • Offline checks on b35544f: omarchy-mac/test/all (153 ok, 0 not ok), check-scope, check-architecture-gates, and shellcheck -S warning all pass.

Keeping this as a draft until omacom/omarchy#18582 merges; once it lands I will pin test/integration/runtime to its merge commit, drop the file-presence guard around the panel-defaults.lua integration check, and mark ready for review.

@e-fu

e-fu commented Dec 2, 2026

Copy link
Copy Markdown

This PR's settings (bitdepth = 10, cm = "dp3") work on the 14-inch MacBook Pro M4 Pro (J614s). They also clear the login warning reported in omacom/omarchy#19656.

On the stock config (omarchy-settings 4.6.0rc2-1.1) the panel came up with colorManagementPreset: edid and currentFormat: XRGB8888. Every login during my testing showed:

Monitor eDP-1: wide color gamut is enabled but the display is not in 10-bit mode.

#18582 isn't merged yet, so I applied the same settings by hand in ~/.config/hypr/monitors.lua:

hl.monitor({ output = "eDP-1", mode = "preferred", position = "auto", scale = "auto", bitdepth = 10, cm = "dp3" })

Results:

  • hyprctl monitors shows eDP-1 at 3024x1964@120 with currentFormat: XRGB2101010 and colorManagementPreset: dp3. The DRM plane state shows XR30.
  • hyprctl configerrors is empty.
  • After logging in fresh with bitdepth = 10, the banner was gone.
  • The settings survive a hyprctl reload after the monitor layout was saved from the panel.

Why dp3 rather than edid: this panel's EDID primaries are Display P3 rounded to 1/1024 (R 0.6797/0.3203, G 0.2646/0.6904, B 0.1504/0.0596, W 0.3125/0.3291). The EDID also has a CTA colorimetry block with BT.2020 RGB and an HDR static metadata block.

With cm = "edid", Hyprland sets the eDP-1 connector to colorspace=BT2020_RGB, as described above. With cm = "dp3" it stays on Default. Switching between the two by eye on the same image showed no visible difference, so dp3 gives the same picture without signalling BT.2020 to the display controller.

The picture checks are visual only. The bit depth on the panel link itself can't be read from Linux.

Setup: Arch Linux ARM (Aurora), linux-aurora 7.3.0.aurora1-48, hyprland 0.57.2-12, omarchy-settings 4.6.0rc2-1.1, omarchy-mac 0.2.12-1.2.

@IronsideXXVI

Copy link
Copy Markdown
Contributor Author

Thanks for testing bitdepth = 10 and cm = "dp3" on the 14-inch M4 Pro (J614s) and confirming that it clears the login warning in omacom/omarchy#19656 while keeping the connector off BT2020_RGB. Keeping this draft until omacom/omarchy#18582 lands, then I will rebase and mark it ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants