Skip to content

Add VRR editing and fix stereo flags, DTD corruption, and override replacement - #4

Merged
ssupt merged 4 commits into
mainfrom
fix/edid-range-and-stereo
Oct 7, 2026
Merged

ssupt merged 4 commits into
mainfrom
fix/edid-range-and-stereo

Conversation

@ssupt

@ssupt ssupt commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Adds a VRR range button and Shift+R editor so an EDID advertising 24–120 Hz can be changed to 40–120 Hz. Whole-Hz limits are validated, EDID 1.4 frequency offsets support limits up to 510 Hz, and unrelated descriptor bytes are preserved. Existing EDID 1.4 continuous-frequency, range-limits-only descriptors are editable; HDMI/DisplayID VRR blocks remain read-only. The physical BenQ EX3203R has not been tested.

Export and Install/Update clear stereo bits from every base and CTA detailed timing, repair checksums, and show the cleanup in the change summary. Stereo cleanup alone counts as a pending override without changing the source EDID.

Fixes additional bugs found on main:

  • Preserve all DTD metadata when reordering, parse DisplayID product blocks and extended CTA video codes correctly, and reject reserved standard timings and invalid draft exports.
  • Keep replacement connector mappings and unrelated kernel arguments. Edit literal mkinitcpio FILES arrays without matching comments or filename prefixes, and roll back failed backup/rebuild operations.
  • Prevent timing overflow and deletion underflow, block mouse input to background controls during dialogs, keep active editor fields visible at 80×24, and preserve commas in import paths.
  • Preserve repeated config include order, cache Lua require calls, and reject computed arguments where a literal path is required.

Bumps drmcru to 0.1.4, updates download instructions and AUR metadata, and records the checksum of the newly built portable musl binary. The audit report is stored outside the repository.

Validation: all 136 tests pass in debug, release, and Rust 1.87.0. Formatting, Clippy with warnings denied, whitespace checks, source packaging, shell syntax checks, and the portable distribution build pass. Installer regression tests use isolated fixtures and mocked rebuild commands; live reboot/display validation has not been performed.

Fixes #2
Fixes #3

ssupt added 4 commits October 7, 2026 05:58
Preserve complete DTD bytes when reordering timings, parse DisplayID
product blocks and extended CTA video codes, and reject reserved standard
timings and invalid draft exports.

Retain replacement connector mappings and unrelated kernel arguments.
Parse mkinitcpio FILES arrays without matching comments or filename prefixes,
and roll back failed backup and rebuild operations.

Prevent timing arithmetic overflow and deletion underflow, isolate modal
mouse input, keep editor fields visible on small terminals, and preserve
literal import paths. Handle repeated config includes and reject expressions
where a literal include path is required.
@ssupt ssupt changed the title Add VRR range editing and clear DTD stereo flags Add VRR editing and fix stereo flags, DTD corruption, and override replacement Oct 7, 2026
@ssupt
ssupt marked this pull request as ready for review October 7, 2026 05:40
@ssupt
ssupt merged commit fa33847 into main Oct 7, 2026
6 checks passed
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.

[feature] add support for editing VRR range [feature] Remove stereo flag for detailed resolutions

1 participant