Есть профиль:
# Last Modified: Wed Apr 5 14:53:54 2023
abi <abi/3.0>,
include <tunables/global>
/usr/bin/firefox {
include <abstractions/base>
include <abstractions/bash>
# include <abstractions/xdg-desktop>
include <abstractions/xdg-open>
include <abstractions/dbus>
include <abstractions/fonts>
include <abstractions/gtk>
include <abstractions/gnome>
include <abstractions/dri-enumerate>
include <abstractions/cups-client>
include <abstractions/crypto>
include <abstractions/mesa>
include <abstractions/ssl_certs>
include <abstractions/ssl_keys>
include <abstractions/user-tmp>
include <abstractions/freedesktop.org>
include <abstractions/dri-common>
include <abstractions/wayland>
include <abstractions/dconf>
/usr/bin/bash rix,
/usr/bin/firefox rix,
/usr/lib/** r,
/usr/include/libdrm/** r,
/usr/share/libdrm/** r,
# /usr/lib/firefox/ r,
/usr/lib/firefox/** rix,
/sys/devices/pci*/** r,
/run/user/*/dconf/** rw,
# /dev/dri/ r,
# /dev/dri/** r,
# /dev/dri/by-path/** r,
# /usr/lib/dri/ r,
# /usr/lib/dri/** r,
owner @{HOME}./mozilla/ rwix,
owner @{HOME}.mozilla/** rwix,
owner @{HOME}.cache/mozilla/ rwix,
owner @{HOME}.cache/mozilla/** rwix,
owner @{HOME}/Downloads/ rw,
}
При запуске он выдает:
[GFX1-]: No GPUs detected via PCI
[GFX1-]: glxtest: process failed (received signal 11)
[GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
При этом glxgears прекрасно работает с таким профилем:
# Last Modified: Thu Apr 6 11:06:10 2023
abi <abi/3.0>,
include <tunables/global>
/usr/bin/glxgears {
include <abstractions/base>
include <abstractions/mesa>
include <abstractions/X>
include <abstractions/dri-common>
include <abstractions/dri-enumerate>
/usr/include/libdrm/** r,
/usr/share/libdrm/** r,
/usr/lib/** r,
/usr/bin/glxgears mrix,
}