Skip to content

Waver Snap Fails to Launch on Linux Mint: OpenGL GLXBadContext Error #160

Description

@Manuzz64

When attempting to run the waver snap application on Linux Mint, the application fails to launch, displaying critical OpenGL initialization errors. Specifically, the following error messages are consistently produced:

libGL error: MESA-LOADER: failed to open radeonsi
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast
libGL error: failed to load driver: swrast
X Error: GLXBadContext

These errors indicate that the waver snap is unable to correctly load the necessary Mesa OpenGL drivers (radeonsi for AMD GPUs and swrast as a software fallback) or establish a valid GLX (OpenGL Extension to the X Window System) rendering context.

Troubleshooting performed includes:

Running waver as a regular user (resolved initial Authorization required and Segmentation fault when run with sudo).
Confirming system graphics drivers are up-to-date and reported as "all good" by the Driver Manager.
Reinstalling core Mesa libraries (mesa-vulkan-drivers, mesa-va-drivers, libglvnd0).
Attempting to launch with __EGL_VENDOR_LIBRARY_FILENAMES to explicitly point to the Mesa EGL library.
Reinstalling the waver snap package itself.

Despite these steps, the GLXBadContext error persists, preventing the application from starting. This suggests the issue is likely a specific incompatibility or bug within the waver snap's bundling or confinement, preventing it from properly accessing the host system's OpenGL environment, rather than a general system-wide graphics driver problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions