Wayland launches but without gui

hey guys,
i’m on KDE Plasma x11.
i wanted to try wayland, so in the sddm menu selected and nothing happens except a black screen. I’m prettty sure i have all components installed.

here is the output of

yay -Qs wayland

❯ yay -Qs wayland
local/glfw-wayland 3.3.8-1
    A free, open source, portable framework for graphical application development (wayland)
local/kodi 19.4-5
    A software media player and entertainment hub for digital media
local/kwayland 5.98.0-1 (kf5)
    Qt-style Client and Server library wrapper for the Wayland libraries
local/kwayland-integration 5.25.5-1 (plasma)
    Provides integration plugins for various KDE frameworks for the wayland windowing system
local/layer-shell-qt 5.25.5-1 (plasma)
    Qt component to allow applications to make use of the Wayland wl-layer-shell protocol
local/libva 2.15.0-6
    Video Acceleration (VA) API for Linux
local/plasma-wayland-protocols 1.8.0-1
    Plasma Specific Protocols for Wayland
local/plasma-wayland-session 5.25.5-3
    Plasma Wayland session
local/qt5-wayland 5.15.6+kde+r43-2 (qt qt5)
    Provides APIs for Wayland
local/sddm 0.19.0-8
    QML based X11 and Wayland display manager
local/wayland 1.21.0-1
    A computer display server protocol
local/wayland-protocols 1.26-1
    Specifications of extended Wayland protocols
local/wayland-utils 1.1.0-1
    Wayland tools to display information about current compositor
local/waylandpp 1.0.0-1
    Wayland C++ bindings
local/wl-clipboard 1:2.1.0-2
    Command-line copy/paste utilities for Wayland
local/xorg-xwayland 22.1.3-1 (xorg)
    run X clients under wayland

did i miss something?

I think you need plasma-wayland-session? Seems you have it.

Edit: Did you reboot after installing plasma-wayland-session

Edit2: This is what i have and works no problem.

[ricklinux@kde-pc ~]$ yay -Qs wayland
local/kwayland 5.98.0-1 (kf5)
    Qt-style Client and Server library wrapper for the Wayland libraries
local/kwayland-integration 5.25.5-1 (plasma)
    Provides integration plugins for various KDE frameworks for the wayland windowing system
local/layer-shell-qt 5.25.5-1 (plasma)
    Qt component to allow applications to make use of the Wayland wl-layer-shell protocol
local/lib32-wayland 1.21.0-1
    A computer display server protocol
local/libva 2.15.0-6
    Video Acceleration (VA) API for Linux
local/plasma-wayland-session 5.25.5-3
    Plasma Wayland session
local/qt5-wayland 5.15.6+kde+r43-2 (qt qt5)
    Provides APIs for Wayland
local/sddm 0.19.0-8
    QML based X11 and Wayland display manager
local/wayland 1.21.0-1
    A computer display server protocol
local/wayland-protocols 1.26-1
    Specifications of extended Wayland protocols
local/wayland-utils 1.1.0-1
    Wayland tools to display information about current compositor
local/xorg-xwayland 22.1.3-1 (xorg)
    run X clients under wayland
[ricklinux@kde-pc ~]$ 

i had not installed local/lib32-wayland 1.21.0-1. installed, rebooted, nothing but black screen.
with alt and space i can invoke krunner and start programs but i still have no graphical interface.

strange thing…

Are you running on Nvidia?

Edit: inxi -Ga

No, im running AMD Ryzen 7 5700G

❯ inxi -Ga
Graphics:
  Device-1: AMD Cezanne vendor: Gigabyte driver: amdgpu v: kernel
    arch: GCN-5.1 code: Vega-2 process: TSMC n7 (7nm) built: 2018-21 pcie:
    gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
    active: HDMI-A-1 empty: DP-1 bus-ID: 05:00.0 chip-ID: 1002:1638
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
    compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: Fujitsu Siemens B22T-7 LED PG
    serial: YV6J000715 built: 2013 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2
    size: 477x268mm (18.78x10.55") diag: 547mm (21.5") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  OpenGL: renderer: AMD RENOIR (LLVM 14.0.6 DRM 3.47 5.19.9-zen1-1-zen)
    v: 4.6 Mesa 22.1.7 direct render: Yes

I am also running Ryzen and an AMD Gpu RX590. There must be something you have installed or changed causing the problem. If you changed themes or something i would switch back to breeze and log out and back in and then switch to wayland and see.

that is of course a possibility. i have changed my theme to Utterly Nord (Share Your Desktop) with kvantum. i will test it later with original breeze.

with breeze launched,no change. i’ll figure it out eventually.

Okay …then it must be something else but I’m not sure what. I don’t use Wayland that much but i have tried it on plasma and everything works fine except for certain apps like simple screen recorder for instance.

i just wanted to test wayland if it runs at all.

after a few seconds with background image i get a black screen. also the right mouse button gives nothing.

it is surprising that i can just start programs with krunner.

strg + alt + del brings me back to sddm manager.

It does run and actually runs well. I don’t really know what the issue is you are having with it. All i do is install plasma-wayland-session and it’s good to go. Just reboot and log in on wayland.

Can you try creating a new user and try logging into wayland from that new user?
This will rule out bad configuration settings.

1 Like

That seems to me to be a possibility.
I will try later and let you know then if it works

I thought so too :wink:

i will create a new user as @sradjoker suggested and let you know the result

When trying to switch to wayland on an existing user account that was running Xorg based DE, environment variables play a significant role. Check your dot files for related configuration.

1 Like

that’s what it looks like. I use plasma under Xorg with lots of programs and I have certainly changed some things.
that means for me to create a new blank user.

1 Like

@ricklinux @petsam @sradjoker

new user created, logged in under wayland, works with Breeze theme.

Should I now want to continue working with wayland , I must either set up everything again or make a new installation with user swh

I just wonder what was changed that made it not work?

Edit: On a fresh install it should work by just adding plasma-wayland-session

I wonder about that, too. this is really very strange.

probably some environment variables got mixed up

on my actual install i have it installed. thats why i wonder about