Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Snap package: no access to opengl acceleration #875
At start Qownnotes tries to use 3D acceleration through MESA (as many QT apps do) but it fails due to missing opengl flatpak inteface and lack of bundled mesa library. You can see examples here: https://forum.snapcraft.io/t/how-do-people-build-qt-gui-applications-snaps/3714
3D acceleration working.
3D acceleration fails.
Steps to reproduce
Output from snap run qownnotes
To clarify: QOwnNotes app works but on startup it tries to use opengl which is blocked by apparmor and spams audit logs wit messages like:
I believe adding opengl plug (not sure about mesa libraries) will fix this but I can't test without rebuilding snap package.
It seems moving to edge branch of core snap fixes this:
This seems to be a common issue: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1756793