Plasma not staring under wayland (but it does in X11)

From a prior update I lost the ability to start plasma in wayland mode.
The login manager works, and I can log in to a X11 session, but if I choose wayland the screen goes black, and then it returns to the login manager.

I hoped that it would fix itself with the update to 6.4, but it hasn’t been the case.

I’m running a KDE slimbook, with KDE Neon, and the only information I’ve been able to get related to this issue is the following segfault:

[  198.678569] kwin_wayland[4267]: segfault at 0 ip 00007bbcf4cda465 sp 00007ffc04c82fa0 error 4 in libQt6Gui.so.6.9.0[2d9465,7bbcf4c51000+62f000] likely on CPU 0 (core 0, socket 0)
[  198.678579] Code: 89 e5 41 54 53 48 8d 5d c0 48 89 df 48 83 ec 30 4c 8b 25 be fb 5b 00 64 48 8b 04 25 28 00 00 00 48 89 45 e8 31 c0 49 8b 34 24 <48> 8b 06 ff 50 60 31 f6 48 89 df e8 9b 90 f7 ff 48 89 df 89 05 be

any help would be much appreciated
Best regards

Asier

Can you post (or create a bug report) with the backtrace ( Guidelines and HOWTOs/Debugging/How to create useful crash reports - KDE Community Wiki)

What GPU do you have?

Does Wayland start using a new user?

I can’t create the backtrace, if I use coredumpctl --reverse it says that there is no coredump.
And as it happens in the login screen, I don’t know how to get the information. The one I got was from dmesg.

It happens with a new user too.

The GPU is an intel integrated one:
VGA compatible controller: Intel Corporation HD Graphics 620

Hi! I’m new to Linux,but I’ve fighting this problem all day and I think I ended up fixing it. I had the same problem in a Lenovo Z50-70 with an Intel Graphics+Nvidia card and Arch.

Do you have an Nvidia card also? Can you log in with another TTY instead of your usual login screen and try $ startplasma-wayland?

Hello,

The GPU is an intel integrated one:
VGA compatible controller: Intel Corporation HD Graphics 620

I’ve tried startplasma-wayland on another TTY, but id doesn’t work. I presume that it has something to do with having the login screen in the other TTY

$ startplasma-wayland
Error: could not determine $DISPLAY
Error: Can not contact kdeinit5!
org.kde.startup: "deinit5_shutdown" QList() exited with code 255

In fact, It doesn’t work with startplasma-x11 either.

$ startplasma-x11
$DISPLAY is not set or cannot connect to the x server
1 Like

Hello,

I’ve been trying different things with no success.
I run from a tty (while having the X11 session in other):
sudo dbus-run-session startplasma-wayland

And I got:

dbus-daemon[11520]: [session uid=1000 pid=11520] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
dbus-daemon[11520]: [session uid=1000 pid=11520] Activating service name='org.freedesktop.portal.Desktop' requested by ':1.4' (uid=1000 pid=11555 comm="/usr/bin/kcminit_startup" label="unconfined")
dbus-daemon[11520]: [session uid=1000 pid=11520] Activating service name='org.freedesktop.portal.Documents' requested by ':1.5' (uid=1000 pid=11558 comm="/usr/libexec/xdg-desktop-portal" label="unconfined")
dbus-daemon[11520]: [session uid=1000 pid=11520] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.6' (uid=1000 pid=11564 comm="/usr/libexec/xdg-document-portal" label="unconfined")
dbus-daemon[11520]: [session uid=1000 pid=11520] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
dbus-daemon[11520]: [session uid=1000 pid=11520] Successfully activated service 'org.freedesktop.portal.Documents'
fusermount3: failed to access mountpoint /run/user/1000/doc: Permission denied
error: fuse init failed: Can't mount path /run/user/1000/doc

(/usr/libexec/xdg-desktop-portal:11558): xdg-desktop-portal-WARNING **: 13:31:07.936: Choosing gtk.portal for org.freedesktop.impl.portal.Lockdown as a last-resort fallback

(/usr/libexec/xdg-desktop-portal:11558): xdg-desktop-portal-WARNING **: 13:31:07.936: The preferred method to match portal implementations to desktop environments is to use the portals.conf(5) configuration file
dbus-daemon[11520]: [session uid=1000 pid=11520] Activating service name='org.freedesktop.impl.portal.desktop.gtk' requested by ':1.5' (uid=1000 pid=11558 comm="/usr/libexec/xdg-desktop-portal" label="unconfined")

(xdg-desktop-portal-gtk:11580): Gtk-WARNING **: 13:31:08.937: cannot open display: :1
qt.qpa.wayland: "wl-shell" is a deprecated shell extension, prefer using "xdg-shell" if supported by the compositor by setting the environment variable QT_WAYLAND_SHELL_INTEGRATION
qt.qpa.wayland: Loading shell integration failed.
qt.qpa.wayland: Attempted to load the following shells QList("xdg-shell", "wl-shell", "ivi-shell", "qt-shell")
dbus-daemon[11520]: [session uid=1000 pid=11520] Activated service 'org.freedesktop.impl.portal.desktop.gtk' failed: Process org.freedesktop.impl.portal.desktop.gtk exited with status 1
Error: could not determine $DISPLAY.
Error: Can not contact kdeinit5!
org.kde.startup: "kdeinit5_shutdown" QList() exited with code 255
dbus-daemon[11520]: [session uid=1000 pid=11520] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=11521 comm="startplasma-wayland" label="unconfined")
dbus-daemon[11520]: [session uid=1000 pid=11520] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
startplasma-wayland: Shutting down...
startplasmacompositor: Shutting down...
startplasmacompositor: Done.
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.

Maybe it has something to do with the shells, but I don’t know how to fix that.
Also, it confuses me having some GTK related warnings.

Same error messages here

inxi -zv8

System:
Kernel: 6.12.63+deb13-amd64 arch: x86_64 bits: 64 compiler: gcc v: 14.2.0
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/vmlinuz-6.12.63+deb13-amd64
root=/dev/mapper/user0–pc–vg-root ro quiet
Desktop: KDE Plasma v: 6.3.6 tk: Qt v: N/A info: frameworks v: 6.13.0
wm: kwin_x11 with: krunner vt: 2 dm: SDDM Distro: Debian GNU/Linux 13
(trixie)
Machine:
Type: Desktop Mobo: Micro-Star model: MAG B550 TOMAHAWK MAX WIFI (MS-7C91)
v: 1.0 serial: uuid: UEFI: American
Megatrends LLC. v: 2.91 date: 09/09/2024
Battery:
Message: No system battery data found. Is one present?
Memory:
System RAM: total: 32 GiB available: 31.27 GiB used: 7.07 GiB (22.6%)
Message: For most reliable report, use superuser + dmidecode.
Array-1: capacity: 128 GiB slots: 4 modules: 2 EC: None
max-module-size: 32 GiB note: est.
Device-1: Channel-A DIMM 0 type: no module installed
Device-2: Channel-A DIMM 1 type: DDR4 detail: synchronous unbuffered
(unregistered) size: 16 GiB speed: 3200 MT/s volts: note: check curr: 1
min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: N/A
part-no: CP16G4DFRA32A.C8FF serial:
Device-3: Channel-B DIMM 0 type: no module installed
Device-4: Channel-B DIMM 1 type: DDR4 detail: synchronous unbuffered
(unregistered) size: 16 GiB speed: 3200 MT/s volts: note: check curr: 1
min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: N/A
part-no: CP16G4DFRA32A.C8FF serial:
PCI Slots:
Permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: AMD Ryzen 9 5950X bits: 64 type: MT MCP arch: Zen 3+ gen: 3
level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
model-id: 0x21 (33) stepping: 2 microcode: 0xA201210
Topology: cpus: 1x dies: 1 clusters: 1 cores: 16 threads: 32 tpc: 2
smt: enabled cache: L1: 1024 KiB desc: d-16x32 KiB; i-16x32 KiB L2: 8 MiB
desc: 16x512 KiB L3: 64 MiB desc: 2x32 MiB
Speed (MHz): avg: 3603 min/max: 550/5084 boost: enabled scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 3603 2: 3603 3: 3603
4: 3603 5: 3603 6: 3603 7: 3603 8: 3603 9: 3603 10: 3603 11: 3603 12: 3603
13: 3603 14: 3603 15: 3603 16: 3603 17: 3603 18: 3603 19: 3603 20: 3603
21: 3603 22: 3603 23: 3603 24: 3603 25: 3603 26: 3603 27: 3603 28: 3603
29: 3603 30: 3603 31: 3603 32: 3603 bogomips: 217606
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
cqm_occup_llc cr8_legacy cx16 cx8 de debug_swap decodeassists erms
extapic extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt
ht hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni
popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep
sha_ni skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3
stibp succor svm svm_lock syscall tce topoext tsc tsc_scale umip
user_shstk v_spec_ctrl v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall
vpclmulqdq wbnoinvd wdt x2apic xgetbv1 xsave xsavec xsaveerptr xsaveopt
xsaves xtopology
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: indirect_target_selection status: Not affected
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: reg_file_data_sampling status: Not affected
Type: retbleed status: Not affected
Type: spec_rstack_overflow mitigation: Safe RET
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW;
STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
affected
Type: srbds status: Not affected
Type: tsa status: Vulnerable: Clear CPU buffers attempted, no microcode
Type: tsx_async_abort status: Not affected
Type: vmscape mitigation: IBPB before exit to userspace
Graphics:
Device-1: NVIDIA GA104 [GeForce RTX 3060] vendor: Micro-Star MSI
driver: nvidia v: 550.163.01 non-free: 550-570.xx+ status: current (as of
2025-04; EOL~2026-12-xx) arch: Ampere code: GAxxx process: TSMC n7 (7nm)
built: 2020-2023 pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 2b:00.0
chip-ID: 10de:2487 class-ID: 0300
Display: x11 server: X.Org v: 21.1.16 with: Xwayland v: 24.1.6
compositor: kwin_x11 driver: X: loaded: nvidia
unloaded: fbdev,modesetting,nouveau,vesa alternate: nv gpu: nvidia
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 120 s-size: 406x229mm (15.98x9.02")
s-diag: 466mm (18.35")
Monitor-1: DP-4 res: mode: 1920x1080 hz: 180 scale: 100% (1) dpi: 93
size: 527x296mm (20.75x11.65") diag: 604mm (23.8") modes: N/A
API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia
inactive: wayland,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.163.01
glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
memory: 11.72 GiB
API: Vulkan v: 1.4.309 layers: 5 device: 0 type: discrete-gpu
name: NVIDIA GeForce RTX 3060 driver: nvidia v: 550.163.01
device-ID: 10de:2487 surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
(LLVM 19.1.7 256 bits) driver: mesa llvmpipe v: 25.0.7-2 (LLVM 19.1.7)
device-ID: 10005:0000 surfaces: xcb,xlib
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
wl: wayland-info x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
Device-1: NVIDIA GA104 High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 2b:00.1 chip-ID: 10de:228b class-ID: 0403
Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 bus-ID: 2d:00.4 chip-ID: 1022:1487 class-ID: 0403
API: ALSA v: k6.12.63+deb13-amd64 status: kernel-api
tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 1.4.2 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: mt7921e v: kernel pcie:
gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 29:00.0 chip-ID: 14c3:0608
class-ID: 0280
IF: wlo1 state: down mac:
Device-2: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: f000 bus-ID: 2a:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp42s0 state: up speed: 1000 Mbps duplex: full mac:
IP v4: type: noprefixroute scope: global broadcast:
IP v6: type: noprefixroute scope: link
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
WAN IP:
Bluetooth:
Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-9:6 chip-ID: 0e8d:0608
class-ID: e001 serial:
Report: hciconfig ID: hci0 rfk-id: 0 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address:
Info: acl-mtu: 1021:6 sco-mtu: 240:8 link-policy: rswitch sniff
link-mode: peripheral accept
Logical:
Message: Unable to run lvs. Root privileges required.
Device-1: nvme0n1p3_crypt maj-min: 254:0 type: LUKS dm: dm-0
size: 1.82 TiB
Components:
p-1: nvme0n1p3 maj-min: 259:3 size: 1.82 TiB
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 1.82 TiB used: 566.34 GiB (30.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: MSI model: M480 PRO 2TB
size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: fw-rev: EIFM80.0 temp: 36.9 C
scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 1.79 TiB size: 1.76 TiB (98.37%) used: 565.88 GiB (31.4%)
fs: ext4 dev: /dev/dm-1 maj-min: 254:1 mapped: user0–pc–vg-root label: N/A
uuid: N/A
ID-2: /boot raw-size: 977 MiB size: 943.2 MiB (96.54%)
used: 465.2 MiB (49.3%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
label: N/A uuid: 17e00058-596e-439f-9b1c-f52d68bab406
ID-3: /boot/efi raw-size: 976 MiB size: 974.1 MiB (99.80%)
used: 8.8 MiB (0.9%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
uuid: 5D8B-09C5
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: partition size: 31.93 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/dm-2 maj-min: 254:2 mapped: user0–pc–vg-swap_1
label: N/A uuid: 9c31af22-8422-4e78-85b5-8341b76ed4ce
Unmounted:
Message: No unmounted partitions found.
USB:
Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 10 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
class-ID: 0900
Hub-2: 1-2:2 info: Genesys Logic Hub ports: 4 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
chip-ID: 05e3:0608 class-ID: 0900
Device-1: 1-5:3 info: SINO WEALTH Gaming KB type: keyboard,HID
driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s)
lanes: 1 mode: 1.1 power: 500mA chip-ID: 258a:002a class-ID: 0300
Device-2: 1-6:4 info: Logitech Mouse type: mouse
driver: hid-generic,usbhid interfaces: 1 rev: 2.0
speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 100mA
chip-ID: 046d:c077 class-ID: 0301
Device-3: 1-8:5 info: Micro Star MYSTIC LIGHT type: HID
driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s)
lanes: 1 mode: 1.1 power: 500mA chip-ID: 1462:7c91 class-ID: 0300
serial:
Device-4: 1-9:6 info: MediaTek Wireless_Device type: bluetooth
driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
mode: 2.0 power: 100mA chip-ID: 0e8d:0608 class-ID: e001 serial:
Hub-3: 2-0:1 info: super-speed hub ports: 4 rev: 3.1
speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
class-ID: 0900
Hub-4: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
class-ID: 0900
Hub-5: 4-0:1 info: super-speed hub ports: 4 rev: 3.1
speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
class-ID: 0900
Sensors:
System Temperatures: cpu: 42.5 C mobo: 32.0 C gpu: nvidia temp: 36 C
Fan Speeds (rpm): N/A gpu: nvidia fan: 0%
Repos:
Packages: 3949 pm: dpkg pkgs: 3912 libs: 2330 tools: apt,apt-get pm: flatpak
pkgs: 37
Active apt repos in: /etc/apt/sources.list
1: deb Index of /debian trixie main contrib non-free non-free-firmware
2: deb-src Index of /debian trixie main contrib non-free non-free-firmware
3: deb Index of /debian-security trixie-security main contrib non-free non-free-firmware
4: deb-src Index of /debian-security trixie-security main contrib non-free non-free-firmware
5: deb Index of /debian trixie-updates main contrib non-free non-free-firmware
6: deb-src Index of /debian trixie-updates main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/ferron.list
1: deb [signed-by=/usr/share/keyrings/ferron-keyring.gpg] https://deb.ferron.sh trixie main
Active apt repos in: /etc/apt/sources.list.d/syncthing.list
1: deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable-v2
Active apt repos in: /etc/apt/sources.list.d/extrepo_librewolf.sources
1: deb [arch=amd64 arm64] https://repo.librewolf.net librewolf main
Active apt repos in: /etc/apt/sources.list.d/signal-desktop.sources
1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
Processes:
CPU top: 5 of 517
1: cpu: 8.4% command: i2pd pid: 2071 mem: 123.8 MiB (0.3%)
2: cpu: 8.4% command: ./firefox.real pid: 4911 mem: 610.5 MiB (1.9%)
3: cpu: 5.3% command: retroshare pid: 3379 mem: 2123.7 MiB (6.6%)
4: cpu: 5.2% command: qbittorrent pid: 3147 mem: 962.1 MiB (3.0%)
5: cpu: 3.6% command: firefox.real pid: 5616 mem: 276.5 MiB (0.8%)
Memory top: 5 of 517
1: mem: 2123.7 MiB (6.6%) command: retroshare pid: 3379 cpu: 5.3%
2: mem: 962.1 MiB (3.0%) command: qbittorrent pid: 3147 cpu: 5.2%
3: mem: 610.5 MiB (1.9%) command: ./firefox.real pid: 4911 cpu: 8.4%
4: mem: 464.7 MiB (1.4%) command: plasmashell pid: 2841 cpu: 0.8%
5: mem: 442.3 MiB (1.3%) command: firefox.real pid: 5266 cpu: 2.2%
Info:
Processes: 517 Power: uptime: 11m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 12.47 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
tool: systemctl
Compilers: clang: 19.1.7 gcc: 14.2.0 Shell: fish v: 4.0.8 default: Bash
v: 5.2.37 running-in: konsole inxi: 3.3.38