Unable to login into plasma wayland on KDE 6

After upgrading to KDE Plasma 6 on openSUSE I have some problems with login.

On login screen when I select “Plasma (Wayland)”, I can type in my password, but after I press Enter everything just freezes, my mouse cursor disappears, and I can’t even enter tty using CTRL + ALT + F1 or F4. The only way to unfreeze is to reboot using magic sysrq.

However, I can still login into X11 session without any issues.

This is my hardware:

> inxi -b
System:
  Host: localhost.localdomain Kernel: 6.7.9-1-default arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.0.2 Distro: openSUSE Tumbleweed 20240314
Machine:
  Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A15 FA506ICB_FA506ICB
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: FA506ICB v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: FA506ICB.303 date: 02/23/2022
Battery:
  ID-1: BAT1 charge: 34.3 Wh (86.0%) condition: 39.9/48.1 Wh (82.9%)
    volts: 12.1 min: 11.7
CPU:
  Info: 8-core AMD Ryzen 7 4800H with Radeon Graphics [MT MCP] speed (MHz):
    avg: 2181 min/max: 400/4300
Graphics:
  Device-1: NVIDIA GA107M [GeForce RTX 3050 Mobile] driver: nvidia
    v: 550.54.14
  Device-2: AMD Renoir [Radeon RX Vega 6 ] driver: amdgpu v: kernel
  Device-3: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4 driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,vesa dri: radeonsi gpu: amdgpu
    resolution: 1920x1080~144Hz
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 23.3.6 renderer: AMD
    Radeon Graphics (radeonsi renoir LLVM 17.0.6 DRM 3.57 6.7.9-1-default)
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
  Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e
Drives:
  Local Storage: total: 715.41 GiB used: 445.41 GiB (62.3%)
Info:
  Memory: total: 8 GiB note: est. available: 7.18 GiB used: 5.22 GiB (72.6%)
  Processes: 560 Uptime: 0h 17m Shell: fish inxi: 3.3.33

journalctl wayland-related log:

> journalctl -q | grep wayland
                                                                        Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
                                                                        Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
                                                         Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
                                                          Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
                                                                        Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
мар 16 07:25:19 localhost.localdomain sudo[2538]:   markov : TTY=tty4 ; PWD=/home/markov ; USER=root ; COMMAND=/usr/bin/zypper install libnvidia-egl-wayland
мар 16 08:15:46 localhost.localdomain systemd[2186]: Starting Xwayland Video Bridge...
мар 16 08:15:46 localhost.localdomain systemd[2186]: Started Xwayland Video Bridge.
                                                                       Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, xcb, wayland-egl, wayland.
мар 16 10:05:23 localhost.localdomain systemd[2208]: Starting Xwayland Video Bridge...
мар 16 10:05:23 localhost.localdomain systemd[2208]: Started Xwayland Video Bridge.
                                                                        Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, xcb, wayland-egl, wayland.
мар 16 10:36:19 localhost.localdomain systemd[2215]: Starting Xwayland Video Bridge...
мар 16 10:36:19 localhost.localdomain systemd[2215]: Started Xwayland Video Bridge.

wayland-session.log:

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

xset:  unable to open display ":0"
/tmp/xsess-env-3oOsU8: line 42: PROFILEREAD: read-only variable

Already tried:

  • Modesetting nvidia gpu using nvidia-drm.modeset=1 (was configured like this even before upgrading);
  • Installing libnvidia-egl-wayland1 (was installed along with the system update)
  • exporting DISPLAY=:0 (does nothing)

Thanks in advance

1 Like

After a couple of days, I was finally able to solve the problem (kinda). Changing the default shell from fish to bash fixed the problem (many thanks to sugar_in_your_tea from lemmy for pointing out this problem in their post). I still don’t know why this is happening, but I’ll try to send a bug report to the fish developers.
Marking this as solved.

I was having the exact same problem as described in the first post - after upgrading to latest Opensuse Tumbleweed snapshot 20240315, which also installed plasma6 - and replacing fish with bash using chsh solved the problem; I can now login and use Wayland.
Thanks for sharing the solution; also, do you have a link for the bug posted at fish dev?

It appears to be more of a problem on the SDDM side rather than the Fish side. You can read more about it here & here