When launching Chromium as a snap on Ubuntu 22.04, it will not open properly and will open the browser with only the titlebar and a transparent window.
When running "snap run chromium" in the terminal, the following output happens. Attached screenshot of result.
nyaa@nyaa-desktop:~$ snap run chromium
Gtk-Message: 13:42:20.777: Failed to load module "canberra-gtk-module"
Gtk-Message: 13:42:20.778: Failed to load module "canberra-gtk-module"
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open nvidia-drm: /snap/chromium/1957/gnome-platform/usr/lib/x86_64-linux-gnu/dri/nvidia-drm_dri.so: cannot open shared object file: Permission denied (search paths /snap/chromium/1957/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: nvidia-drm
MESA-LOADER: failed to open kms_swrast: /snap/chromium/1957/gnome-platform/usr/lib/x86_64-linux-gnu/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /snap/chromium/1957/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /snap/chromium/1957/gnome-platform/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /snap/chromium/1957/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver
[9358:9478:0411/134223.111306:ERROR:udev_watcher.cc(98)] Failed to begin udev enumeration.
When launching Chromium as a snap on Ubuntu 22.04, it will not open properly and will open the browser with only the titlebar and a transparent window.
Description: Ubuntu Jammy Jellyfish
Release: 22.04
Chromium Version: 100.0.4896.75 2022-04-07
When running "snap run chromium" in the terminal, the following output happens. Attached screenshot of result.
nyaa@nyaa- desktop: ~$ snap run chromium gtk-module" gtk-module" 1957/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri/nvidia- drm_dri. so: cannot open shared object file: Permission denied (search paths /snap/chromium/ 1957/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri) 1957/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri/kms_ swrast_ dri.so: cannot open shared object file: Permission denied (search paths /snap/chromium/ 1957/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri) 1957/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri/swrast_ dri.so: cannot open shared object file: Permission denied (search paths /snap/chromium/ 1957/gnome- platform/ usr/lib/ x86_64- linux-gnu/ dri) 0411/134223. 111306: ERROR:udev_ watcher. cc(98)] Failed to begin udev enumeration.
Gtk-Message: 13:42:20.777: Failed to load module "canberra-
Gtk-Message: 13:42:20.778: 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
[9358:9478: