赵健的技术笔记

Ente Auth 在 Wayland 下无法运行、提示 No GL implementation is available 的解决方法

技术 约 1169 字 · 3 分钟 - 次阅读

我在 Wayland 下的 CachyOS(Arch系其他的发行版应该也一样)下使用 Ente Auth 的 AppImage、AUR、flatpak 均出现了同样的问题。真的是找遍全网没有解决方案,最后自己探索出来一个完美的解决方案。

首先是 AppImage 格式的 Ente Auth 无法运行,有时即使可以运行,但页面空白 只显示:No GL implementation is available

切换到命令行运行报错如下:

./ente-auth.AppImage
(io.ente.auth:61007): Gdk-CRITICAL **: 10:13:50.015: gdk_gl_context_make_current: assertion 'GDK_IS_GL_CONTEXT
(context)' failed
** (io.ente.auth:61007): WARNING **: 10:13:50.015: Failed to initialize GLArea: No GL implementation is availa
ble
** (io.ente.auth:61007): WARNING **: 10:13:50.015: gtk.dart: failed to call method: No engine to send to
** (io.ente.auth:61007): WARNING **: 10:13:50.019: gtk.dart: failed to call method: No engine to send to

解决方法:

1、解压 AppImage 格式的文件

./ente-auth.AppImage --appimage-extract

2、执行解压后的 AppImage 格式文件

./squashfs-root/enteauth

报错如下:

./squashfs-root/enteauth: error while loading shared libraries: libayatana-appindicator3.so.1: cannot open shared object file: No such file or directory

这就有方向了

3、安装缺失依赖:libayatana-appindicator3.so.1

sudo pacman -S libayatana-appindicator

4、再次执行:./squashfs-root/enteauth 运行成功!

分享:

评论