This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Plasma Hiccups...

Tags: None
(comma "," separated)
User avatar
zak89
Registered Member
Posts
86
Karma
0
OS

Plasma Hiccups...

Wed Feb 17, 2010 3:55 pm
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! o) ) 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:

Code: Select all
plasma-desktop(8573)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation => Exif.Image.Orientation =>  1
plasma-desktop(8573)/plasma ItemSpace::resizeItem: Resizing QRectF(5,267.25 358.354x441.276) to QRectF(5,267.25 441.276x358.354)
plasma-desktop(8573)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation => Exif.Image.Orientation =>  1
plasma-desktop(8573)/plasma ItemSpace::resizeItem: Resizing QRectF(56.3263,16.7676 352.532x431.304) to QRectF(56.3263,16.7676 431.304x352.532)
plasma-desktop(8573)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation => Exif.Image.Orientation =>  1
plasma-desktop(8573)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation => Exif.Image.Orientation =>  1
plasma-desktop(8573)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation => Exif.Image.Orientation =>  1
plasma-desktop(8573)/plasma ItemSpace::resizeItem: Resizing QRectF(56.3263,16.7676 431.304x352.532) to QRectF(56.3263,16.7676 352.532x431.304)


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.
User avatar
zak89
Registered Member
Posts
86
Karma
0
OS

Re: Plasma Hiccups...

Wed Feb 17, 2010 4:10 pm
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.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Plasma Hiccups...

Thu Feb 18, 2010 4:17 am
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]
User avatar
zak89
Registered Member
Posts
86
Karma
0
OS

Re: Plasma Hiccups...

Thu Feb 18, 2010 12:38 pm
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.
xeros
Registered Member
Posts
4
Karma
0
OS

Re: Plasma Hiccups...

Mon Feb 22, 2010 8:41 pm
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


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar