Skip to content

Conversation

@r1chard-lyu
Copy link
Contributor

@r1chard-lyu r1chard-lyu commented Nov 18, 2025

Description

REF: #11765

The ConSplitterDxe driver was defaulting to the Console Output (ConOut) MaxMode immediately after its virtual protocols were installed. This MaxMode often exceeded the actual resolution or capability of the physical console device, leading to severe display corruption and incorrect line wrapping/positioning. This commit changes the default mode to 0, guaranteeing stable display behavior upon system boot.

  • Breaking change?
    • Breaking change - Does this PR cause a break in build or boot behavior?
    • Examples: Does it add a new library class or move a module to a different repo.
  • Impacts security?
    • Security - Does this PR have a direct security impact?
    • Examples: Crypto algorithm change or buffer overflow fix.
  • Includes tests?
    • Tests - Does this PR include any explicit test code?
    • Examples: Unit tests or integration tests.

How This Was Tested

  1. Build ovmf
    build -a X64 -p OvmfPkg/OvmfPkgX64.dsc -t GCC5

  2. Run OVMF
    qemu-system-x86_64
    -m 2G
    -machine q35,accel=kvm
    -cpu host
    -bios ~/Workspace/edk2/Build/OvmfX64/DEBUG_GCC5/FV/OVMF.fd
    -net none
    -nographic

Integration Instructions

N/A

REF: tianocore#11765

The ConSplitterDxe driver was defaulting to the Console Output
(ConOut) MaxMode immediately after its virtual protocols were
installed. This MaxMode often exceeded the actual resolution
or capability of the physical console device, leading to severe
display corruption and incorrect line wrapping/positioning. This
commit changes the default mode to 0, guaranteeing stable display
behavior upon system boot.

Signed-off-by: Richard Lyu <[email protected]>
@tianocore-pr-automation
Copy link

Pull Request Formatting Issues

⚠️ Remove the following template lines from your PR description:
<_Include a description of the change and why this change was made._>
<_For each item, place an "x" in between [and]if true. Example:[x] (you can also check items in GitHub UI)_>
<_Create the PR as a Draft PR if it is only created to run CI checks._>
<_Delete lines in \<\> tags before creating the PR._>

Address these issues and the validation will automatically re-run when you update your pull request.

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