[Intel-gfx] resume lagginess and other problems

Jesse Barnes jbarnes at virtuousgeek.org
Tue Jan 26 22:33:23 CET 2010


On Tue, 26 Jan 2010 16:20:52 -0500
Andrew Lutomirski <luto at mit.edu> wrote:

> My system (Lenovo X200s, GM45, 2.6.33-rc5) often has weird issues
> resuming from standby.  I get a laggy cursor for awhile, kscreenlocker
> takes a long time (seconds to minutes) to prompt for a password, and I
> have high power consumption (maybe separate bug).
> 
> I think that when this is happening, Xorg takes a lot of CPU, and udev
> goes nuts (!).
> 
> Here's a udevmonitor trace.  Any ideas?  (I have problems with both
> KDE and GNOME, and the udevmonitor output rules out userspace issues,
> I think.)  dmesg shows nothing interesting looking.
> 
> KERNEL[1264540411.848014] change
> /devices/pci0000:00/0000:00:02.0/drm/card0 (drm)
> UDEV_LOG=3
> ACTION=change
> DEVPATH=/devices/pci0000:00/0000:00:02.0/drm/card0
> SUBSYSTEM=drm
> HOTPLUG=1
> DEVNAME=dri/card0
> DEVTYPE=drm_minor
> SEQNUM=42776
> MAJOR=226
> MINOR=0
> 
> UDEV  [1264540411.853262] change
> /devices/pci0000:00/0000:00:02.0/drm/card0 (drm)
> UDEV_LOG=3
> ACTION=change
> DEVPATH=/devices/pci0000:00/0000:00:02.0/drm/card0
> SUBSYSTEM=drm
> HOTPLUG=1
> DEVNAME=/dev/dri/card0
> DEVTYPE=drm_minor
> SEQNUM=42776
> ACL_MANAGE=1
> MAJOR=226
> MINOR=0
> DEVLINKS=/dev/char/226:0
> 
> KERNEL[1264540411.877918] change
> /devices/pci0000:00/0000:00:02.0/drm/card0 (drm)
> UDEV_LOG=3
> ACTION=change
> DEVPATH=/devices/pci0000:00/0000:00:02.0/drm/card0
> SUBSYSTEM=drm
> HOTPLUG=1
> DEVNAME=dri/card0
> DEVTYPE=drm_minor
> SEQNUM=42777
> MAJOR=226
> MINOR=0
> 
> UDEV  [1264540411.883885] change
> /devices/pci0000:00/0000:00:02.0/drm/card0 (drm)
> UDEV_LOG=3
> ACTION=change
> DEVPATH=/devices/pci0000:00/0000:00:02.0/drm/card0
> SUBSYSTEM=drm
> HOTPLUG=1
> DEVNAME=/dev/dri/card0
> DEVTYPE=drm_minor
> SEQNUM=42777
> ACL_MANAGE=1
> MAJOR=226
> MINOR=0
> DEVLINKS=/dev/char/226:0
> 
> KERNEL[1264540411.896007] change
> /devices/pci0000:00/0000:00:02.0/drm/card0 (drm)
> UDEV_LOG=3
> ACTION=change
> DEVPATH=/devices/pci0000:00/0000:00:02.0/drm/card0
> SUBSYSTEM=drm
> HOTPLUG=1
> DEVNAME=dri/card0
> DEVTYPE=drm_minor
> SEQNUM=42778
> MAJOR=226
> MINOR=0

Sounds like you're getting a bunch of hotplug notifications on resume,
maybe due to lid events.  This may cause X to re-probe things, which
can take some time and CPU in the kernel.

-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list