"opengl" interface


#1

Hello hive mind,

I’ve just snapped an application that requires the opengl stack to be available. I declared the plug on snapcraft.yaml file and confirmed (using “snap connections”) that it had been successfully connected. Yet, I couldn’t make the app work correctly until Mesa libraries and drivers have been added into the snap.

So, question is: what does “opengl” interface really expose to snaps? It’s supposed to expose host’s GL stack, isn’t? Am I missing something?

There’s some pieces of the yaml, depicting plugs declaration and needed Mesa libraries:

apps:
     curv:
         command: usr/local/bin/curv
         plugs:
             - desktop
             - desktop-legacy
             - x11
             - opengl
             - home
part:
        ...
    stage-packages:
        ...
             - libglapi-mesa
             - libglu1-mesa
             - libglx-mesa0
        ...