Skip to content

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

Open
Fail-Safe wants to merge 1 commit into
omacom:mainfrom
Fail-Safe:fix/alacritty-virgl-software-gl
Open

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

Conversation

@Fail-Safe

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

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.
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

1 participant