Repository navigation
images: ship Aurora Mesa for Flatpak apps - #124
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Flatpak apps load GL and Vulkan from the runtime's GL extension, not from the host. Fedora images ship
mesa-aurorabut notaurora-flatpak-gl, so on a fresh install every Flathub app runs Flathub'sGL.defaultMesa 26.2.5 instead of Aurora's drivers. On a Neo, Prism Launcher reportedApple 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: addaurora-flatpak-glto 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 byscripts/build-image): the image fails unless the finished root has:GL.aurora/aarch64/25.08and26.08installed;libgalliumbuild (git-<10 hex>);FLATPAK_GL_DRIVERSselectingaurora:;VK_DRIVER_FILES.This catches a
%posttransthat quietly failed inside KIWI.Tests:
tests/test_check_basics.py(pass, missing branch, Mesa mismatch, not selected, no override) andimages/test_configure.py.Verification
python3 -m unittest tests.test_check_basicsandpython3 images/test_configure.pypass. In the full suite, only the twotest_updatelib.UapiTestscases fail locally on macOS (header compile), same as onmain.aurora-flatpak-gl26.3.0-15 and settingFLATPAK_GL_DRIVERS=aurora:default:hostmade Prism's Minecraft 26.3 logMesa 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