Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在 Wayland 下运行失败,报协议错误 #305

Open
LiarOnce opened this issue Oct 6, 2024 · 6 comments
Open

在 Wayland 下运行失败,报协议错误 #305

LiarOnce opened this issue Oct 6, 2024 · 6 comments

Comments

@LiarOnce
Copy link

LiarOnce commented Oct 6, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. 在终端启动程序
  2. 终端输出错误:
Gdk-Message: 17:13:36.085: Error 71 (协议错误) dispatching to Wayland display.

Desktop (please complete the following information):

  • OS: Manjaro Linux
  • Kernel: Linux 6.11.2-1-MANJARO
  • KDE Plasma Version: 6.1.5
  • Graphics Platform: Wayland
  • Netease Cloud Music Gtk4 Version: 2.4.1

Additional context
None

@gmg137
Copy link
Owner

gmg137 commented Oct 7, 2024

你程序是自己编译的还是其他什么安装途径?

看错误提示应该是gtk本身的错误,如果你是自己编译的,可以再装个其他gtk程序运行试试看有问题没?

@LiarOnce
Copy link
Author

LiarOnce commented Oct 7, 2024

是通过AUR安装的

@gmg137
Copy link
Owner

gmg137 commented Oct 7, 2024

从aur重新安装下gtk4试试

@LiarOnce
Copy link
Author

LiarOnce commented Oct 7, 2024

重装gtk4也是一样的问题

GTK4版本:4.16.3

@sklynic
Copy link

sklynic commented Oct 8, 2024

试试添加环境变量 GDK_DISABLE=vulkan ?
可能是gtk的这个问题: https://gitlab.gnome.org/GNOME/gtk/-/issues/7022

@LiarOnce
Copy link
Author

LiarOnce commented Oct 9, 2024

试试添加环境变量 GDK_DISABLE=vulkan ? 可能是gtk的这个问题: https://gitlab.gnome.org/GNOME/gtk/-/issues/7022

实测确实可以成功启动,这个 issue 的表现应该还是 AMD 的显卡驱动搞出来的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants