You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 22.04 Wayland会话无法启动求助

Ubuntu 22.04 Wayland会话无法启动求助

几周前我安装了Ubuntu 22.04,当时没测试Wayland,也没修改过gdm3的配置(只改了壁纸和外观)。最近想切换到Wayland来用Waydroid,但一启动Wayland会话就直接崩溃了。

我查看了journalctl的日志,发现了这些和Wayland会话相关的错误:

gnome-shell[2248]: Added device '/dev/dri/card0' (amdgpu) using atomic mode setting.

kernel: nvidia-modeset: WARNING: GPU:0: Correcting number of heads for current head configuration (0x00)

gnome-shell[2248]: Failed to initialize accelerated iGPU/dGPU framebuffer sharing: An EGLDisplay argument does not name a valid EGL display connection.

gnome-shell[2248]: Created gbm renderer for '/dev/dri/card1'

gnome-shell[2248]: Failed to detect hardware rendering: eglMakeCurrent(): An EGLDisplay argument does not name a valid EGL display connection.

gnome-shell[2248]: Failed to initialize accelerated iGPU/dGPU framebuffer sharing: Not hardware accelerated

gnome-shell[2248]: Created gbm renderer for '/dev/dri/card0'

gnome-shell[2248]: GPU /dev/dri/card1 selected as primary

gnome-shell[2248]: Failed to setup: Unable to initialize the Clutter backend: no available drivers found.

systemd[2045]: org.gnome.Shell@wayland.service: Failed with result 'protocol'.

systemd[2045]: Failed to start GNOME Shell on Wayland.

我推测这应该和我的AMD或者NVIDIA显卡有关(从日志第一行能看到加载了amdgpu的/dev/dri/card0设备),但X11(Xorg)会话是完全正常的。我也试过网上的一些解决方案,但都没用。有没有大佬能帮忙看看?

备注:内容来源于stack exchange,提问作者some_person

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.22 14:53:12