Registered Member
|
I am really enjoying KDE SC 4.4, however, plasma-desktop has been giving me some trouble lately. Not much in the way of crashes, but intermittently the desktop will simply freeze. X and KWin still operate smoothly, but the desktop, taskbar, widgets, etc all lockup for a few seconds. This happens even when the computer is not being used (ie, no CPU usage).
I spent a few moments watching the plasma-desktop process in the System Monitor, and noted that the CPU usage (for plasma-desktop) was at 0, but whenever the lockup would happen (I can tell by watching the seconds hand on the analog clock widget) the CPU usage would climb; with a short lockup (2-3 secondws) it would climb to 4% or so, then drop down, on longer lockups (5+ seconds) it would climb as high as 18%. Once it breaks out of the lockup, the CPU drops back to 0 (assuming no plasma-related activity - adding widgets, etc - is going on). Investigating further (see, I'm not a whiner, I want to solve the problem! ) I kquitapp'ed plasma-desktop and started it from Konsole to watch the console output. After everything settled down (plasma-desktop idling), the lockups resumed. Here's the output:
Each lockup coincides with a "KEXIV2 KExiv2Iface::KExiv2::getImageOrientation" call; sometimes follwed by a "ItemSpace::resizeItem:" (but not always). Unfortunately I don't know enough about the innards of plasma to recognize these calls. Does anyone now what's causing this issue? If I can't figure this out myself I may post a bug report.
zak89, proud to be a member of KDE forums since 2008-Nov.
|
Registered Member
|
Found the problem - sort of. I have a pair of Picture Frame widgets displaying slideshows from a Samba share (on a remote computer). Every time the frame changes an image, plasma-desktop locks-up, taking longer if the picture requires the frame to resize (hence the occasional ItemSpace::resizeItem: call). I think this is still a problem as what I am doing is not an unusual use case, but at least I know where the issue is (and how to "resolve) it.
zak89, proud to be a member of KDE forums since 2008-Nov.
|
Administrator
|
This is a bug in the Picture Frame widget, as it should perform resizing operations in another thread to prevent the UI from freezing. Also this means it is using the blocking KIO API, which means it should be using another thread for that also.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I filed bug report on this. Hopefully we'll see this resolved soon.
zak89, proud to be a member of KDE forums since 2008-Nov.
|
Registered Member
|
Could you please give us yours report bug number?
I've just tested two machines and on both Picture Frame gets plasma hiccups with KDE 4.4. The pictures folders are on local ext3 and ext4 systems. I'd like to confirm and follow bug report for this bug. Edit: Nevermind, I've found it: https://bugs.kde.org/show_bug.cgi?id=227394 |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar