Skip to content

[错误]: Linux wayland下无法切换fcitx5输入法 #6636

@wang1zhen

Description

@wang1zhen

提交前检查

  • 我理解 Issue 是用于反馈和解决问题的,而非吐槽评论区,将尽可能提供更多信息帮助问题解决。
  • 我的问题不是 常见问题 中的内容。
  • 我已经查看了 置顶 Issue 并搜索了现有的 开放Issue已关闭Issue,没有找到类似的问题。
  • 我填写了简短且清晰明确的标题,以便开发者在翻阅 Issue 列表时能快速确定大致问题。而不是“一个建议”、“卡住了”等。

平台

Linux

版本

1.3.12-1

错误描述

直接启动cherry studio (/usr/bin/cherry-studio),无法通过切换输入法。
环境:Arch Linux, KDE plasma (wayland), fcitx5

添加启动参数 --ozone-platform-hint=auto --enable-wayland-ime 后,程序窗口无法正常开启:

Image

添加参数 --wayland-text-input-version=3 后效果相同。

重现步骤

终端中执行 /usr/bin/cherry-studio --ozone-platform-hint=auto --enable-wayland-ime --wayland-text-input-version=3/usr/bin/cherry-studio --ozone-platform-hint=auto --enable-wayland-ime

预期行为

程序正常启动,显示主体窗口,并且可以通过系统快捷键切换输入法。

相关日志输出

❯ /usr/bin/cherry-studio --ozone-platform-hint=auto --enable-wayland-ime --wayland-text-input-version=3
(node:36588) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `cherrystudio --trace-deprecation ...` to show where the warning was created)
11:59:57.773 › AppImage environment detected on Linux, setting up deep link.
11:59:57.822 › Created/Updated desktop file: /home/wang1zhen/.local/share/applications/cherrystudio-url-handler.desktop
11:59:57.845 › update-desktop-database stdout: 
11:59:57.845 › Desktop database updated successfully.
[36762:0530/115957.850899:ERROR:angle_platform_impl.cc(49)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[36762:0530/115957.850960:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[36762:0530/115957.850994:ERROR:native_pixmap_egl_binding.cc(114)] Unable to initialize binding from pixmap
[36762:0530/115957.851023:ERROR:ozone_image_backing.cc(319)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[36762:0530/115957.851036:ERROR:shared_image_manager.cc(408)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[36762:0530/115957.851073:ERROR:gpu_service_impl.cc(1182)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[36588:0530/115957.855486:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=8704
[36842:0530/115957.927697:ERROR:angle_platform_impl.cc(49)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[36842:0530/115957.927736:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[36842:0530/115957.927765:ERROR:native_pixmap_egl_binding.cc(114)] Unable to initialize binding from pixmap
[36842:0530/115957.927790:ERROR:ozone_image_backing.cc(319)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[36842:0530/115957.927802:ERROR:shared_image_manager.cc(408)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[36842:0530/115957.927836:ERROR:gpu_service_impl.cc(1182)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[36588:0530/115957.930855:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=8704
[36901:0530/115958.004473:ERROR:angle_platform_impl.cc(49)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[36901:0530/115958.004509:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[36901:0530/115958.004523:ERROR:native_pixmap_egl_binding.cc(114)] Unable to initialize binding from pixmap
[36901:0530/115958.004540:ERROR:ozone_image_backing.cc(319)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[36901:0530/115958.004554:ERROR:shared_image_manager.cc(408)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[36901:0530/115958.004582:ERROR:gpu_service_impl.cc(1182)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[36588:0530/115958.007503:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=8704
11:59:58.549 › [PasteService] Global paste handler initialized
12:00:00.591 › Checking for update
12:00:02.557 › Update for version 1.3.12 is not available (latest version: 1.3.12, downgrade is disallowed).

附加信息

#104 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGCategorizes issue or PR as related to a buginactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions