Registered Member
|
Hello,
I am using KDE on Arch Linux and since I got a new Laptop, I cannot really use external Monitors. After some time (ranges from a few minutes to a few hours) my desktops start to freeze, that is the taskbar and the desktop icons and background just freeze and cannot be clicked anymore. The applications run fine and I can also change them by ALT+TAB or start new ones with ALT+F2 although the start menu doesn't come up if I press SUPER. All desktops freeze individually and not all at the same time, which can easily be seen as the clock in each monitors taskbar is stuck at a different time. I can't find a solution for my problem and I don't know how to start debugging it. I haven't noticed that problem when only using the laptop without a external monitor. When this happens, my workaround is a
When it happens while the screens are locked, I have to change the TTY, kill kscreenlocker_greet, which fortunately gets restarted automatically. Can someone help me debug this? I am running the following: plasmashell 5.17.5 xorg-server 1.20.6-3 linux 5.4.10-arch1-1 Laptop Dell Latitude 7480 (i5-7300U CPU @ 2.60GHz, no discrete graphics) Dock Dell WD15 Thanks in advance for any help or tips |
Registered Member
|
I don't have a solution. I just want to give this a bump because I'm also seeing this issue on NixOS. I've looked at what plasmashell prints out to console when this happens, and nothing jumps out to me as an obvious error, but maybe I'm missing something.
I'm running:
If there's anything else I can provide to help get to the bottom of it, don't hesitate to ask. |
Manager
|
Hoe about updating first? Especially on Arch, 5.17.x is pretty old now, the most recent Plasma release is 5.19.2
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
I experience similar issue.
Here my versions that I'm using:
During normal use of laptop with external monitor attached plasmashell will freeze with random intervals: can't use any panels/start menu but ALT+F2 respond slowly. Also during that time I can switch between virtual desktops, run new programs, use Yakuake and switch language. Usual solution is to restart plasmashell with script similar to one proposed above. journalctl -f shows nothing on time of freeze. Freeze happened on 13:24:51, but as we can see there is no suspicious logs:
System doesn't have high load or memory usage on time of freeze and plasmashell process doesn't use CPU endlessly as well. Any help would be appreciated, I'm ready to provide any logs that would be helpful to resolve this problem. |
Registered Member
|
A person I am helping has been experiencing a similar issue on a Lenovo T570 for several months now. The laptop has an Nvidia graphics device, but no special configuration has been made to make use of it. External monitor does not factor into the problem. The problem was first observed on Manjaro, but now it continues on a freshly installed Arch (installed via EndeavourOS). The desktop freezes, while the mouse works. Switching to another virtual console with Ctrl-Alt-F2 and back with Ctrl-Alt-F1 usually heals the issue, but not every time.
Here is a snippet of the journal leading up to the virtual console switch at 18:52:13:
Like others in this thread, I am wondering what sort of debug switch I might flip to get more stuff in the journal. I know how to do it for individual units, but here I am at a loss. |
Registered Member
|
I asked about this in Reddit and one idea was to observe, if there is a memory leak going on. It doesn't really feel like it, but let's find out next time it happens.
Debugging advice: https://community.kde.org/Plasma/Debugging |
Registered Member
|
Just got mem info from another freeze. No leaking, total mem use was 3.4GB/16GB, so completely normal.
|
Manager
|
This could be due to some desktop effect running wild, selectively disabling them to find the culprit is probably the way to go.
Another (not infrequent) issue could be the available space on the disk...
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
I was on Arch for a long time and around kernel 5.7 was a game change for some laptops - could this be related?
Neon Unstable, AMD RX570, Steam (skyrim for now), Vivaldi, btrfs (with apt-btrfs-snapshot), bug-reporter
|
Registered Member
|
5.7 was released in 31 May 2020, so it can't be related. Notice that this topic was created in January 2020. |
Registered Member
|
And Neon / Ubuntu is still on 5.4. And I didn't say 5.7 SOLVED I said 5.7 was a game changer suggesting you all could do some research just in case. There are instances of people reverting kernels to solve freezing as well as upgrading to solve freezing. Solus recently had a long discussion about which kernels they should be on and one of the problems was about how long they could hold on to an old (and good for laptops) kernel.
I was only offering help, I read the title, I know when this post is from, maybe it's kernel related maybe not.
Neon Unstable, AMD RX570, Steam (skyrim for now), Vivaldi, btrfs (with apt-btrfs-snapshot), bug-reporter
|
Registered Member
|
I thought you meant 5.7 CAUSED the problem. It definitely didn't solve it as it keeps happening with 5.8 kernel. I will do a sweeping desktop effects deactivation on the Lenovo (noting the original settings beforehand). Disk space is not the problem, should be hundreds of gigs free. |
Registered Member
|
Can you try the LTS kernel to rule it out?
Neon Unstable, AMD RX570, Steam (skyrim for now), Vivaldi, btrfs (with apt-btrfs-snapshot), bug-reporter
|
Registered Member
|
You mean 4.19 or 5.4? Original poster was using linux 5.4.10. |
Registered Member
|
During several freezes I cannot see any strange memory increases. Memory usage is way below available RAM and no swap usage.
Have more than 200GB free space. I tried to disable Compositor completely but problem still persist.
I'm on Manjaro and problem was present with LTS 5.4 series kernel. Currently trying to run latest 5.8 but no luck. Will try to return to the 4.19 (previous LTS kernel) and will report how it will go. |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]