OpenSolaris

Printable Version Enter a New Search
Bug ID 6805297
Synopsis Xorg consuming too much CPU when GNOME calls SYNC extension
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:xorg-server
Keywords 2009.06-reviewed | testcase
Responsible Engineer Alan Coopersmith
Reported Against snv_108
Duplicate Of
Introduced In
Commit to Fix snv_111
Fixed In snv_111
Release Fixed solaris_nevada(snv_111)
Related Bugs
Submit Date 13-February-2009
Last Update Date 20-March-2009
Description
gnome2.26 vermillion b109 (this is development desktop branch) installed on snv_108 x86 with nVidia Corporation Quadro FX 3700
Login as a new user.
Xorg consumes 25% CPU on a 4 CPU system. Attached /var/logs/Xorg.0.log.


Log into failsafe session
From terminal run 'metacity &', 'gnome-panel &', 'nautilus &' - 
Xorg CPU consumption is low.

From terminal run 'dbus-launch gnome-session &' - Xorg CPU consumption increases to 25%

# pstack 2440
2440:	/usr/X11/bin/Xorg :0 -depth 24 -nolisten tcp -nobanner -auth /var/dt/A
 fffffd7fff2c3cca setitimer () + a
 00000000004a481d WaitForSomething () + fd
 000000000047e434 Dispatch () + 84
 00000000004931f5 main () + 475
 000000000046decc _start () + 6c
I can reproduce the bug on Nevada 108 with vermillion 109 too.
Just tried. This bug can not be reproduced on nevada 108 without vermillion.
Seems to be a duplicate of a bug reported & fixed upstream in Xorg git master/1.6:
http://cgit.freedesktop.org/xorg/xserver/commit/?id=ca56d764d2be28c64fe15c9e37d534ef00117ad2
https://bugzilla.redhat.com/show_bug.cgi?id=474586

Before applying that patch, the gnome-screensaver test case listed in the
RedHat bugzilla report causes Xorg to eat CPU -- after applying it, Xorg
CPU stays at expected low levels when idle when running that test case or
the dbus-launch gnome-session test case.
Work Around
Add to /etc/X11/xorg.conf:

Section "Extensions"
        Option "SYNC" "off"
EndSection
With the workaround, compiz will no longer work.
Comments
In X NV B111 test cycle:
Test case returns right result so the bug is verified.
[Using SNV110 + X NV B111 installed]
--Hao Wei