Open Calinou opened 6 months ago
There is no Flatpak support yet as nobody has packaged our Mesa fork as a Flatpak extension yet. Upstream Mesa does not have support for our GPU (and won't until the kernel driver is merged, which is blocked on Rust kernel upstreaming bikeshedding, so we can't do anything to speed that up) so the Mesa that Flatpak ships does not work. There was some work in this direction but it was never completed. Volunteers welcome :)
The main difficulty is to get flatpak-builder
to work inside mock which we will need to build the driver in copr. My attempt is in https://github.com/jannau/mesa-asahi-flatpak/tree/fedora-spec which does not build inside mock.
On a M1 Mac mini, I have OpenGL working as confirmed by
glxinfo
and glxgears (8000 FPS in default window size):However, I've run
flatpak install org.sauerbraten.Sauerbraten
and despite the game booting up successfully, it's running through llvmpipe (vendor string is printed in the in-game console on startup).flatpak list
outputs:When run from a terminal (
flatpak run org.sauerbraten.Sauerbraten
), I can see this in stdout:Do I need to do something specific to have working OpenGL within Flatpaks? I thought the Mesa Flatpak would take care of everything (like it does on my other Linux machines).