Repository navigation
Name the 14-inch MacBook Pro M4 panel: 10-bit, Display P3 - #134
IronsideXXVI wants to merge 1 commit into
Conversation
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.
37fd709 to
42f4503
Compare
|
Rebased on current Local run of the |
|
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. |
There was a problem hiding this comment.
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.
42f4503 to
b35544f
Compare
|
Thanks for checking this on the 14" M4 Pro (J614s), @malik-na — great to have confirmation that it shares Rebased cleanly onto
Keeping this as a draft until |
|
This PR's settings ( On the stock config (omarchy-settings 4.6.0rc2-1.1) the panel came up with
#18582 isn't merged yet, so I applied the same settings by hand in hl.monitor({ output = "eDP-1", mode = "preferred", position = "auto", scale = "auto", bitdepth = 10, cm = "dp3" })Results:
Why With 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. |
|
Thanks for testing |
What changes:
displays.confwith the runtime's new panel directive: connector eDP, mode 3024x1964,bitdepth=10 cm=dp3.dp3fits 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.bitdepthorcmset inhypr/monitors.luawins. A runtime without the directive ignores the line.omarchy-mac/versionmoves 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 stageddisplays.conf, sotest/integration/runtimepoints 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:
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.shlearns the directive and checks that it names a paneldisplay-cutouts.jsondescribes; it passes.test/integration/apple-platform-hooks-test.shruns the runtime'spanel-defaults.luaagainst 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.