воскресенье

[Bug 998310] Re: .Xmodmap file makes xorg temporarily reach high cpu usage (90%-100%) after resume or when coming back from tty to X session

I noticed this on Debian (buster). It appears to be caused by the
keyboard being detected multiple times, resulting in xfsettingsd running
xmodmap multiple times. To monitor, run:

XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon

After suspend/resume (or just unplug/plug the USB keyboard), xfsettingsd
launches xmodmap multiple times:

xfce4-settings(keyboard-layout): spawning "xmodmap /home/user/.Xmodmap"
xfce4-settings(keyboard-layout): New keyboard detected; restoring XKB settings.
Warning: Only changing the first 3 of 10 buttons.
xfce4-settings(keyboard-layout): spawning "xmodmap /home/user/.Xmodmap"
xfce4-settings(keyboard-layout): New keyboard detected; restoring XKB settings.
Warning: Only changing the first 3 of 10 buttons.
xfce4-settings(keyboard-layout): spawning "xmodmap /home/user/.Xmodmap"
Warning: Only changing the first 3 of 10 buttons.
xfce4-settings(keyboard-layout): New keyboard detected; restoring XKB settings.
xfce4-settings(keyboard-layout): spawning "xmodmap /home/user/.Xmodmap"
xfce4-settings(keyboard-layout): New keyboard detected; restoring XKB settings.
xfce4-settings(keyboard-layout): spawning "xmodmap /home/user/.Xmodmap"
xfce4-settings(keyboard-layout): New keyboard detected; restoring XKB settings.

As a test, doing:

for x in {1..10}; do bash -c 'xmodmap ~/.Xmodmap &'; done

Has similar results of high CPU in xorg and xmodmap.

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/998310

Title:
.Xmodmap file makes xorg temporarily reach high cpu usage (90%-100%)
after resume or when coming back from tty to X session

Status in Xfce4 Settings:
Unknown
Status in xfce4-settings package in Ubuntu:
Incomplete

Bug description:
Each time when I resume my laptop, my computer nearly freezes for
about 5 minutes and Xorg is using 90-100% cpu. This issue disappears
and then everything is back to normal.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xorg 1:7.6+12ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Fri May 11 22:57:03 2012
EcryptfsInUse: Yes
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
ProcEnviron:
LANGUAGE=ca_ES
TERM=xterm
LANG=ca_ES.UTF-8
SHELL=/bin/bash
SourcePackage: xorg
UpgradeStatus: Upgraded to precise on 2012-03-25 (47 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-settings/+bug/998310/+subscriptions

Комментариев нет:

Отправить комментарий