Skip to content

[fix] Force software GL for Alacritty on VirGL - #149

Merged
themartiano merged 1 commit into
omacom:mainfrom
Fail-Safe:fix/alacritty-virgl-software-gl
Sep 8, 2026
Merged

[fix] Force software GL for Alacritty on VirGL#149
themartiano merged 1 commit into
omacom:mainfrom
Fail-Safe:fix/alacritty-virgl-software-gl

Conversation

@Fail-Safe

@Fail-Safe Fail-Safe commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fixes [Fix] Alacritty install #148: Alacritty installs cleanly on aarch64, but the default VirGL/OpenGL path paints an empty transparent window (wallpaper shows through; no text).
  • Confirmed locally that LIBGL_ALWAYS_SOFTWARE=1 alacritty renders normally.
  • Add a /usr/local/bin/alacritty PATH wrapper that execs /usr/bin/alacritty with LIBGL_ALWAYS_SOFTWARE=1 when omarchy.qemu_virgl=1 is on the guest cmdline (same idea as the 1Password ARM installer software-GL shim).

Test plan

  • python3 guest/tests/verify.py
  • Manual: LIBGL_ALWAYS_SOFTWARE=1 alacritty shows text (reporter/dev repro)
  • After image with this fix: Install → Terminal → Alacritty (or alacritty from foot) shows a usable terminal without manually exporting LIBGL_ALWAYS_SOFTWARE
  • CI green

Fixes #148.

Alacritty installs on aarch64 but paints an empty transparent window under
Try Omarchy's virtio-gpu path. Prefer a PATH wrapper that sets
LIBGL_ALWAYS_SOFTWARE=1 when omarchy.qemu_virgl=1, matching the 1Password
workaround.
@Fail-Safe Fail-Safe mentioned this pull request Sep 7, 2026

@themartiano themartiano left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pull request!

Codex comments

The wrapper is limited to the VirGL guest, preserves arguments and exit status, and executes the packaged binary. CI, guest contracts, and combined tests passed.

@themartiano
themartiano merged commit 13ffea2 into omacom:main Sep 8, 2026
1 check 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.

[Fix] Alacritty install

2 participants