Skip to content

Expand ARMv8 MMIO32 for 256 MiB VMSVGA VRAM#743

Open
moreaki wants to merge 1 commit into
VirtualBox:mainfrom
moreaki:agent/armv8-vmsvga-256m-mmio
Open

Expand ARMv8 MMIO32 for 256 MiB VMSVGA VRAM#743
moreaki wants to merge 1 commit into
VirtualBox:mainfrom
moreaki:agent/armv8-vmsvga-256m-mmio

Conversation

@moreaki

@moreaki moreaki commented Jul 8, 2026

Copy link
Copy Markdown

Summary

Expand the ARMv8 PCI 32-bit MMIO aperture from 256 MiB to 448 MiB.

This allows a VMSVGA configuration with 256 MiB VRAM to keep both required BARs in low PCI MMIO space:

  • VMSVGA VRAM BAR: 256 MiB, prefetchable
  • VMSVGA3 MMIO BAR: 4 MiB

Why

On the tested macOS/Arm Windows 11 ARM setup, 128 MiB VRAM was marginal for true 5760x3240 Retina operation. Increasing VRAM to 256 MiB failed unless enough ARMv8 low PCI MMIO space was available for both VMSVGA BARs.

Moving the VRAM BAR to 64-bit MMIO was not sufficient locally; the guest booted only in a degraded display state with the Windows driver not initializing normally.

Validation

  • Applied independently to origin/main.
  • git diff --check passes.
  • Rebuilt locally as part of the macOS/Arm test build.
  • Runtime verified with vram=256, 3D enabled, Windows 11 ARM guest mode 5760x3240x32, and Guest Additions run level 3.

Observed layout:

  • ARM pci-mmio32: 0xe0000000..0xfbffffff
  • VMSVGA VRAM BAR: 0xe0000000..0xefffffff
  • VMSVGA3 MMIO BAR: 0xf0400000..0xf07fffff

Refs #742.

Signed-off-by: Roberto Nibali <rnibali@gmail.com>
@oracle-contributor-agreement

Copy link
Copy Markdown

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
The following contributors of this PR have not signed the OCA:

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. label Jul 8, 2026
@moreaki moreaki marked this pull request as ready for review July 8, 2026 08:09
@moreaki moreaki changed the title Main: expand ARMv8 MMIO32 for 256 MiB VMSVGA VRAM Expand ARMv8 MMIO32 for 256 MiB VMSVGA VRAM Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Required At least one contributor does not have an approved Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant