Skip to content

mesa: enable svga gallium driver on aarch64#61072

Merged
Duncaen merged 1 commit into
void-linux:masterfrom
marcopeereboom:mesa-svga-aarch64
Jun 21, 2026
Merged

mesa: enable svga gallium driver on aarch64#61072
Duncaen merged 1 commit into
void-linux:masterfrom
marcopeereboom:mesa-svga-aarch64

Conversation

@marcopeereboom

Copy link
Copy Markdown
Contributor

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture, aarch64-glibc
  • Verified vmwgfx_dri.so present in /usr/lib64/dri/
  • Confirmed glamor initializes with hardware-accelerated OpenGL 4.3 on VMware Fusion (Apple Silicon), replacing llvmpipe/swrast fallback
  • glxinfo reports: OpenGL renderer string: SVGA3D; build: RELEASE; LLVM;

Description

Enable the VMware svga gallium driver (vmwgfx_dri.so) for aarch64
targets by adding _have_vmware=yes to the aarch64 case.

VMware Fusion on Apple Silicon creates aarch64 Linux VMs that use the
vmwgfx kernel driver (SVGA version 3, shader model SM_5_1X). The svga
gallium driver provides hardware-accelerated OpenGL 4.3 in these VMs but
is currently only built for x86. Without it, aarch64 VMware guests fall
back to llvmpipe software rendering — glamor detects llvmpipe and refuses
to initialize, so X runs unaccelerated.

VMware documents 3D acceleration support for arm64 Linux guests with
kernel >= 5.19 and Mesa >= 22.1.1, both satisfied by current Void.

Splits the armv[67]*|aarch64* case to add _have_vmware=yes for
aarch64 while leaving armv6/armv7 unchanged.

Arch Linux ARM ships the svga driver for aarch64:
https://github.com/archlinuxarm/PKGBUILDs/blob/master/extra/mesa/PKGBUILD

VMware Fusion on Apple Silicon creates aarch64 VMs that use the vmwgfx
kernel driver. The svga gallium driver provides 3D accelerated graphics
via OpenGL 4.3 in these VMs but was only being built for x86.

The driver builds cleanly on aarch64 (Arch Linux ARM ships it) and the
vmwgfx kernel module already supports aarch64 upstream. Without it,
aarch64 VMware guests fall back to software rendering (llvmpipe).

Split the armv[67]*/aarch64* case to add _have_vmware=yes for aarch64
while leaving armv6/armv7 unchanged.
@Duncaen Duncaen merged commit 4a2709f into void-linux:master Jun 21, 2026
8 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.

2 participants