Skip to content

Prefer apple-panel-bl over the Asahi DSI backlight decoy - #8131

Closed
Chessing234 wants to merge 1 commit into
omacom:quattrofrom
Chessing234:fix/apple-panel-backlight-priority
Closed

Chessing234 wants to merge 1 commit into
omacom:quattrofrom
Chessing234:fix/apple-panel-backlight-priority

Conversation

@Chessing234

@Chessing234 Chessing234 commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

On Apple Silicon, /sys/class/backlight lists both apple-panel-bl (the real panel) and a numeric DSI node that sorts first alphabetically and accepts writes with no visible effect. omarchy-hw-display had no apple-panel-bl in its candidate list, so it fell through to that decoy and brightness slider/keys no-op'd.

Put apple-panel-bl after gmux (T2 dual-GPU Macs still want gmux first) and before GPU PWM devices. Keep excluding appletb_backlight (Touch Bar). Existing gmux/amdgpu/intel/acpi order is unchanged.

hw-display-test.sh is at 12 assertions: Asahi DSI decoy loses to apple-panel-bl, gmux still wins on T2, Touch Bar stays unused.

Fixes #8125

On Apple Silicon, /sys/class/backlight lists both apple-panel-bl (the
real panel) and a numeric DSI node that sorts first alphabetically and
accepts writes with no visible effect. Put apple-panel-bl after gmux
so T2 dual-GPU Macs still prefer gmux, and keep excluding the Touch Bar.

Fixes omacom#8125
Copilot AI balanced review requested due to automatic review settings August 25, 2026 02:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Prioritizes the functional Asahi apple-panel-bl device while preserving existing backlight precedence.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Changes:

  • Adds apple-panel-bl after gmux and before GPU backlights.
  • Tests Asahi DSI, gmux, and Touch Bar selection behavior.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
bin/omarchy-hw-display Prioritizes the real Asahi panel backlight.
test/shell.d/hw-display-test.sh Covers Apple backlight precedence and exclusions.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Chessing234

Copy link
Copy Markdown
Contributor Author

@dhh @ryanrhughes ready for review

@Chessing234

Copy link
Copy Markdown
Contributor Author

folded into #12267 for easier review.

Chessing234 added a commit to Chessing234/omarchy that referenced this pull request Sep 25, 2026
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.

Brightness slider/keys silently no-op on Apple Silicon: wrong backlight device picked (228600000.dsi.0 instead of apple-panel-bl)

2 participants