You are not logged in.

#1 2024-10-16 09:27:51

patkoscsaba
Member
Registered: 2024-07-16
Posts: 14

[SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

Hi all. I just updated my Arch Linux and got KDE 6.2.1, QT 6.8 and probably a bunch of other stuff.
My system is:

Operating System: Arch Linux 
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-10885H CPU @ 2.40GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: LENOVO
Product Name: 20TKS0U300
System Version: ThinkPad X1 Extreme Gen 3

GPU 1 - built-in Intel
GPU 2 - dedicated NVidia 1650

[root@csaba-laptop ~]# nvidia-smi 
Wed Oct 16 12:19:48 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03              Driver Version: 560.35.03      CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1650 ...    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   55C    P8              3W /   30W |       7MiB /   4096MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A       685      G   /usr/lib/Xorg                                   4MiB |
+-----------------------------------------------------------------------------------------+

Here are some strange behaviors I see:
1. With NO external display connected, after SDDM login, it seems like it starts, then it crashes, but loading continues and after about 15-20 seconds it seems to be working. But this is only when no external monitor is connected and I assume the system runs on the integrated Intel GPU instead of NVidia to render the desktop and basic apps (no games).
2. If I connect my external monitor, which surely enables the NVidia GPU, I am getting and instant Wayland crash and I am back at SSDM login. If I log in, the crash happens again and I need to log in again.

Additional notes:
* I did not change anything in my NVidia modprobe file, it is at was since the release of the 560 open drivers. It contains:

options nvidia_drm modeset=1
options nvidia_drm fbdev=1

* Login in to X11 works, and external display also works, but I'd prefer to stay on wayland to avoid configuring X11 related stuff like Lenovo Trackpoint and other specifics.

What extra can I provide to get some help?
I am also open to downgrading stuff to get back to the previous state of the system. But I don't know what to downgrade to get things working again.

Last edited by patkoscsaba (2024-10-18 13:43:33)

Offline

#2 2024-10-16 12:03:36

patkoscsaba
Member
Registered: 2024-07-16
Posts: 14

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

For now, the only solution for me was to revert back to KDE 6.2.0 as explained here: https://bbs.archlinux.org/viewtopic.php … 5#p2202745

Offline

#3 2024-10-16 22:04:13

c0x6a
Member
Registered: 2024-10-16
Posts: 5

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

I tried all the solutions posted in this forum, nothing worked for me; I had to rollback to Plasma 6.1.5 and Qt 6.7.3 and things are working by now, I guess I should wait a bit to update Plasma and Qt again

Offline

#4 2024-10-16 22:49:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,923

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

Try the updates to plasma-workspace and kwin 6.2.1.1 that just got released.

Offline

#5 2024-10-17 16:09:30

c0x6a
Member
Registered: 2024-10-16
Posts: 5

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

Actually that's the version which I had the problems with. Plasma 6.2.1-1-x86_64 hmm

Offline

#6 2024-10-17 17:04:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,923

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

No you're missing a .1, the current versions are 6.2.1.1-1 the second .1  is for hotfix patch releases and done in cases like these by KDE the -1 is the package release and an identifier for when a packaging change with no upstream involvement happened.

tl:dr update your system again, you'll get newer versions of plasma-workspace and kwin which will likely fix this.

Last edited by V1del (2024-10-17 17:05:06)

Offline

#7 2024-10-18 05:56:47

evorster
Member
Registered: 2020-07-07
Posts: 68

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

It's definitely fixed for me on the last update.

Offline

#8 2024-10-18 07:17:03

UntidyRiver
Member
Registered: 2024-10-16
Posts: 1

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

Does not work for me. Did not try X11, just Wayland. Login hangs and never finishes. I downgraded KDE packages back to  6.2.0-1 and Qt packages to 6.7.3-1.

Offline

#9 2024-10-18 08:25:57

patkoscsaba
Member
Registered: 2024-07-16
Posts: 14

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

I was about to try the 6.2.1.1 version, but I don't seem to see it available.
Is this very new and not yet available on all mirrors? Or is it on some testing/experimental mirror?

plasma-workspace
KDE Plasma Workspace


URL
https://kde.org/plasma-desktop/
Version
6.2.1-1 (outdated installed version is 6.2.0-1)
Licenses
LGPL-2.0-or-later
Groups
plasma
Depends On
accountsservice appstream-qt dbus fontconfig freetype2 gcc-libs glibc icu kactivitymanagerd karchive kauth kbookmarks kcmutils kcolorscheme kcompletion kconfig kconfigwidgets kcoreaddons kcrash kde-cli-tools kdeclarative kded kdbusaddons kglobalaccel kguiaddons kholidays ki18n kiconthemes kidletime kio kio-extras kio-fuse kirigami kirigami-addons kitemmodels kjobwidgets knewstuff knotifications knotifyconfig kpackage kparts kpipewire krunner kquickcharts kscreenlocker kservice kstatusnotifieritem ksvg ksystemstats ktexteditor ktextwidgets kunitconversion kuserfeedback kwallet kwayland kwidgetsaddons kwin kwindowsystem kxmlgui layer-shell-qt libcanberra libice libkexiv2 libksysguard libplasma libqalculate libsm libx11 libxau libxcb libxcrypt libxcursor libxfixes libxft libxtst milou ocean-sound-theme phonon-qt6 plasma-activities plasma-activities-stats plasma5support prison qt6-5compat qt6-base qt6-declarative qt6-positioning qt6-svg qt6-tools qt6-virtualkeyboard qt6-wayland sh solid systemd-libs wayland xcb-util xcb-util-image xorg-xmessage xorg-xrdb xorg-xsetroot xorg-xwayland zlib plasma-integration
Optional Deps
appmenu-gtk-module : global menu support for GTK2 and some GTK3 applications
baloo : Baloo search runner
discover : manage applications installation from the launcher
gpsd : GPS based geolocation
kdepim-addons : displaying PIM events in the calendar
kwayland-integration : Wayland integration for Qt5 applications
networkmanager-qt : IP based geolocation
plasma-workspace-wallpapers : additional wallpapers
plasma5-integration : use Plasma settings in Qt5 applications
xdg-desktop-portal-gtk : sync font settings to Flatpak apps
Conflicts With
plasma-wayland-session
Replaces
plasma-wayland-session
Download Size
20.03 MiB
Installed Size
54.52 MiB
Packager
Tomaz Canabrava <tcanabrava@archlinux.org>
Architecture
x86_64
Build Date
Tuesday, October 15, 2024 10:05:49 PM Eastern European Summer Time

Offline

#10 2024-10-18 11:43:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,923

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

What mirrors are you using? It's been two days it should be on the majority of remotely maintained mirrors now

Last edited by V1del (2024-10-18 11:43:37)

Offline

#11 2024-10-18 12:39:14

patkoscsaba
Member
Registered: 2024-07-16
Posts: 14

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

[csaba@csaba-laptop teamviewer]$ cat /etc/pacman.d/mirrorlist
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --country Romania --latest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
# When:       2024-10-16 08:59:38 UTC
# From:       https://archlinux.org/mirrors/status/json/
# Retrieved:  2024-10-16 08:59:35 UTC
# Last Check: 2024-10-16 08:47:34 UTC

Server = https://ro.mirror.flokinet.net/archlinux/$repo/os/$arch
Server = https://mirrors.hosterion.ro/archlinux/$repo/os/$arch
Server = https://linuxromania.ro/archlinux/$repo/os/$arch
Server = https://mirrors.pidginhost.com/arch/$repo/os/$arch
Server = https://mirrors.nxthost.com/archlinux/$repo/os/$arch

Offline

#12 2024-10-18 12:41:12

patkoscsaba
Member
Registered: 2024-07-16
Posts: 14

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

I just want to make sure we are talking about the same versions:
* 6.2.0 -> works for me, downgraded to this
* 6.2.1 -> this is actually the package 6.2.1-1, right? - this is the problematic one for me
* 6.2.1.1 -> should be a newer package according to your comment, and it doesn't seem to exist.

Offline

#13 2024-10-18 12:51:30

patkoscsaba
Member
Registered: 2024-07-16
Posts: 14

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

Yep. Mirrors having issues seem to be the cause. I found the new packages on other mirrors. What's with the Arch mirrors lately? This is like the second time in less than half a year that I hit out of sync mirrors. This was usually not an issue in the past.

Offline

#14 2024-10-18 13:42:25

patkoscsaba
Member
Registered: 2024-07-16
Posts: 14

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

I confirm that plasma-workspace 6.2.1.1 solves the problem presented in this post.

Offline

#15 2024-10-18 14:10:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,923

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

For grabbing the sync databases if a connection can be established only the top one is actually relevant. So if the one you're using there has issues like these often make sure you use better synced ones. though according to https://archlinux.org/mirrors/status/ the ro.mirror.flokinet shouldn't be too bad.

Offline

#16 2024-10-18 16:37:27

c0x6a
Member
Registered: 2024-10-16
Posts: 5

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

I updated to the latest packages of everything, including Linux kernel, now Plasma logs in using Wayland, but external monitor is not working it got just a black screen, only the mouse pointer is shown there and moves, but no there are no windows, I moved a window from laptop screen to external monitor, the window is not showing there, just the mouse pointer...
I tried unplugging and plugging the HDMI cable many times, didn't work, logging to desktop using X11 works, but not Wayland


❯ nvidia-smi
Fri Oct 18 11:36:00 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03              Driver Version: 560.35.03      CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4070 ...    Off |   00000000:01:00.0  On |                  N/A |
| N/A   44C    P0             15W /  135W |     124MiB /   8188MiB |      2%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      5034      G   /usr/lib/Xorg                                  93MiB |
+-----------------------------------------------------------------------------------------+

Offline

#17 2024-11-06 21:25:12

c0x6a
Member
Registered: 2024-10-16
Posts: 5

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

Updated to 6.2.3, now I can say things are working properly finally

Offline

#18 2024-11-07 08:24:44

patkoscsaba
Member
Registered: 2024-07-16
Posts: 14

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

Yeah, it depends on the hardware.
For me 6.2.2 is working perfectly.
With 6.2.3 it is broken again. See: https://bbs.archlinux.org/viewtopic.php?id=300817

Offline

#19 2024-11-07 23:15:08

c0x6a
Member
Registered: 2024-10-16
Posts: 5

Re: [SOLVED] KDE 6.2.1 update causes Wayland crash with external monitor

Weird things, I had that problem with 6.2.1 (including 6.2.1.1) and 6.2.2 ... I was keeping 6.1.5 for a while, and with 6.2.3 thinks are working really fine now, even plugging and unplugging the external monitor works fine, in previous versions when I unplugged the monitor and plugged again it wasn't working until a hard reboot, now it works like plug&play as it should've always been...
Hope next update doesn't break things again

Offline

Board footer

Powered by FluxBB