Bug 1217787 - Kernel 6.6 and KDE Plasma do not work together, executing programs does not work
Summary: Kernel 6.6 and KDE Plasma do not work together, executing programs does not work
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Current
Hardware: x86-64 Other
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: openSUSE Kernel Bugs
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-04 17:14 UTC by Rigo Wenning
Modified: 2024-01-08 16:27 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Boot log 6.6.4 (206.68 KB, text/x-log)
2023-12-09 10:16 UTC, Rigo Wenning
Details
Boot log 6.6.5 (421.37 KB, text/x-log)
2023-12-09 10:20 UTC, Rigo Wenning
Details
Complete hwinfo compressed (381.89 KB, application/zip)
2023-12-09 15:19 UTC, Rigo Wenning
Details
Boot log 6.5.9 zipped (44.69 KB, application/zip)
2023-12-09 15:24 UTC, Rigo Wenning
Details
Boot log 6.7.rc zipped (222.67 KB, application/zip)
2023-12-09 16:18 UTC, Rigo Wenning
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rigo Wenning 2023-12-04 17:14:35 UTC
I have a Dell latitude 7490. I have tumbleweed installed since 4 years, updated monthly. After upgrade to TW 2023-12-01, I got the following behaviour: 

When installing, dracut took much longer as usual and did 8 times the same module compilation/installation. 

The system boots until the login screen (SDDM) into the Xorg session. When logging into the KDE Plasma, the system gets stuck. Only the mouse pointer is shown on a back screen. Looking at the console, it says Failed to start powerdevil and it continues to try to start and fails. 

Trying to execute programs in a console terminal, the computer gets stuck and does not execute the program. 

Suggestion was to upgrade the Kernel. I installed OBS kernel:stable 6.6.4. The behaviour slightly changes. Now if trying to log in, the plasma screen shows the background images, but nothing else, except for the mouse pointer. 

Kernel 6.5.9 works fine and I can boot into my KDE session.  So this is NOT a KDE issue. For the moment, I will not be able to upgrade anything and I will remain with kernel 6.5.9.
Comment 1 Takashi Iwai 2023-12-05 13:34:15 UTC
Do you see any relevant messages in the kernel log?

Also, when the screen freezes, can you switch to VT via alt-control-F1 key?
(Or can test a remote connection?)

In anyway, please give the hardware details, e.g. hwinfo from the working case, and dmesg outputs from both working and non-working caess.
Comment 2 Rigo Wenning 2023-12-09 10:16:10 UTC
Created attachment 871223 [details]
Boot log 6.6.4

This is the log for 6.6.4 which is totally unusable. I get no console on ctrl-F1 but I get some messages on ctrl-F10. After trying to find a console, also the X/SDDM died and I needed to do a hardware reset.
Comment 3 Rigo Wenning 2023-12-09 10:20:36 UTC
Created attachment 871224 [details]
Boot log 6.6.5

For 6.6.5 trying to log in results in plasma firing up, but because it waits for Powerdevil to start, it gets very slow. Ctrl-F10 reports "Failed to start Powerdevil" every 5sec. This is due to the fact that, apparently, the kernel wasn't able to mount the file system correctly. There are also conflicts because it said "org.KDE.plasma" was already registered etc...
Comment 4 Rigo Wenning 2023-12-09 10:21:21 UTC
Do you really want the full hwinfo (1.9MB) of the latitude 7490?
Comment 5 Rigo Wenning 2023-12-09 10:24:41 UTC
KDE Plasma gives warnings saying: Filesystem mounted at / is not responding and Filesystem mounted at /home is not responding

There is something really fundamentally conflicting between 6.5 kernel and 6.6. kernel. I haven't tried yet to create a new user. But I'm also running out of time to invest, unfortunately.

Again, kernel 6.5.9-1 works perfectly fine.
Comment 6 Takashi Iwai 2023-12-09 14:41:37 UTC
Yes, a full hwinfo outupt please.  You can compress before uploading, too.
Also the dmesg from working 6.5.9.

Through a quick glance, though, there are no signs of kernel-related crashes.  
So it's likely an issue of only graphics.

Two more things to check (in addition to the requested infos above):

- Try 6.7-rc kernel from OBS Kernel:HEAD repo
- If the problem persists with 6.7-rc, boot 6.7-rc kernel with "drm.debug=0x1e log_buf_len=16M" boot options, and get the dmesg output.  This will be a large size, but it may show something about DRM behavior changes.
Comment 7 Rigo Wenning 2023-12-09 15:19:13 UTC
Created attachment 871225 [details]
Complete hwinfo compressed
Comment 8 Rigo Wenning 2023-12-09 15:24:55 UTC
Created attachment 871226 [details]
Boot log 6.5.9 zipped
Comment 9 Rigo Wenning 2023-12-09 16:18:19 UTC
Created attachment 871227 [details]
Boot log 6.7.rc zipped

Booting kernel 6.7.rc behaved the same way that opensuse kernel 6.6.5. behaved, there was no notable difference. Plasma starts. Because every process step will have a delay of 5sec for "Powerdevil failed to start", the plasma desktop takes ages to start and there is no reasonable to start any programme. 

Starting Kernel 6.7.rc with "drm.debug=0x1e log_buf_len=16M" lead to the same behaviour with the notable difference that I could get to a console on ctrl-F1 and login as root. I was able to shut it down, but it took ages to shut down completely so I power-cycled after some while.

In essence, it complained about some process already registered with dbus, dbus naming conflict and the like and ended in the Powerdevil failure messages every 5sec. This time it also complained about ibus. No such thing with kernel 6.5.9
Comment 10 Frank Krüger 2023-12-10 06:51:06 UTC
Just as a guess, this might be related: https://bugzilla.kernel.org/show_bug.cgi?id=218173#c20.
Comment 11 Frank Krüger 2023-12-10 07:56:08 UTC
(In reply to Frank Krüger from comment #10)
> Just as a guess, this might be related:
> https://bugzilla.kernel.org/show_bug.cgi?id=218173#c20.

Sorry, this was a mistake and does not apply to the bug descibed here.
Comment 12 Takashi Iwai 2023-12-10 08:42:19 UTC
(In reply to Frank Krüger from comment #11)
> (In reply to Frank Krüger from comment #10)
> > Just as a guess, this might be related:
> > https://bugzilla.kernel.org/show_bug.cgi?id=218173#c20.
> 
> Sorry, this was a mistake and does not apply to the bug descibed here.

Right, it's somewhat for bsc#1217344.  There are many 6.6.x regressions, unfortunately.
Comment 13 Rigo Wenning 2024-01-06 10:19:09 UTC
I installed the latest tumbleweed 2024-01-04 with Kernel 6.6.9-1.1. With this kernel, the computer does not even boot anymore. I tried recovery mode and it complains about a missing USB termination. 

So it is not getting better, it is getting worse. It looks like optimizing for something else destroyed the usability of the opensuse kernel with recent Dell hardware.
Comment 14 Takashi Iwai 2024-01-08 15:46:41 UTC
Could you check 6.7 kernel, found in OBS Kernel:HEAD repo?
TW will switch to 6.7.0 soon later in anyway.
Comment 15 Rigo Wenning 2024-01-08 16:19:04 UTC
vmlinuz-6.7.0-2.ge615918-default works again. Thanks for caring.
Comment 16 Takashi Iwai 2024-01-08 16:21:00 UTC
Good to hear!

It might be the regression in Intel WiFi with rfkill.  It hits only for some old models, and the fix went very lately just before 6.7-final release.
Comment 17 Rigo Wenning 2024-01-08 16:27:45 UTC
(In reply to Takashi Iwai from comment #16)
> It hits only for some old models, and the fix went very lately just 
> before 6.7-final release.

My laptop is from 2019, so not excactly "old" and still in warranty. See me surprised...