I made a game Snap in october 2024 (Floating Sandbox). It’s a game not made by me, the snap ran on all IGPs (Intel, AMD), on Ubuntu 22.04 and 24.04
Since mid 2025, the game does not launch any more (can’t find OpenGL … ‘Failed to initialize GLAD’) on any Ubuntu. Strangely the Snap does still run on the laptop on which I made the snap (laptop has a Nvidia GPU + Intel IGP).
I wonder what changed, and how to fix my snap:
# Snap by Dadu042 13/10/2024
#
#
name: floating-sandbox
base: core22
version: '1.18.0'
summary: Interactive physics simulator
description: |
Interactive physics simulator where you can sink ships (boats), throw them around, bend them, and burn them. There are many different ways that you can destroy a ship in Floating Sandbox, what's your way?. This software is donationware, this unofficial snap is made to let it known to more players.
Note: in the ship editor the GUI is not display correctly.
grade: stable # 'devel' -> 'stable' to release into candidate/stable channels
confinement: strict # devmode/strict
architectures:
- build-on: amd64
parts:
desktop-glib-only:
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir: glib-only
plugin: make
build-packages:
- libglib2.0-dev
stage-packages:
- libglib2.0-bin
floating-sandbox:
after:
- desktop-glib-only
plugin: dump
source: .
stage-packages:
- libopenal1
- libglu1-mesa
override-stage: |
snapcraftctl stage
chmod 777 FloatingSandbox # If this line is removed, next line does crash Snapcraft 8.3.2.
chmod 777 -R .
apps:
floating-sandbox:
# command-chain: ["snap/command-chain/alsa-launch"]
command: FloatingSandbox
extensions:
- gnome
plugs:
- home # to allow loading more boats
- desktop
- desktop-legacy
- opengl
# - network
# - network-bind
# - alsa
- pulseaudio
- audio-playback
# - audio-record
- wayland
- x11
- unity7
# - joystick