I re-tested this on 22.04, 24.04 and 25.04. I was unable to reproduce the original issue with 22.04 but I did succeed on 25.05
Before: zyga@wyzima:~$ snap version snap 2.68.5+ubuntu25.04.2 snapd 2.68.5+ubuntu25.04.2 series 16 ubuntu 25.04 kernel 6.14.0-32-generic zyga@wyzima:~$ desktop-security-center Gtk-Message: 09:13:11.179: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it. (security_center:5417): Gtk-WARNING **: 09:13:11.284: GTK+ module /snap/desktop-security-center/59/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported. Gtk-Message: 09:13:11.284: Failed to load module "canberra-gtk-module" (security_center:5417): Gtk-WARNING **: 09:13:11.285: GTK+ module /snap/desktop-security-center/59/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported. Gtk-Message: 09:13:11.285: Failed to load module "canberra-gtk-module" (security_center:5417): Gdk-CRITICAL **: 09:13:11.353: gdk_gl_context_make_current: assertion 'GDK_IS_GL_CONTEXT (context)' failed ** (security_center:5417): WARNING **: 09:13:11.353: Failed to initialize GLArea: Nie można utworzyć kontekstu GL After: zyga@wyzima:~$ snap version snap 2.71+ubuntu25.04 snapd 2.71+ubuntu25.04 series 16 ubuntu 25.04 kernel 6.14.0-32-generic zyga@wyzima:~$ desktop-security-center Gtk-Message: 09:16:40.737: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it. (security_center:9972): Gtk-WARNING **: 09:16:40.830: GTK+ module /snap/desktop-security-center/59/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported. Gtk-Message: 09:16:40.830: Failed to load module "canberra-gtk-module" (security_center:9972): Gtk-WARNING **: 09:16:40.832: GTK+ module /snap/desktop-security-center/59/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported. Gtk-Message: 09:16:40.832: Failed to load module "canberra-gtk-module" ** (security_center:9972): WARNING **: 09:16:41.153: GtkWindow must be shown AFTER registering plugins. In `linux/my_application.cc`, change `my_application_activate()` to call `gtk_widget_show(window)` after calling `fl_register_plugins(view)`. ** (security_center:9972): WARNING **: 09:16:41.153: Setting up a Handy window failed. A normal GTK window will be used instead. See README.md for more detailed instructions. (security_center:9972): GLib-GObject-CRITICAL **: 09:16:46.463: ../src/gobject/gsignal.c:2777: instance '0x5cb79c805370' has no handler with id '162' ** (security_center:9972): WARNING **: 09:16:46.500: Attempted to set message handler on an FlBinaryMessenger without an engine ** (security_center:9972): WARNING **: 09:16:46.500: Attempted to set message handler on an FlBinaryMessenger without an engine -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2088456 Title: nvidia drivers cannot be used by snaps in x11 mode To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/2088456/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
