input (mouse) hangs every 30 sec

Bug #758593 reported by Achim
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
upower (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: xorg

Most noticeable is, that my mouse hangs every 30 sec.

How I reproduce this problem and make it visible:
1. start glxgears
2. move the mouse in circles
3. mouse should hang every 30 sec. you should also see a drop in fps in glxgears

This is the terminal output:
301 frames in 5.0 seconds = 60.153 FPS
301 frames in 5.0 seconds = 60.151 FPS short mouse hanger
295 frames in 5.0 seconds = 58.951 FPS lower fps
301 frames in 5.0 seconds = 60.153 FPS
301 frames in 5.0 seconds = 60.151 FPS
301 frames in 5.0 seconds = 60.151 FPS
301 frames in 5.0 seconds = 60.149 FPS
301 frames in 5.0 seconds = 60.152 FPS short mouse hanger
293 frames in 5.0 seconds = 58.553 FPS lower fps
301 frames in 5.0 seconds = 60.150 FPS
301 frames in 5.0 seconds = 60.150 FPS
301 frames in 5.0 seconds = 60.154 FPS
301 frames in 5.0 seconds = 60.151 FPS
301 frames in 5.0 seconds = 60.151 FPS short mouse hanger
294 frames in 5.0 seconds = 58.752 FPS lower fps

If I do not move the mouse I don't have any hangs.
I am not 100% sure if this problem is related to xorg but I have tried a newer kernel (2.6.39-daily) and several older versions of xserver-xorg-inut-evdev and the problem was still present.

I think some updates from last week (4–7 Apr 2011) introduced this regression.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xorg 1:7.6+4ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,move,snap,compiztoolbox,regex,place,grid,resize,gnomecompat,session,imgpng,vpswitch,mousepoll,animation,workarounds,wall,unitymtgrabhandles,expo,ezoom,staticswitcher,fade,scale,unityshell]
CompositorRunning: compiz
DRM.card0.DP.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.HDMI.A.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1920x1080 1920x1080 1680x1050 1400x1050 1600x900 1280x1024 1280x1024 1440x900 1280x960 1280x800 1152x864 1280x720 1280x720 1024x768 1024x768 1024x768 832x624 800x600 800x600 800x600 800x600 720x576 720x480 640x480 640x480 640x480 640x480 720x400
 edid-base64: AP///////wA4o3lnAQEBATUTAQOAMx146vgFpFVNnSUSUFS/74CBAIFAgYCBwJUAkECzAKnAAjqAGHE4LUBYLEUA/h8RAAAeAAAA/QA4TB9TEQAKICAgICAgAAAA/ABFQTIzMVdNaQogICAgAAAA/wAwMTEwNTY2NE5CCiAgAe4CAQQAAR0AclHQHiBuKFUA/h8RAAAejArQiiDgLRAQPpYA/h8RAAAYjArQkCBAMSAMQFUA/h8RAAAYAR0AvFLQHiC4KFVA/h8RAAAeAjqA0HI4LUAQLEWA/h8RAAAeAR2AGHEcFiBYLCUA/h8RAACeAAAAAAAAAAAAAAAAAAAAFQ==
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
Date: Tue Apr 12 11:08:18 2011
DistUpgraded: Log time: 2011-03-18 14:25:17.020762
DistroCodename: natty
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e22] (rev 03) (prog-if 00 [VGA controller])
   Subsystem: Micro-Star International Co., Ltd. Device [1462:7521]
   Subsystem: Micro-Star International Co., Ltd. Device [1462:7521]
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110318)
MachineType: MICRO-STAR INTERNATIONAL CO.,LTD MS-7521
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=9bf80bd3-a330-4d0b-b199-0467bb403d8b ro quiet splash vt.handoff=7
Renderer: Unknown
SourcePackage: xorg
UpgradeStatus: Upgraded to natty on 2011-04-08 (3 days ago)
dmi.bios.date: 03/30/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V4.6
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: G45M Digital (MS-7521)
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.board.version: 2.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.chassis.version: 2.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV4.6:bd03/30/2010:svnMICRO-STARINTERNATIONALCO.,LTD:pnMS-7521:pvr2.0:rvnMICRO-STARINTERNATIONALCO.,LTD:rnG45MDigital(MS-7521):rvr2.0:cvnMICRO-STARINTERNATIONALCO.,LTD:ct3:cvr2.0:
dmi.product.name: MS-7521
dmi.product.version: 2.0
dmi.sys.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
version.compiz: compiz 1:0.9.4+bzr20110411-0ubuntu1
version.ia32-libs: ia32-libs 20090808ubuntu12
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu1
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

Revision history for this message
Achim (ach1m) wrote :
bugbot (bugbot)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
Achim (ach1m) wrote :

As it seems this problem comes from the CRT hotplug detection.
I have booted the kernel with this option "drm.debug=0x06" and now I see this message in my logs:
kernel: [ 833.140022] [drm:intel_crt_detect], CRT not detected via hotplug

As a workaround I have tried to execut this command:
echo N > /sys/module/drm_kms_helper/parameters/poll

but this didn't help. It had no effect the message was still in my logs.
I also asked on irc #intel-gfx for help but got no answer so far.

Revision history for this message
Achim (ach1m) wrote :

After filling an report upstream Chris Wilson toled me that this is a bug in upowerd:
https://bugs.freedesktop.org/show_bug.cgi?id=36183

He also toled me that this should be fixed in a new upstream package from debian:
http://packages.qa.debian.org/u/upower/news/20110321T145348Z.html

If I kill upowerd the problem disappears for me, so it is definitely a problem of upower.

Is it possible to update the ubuntu package?

affects: xserver-xorg-video-intel (Ubuntu) → upower (Ubuntu)
Changed in upower (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.