OpenGL applications flicker when using ati cards (GNOME only)

Bug #224893 reported by Luke has no name
8
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Update: I posted in bug #153204 for Compiz (Ubuntu). Confirmed that Compiz deactivated fixes the problem. That doesn't mean the problem isn't there...

Using:

Intel C2D 2180
ATI HD 3870
2GB Corsair RAM
WD 320GB

Ubuntu 8.04 64-bit (Alternate Install CD) (Installed to disk AND using Wubi)
Closed source ATI drivers

Description:

When playing a game full screen (I've tried Nexuiz and Unreal Tournament 2004) in GNOME, the screen "flickers", rather, part of the screen goes black for an instant every second or two. This does not happen in Openbox or XFCE (as installed from default Ubuntu, have not tested with Xubuntu). This leads me to believe that it is a problem between fullscreen games (the ATI driver?) and some package used only in GNOME.

markbuntu in http://ubuntuforums.org/showpost.php?p=4990372&postcount=27 mentioned that
"The problem lies in the compiz call to GL_pixmaps... that is not recognized and so compiz defaults to indirect rendering which uses a lot of cpu resources and causes a vastly reduced frame rate. This in turn causes ANY process that needs a rapid frame rate to flicker if compiz is running.

Revision history for this message
trollord (trollenlord) wrote :

True. It's actually the popups. You know, the notification balloons? It's those.

Revision history for this message
Luke has no name (lukehasnoname) wrote :

I just verified that it happens in UT2004 in windowed mode, and there were no popups. Attached is a demo file from Nexuiz. I don't know how to view them, but if someone else does, you can see what is happening. The same thing occurs both in Windowed and fullscreen UT2k4.

Revision history for this message
Patrick Kilgore (patrick-kilgore) wrote :

Try setting desktop effects to none, this fixes the problem for me. Compiz doesn't play well with apps that use fullscreen 3D with ATI driver.

Revision history for this message
Luke has no name (lukehasnoname) wrote :

Patrick,

This fixed the issue (so to speak). I will file a bug with Compiz, if it has not been done already.

description: updated
Revision history for this message
Patrick Kilgore (patrick-kilgore) wrote :

Can you do me a favor and either comment with the location of the upstream bug report or add it yourself with the "Also affects: +Project" link above? Thank you.

Revision history for this message
Luke has no name (lukehasnoname) wrote :

It turns out it's the common glitch with Compiz and fullscreen apps. This occurs in some form with both nv and ati cards.

Revision history for this message
Dara Adib (daradib) wrote :

Perhaps related to Bug #216322?

Revision history for this message
Rui Boon (ruiboon) wrote :

This seems to be related to #153204.

Could you check if the following workaround works for you?

Type the following line in a Terminal
sudo apt-get install compizconfig-settings-manager

Start Advance Desktop Effects Settings (System->Preferences->Advance Desktop Effects Settings).
Click on "General Options" under "General", uncheck "Unredirect Fullscreen Windows" (should be 3rd from the bottom).
Click on Back and Close.

Does the flicking still happens?

Changed in compiz:
status: New → Incomplete
Revision history for this message
spontex (spontex) wrote :

Hello,
Thanks, but this did not solve the problem for me. OpenGL apps like Google Earth (windowed & fullscreen) or even glxgears still flicker.
This bug is also described here : http://ubuntuforums.org/showthread.php?t=769020

Revision history for this message
noddeat (noddeat) wrote :

Dear Rui Boon,
Thanks a lot!

For me it solved the problem with fullscreen mode of evince reported here:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/203805
(that is a dublicate of this bug)

The flicker doesn't appear any more!

Revision history for this message
Rui Boon (ruiboon) wrote :

There seems to be 2 different issues here.
bug 224893 (this bug) seems to be referring to fullscreen OpenGL application flickering with ATI cards
bug 153204 seems to be referring to fullscreen application flickering (not necessary OpenGL apps nor ATI cards.) Workaround for this bug has been described in 3 posts above.

markbuntu in http://ubuntuforums.org/showpost.php?p=4990372&postcount=27 mentioned that

"The problem is between compiz and the ATI driver. It has to do with a compiz call to GL_pixmaps... that is not recognized and so compiz defaults to indirect rendering which uses a lot of cpu resources and causes a vastly reduced frame rate. This in turn causes ANY process that needs a rapid frame rate to flicker if compiz is running. One solution is to switch to metacity when using Google Earth or any other ap that flickers in compiz."

I am marking this as confirmed as I believe that there is enough information both here and in the forum lined above.

Changed in compiz:
status: Incomplete → Confirmed
description: updated
Revision history for this message
spontex (spontex) wrote : Re: Fullscreen OpenGL games flicker in Ubuntu (GNOME only)

Hello,
On my computer, this bug (ATI+OpenGL applications) doesn't only appear in fullscreen. Google Earth in windowed mode or glxgears also cause the display to flicker.

Revision history for this message
Rui Boon (ruiboon) wrote :

Sorry that i did'nt notice that it happen with windowed application as well. Updating summary to reflect that.

Revision history for this message
Michael Nagel (nailor) wrote :

are you using the fglrx driver? ( Bug 219009 )

Revision history for this message
Stefano Maioli (smaioli) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 179042, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.