Skip to content

images: ship Aurora Mesa for Flatpak apps - #124

Merged
DjDeveloperr merged 1 commit into
mainfrom
fix/images-flatpak-gl
Nov 2, 2026
Merged

DjDeveloperr merged 1 commit into
mainfrom
fix/images-flatpak-gl

Conversation

@DjDeveloperr

Copy link
Copy Markdown
Contributor

Problem

Flatpak apps load GL and Vulkan from the runtime's GL extension, not from the host. Fedora images ship mesa-aurora but not aurora-flatpak-gl, so on a fresh install every Flathub app runs Flathub's GL.default Mesa 26.2.5 instead of Aurora's drivers. On a Neo, Prism Launcher reported Apple M5 Unknown (G17P B1), Mesa 26.2.5 (git-ddaf85e353).

The ALARM image (scripts/build-image) and the NixOS image (aurora.flatpak.enable, on by default) already ship it on every profile. Fedora was the only one missing it.

Change

  • images/configure.py: add aurora-flatpak-gl to the common package set, so it goes into all three profiles: KDE, GNOME and minimal. This matches ALARM and NixOS, which ship it on minimal too.

  • scripts/check-basics.py --flatpak-gl (passed by scripts/build-image): the image fails unless the finished root has:

    • GL.aurora/aarch64/25.08 and 26.08 installed;
    • the commit stamp of each matching the host libgallium build (git-<10 hex>);
    • FLATPAK_GL_DRIVERS selecting aurora:;
    • the system override that sets VK_DRIVER_FILES.

    This catches a %posttrans that quietly failed inside KIWI.

  • Tests: tests/test_check_basics.py (pass, missing branch, Mesa mismatch, not selected, no override) and images/test_configure.py.

Verification

  • python3 -m unittest tests.test_check_basics and python3 images/test_configure.py pass. In the full suite, only the two test_updatelib.UapiTests cases fail locally on macOS (header compile), same as on main.
  • On a Neo running Fedora, installing aurora-flatpak-gl 26.3.0-15 and setting FLATPAK_GL_DRIVERS=aurora:default:host made Prism's Minecraft 26.3 log Mesa 26.3.0-devel (git-c208afc352) / Apple A18 Pro (G17P B1).

Cost

Image size grows: the package carries a ~437 MB OSTree repository, and the deployed extension adds the same objects to /var/lib/flatpak. Image builds for all three profiles follow this PR.

🤖 Generated with Claude Code

Flatpak apps load GL and Vulkan from the runtime's GL extension, never
from the host. The Fedora images carried mesa-aurora but not
aurora-flatpak-gl, so every Flathub app on a fresh install (Prism
Launcher, Steam, ...) ran Flathub's GL.default Mesa 26.2.5 instead of
the Aurora drivers. The ALARM and NixOS images already install it on
every profile.

Add aurora-flatpak-gl to the common package set for all three profiles,
and make the image build fail unless the finished root has
GL.aurora//25.08 and //26.08 installed from the host Mesa commit, selected
through FLATPAK_GL_DRIVERS, and the system override that points the
loaders at the merged GL directories.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DjDeveloperr
DjDeveloperr merged commit d8ac451 into main Nov 2, 2026
12 checks passed
@DjDeveloperr
DjDeveloperr deleted the fix/images-flatpak-gl branch November 2, 2026 08:31
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