[GH-ISSUE #5998] [Bug] No GL implementation is available with AppImage on Arch Linux/EndeavourOS with Wayland #2660

Open
opened 2026-03-23 21:24:13 +00:00 by mirror · 7 comments
Owner

Originally created by @Ovear on GitHub (Aug 17, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/5998

Bug Description

Can not launch app through AppImage on Arch Linux/EndeavourOS with Wayland.

Operating System: EndeavourOS
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.10-arch1-1 (64-bit)
Graphics Platform: Wayland

How to Reproduce

Download AppImage from website, and then fix it by utilizing https://github.com/AppFlowy-IO/AppFlowy/issues/3836#issuecomment-1855700903 or https://github.com/AppFlowy-IO/AppFlowy/issues/3836#issuecomment-2294867618

$ LANG=C ./AppFlowy-x86_64.AppImage 

(AppFlowy:13790): Gtk-WARNING **: 22:20:45.035: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.

(AppFlowy:13790): Gdk-CRITICAL **: 22:20:45.063: gdk_gl_context_make_current: assertion 'GDK_IS_GL_CONTEXT (context)' failed

** (AppFlowy:13790): WARNING **: 22:20:45.063: Failed to initialize GLArea: No GL implementation is available

** (AppFlowy:13790): WARNING **: 22:20:45.064: gtk.dart: failed to call method: No engine to send to

** (AppFlowy:13790): WARNING **: 22:20:45.064: gtk.dart: failed to call method: No engine to send to

** (AppFlowy:13790): WARNING **: 22:20:45.064: gtk.dart: failed to call method: No engine to send to

** (AppFlowy:13790): WARNING **: 22:20:45.064: gtk.dart: failed to call method: No engine to send to

** (AppFlowy:13790): WARNING **: 22:20:45.064: gtk.dart: failed to call method: No engine to send to

** (AppFlowy:13790): WARNING **: 22:20:45.064: gtk.dart: failed to call method: No engine to send to

** (AppFlowy:13790): CRITICAL **: 22:20:45.090: void fl_keyboard_manager_sync_modifier_if_needed(FlKeyboardManager *, guint, double): assertion 'FL_IS_KEYBOARD_MANAGER(self)' failed

Expected Behavior

App launched without problem.

Operating System

Arch Linux/EndeavourOS

AppFlowy Version(s)

0.6.7.1

Screenshots

image

Additional Context

This error only happened in Wayland. Switching the GTK backend to X11 can avoid this issue. The workaround is to set GDK_BACKEND=x11 when launching the AppImage.

Originally created by @Ovear on GitHub (Aug 17, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/5998 ### Bug Description Can not launch app through AppImage on Arch Linux/EndeavourOS with Wayland. Operating System: EndeavourOS KDE Plasma Version: 6.1.3 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.2 Kernel Version: 6.9.10-arch1-1 (64-bit) Graphics Platform: Wayland ### How to Reproduce Download AppImage from website, and then fix it by utilizing https://github.com/AppFlowy-IO/AppFlowy/issues/3836#issuecomment-1855700903 or https://github.com/AppFlowy-IO/AppFlowy/issues/3836#issuecomment-2294867618 ``` $ LANG=C ./AppFlowy-x86_64.AppImage (AppFlowy:13790): Gtk-WARNING **: 22:20:45.035: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found. (AppFlowy:13790): Gdk-CRITICAL **: 22:20:45.063: gdk_gl_context_make_current: assertion 'GDK_IS_GL_CONTEXT (context)' failed ** (AppFlowy:13790): WARNING **: 22:20:45.063: Failed to initialize GLArea: No GL implementation is available ** (AppFlowy:13790): WARNING **: 22:20:45.064: gtk.dart: failed to call method: No engine to send to ** (AppFlowy:13790): WARNING **: 22:20:45.064: gtk.dart: failed to call method: No engine to send to ** (AppFlowy:13790): WARNING **: 22:20:45.064: gtk.dart: failed to call method: No engine to send to ** (AppFlowy:13790): WARNING **: 22:20:45.064: gtk.dart: failed to call method: No engine to send to ** (AppFlowy:13790): WARNING **: 22:20:45.064: gtk.dart: failed to call method: No engine to send to ** (AppFlowy:13790): WARNING **: 22:20:45.064: gtk.dart: failed to call method: No engine to send to ** (AppFlowy:13790): CRITICAL **: 22:20:45.090: void fl_keyboard_manager_sync_modifier_if_needed(FlKeyboardManager *, guint, double): assertion 'FL_IS_KEYBOARD_MANAGER(self)' failed ``` ### Expected Behavior App launched without problem. ### Operating System Arch Linux/EndeavourOS ### AppFlowy Version(s) 0.6.7.1 ### Screenshots ![image](https://github.com/user-attachments/assets/ffac3ebc-7790-4077-89e0-02dcd42545e1) ### Additional Context This error only happened in Wayland. Switching the GTK backend to X11 can avoid this issue. The workaround is to set GDK_BACKEND=x11 when launching the AppImage.
Author
Owner

@abdoki7788 commented on GitHub (Dec 16, 2024):

did you fix this problem?

<!-- gh-comment-id:2546222776 --> @abdoki7788 commented on GitHub (Dec 16, 2024): did you fix this problem?
Author
Owner

@Ovear commented on GitHub (Dec 16, 2024):

did you fix this problem?

You can try the workaround I mentioned above; it works for me. Unfortunately, by default, the app still throws this error.

<!-- gh-comment-id:2546237885 --> @Ovear commented on GitHub (Dec 16, 2024): > did you fix this problem? You can try the workaround I mentioned above; it works for me. Unfortunately, by default, the app still throws this error.
Author
Owner

@zhaob1n commented on GitHub (Dec 31, 2024):

same in fedora

<!-- gh-comment-id:2566441032 --> @zhaob1n commented on GitHub (Dec 31, 2024): same in fedora
Author
Owner

@the-pesar commented on GitHub (Jan 6, 2025):

same in Arch

<!-- gh-comment-id:2572522034 --> @the-pesar commented on GitHub (Jan 6, 2025): same in Arch
Author
Owner

@mkaramuk commented on GitHub (Mar 16, 2025):

Same in Fedora 41 as well

<!-- gh-comment-id:2727168240 --> @mkaramuk commented on GitHub (Mar 16, 2025): Same in Fedora 41 as well
Author
Owner

@gorlix commented on GitHub (Apr 28, 2025):

same in Arch

Same with Appimage but not with AUR version ( Arch KDE Wayland)

<!-- gh-comment-id:2835910948 --> @gorlix commented on GitHub (Apr 28, 2025): > same in Arch Same with Appimage but not with AUR version ( Arch KDE Wayland)
Author
Owner

@Epic-R-R commented on GitHub (Sep 16, 2025):

Same in Arch

<!-- gh-comment-id:3295994948 --> @Epic-R-R commented on GitHub (Sep 16, 2025): Same in Arch
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#2660
No description provided.