← Back to team overview

compiz team mailing list archive

[Bug 969860] Re: fglrx uses 100% CPU when screen turns off (spinning in glXWaitVideoSyncSGI or glXSwapBuffers)

 

OK, I've spent hours testing various options. The bug is much harder to reproduce in Ubuntu 12.10 because the default rendering method in Compiz 0.9.8 is the same as the workaround (1) listed at the top of the bug. To reproduce the bug I had to force the rendering method that Compiz 0.9.7 uses:
    CCSM > OpenGL >
        Framebuffer object = OFF
        Vertex buffer object = OFF
        Always use buffer swapping = OFF

Then I could reproduce the bug. And this time I noticed that
glXWaitVideoSyncSGI is not returning. The spin is happening below
glXWaitVideoSyncSGI, but above uki_firegl_WaitVBlank (which returns
constantly). And because glXWaitVideoSyncSGI is never returning it means
we have little hope of even working around the bug in compiz. It's
happening 100% inside the fglrx driver, out of reach of compiz.

Interestingly even with the native compiz 0.9.8 rendering method I could
reproduce a similar spin in the glxgears process (not compiz). So again,
the problem applies to any OpenGL application.

If neither of the workarounds listed at the top of the bug work for you,
then please consider uninstalling fglrx and using the default radeon
driver instead. And if you haven't already, then upgrading to Ubuntu
12.10 might help, but you don't really need to because that's equivalent
to the workaround at the top of the bug.

Finally, I have contacted AMD directly and asked them to review the bug
because even their copy has not been touched since it was logged 5
months ago: http://ati.cchtml.com/show_bug.cgi?id=535

** Changed in: compiz
       Status: Triaged => Invalid

** Changed in: compiz/0.9.8
       Status: Triaged => Invalid

** Changed in: compiz-core
       Status: Triaged => Invalid

** Changed in: fglrx-installer (Ubuntu)
   Importance: Undecided => Critical

** Changed in: fglrx-installer-updates (Ubuntu)
   Importance: Undecided => Critical

** Changed in: compiz (Ubuntu)
       Status: Triaged => Invalid

** Changed in: gnome-shell (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/969860

Title:
  fglrx uses 100% CPU when screen turns off (spinning in
  glXWaitVideoSyncSGI or glXSwapBuffers)

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/969860/+subscriptions


References