Public bug reported:

Binary package hint: gnome-settings-daemon

Hardware: ASUS A6Km laptop
Distribution: Ubuntu Hardy Beta
Package hint:  gnome-settings-daemon 2.22.1-0ubuntu1

When holding down any of the fn volume hotkeys (mute, volume down,
volume up), the system will suffer from CPU lag (Up to ~50% usage while
holding down) and enqueued volume events (which are then executed AFTER
you release the key).

My guess: Holding down any of the hotkeys causes the system to
repeatedly send the event to the OSD, which apparently has a rather
inefficient way of drawing the on-screen volume bar. If the bar is
unnecessarily recalculated/redrawn x times per second, it causes
enqueued events and CPU lag.

Holding down a volume hotkey for ~10 seconds will cause the volume bar
to flicker/refresh for an additional 5-10 seconds after you release the
key. This causes the volume to rise/fall more than you wanted (because
you first stopped holding down the key when the OSD showed the volume
you wanted - yet several events have been enqueued in the meantime).

On another Ubuntu setup with a wireless HP USB keyboard, this bug is not
present. I guess the event repeat rate is different for each keyboard?

xprop | grep WM_CLASS against the OSD hinted gnome-settings-daemon.

** Affects: gnome-settings-daemon (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Holding down volume hotkeys causes CPU lag and enqueued volume events
https://bugs.launchpad.net/bugs/216788
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to