Wayland

Dear Opensuse Team,
I wanted to ask how do I switch from x11 to Wayland, because my Laptop doesn’t accept Wayland? I already tried to change it in the System setting, but I am being always
thrown back to the login panel. Even tough, I restart my laptop. I can’t log in!
Thanks a lot!

It is not at all clear what you are asking.

What desktop environment are you using?

What where the actual steps that you tried?

What you posted did not give us any useful information.

To illustrate: I use the KDE desktop (Plasma 5). The login screen includes a place where I can select whether to use Plasma Wayland or Plasma X11 (and some other choices. The default is Plasma X11, because it remember that is what was last used.

Hi,
although I am not the original poster, I can describe the problem:

Desktop: KDE
Opensuse: Tumbleweed, standard installation with KDE and latest updates

On the sddm login screen, you can choose between KDE X11 and KDE Wayland (and another, which is not used).
Choosing KDE X11, after entering the password the session is started with nice KDE.

However, choosing KDE Wayland, after entering the password, the screen goes black for a moment and then the sddm login screen is shown again…

Are there any logs which could tell what goes wrong or what is missing?

Thanks

1 Like

I think that means something is crashing. It might be a display driver issue.

You can try disabling compositing to see if that helps.

“journactl --user -b” to see what happened for your user. System logs (journalctl -b) may provide some useful information.

Hey,
so I still have this problem, are there any other ways to fix it?
Thanks!

NVIDIA involved?? KDE+NVIDIA+Wayland do not mix well

If you describe more about your setup like DE, Graphics Card there is a chance that it will be fixed. :wink:

2 Likes

Hey,
so I have KDE+AMD Radeon Graphics+Wayland
Thanks!

openSUSE version? KDE version? Graphics chipset details? Please run the following command and report back

inxi -SGa

Opensuse Tumbleweed 20230207

KDE Plasma 5.26.5

Graphics:
Device-1: AMD Lucienne vendor: Lenovo 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: eDP-1 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 05:00.0 chip-ID: 1002:164c
class-ID: 0300 temp: 27.0 C
API: OpenGL v: 4.6 Mesa 22.3.4 renderer: AMD Radeon Graphics (renoir LLVM
15.0.7 DRM 3.49 6.1.8-1-default) direct render: Yes

Next steps for troubleshooting…

What if KWin crashes upon login in a Wayland session?

So I did it and this is the result:

Error: could not determine $DISPLAY.
Error: Can not contact kdeinit5!
org.kde.startup: “kdeinit5_shutdown” () exited with code 255
startplasma-wayland: Shutting down…
startplasmacompositor: Shutting down…
startplasmacompositor: Done.

Review the following guide

What if KWin crashes upon login in a Wayland session?

I have done this! O do I miss something? I’ve reported the Issue with the log.
Tanks

Show the complete unadulterated output of

inxi -SGa

Use the ‘</>’ (Preformatted text) button when posting that output.

You may also need to trawl through the journal as already suggested.

The entire output:

System:
  Host: MiguelLaptop Kernel: 6.1.10-1-default arch: x86_64 bits: 64
    compiler: gcc v: 12.2.1 parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.10-1-default
    root=UUID=0c4d5db9-9774-4df2-b510-aa1c069ea31b splash=silent quiet
    mitigations=auto
  Desktop: KDE Plasma v: 5.27.0 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 7 dm: SDDM
    Distro: openSUSE Tumbleweed 20230214
Graphics:
  Device-1: AMD Lucienne vendor: Lenovo 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: eDP-1 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 05:00.0 chip-ID: 1002:164c
    class-ID: 0300 temp: 27.0 C
  Device-2: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-3:2 chip-ID: 13d3:56ff class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
    compositor: kwin_x11 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 506x285mm (19.92x11.22")
    s-diag: 581mm (22.86")
  Monitor-1: eDP-1 mapped: eDP model: ChiMei InnoLux 0x140a built: 2019
    res: 1920x1080 hz: 60 dpi: 158 gamma: 1.2 size: 309x173mm (12.17x6.81")
    diag: 354mm (13.9") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 22.3.5 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.7 DRM 3.49 6.1.10-1-default) direct render: Yes

Should I send the Journal?

For lengthy output, you can share using susepaste.org, and you can install the susepaste package to run a command (script) of the same name, using something like

journalctl --user -b | susepaste -t "journal output" -e "86400" -n "Joe"

then post the link that it provides here.

More info

man susepsate

Ultimately you will likely need to submit a bug report for this problem.

Here is the output: https://paste.opensuse.org/pastes/24e66ab445ab
Plasma Wayland: The last crashes have been today at 17:33-17:35
Thanks!