FS#35989 - [xfce4-xkb-plugin] 0.5.6-1 causes cpu spike on resume from suspend

Attached to Project: Arch Linux
Opened by Jose Marino (oniram) - Monday, 01 July 2013, 22:30 GMT
Last edited by Evangelos Foutras (foutrelis) - Sunday, 06 October 2013, 07:28 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Right after resuming from suspend to ram, anything X related like moving windows, focusing windows, etc is very unresponsive. Everything is very sluggish for around 10s or 20s, while the cpu usage of the X process is very high.
This also happens when switching back from a virtual terminal (ctr-alt-f1 then ctr-alt-f7).


Additional info:
The problem started happening after I upgraded xfce4-xkb-plugin from 0.5.4.3 to 0.5.5
It happens with 0.5.5-1 and 0.5.6-1
It doesn't happen with 0.5.4.3-3


Steps to reproduce:
Either:
-Resume from suspend to ram
-Switch to virtual terminal (ctr-alt-f1) and then switch back to X (ctr-alt-f7).
The cpu usage X process spikes and X related tasks are very sluggish for a short period.


I did a quick bisect on the git sources and I identified this commit as the culprit:
0aab3c4 Reset xkb config when new keyboard is detected

I submitted a bug upstream about it:
https://bugzilla.xfce.org/show_bug.cgi?id=10213
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Sunday, 06 October 2013, 07:28 GMT
Reason for closing:  Upstream

Loading...