Skip to content

AppImage fails to initialize GL context on Wayland with Intel Haswell GPU #5167

@rumnav

Description

@rumnav

The official Hiddify AppImage fails to start on systems running a Wayland session with Intel Haswell (4th Gen) integrated graphics, showing the following error:

** (hiddify:XXXX): WARNING **: Failed to initialize GLArea: No GL implementation is available
(hiddify:XXXX): Gdk-CRITICAL **: gdk_gl_context_make_current: assertion 'GDK_IS_GL_CONTEXT (context)' failed

Environment

  • Desktop: KDE Plasma (Wayland session)
  • Base OS: Ubuntu 24.04 (or derivative)
  • GPU: Intel HD Graphics 4600 (Haswell, Gen7)
  • Kernel driver: i915
  • Mesa version: 25.0.7
  • User is correctly added to video and render groups.

Verified working components

  • OpenGL is functional (glxinfo reports OpenGL 4.6 via Mesa).
  • EGL is operational (eglinfo shows valid configurations).
  • A standalone GTK GLArea test application renders successfully under the same session (blue window appears).
  • The issue is specific to the Hiddify AppImage — other OpenGL/GTK applications work as expected.

Additional notes

  • The same AppImage previously worked, suggesting a regression after a system update (e.g., Mesa, GTK, or Plasma).
  • Forcing software rendering (LIBGL_ALWAYS_SOFTWARE=1) does not resolve the issue.
  • The AppImage does not accept GPU-related flags (e.g., --disable-gpu), as it uses a custom launcher.

Request
Please consider:

Rebuilding the AppImage on a recent Ubuntu 24.04 base with updated Flutter/GTK dependencies.
Improving fallback behavior for systems where hardware-accelerated GL context creation fails.
Providing an alternative distribution format (e.g., Flatpak) with better sandboxing and driver compatibility.

Thank you for your attention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions