$ LIBGL_DEBUG=verbose snap run chromium
Gtk-Message: 15:40:53.159: Failed to load module "canberra-gtk-module"
Gtk-Message: 15:40:53.161: Failed to load module "canberra-gtk-module"
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/acollard/snap/chromium/1961/.drirc: Permission denied.
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open nvidia-drm: /snap/chromium/1961/gnome-platform/usr/lib/x86_64-linux-gnu/dri/nvidia-drm_dri.so: cannot open shared object file: Permission denied (search paths /snap/chromium/1961/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: nvidia-drm
MESA-LOADER: failed to open kms_swrast: /snap/chromium/1961/gnome-platform/usr/lib/x86_64-linux-gnu/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /snap/chromium/1961/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /snap/chromium/1961/gnome-platform/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /snap/chromium/1961/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver
$ LIBGL_DEBUG=verbose snap run chromium gtk-module" gtk-module" snap/chromium/ 1961/.drirc: Permission denied. 1961/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri/nvidia- drm_dri. so: cannot open shared object file: Permission denied (search paths /snap/chromium/ 1961/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri) 1961/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri/kms_ swrast_ dri.so: cannot open shared object file: Permission denied (search paths /snap/chromium/ 1961/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri) 1961/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri/swrast_ dri.so: cannot open shared object file: Permission denied (search paths /snap/chromium/ 1961/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri)
Gtk-Message: 15:40:53.159: Failed to load module "canberra-
Gtk-Message: 15:40:53.161: Failed to load module "canberra-
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/acollard/
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open nvidia-drm: /snap/chromium/
failed to load driver: nvidia-drm
MESA-LOADER: failed to open kms_swrast: /snap/chromium/
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /snap/chromium/
failed to load swrast driver