Xorg gets 100% of CPU constantly

Bug #24684 reported by Kurt Kraut
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-restricted-modules-2.6.15 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

When I keep my machine running Breezy for more than 10h, the Xorg processes
stats to use 100% of CPU and nevers stops. It never gets below 80% of CPU usage.
Even if the machine is kept untouched, this problem happens. After X is
restarted, the system can be usable for a few hours and them the Xor processos
starts to 'eat' the processor again.

Tasks: 70 total, 2 running, 68 sleeping, 0 stopped, 0 zombie
Cpu(s): 98.0% us, 1.3% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.7% si
Mem: 256848k total, 249100k used, 7748k free, 2640k buffers
Swap: 248996k total, 166584k used, 82412k free, 53556k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7174 root 25 0 115m 29m 4420 R 92.8 11.9 576:21.61 Xorg

Other 17 people has reported this problem in ubuntuforums.org, with different
video cards an none of them got this problem solved. These are the posts:

http://www.ubuntuforums.org/showthread.php?t=80435&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=77168&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=76719&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=64676&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=75089&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=74819&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=74772&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=74711&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=74212&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=68615&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=66952&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=59840&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=43930&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=42806&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=20440&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=17800&highlight=CPU+Xorg
http://www.ubuntuforums.org/showthread.php?t=17842&highlight=CPU+Xorg

So, it seems to me that it might be a bug.

A few data about my computer that might be important:

### xorg.conf ###

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
 FontPath "/usr/share/X11/fonts/misc"
 FontPath "/usr/share/X11/fonts/cyrillic"
 FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
 FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
 FontPath "/usr/share/X11/fonts/Type1"
 FontPath "/usr/share/X11/fonts/CID"
 FontPath "/usr/share/X11/fonts/100dpi"
 FontPath "/usr/share/X11/fonts/75dpi"
        # paths to defoma fonts
 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
 Load "GLcore"
 Load "i2c"
 Load "bitmap"
 Load "ddc"
 Load "dri"
 Load "extmod"
 Load "freetype"
 Load "glx"
 Load "int10"
 Load "type1"
 Load "vbe"
EndSection

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc104"
 Option "XkbLayout" "us"
 Option "XkbVariant" "intl"
EndSection

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver "mouse"
 Option "CorePointer"
 Option "Device" "/dev/input/mice"
 Option "Protocol" "ImPS/2"
 Option "Emulate3Buttons" "true"
 Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
 Identifier "NVIDIA Corporation NV18 [GeForce4 MX 4000 AGP 8x]"
 Driver "nvidia"
 BusID "PCI:1:0:0"
EndSection

Section "Monitor"
 Identifier "Generic Monitor"
 Option "DPMS"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Device "NVIDIA Corporation NV18 [GeForce4 MX 4000 AGP 8x]"
 Monitor "Generic Monitor"
 DefaultDepth 24
 SubSection "Display"
  Depth 1
  Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 4
  Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 8
  Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 15
  Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 16
  Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
 EndSubSection
 SubSection "Display"
  Depth 24
  Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
 EndSubSection
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
 Screen "Default Screen"
 InputDevice "Generic Keyboard"
 InputDevice "Configured Mouse"
EndSection

Section "DRI"
 Mode 0666
EndSection

### lspci ###

0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host
Bridge (rev 80)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
0000:00:0e.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
0000:00:0e.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 80)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 80)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 80)
0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX
4000 AGP 8x] (rev c1)

### lsmod ##

Module Size Used by
ipt_limit 2432 6
iptable_mangle 2816 0
ipt_LOG 6400 8
ipt_MASQUERADE 3328 0
iptable_nat 21076 1 ipt_MASQUERADE
ipt_TOS 2432 0
ipt_REJECT 5248 1
ip_conntrack_irc 71824 0
ip_conntrack_ftp 72336 0
ipt_state 2048 6
ip_conntrack 39864 5
ipt_MASQUERADE,iptable_nat,ip_conntrack_irc,ip_conntrack_ftp,ipt_state
ipt_TCPMSS 4096 0
ipt_tcpmss 2304 0
iptable_filter 2944 1
ip_tables 18176 11
ipt_limit,iptable_mangle,ipt_LOG,ipt_MASQUERADE,iptable_nat,ipt_TOS,ipt_REJECT,ipt_state,ipt_TCPMSS,ipt_tcpmss,iptable_filter
pppoe 13120 2
pppox 3464 1 pppoe
rfcomm 34972 0
l2cap 22404 5 rfcomm
bluetooth 43012 4 rfcomm,l2cap
cpufreq_userspace 4444 0
cpufreq_stats 5124 0
freq_table 4484 1 cpufreq_stats
cpufreq_powersave 1920 0
cpufreq_ondemand 5916 0
cpufreq_conservative 6820 0
video 16004 0
tc1100_wmi 6916 0
sony_acpi 5516 0
pcc_acpi 11392 0
hotkey 9508 0
dev_acpi 11396 0
i2c_acpi_ec 5760 0
button 6672 0
battery 9604 0
container 4608 0
ac 4996 0
ipv6 217408 10
af_packet 20232 2
ppp_generic 25748 6 pppoe,pppox
slhc 6656 1 ppp_generic
analog 10528 0
floppy 52692 0
pcspkr 3652 0
rtc 11832 0
i2c_viapro 7696 0
i2c_core 19728 2 i2c_acpi_ec,i2c_viapro
via_ircc 23700 0
irda 159804 1 via_ircc
crc_ccitt 2176 1 irda
emu10k1_gp 3712 0
gameport 14472 3 analog,emu10k1_gp
snd_emu10k1_synth 6528 0
snd_emux_synth 31744 1 snd_emu10k1_synth
snd_seq_virmidi 6912 1 snd_emux_synth
snd_seq_midi_emul 6528 1 snd_emux_synth
snd_seq_dummy 3844 0
snd_seq_oss 29440 0
snd_seq_midi 8608 0
snd_seq_midi_event 6656 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq 44688 9
snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_emu10k1 96772 3 snd_emu10k1_synth
snd_rawmidi 22816 3 snd_seq_virmidi,snd_seq_midi,snd_emu10k1
snd_seq_device 8204 8
snd_emu10k1_synth,snd_emux_synth,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_emu10k1,snd_rawmidi
snd_ac97_codec 72188 1 snd_emu10k1
snd_pcm_oss 46368 0
snd_mixer_oss 16128 3 snd_pcm_oss
snd_pcm 78344 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_timer 21764 3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc 10120 2 snd_emu10k1,snd_pcm
snd_util_mem 4480 2 snd_emux_synth,snd_emu10k1
snd_hwdep 8608 2 snd_emux_synth,snd_emu10k1
snd 48644 13
snd_emux_synth,snd_seq_virmidi,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
soundcore 9184 3 snd
pci_hotplug 24628 0
via_agp 9472 1
dm_mod 50364 1
tsdev 7616 0
evdev 9088 0
nvidia 3711364 12
agpgart 32328 2 via_agp,nvidia
psmouse 26116 0
mousedev 10912 1
parport_pc 31812 1
lp 11460 0
parport 32072 2 parport_pc,lp
md 40656 0
ext3 115976 2
jbd 48536 1 ext3
thermal 13192 0
processor 23100 1 thermal
fan 4740 0
via_rhine 20356 0
mii 5248 1 via_rhine
ehci_hcd 29448 0
uhci_hcd 28048 0
usbcore 104188 3 ehci_hcd,uhci_hcd
ide_cd 36996 0
cdrom 33952 1 ide_cd
ide_disk 16128 4
ide_generic 1664 0
via82cxxx 12188 1
ide_core 125268 4 ide_cd,ide_disk,ide_generic,via82cxxx
unix 24624 214
vesafb 8088 0
capability 5000 0
commoncap 6784 1 capability
vga16fb 12232 1
vgastate 8320 1 vga16fb
softcursor 2432 2 vesafb,vga16fb
cfbimgblt 2944 2 vesafb,vga16fb
cfbfillrect 3840 2 vesafb,vga16fb
cfbcopyarea 4480 2 vesafb,vga16fb
fbcon 34176 72
tileblit 2560 1 fbcon
font 8448 1 fbcon
bitblit 5248 1 fbcon

This problem is making my Ubuntu unusable for each 10 hours. I can keep easly
this machine online and running for more than a week with WinXP and I can't do
that half a day with Ubuntu.

If you need any further data, please, contact me.

http://www.ubuntuforums.org/showthread.php?t=82494: http://www.ubuntuforums.org/showthread.php?t=82494

Revision history for this message
Dennis Kaarsemaker (dennis) wrote :

*** Bug 24685 has been marked as a duplicate of this bug. ***

Revision history for this message
Daniel Stone (daniels) wrote :

please attach a full /var/log/Xorg.0.log, and also have a look with xrestop to
see what's hammering your server. does it help if you close all apps
(particularly firefox)?

Revision history for this message
GrootBrak (bayman-j) wrote :
Download full text (54.8 KiB)

(In reply to comment #2)
> please attach a full /var/log/Xorg.0.log, and also have a look with xrestop to
> see what's hammering your server. does it help if you close all apps
> (particularly firefox)?

I have the same issue. Things used to work fine, but then suddenly this started
up. I removed and installed X completely with no difference. The only thing I
note is running the game Supertux, I play normally only when I unselect the
option of OpenGL. Glxgears start perfectly and after a while it slows down. top
shows that X-org suck 99,7% of cpu resources.

Here is a copy of my log. My cpu overheats by simply running glxgears only, with
nothing else. Please see if you can help us stragglers!!!

X Window System Version 6.8.2 (Ubuntu 6.8.2-77 20051010174523 <email address hidden>)
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.10 i686 [ELF]
Current Operating System: Linux HomePC 2.6.12-10-386 #1 Fri Nov 18 11:51:02 UTC
2005 i686
Build Date: 10 October 2005
 Before reporting problems, check http://wiki.X.Org
 to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.12-10-386 (buildd@terranova) (gcc version 3.4.5
20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8)) #1 Fri Nov 18 11:51:02 UTC 2005
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 2 15:53:32 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "SyncMaster"
(**) | |-->Device "Intel Corporation i915 Integrated Graphics Controller"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(WW) The directory "/usr/share/X11/fonts/cyrillic" does not exist.
 Entry deleted from font path.
(WW) The directory "/usr/share/X11/fonts/CID" does not exist.
 Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in
"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID".
 Entry deleted from font path.
 (Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID").
(**) FontPath set to
"/usr/share/X11/fonts/misc,/usr/share/X11/fonts/100dpi/:unscaled,/usr/share/X11/fonts/75dpi/:unscaled,/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/100dpi,/usr/share/X11/fonts/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
 X.Org ANSI C Emulation: 0.2
 X.Org Video Driver: 0.7
 X.Org XInput driver : 0.4
 X.Org Server Extension : 0.2
 X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="X.Org Foundation"
 compiled for 6.8.2, module version = 1.0.0
 Module class: X.Org Font Renderer
 ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/li...

Daniel Stone (daniels)
Changed in linux-restricted-modules-2.6.15:
assignee: daniels → nobody
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

No information given in nearly one and a half years. Closing.

Changed in linux-restricted-modules-2.6.15:
status: Needs Info → Rejected
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.