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
相关产品推荐
相关产品推荐

