fix: attempt to fix snap once more #5252

This commit is contained in:
Johannes Millan 2025-10-12 11:21:40 +02:00
parent f6f74da056
commit ac8ebf93cf
2 changed files with 17 additions and 0 deletions

View file

@ -61,6 +61,19 @@ snap:
autoStart: true
base: core22
confinement: strict
# Force software rendering to avoid GPU/Mesa driver issues in snap confinement
# See: https://github.com/johannesjo/super-productivity/issues/5252
environment:
LIBGL_ALWAYS_SOFTWARE: '1'
MESA_LOADER_DRIVER_OVERRIDE: llvmpipe
LIBGL_DRIVERS_PATH: !!str '$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/dri:$SNAP/gnome-platform/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/dri'
__GLX_VENDOR_LIBRARY_NAME: mesa
DISABLE_WAYLAND: '1'
stagePackages:
- default
- libglu1-mesa
- libosmesa6
- libgl1-mesa-dri
plugs:
- default
- password-manager-service