I installed Ubuntu 22.04 few weeks ago, and I didn't test Wayland that time. I never actually edit anything in the gdm3 configuration (only edited the wallpaper and appearance). Then I want to use Wayland to use Waydroid, but the session immediately crashed.
I checked journalctl
and found some errors related to Wayland Session
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.
I think it's somehow related to my AMD GPU (or either NVIDIA GPU, because at the first line it shows "Added device 'dev/dri/card0' (amdgpu)), but when I try using X11 (Xorg) it was working fine. I also tried doing the solution from here, and it also didn't work
Anyone can help?