On Sun, 23 Feb 2025 at 10:42:15 +0100, Jérémy Lal wrote: > When launching papers, it displays a black rectangle for two seconds. > > User logs show a lot of > [ 1441.204501] audit: type=1400 audit(1740303035.447:5060): apparmor="DENIED" > operation="file_lock" class="file" profile="/usr/bin/papers" > name="/home/dev/.cache/mesa_shader_cache_db/part7/mesa_cache.db" pid=9441 > comm="papers:disk$0" requested_mask="k" denied_mask="k" fsuid=1000 ouid=1000
Probably any GTK4 app with a non-trivial AppArmor profile will need to #include <abstractions/mesa>, to allow access to Mesa's shader cache for OpenGL and Vulkan. smcv