Problem
Snapcraft's GPU linter reports that the AeroFTP core22 snap primes its own Mesa DRI/EGL/GLX/libdrm stack. The current package contains usr/lib/x86_64-linux-gnu/dri/*_dri.so, libEGL_mesa, libGLX_mesa, libgbm, and vendor libdrm libraries even though hardware-specific userspace should come from a graphics content provider.
Canonical's current guidance recommends the graphics-core22 content interface with mesa-core22, the maintained wrapper, and cleanup helper. This matters beyond package size: shipping a private Mesa stack can conflict with host/NVIDIA userspace and was visible while diagnosing the confined WebKit GUI regression in #462 / PR #463.
Official guide: https://ubuntu.com/frame/docs/22/how-to/use-snap-graphics/
Acceptance criteria
Scope note
PR #463 should first restore a renderable confined GUI and prove startup. This issue owns the larger graphics-provider migration so it can be reviewed and validated independently rather than combining two runtime architecture changes in one recovery PR.
Problem
Snapcraft's GPU linter reports that the AeroFTP core22 snap primes its own Mesa DRI/EGL/GLX/libdrm stack. The current package contains
usr/lib/x86_64-linux-gnu/dri/*_dri.so,libEGL_mesa,libGLX_mesa,libgbm, and vendorlibdrmlibraries even though hardware-specific userspace should come from a graphics content provider.Canonical's current guidance recommends the
graphics-core22content interface withmesa-core22, the maintained wrapper, and cleanup helper. This matters beyond package size: shipping a private Mesa stack can conflict with host/NVIDIA userspace and was visible while diagnosing the confined WebKit GUI regression in #462 / PR #463.Official guide: https://ubuntu.com/frame/docs/22/how-to/use-snap-graphics/
Acceptance criteria
graphics-core22content plug targeting$SNAP/graphics, default providermesa-core22.graphics-core22-wrapperin the app command chain without breaking the GNOME extension's desktop launcher.graphics-core22-cleanuppart after AeroFTP and remove provider-owned Mesa/DRI/GLVND/libdrm files from the primed app snap.snapcraft lintno longer emitsgpu:warnings for bundled drivers; assess remaining library-linter warnings individually (dynamic loading vs genuinely unused) rather than blanket-ignore them.Scope note
PR #463 should first restore a renderable confined GUI and prove startup. This issue owns the larger graphics-provider migration so it can be reviewed and validated independently rather than combining two runtime architecture changes in one recovery PR.