Skip to content

dom0: prefer 1920x1200 on StarFighter 4K panels - #222

Open
Sean-StarLabs wants to merge 1 commit into
QubesOS:mainfrom
StarLabsLtd:agent/starfighter-4k-dom0-display-quirk
Open

dom0: prefer 1920x1200 on StarFighter 4K panels#222
Sean-StarLabs wants to merge 1 commit into
QubesOS:mainfrom
StarLabsLtd:agent/starfighter-4k-dom0-display-quirk

Conversation

@Sean-StarLabs

Copy link
Copy Markdown

Summary

Add a dom0 oneshot service that runs before the display manager and writes an Xorg monitor snippet for Star Labs StarFighter systems whose eDP panel exposes a native 3840x2400 mode. The generated config sets Xorg's preferred mode to 1920x1200 while leaving the native mode available to users.

Rationale

This is intended to replace the kernel-side draft in QubesOS/qubes-linux-kernel#1344. The affected system exposed only the native 3840x2400 mode through DRM, while Xorg listed the lower modes, so setting the default at the Xorg layer should match where the selectable mode actually exists.

Runtime testing

Not runtime-tested on affected Qubes hardware yet; opening as a draft for review of the approach and packaging location.

@Sean-StarLabs
Sean-StarLabs marked this pull request as ready for review August 19, 2026 20:08
Add a dom0 systemd oneshot that runs before the display manager and writes an Xorg monitor snippet for Star Labs StarFighter systems whose eDP connector exposes a native 3840x2400 mode.

The kernel-side preferred-mode approach can only mark an already probed DRM mode as preferred, but the affected system exposes the lower modes in Xorg instead. Apply the default at the Xorg layer so the panel starts at 1920x1200 without removing the native mode from the user's choices.
@Sean-StarLabs
Sean-StarLabs force-pushed the agent/starfighter-4k-dom0-display-quirk branch from 0e6e7e3 to 55b4a3b Compare August 19, 2026 20:14
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.36%. Comparing base (8c5c6eb) to head (55b4a3b).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #222      +/-   ##
==========================================
- Coverage   71.38%   71.36%   -0.03%     
==========================================
  Files          12       12              
  Lines        1384     1383       -1     
==========================================
- Hits          988      987       -1     
  Misses        396      396              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants