This got much worse after enabling proprietary drivers and leaves me with a completely unusable Chromium (no browser chrome painted, let alone content)
$ snap version
snap 2.55.2+22.04.1
snapd 2.55.2+22.04.1
series 16
ubuntu 22.04
kernel 5.15.0-23-generic
$ snap list chromium
Name Version Rev Tracking Publisher Notes
chromium 100.0.4896.60 1951 latest/stable canonical✓ -
snippet from SNAPD_DEBUG=1 snap run chromium
DEBUG: requesting changing of apparmor profile on next exec to snap-update-ns.chromium
change.go:566: DEBUG: desiredIDs: map[/run/user/1000/doc:true]
change.go:567: DEBUG: reuse: map[]
change.go:320: DEBUG: mount name:"/run/user/1000/doc/by-app/snap.chromium" dir:"/run/user/1000/doc" type:"none" opts:MS_BIND unparsed:"" (error: <nil>)
DEBUG: snap-update-ns finished successfully
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: NOT preserving per-user mount namespace
DEBUG: releasing lock 7
DEBUG: sending command 0 to helper process (pid: 1601462)
DEBUG: waiting for response from helper
DEBUG: sanity timeout reset and disabled
DEBUG: helper process received command 0
DEBUG: helper process exiting
DEBUG: waiting for the helper process to exit
DEBUG: helper process exited normally
DEBUG: resetting PATH to values in sync with core snap
DEBUG: set_effective_identity uid:1000 (change: yes), gid:1000 (change: yes)
DEBUG: creating user data directory: /home/acollard/snap/chromium/1951
DEBUG: requesting changing of apparmor profile on next exec to snap.chromium.chromium
DEBUG: ruid: 1000, euid: 1000, suid: 0
DEBUG: setting capabilities bounding set
DEBUG: regaining SYS_ADMIN
DEBUG: loading bpf program for security tag snap.chromium.chromium
DEBUG: read 6520 bytes from /var/lib/snapd/seccomp/bpf//snap.chromium.chromium.bin
DEBUG: read 152 bytes from /var/lib/snapd/seccomp/bpf/global.bin
DEBUG: clearing SYS_ADMIN
DEBUG: execv(/usr/lib/snapd/snap-exec, /usr/lib/snapd/snap-exec...)
DEBUG: argv[1] = chromium
DEBUG: umask restored to 02
DEBUG: working directory restored to /home/acollard
Gtk-Message: 16:52:11.032: Failed to load module "canberra-gtk-module"
Gtk-Message: 16:52:11.033: Failed to load module "canberra-gtk-module"
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open nvidia-drm: /snap/chromium/1951/gnome-platform/usr/lib/x86_64-linux-gnu/dri/nvidia-drm_dri.so: cannot open shared object file: Permission denied (search paths /snap/chromium/1951/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: nvidia-drm
MESA-LOADER: failed to open kms_swrast: /snap/chromium/1951/gnome-platform/usr/lib/x86_64-linux-gnu/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /snap/chromium/1951/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /snap/chromium/1951/gnome-platform/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /snap/chromium/1951/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver
[1601444:1601533:0406/165213.377095:ERROR:udev_watcher.cc(98)] Failed to begin udev enumeration.
This got much worse after enabling proprietary drivers and leaves me with a completely unusable Chromium (no browser chrome painted, let alone content)
$ ubuntu-drivers devices pci0000: 00/0000: 00:01.0/ 0000:01: 00.0 == 00013C2sv000014 62sd00003160bc0 3sc00i00 driver- 510-server - distro non-free driver- 418-server - distro non-free driver- 450-server - distro non-free driver- 470-server - distro non-free xorg-video- nouveau - distro free builtin
== /sys/devices/
modalias : pci:v000010DEd0
vendor : NVIDIA Corporation
model : GM204 [GeForce GTX 970]
driver : nvidia-
driver : nvidia-driver-390 - distro non-free
driver : nvidia-
driver : nvidia-driver-510 - distro non-free recommended
driver : nvidia-
driver : nvidia-driver-470 - distro non-free
driver : nvidia-
driver : xserver-
$ ubuntu-drivers debug | grep 'installed: [^<]' 00013C2sv000014 62sd00003160bc0 3sc00i00 path: /sys/devices/ pci0000: 00/0000: 00:01.0/ 0000:01: 00.0 vendor: NVIDIA Corporation model: GM204 [GeForce GTX 970] support level: PB
nvidia-driver-510: installed: 510.60.02-0ubuntu1 available: 510.60.02-0ubuntu1 (auto-install) [distro] non-free modalias: pci:v000010DEd0
$ snap version
snap 2.55.2+22.04.1
snapd 2.55.2+22.04.1
series 16
ubuntu 22.04
kernel 5.15.0-23-generic
$ snap list chromium
Name Version Rev Tracking Publisher Notes
chromium 100.0.4896.60 1951 latest/stable canonical✓ -
snippet from SNAPD_DEBUG=1 snap run chromium ns.chromium user/1000/ doc:true] run/user/ 1000/doc/ by-app/ snap.chromium" dir:"/run/ user/1000/ doc" type:"none" opts:MS_BIND unparsed:"" (error: <nil>) identity uid:0 (change: no), gid:1000 (change: yes) identity uid:1000 (change: yes), gid:1000 (change: yes) snap/chromium/ 1951 chromium chromium snapd/seccomp/ bpf//snap. chromium. chromium. bin snapd/seccomp/ bpf/global. bin usr/lib/ snapd/snap- exec, /usr/lib/ snapd/snap- exec... ) gtk-module" gtk-module" 1951/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri/nvidia- drm_dri. so: cannot open shared object file: Permission denied (search paths /snap/chromium/ 1951/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri) 1951/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri/kms_ swrast_ dri.so: cannot open shared object file: Permission denied (search paths /snap/chromium/ 1951/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri) 1951/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri/swrast_ dri.so: cannot open shared object file: Permission denied (search paths /snap/chromium/ 1951/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri) 1601533: 0406/165213. 377095: ERROR:udev_ watcher. cc(98)] Failed to begin udev enumeration.
DEBUG: requesting changing of apparmor profile on next exec to snap-update-
change.go:566: DEBUG: desiredIDs: map[/run/
change.go:567: DEBUG: reuse: map[]
change.go:320: DEBUG: mount name:"/
DEBUG: snap-update-ns finished successfully
DEBUG: set_effective_
DEBUG: NOT preserving per-user mount namespace
DEBUG: releasing lock 7
DEBUG: sending command 0 to helper process (pid: 1601462)
DEBUG: waiting for response from helper
DEBUG: sanity timeout reset and disabled
DEBUG: helper process received command 0
DEBUG: helper process exiting
DEBUG: waiting for the helper process to exit
DEBUG: helper process exited normally
DEBUG: resetting PATH to values in sync with core snap
DEBUG: set_effective_
DEBUG: creating user data directory: /home/acollard/
DEBUG: requesting changing of apparmor profile on next exec to snap.chromium.
DEBUG: ruid: 1000, euid: 1000, suid: 0
DEBUG: setting capabilities bounding set
DEBUG: regaining SYS_ADMIN
DEBUG: loading bpf program for security tag snap.chromium.
DEBUG: read 6520 bytes from /var/lib/
DEBUG: read 152 bytes from /var/lib/
DEBUG: clearing SYS_ADMIN
DEBUG: execv(/
DEBUG: argv[1] = chromium
DEBUG: umask restored to 02
DEBUG: working directory restored to /home/acollard
Gtk-Message: 16:52:11.032: Failed to load module "canberra-
Gtk-Message: 16:52:11.033: Failed to load module "canberra-
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
[1601444: