diddlesnaps / supertuxkart

MIT License
11 stars 6 forks source link

Update to support gnome-sdk for mesa #24

Closed tobhe closed 8 months ago

tobhe commented 11 months ago

I am currently working on getting more snaps working on arm64 laptops like Apple Silicon and the Lenovo x13s. Both of them use special mesa versions with drivers that aren't upstreamed yet. Our current snaps strategy is to have hardware specific channels of the gnome content snap that ship with the modified mesa version, see the -adreno and -asahi branches in https://github.com/ubuntu/gnome-sdk. In the future there might be a more general graphics plugin for that.

This PR makes Supertuxkart work with GPU acceleration on my M2 Air. While I was there I also simplified the build a bit and cleaned up the dependencies. As I understand it the special handling for harfbuzz, freetype and alsa shouldn't be necessary anymore but let me know you'd like me to keep them.

tobhe commented 9 months ago

ping

eslerm commented 9 months ago

@lucyllewy, since this is a big change, I did some extra testing on mantic:

amd64 builds and runs.

arm64 on a M2 Air builds and runs (which uses the asahi channel track of the gnome extensions).

arm64 on a Raspberry Pi 4 also builds and runs.

lucyllewy commented 8 months ago

Thanks for this. I'm sorry I took so long to get to it, but I'm checking it over now.

lucyllewy commented 8 months ago

many thanks. This looks good.

eslerm commented 8 months ago

amd64 --edge builds released, but arm64 has not.

Please let me know if I can relay anything to Canonical's snap team.