Skip to content

Enabled support for digital/analog and widescreen.#33

Open
geosp wants to merge 1 commit into
akatrevorjay:masterfrom
geosp:enabled_digital_analog_widescreen
Open

Enabled support for digital/analog and widescreen.#33
geosp wants to merge 1 commit into
akatrevorjay:masterfrom
geosp:enabled_digital_analog_widescreen

Conversation

@geosp

@geosp geosp commented Oct 24, 2025

Copy link
Copy Markdown

PR Description

Title: Enable Digital Input Support and Add Ultrawide Mode

Description:

This PR enhances the EDID generator to support a broader range of display types and resolutions, addressing limitations in the original implementation.

Key Changes:

  • Digital Input Support:

    • Added VIDEO_INPUT macro override in edid.S to allow per-mode specification of input type (digital vs. analog).
    • Digital displays (e.g., HDMI, DisplayPort) can now be supported by setting VIDEO_INPUT to 0x80.
    • Maintains backward compatibility with analog (default 0x6d).
  • Bug Fixes:

    • Fixed msbs4 macro: Corrected bit packing for the top 2 bits of timing parameters to prevent data corruption.
    • Fixed y_snc_lsb packing: Improved vertical sync offset/width calculation to avoid negative wrap warnings and ensure accurate EDID data.
  • New Resolution Mode:

    • Added 3440x1440.S for 3440x1440 @60Hz ultrawide (21:9 aspect ratio) support.
    • Includes corresponding binary output for immediate use.

Why This Matters:

Many modern monitors and TVs provide invalid or incomplete EDID data. This update allows users to generate accurate EDID files for digital displays and popular ultrawide resolutions that weren't previously supported, improving compatibility with Linux KMS and Xorg configurations.

Testing:

  • Verified compilation of new mode and binary generation.
  • Confirmed existing modes remain unaffected.
  • No breaking changes; all enhancements are backward compatible.

Files Changed:

  • edid.S: Core template updates for input override and bug fixes.
  • 3440x1440.S: New ultrawide mode definition.
  • 3440x1440.bin: Generated binary (added via build process).

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.

1 participant