When using an NVIDIA GPU with proprietary drivers on a GNOME Wayland session, certain GTK-based applications fail to launch. They display an error dialog with the message:
An error occurred. Could not initialise OpenGL support
This commonly affects applications like GNOME Videos (Totem), the file previewer (gnome-sushi
), and other modern GNOME apps.
The issue stems from an incompatibility between how modern GTK applications try to use desktop OpenGL (gl
) and how NVIDIA’s proprietary drivers handle it within a Wayland session. The solution is to force these applications to use OpenGL ES (gles
), which is fully supported and stable in this configuration.