Bug 254216 - radeon driver wakes up 60 times a second.
radeon driver wakes up 60 times a second.
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-ati (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Dave Airlie
Fedora Extras Quality Assurance
Depends On:
Blocks: wakeup
  Show dependency treegraph
Reported: 2007-08-24 16:05 EDT by David Rees
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-10-04 21:49:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
xorg.conf (882 bytes, text/plain)
2007-08-29 19:56 EDT, David Rees
no flags Details
Xorg.0.log (88.62 KB, text/plain)
2007-08-29 19:57 EDT, David Rees
no flags Details

  None (edit)
Description David Rees 2007-08-24 16:05:27 EDT
Reporting as requested by

The radeon driver in xorg-x11-drv-ati-6.6.3-4.fc7 wakes up 60 times a second
when not doing anything. It looks like there is a patch floating around which helps:

Comment 1 Adam Jackson 2007-08-27 17:03:17 EDT
That patch will break any attempt to sync swaps to vblank.

The right fix is more like "only enable the vblank interrupt when a buffer swap
request comes in that wants it".
Comment 2 Dave Airlie 2007-08-28 03:41:52 EDT
I think this should be in rawhide and working already... can you re-test it please?
Comment 3 David Rees 2007-08-29 19:54:57 EDT
OK, installed xorg-x11-drv-ati-6.6.193-2.fc8 from the development repo, but when
X is running the ATI Radeon card still generates 60+ wakeups a second. I will
attach the xorg.conf and Xorg.log as well if that helps.
Comment 4 David Rees 2007-08-29 19:56:20 EDT
Created attachment 180081 [details]
Comment 5 David Rees 2007-08-29 19:57:47 EDT
Created attachment 180101 [details]

Generated using:
Comment 6 Dave Airlie 2007-08-29 20:43:02 EDT
you need a new kernel I just realised as well, this stuff is only gone upstream
for 2.6.23, radeon drm 1.27 isn't new enough to support this..
Comment 7 David Rees 2007-08-29 21:32:20 EDT
OK, I upgraded to kernel-2.6.23-0.74.rc2.git1.fc8 and now the system generates
about 45 wakeups/second sitting at the GDM login screen instead of well over
100. Looks a lot better!

Wakeups-from-idle per second : 46.0
Top causes for wakeups:
  41.4% ( 18.3)   at-spi-registry : schedule_timeout (process_timeout)
  30.1% ( 13.3)              Xorg : do_setitimer (it_real_fn)
   6.0% (  2.7)     <kernel core> : clocksource_register (clocksource_watchdog)
   3.0% (  1.3)                ip : tg3_open (tg3_timer)
   3.0% (  1.3)              ntpd : schedule_timeout (process_timeout)
   3.0% (  1.3)     <kernel core> : queue_delayed_work_on (delayed_work_timer_fn)

The next one on the list is known bug #227476.

Note You need to log in before you can comment on or make changes to this bug.