hiddify-next icon indicating copy to clipboard operation
hiddify-next copied to clipboard

Failed to initialize GLArea on linux

Open lumingzh opened this issue 10 months ago • 9 comments

Search first

  • [X] I searched and no similar issues were found

Platform/OS

Linux

OS version

Fedora Silverblue 41

Hiddify Version

2.5.7 appimage

What Happened?

hiddify opened with an empty window indicate no available GL implement and run in terminal print messages below:

(hiddify:5286): Gdk-CRITICAL **: 09:15:36.576: gdk_gl_context_make_current: assertion 'GDK_IS_GL_CONTEXT (context)' failed

** (hiddify:5286): WARNING **: 09:15:36.576: Failed to initialize GLArea: 没有可用的 GL 实现

** (hiddify:5286): CRITICAL **: 09:15:37.815: void fl_keyboard_manager_sync_modifier_if_needed(FlKeyboardManager *, guint, double): assertion 'FL_IS_KEYBOARD_MANAGER(self)' failed

** (hiddify:5286): CRITICAL **: 09:15:37.815: void fl_keyboard_manager_sync_modifier_if_needed(FlKeyboardManager *, guint, double): assertion 'FL_IS_KEYBOARD_MANAGER(self)' failed

** (hiddify:5286): CRITICAL **: 09:15:37.817: void fl_keyboard_manager_sync_modifier_if_needed(FlKeyboardManager *, guint, double): assertion 'FL_IS_KEYBOARD_MANAGER(self)' failed

** (hiddify:5286): CRITICAL **: 09:15:37.818: void fl_keyboard_manager_sync_modifier_if_needed(FlKeyboardManager *, guint, double): assertion 'FL_IS_KEYBOARD_MANAGER(self)' failed

Minimal Reproducible Example (MRE)

  1. run hiddify appimage in terminal
  2. hiddify opened with empty window

Expected Behavior

works normally

Additional Context

No response

Application Config Options

No response

Relevant log output

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • [ ] I'm willing to submit a PR (Thank you!)

lumingzh avatar Jan 12 '25 01:01 lumingzh

don't know if relates, but fedora 41 is using gnome 47 defaults to wayland and gtk/gdk on vulkan backend not OpenGL.

lumingzh avatar Jan 12 '25 01:01 lumingzh

another flutter app localsend from flathub still works normally.

lumingzh avatar Jan 12 '25 01:01 lumingzh

same problem. did you find a solution?

pararti avatar Feb 26 '25 14:02 pararti

another flutter app localsend from flathub still works normally.

I'm using localsend from appimage without any problems

Drsheppard01 avatar Feb 26 '25 20:02 Drsheppard01

Are there any updates on this bug? I get the following when I run the AppImage.

Image

Hosein-Rahnama avatar Apr 18 '25 23:04 Hosein-Rahnama

same problem

vinixdev avatar May 25 '25 04:05 vinixdev

I had the same problem on Arch Linux, and I have a legacy Radeon graphics card. I installed mesa-amber package and its work.

sudo pacman -S mesa-amber

jalali-mohamad avatar Jun 04 '25 21:06 jalali-mohamad

sudo pacman -S mesa-amber

Thank you, it worked for me.

artitiam avatar Jul 08 '25 15:07 artitiam

I use Iris(R) Xe Graphics

mesa-amber-21.3.9-6 and mesa-1:25.1.6-1 are in conflict

(base) [firestar@Archlinux Downloads]$ glxinfo | grep 'OpenGL renderer'
OpenGL renderer string: Mesa Intel(R) Iris(R) Xe Graphics (TGL GT2)
(base) [firestar@Archlinux Downloads]$ sudo pacman -S  mesa-amber
resolving dependencies...
looking for conflicting packages...
:: mesa-amber-21.3.9-6 and mesa-1:25.1.6-1 are in conflict. Remove mesa? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: mesa-amber-21.3.9-6 and mesa-1:25.1.6-1 are in conflict

Firestar-Reimu avatar Aug 03 '25 03:08 Firestar-Reimu