X freezes momentarily every 10 seconds

Bug #653815 reported by Jonathan Corwin
48
This bug affects 10 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Since upgrading from Lucid to Maverick RC, X appears to stutter every 10 seconds. Mouse/Keyboard input freezes momentarily. Video playback stutters every 10 seconds or so making it hard to watch. I had no such problems with Lucid.

Dell Latitude D505
Running Gnome. Visual Effects are off.
Graphics: Intel 82852/855GM Integrated

I looked at http://ubuntuforums.org/showthread.php?p=9868335, but I don't have a radeon card and I don't have unclutter installed, and the /sys/class/drm/card0/device/power_* files didn't exist.

I tried adding the boot parameters intel_idle.max_cstate=0 as per http://ca.ubuntuforums.org/showthread.php?p=9894139 but that made no difference.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-22-generic 2.6.35-22.33
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
NonfreeKernelModules: vboxnetadp vboxnetflt vboxdrv
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jonathan 1505 F.... pulseaudio
 /dev/snd/pcmC0D0p: jonathan 1505 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'I82801DBICH4'/'Intel 82801DB-ICH4 with STAC9750,51 at irq 5'
   Mixer name : 'SigmaTel STAC9750,51'
   Components : 'AC97a:83847650'
   Controls : 36
   Simple ctrls : 23
Date: Sat Oct 2 22:51:16 2010
HibernationDevice: RESUME=UUID=24e85ea5-49eb-4fac-96d4-c84365c7b3b9
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Lsusb:
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Latitude D505
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=c75c8699-bad8-4332-b14d-1e183b70c09c ro quiet splash i915.modeset=1 intel_idle.max_cstate=0
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
dmi.bios.date: 09/03/2004
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A07
dmi.board.name: 0H2049
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA07:bd09/03/2004:svnDellInc.:pnLatitudeD505:pvr:rvnDellInc.:rn0H2049:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude D505
dmi.sys.vendor: Dell Inc.

Revision history for this message
Jonathan Corwin (j-corwin) wrote :
Revision history for this message
Jonathan Corwin (j-corwin) wrote :

I've looked in top, and the freezes seem to coincide with a kslowd000 process appearing at the top, using 17.5% CPU.
I don't know what kslowd is, or if this is just co-incidence. Is there is a way to disable this process to prove whether it is the cause?

Revision history for this message
Jonathan Corwin (j-corwin) wrote :

I've followed these instructions https://wiki.ubuntu.com/Kernel/MainlineBuilds and installed kernel 2.6.36.999 from http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/

This appears to have resolved the problem.

Revision history for this message
Eric Drechsel (ericdrex) wrote :

This bug affects me, using lucid with a backported karmic kernel from ppa:kernel-ppa/ppa (workaround for dreaded intel video lockups with lucid kernel)

Other than that, I have the same configuration and symptoms:

 * brief X and sound stutter every 10s
 * corresponds to a spike in kslowd activity
 * intel 855GM chipset

Trying the .36 kernel Jonathan had success with (I know this is completely unsupported, just not ready to jump to karmic userspace yet)

Revision history for this message
Eric Drechsel (ericdrex) wrote :

I marked this bug as primary and the #613762 as duplicate since this has more relevant information. The original reporter of #613762 has an intel 945GM chipset, which is similar to intel 855GM

Revision history for this message
Eric Drechsel (ericdrex) wrote :

I've now upgraded to Maverick and the bug is still present. This seems fairly critical, if only for people with this hardware config. Can anyone on ubuntu's kernel team provide some context regarding the addition of kslowd, links to upstream threads, etc?

Here are other reports of usage spikes with kslowd:

 * http://ubuntuforums.org/showthread.php?t=1594239
 * https://bbs.archlinux.org/viewtopic.php?id=105113
 * http://kerneltrap.org/mailarchive/linux-kernel/2010/6/16/4583805/thread
 * https://bugs.launchpad.net/ubuntu/+source/linux/+bug/595764
 * https://bugs.launchpad.net/ubuntu/+source/linux/+bug/662946

I'm now running the natty kernel (currently 2.6.36-1 generic) and the hiccups are gone

Revision history for this message
Ben Uphoff (benu) wrote :

Also running Ubuntu 10.10 on a Dell D505 Latitude laptop. I had the same hiccup jitter freeze issue, and moved to the 2.6.37-999 kernel. This solved the problem.

Revision history for this message
Ray Hunter (katrina-raymond) wrote :

Also running Ubuntu 10.10 (64bit) on an IBM Thinkcentre M52 (9210-D1M), 945G integrated. Upgrade from 10.04. 'Hiccup jitter freeze' issue is identical to above description. Have not attempted kernel replacement yet, may wait for next kernel release.

Revision history for this message
Brian F (bgfeldm) wrote :

Upgrading to kernels 2.6.37-999 mostly solved the problem for me. But problem still occurs occasionally with kworker; guess kslow process was renamed to kworker. The problem occurred often with kslow and occasionally with kworker.

Laptop: Dell Latitude E5500.

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
tags: removed: regression-potential
Revision history for this message
penalvch (penalvch) wrote :

Jonathan Corwin, thank you for reporting this and helping make Ubuntu better. Maverick reached EOL on April 2012.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We were wondering if this is still an issue on a supported release? If so, can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue in a supported release, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

tags: added: regression-release
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Søren Holm (sgh)
Changed in linux (Ubuntu):
status: Incomplete → Invalid
penalvch (penalvch)
Changed in linux (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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