Bug 6594 - Excessive 'WaitForIdle' messages
Summary: Excessive 'WaitForIdle' messages
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 6.9.0
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-14 13:01 UTC by mikus
Modified: 2007-02-22 14:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
edited Xorg.0.log showing excessive 'WaitingForIdle' messages (131.02 KB, text/plain)
2006-04-14 13:21 UTC, mikus
no flags Details
xorg.conf (9.59 KB, text/plain)
2006-04-14 13:33 UTC, mikus
no flags Details

Description mikus 2006-04-14 13:01:26 UTC
Twice since a new install my system has become unresponsive -- because I have no
room left in my /var partition.  [What I installed was SuSE 10.0 (32 bit).  Also
installed xorg 6.9 from the supplementary SuSE gwdg.de repository.  (Once I
installed xorg 6.9, it could not find the driver module.  I switched video cards
- it still could not find modules.  So I added ModulePath lines to xorg.conf
pointing to where the driver was - that bypassed THAT problem.) ]

What is happening is that 'WaitForIdle' messages (hundreds of megabytes of them)
are being written to Xorg.0.log.  Two problems with this:

1) It is SERIOUS when the system is left with 0 bytes free in the /var
partition.  No matter WHAT the warning message, writes into /var ought to be
avoided when the partition becomes 90+% full.

2) My system will NEVER go into idle.  I have a background (compute-intensive)
task that takes 100% of the available CPU cycles 24/7.  A design which assumes
that "Idle" will ever be available is faulty.

This is somewhat like bug 473, except that my video card is an ATI 9600, and my
xorg.conf does not load the dri module.  The (edited) log I'm trying to enclose
was left over from a time when I manually terminated X - not from when my /var
was left with 0 bytes free.
.
Comment 1 mikus 2006-04-14 13:21:35 UTC
Created attachment 5307 [details]
edited Xorg.0.log showing excessive 'WaitingForIdle' messages
Comment 2 mikus 2006-04-14 13:33:56 UTC
Created attachment 5308 [details]
xorg.conf
Comment 3 Daniel Stone 2006-04-14 21:39:38 UTC
'waitforidle' has nothing to do with the cpu, but instead refers to waiting
until the gpu becomes idle (i.e. all pending requests have been completed).

as for /var, we can't do anything about that, aside from fixing the bug that
leads to the debug spew.
Comment 4 mikus 2006-04-15 02:31:49 UTC
<quote>'waitforidle' has nothing to do with the cpu, but instead refers to
waiting until the gpu becomes idle (i.e. all pending requests have been
completed).</quote>
Thanks.  Some more info: This is on a system with two AthlonMP CPUs.  And as far
as I can tell the GPU is not being called to display anything complex - just the
GNOME screen.  The background applications (in separate virtual screens) use
only text in GNOME terminals (one of them having a number counting down "in
place" at three second intervals).  On one of the problem occasions I might have
had gkrellm (CPUs + temperature) running, but not at any other time.
Comment 5 Michel Dänzer 2006-04-15 23:09:17 UTC
I think this debugging message was only temporarily enabled in the course of
testing Benjamin Herrenschmidt's memmap patches; AFAICT it's disabled in all
released versions and current CVS branches. I suggest switching to one of those.
Comment 6 Erik Andren 2006-04-27 22:43:10 UTC
Did Michels tip resolve your issue?
Comment 7 mikus 2006-04-28 06:51:01 UTC
(In reply to comment #6)
> Did Michels tip resolve your issue?

Sort of.

I don't have the energy to fetch/install 6.9 from CVS.  And a cursory search did
not turn up where I could get a replacement Radeon driver without the debug
output.  So I back-leveled my system to xorg 6.8.2 - that resolved *my* issue.

Unfortunately, I do not know (and therefore haven't contacted) whoever ported
xorg 6.9 to SuSE 10.0.  AFAIK the SuSE 10.0 repository on gwdg.de for xorg 6.9
__still__ contains the Radeon driver version that generated hundreds of
megabytes of log data when installed to my system.
Comment 8 Timo Jyrinki 2007-02-22 14:26:53 UTC
Marking broken (status null/blank) bugs in xorg with no activity in a long time as fixed. Please reopen if you think it's necessary, but first do a search if a similar bug report is already filed and in a NEW/ASSIGNED state. These bugs do not currently show in most search results as they do not have any status.

Sorry for this janitorial spam, you know where to send hate mails to when your inbox gets full of bugs you're subscribed to.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.