Screen refresh problems with nvidia cards

Bug #269904 reported by David Prieto
860
This bug affects 191 people
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
High
Christopher Townsend
0.9.11
Fix Released
High
Christopher Townsend
Compiz Core
New
Undecided
Unassigned
0.9.8
New
Undecided
Unassigned
compiz (Ubuntu)
Fix Released
Medium
Unassigned
Declined for Hardy by Timo Aaltonen
Declined for Jaunty by Timo Aaltonen
Intrepid
Fix Released
Medium
Unassigned
Precise
Won't Fix
Undecided
Unassigned
Trusty
Fix Released
Medium
Unassigned
compiz-fusion-plugins-main (Debian)
Fix Released
Unknown
compiz-fusion-plugins-main (Ubuntu)
Fix Released
Undecided
Unassigned
Declined for Hardy by Timo Aaltonen
Declined for Jaunty by Timo Aaltonen
compiz-plugins-main (Ubuntu)
Fix Released
Undecided
Unassigned
Declined for Hardy by Timo Aaltonen
Declined for Jaunty by Timo Aaltonen
Intrepid
Won't Fix
Undecided
Unassigned
Precise
Won't Fix
Undecided
Unassigned
Trusty
Invalid
Undecided
Unassigned

Bug Description

[Impact]

Users of Nvidia gfx using the proprietary driver may see screen corruption during certain operations.

[Test Case]

* Install an Nvidia graphics adapter and the proprietary driver.
* Observe the graphics corrupt.
* Install the version of Compiz with this fix.
* Observe corruption is gone.

[Regression Potential]

The patch for this was provided by Nvidia. There could be some corner cases users hit that may cause other issues. That said, enough testing has been done to confidently say that the gains provided by this fix far outweigh any corner cases.

-----------------------

Original Description:

== Proposed compiz-fusion-plugins-main patch ==
See comment 234 by Anders Kaseorg and attached compiz-fusion-plugins-main_0.8.2-0ubuntu2.debdiff.

== Original report ==
Binary package hint: compiz

I'm using latest compiz on intrepid.

Since jockey-gtk does not work on my box (I already filed a bug), I manually installed nvidia-glx-177 and added the "driver → nvidia" line to xorg.conf.

Now I seem to be having some screen refresh problems when using compiz: parts of the screen are refreshed, but others aren't. That means nautilus doesn't show files or folders until I move the cursor over them, firefox doesn't show webpages properly until I scroll down, and so on.

Please, tell me if there is any additional info I can provide to find out the cause.

Related branches

Revision history for this message
none (ubuntu-bugs-nullinfinity-deactivatedaccount) wrote :

I also have this problem, running Intrepid with latest updates. For me, the problem is worst in Firefox. Under Metacity, everything looks fine.

Revision history for this message
none (ubuntu-bugs-nullinfinity-deactivatedaccount) wrote :
Revision history for this message
none (ubuntu-bugs-nullinfinity-deactivatedaccount) wrote :
Revision history for this message
Saivann Carignan (oxmosys) wrote :

I also confirm this problem. Setting status to confirmed and importance to medium.

Changed in compiz:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Chris Halse Rogers (raof) wrote : Re: Screen refresh problems with nvidia on intrepid

Is everyone here using the nvidia-glx-177 drivers? Does this problem occur when using the nvidia-glx-173 drivers?

It sounds like a problem with Compiz's damage system, but it'd be worth ruling out the drivers. I don't see this problem myself.

Revision history for this message
David Prieto (frandavid100-gmail) wrote :

Reverting to 173 seems to have solved the problem here. I could only test it for a few minutes so I'll update if it shows up again, but it seems like it's gone so far.

Revision history for this message
none (ubuntu-bugs-nullinfinity-deactivatedaccount) wrote :

For me, reverting to -173 does not help.

Revision history for this message
Martin Arver (martin-arver) wrote :

Reverting to 173 solved the problem for me.

Revision history for this message
lefthand (lefthand) wrote :

I'm having the same problem with an Intel GM965. I am using the Vesa driver, so that may be the problem. It seems like it's happening less in the last few days, not sure what has changed though.

Revision history for this message
none (ubuntu-bugs-nullinfinity-deactivatedaccount) wrote :

I take back my earlier comment. -173 fixes the problem for me too.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Yes, I also confirm, this bug only happens with nvidia-graphics-drivers-177

Changed in nvidia-graphics-drivers-177:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

I'm currently using 177, but when i used 173, I remeber having the same problem.

Revision history for this message
Alexander Jones (alex-weej) wrote :

Of note, Metacity's compositor does not have any problems.

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

Yes Alex, previous comments already noted that Metacity is fine...

Revision history for this message
Alexander Jones (alex-weej) wrote :

It's important to know that Metacity's *COMPOSITOR* (enable it in gconf) does not have any problems. That's the difference.

Revision history for this message
David Prieto (frandavid100-gmail) wrote :
Revision history for this message
Martin Arver (martin-arver) wrote :

I ran the nvidia-bug-report tool, to see if there were something strange with my installation.
That tool scanned /var/log/messages for NVRM messages.
Several API-mismatch messeges were reported, wonder why 173.14.12 is still present in my system.

Sep 15 19:43:22 martin-laptop kernel: [ 280.996545] NVRM: API mismatch: the client has the version 173.14.12, but
Sep 15 19:43:22 martin-laptop kernel: [ 280.996546] NVRM: this kernel module has the version 177.70. Please
Sep 15 19:43:22 martin-laptop kernel: [ 280.996547] NVRM: make sure that this kernel module and all NVIDIA driver
Sep 15 19:43:22 martin-laptop kernel: [ 280.996548] NVRM: components have the same version.
Sep 15 19:45:05 martin-laptop kernel: [ 15.172429] NVRM: loading NVIDIA UNIX x86 Kernel Module 173.14.12 Thu Jul 17 18:11:36 PDT 2008

I'll attach the output from var/log/messages

Revision history for this message
Rocko (rockorequin) wrote :

I can reproduce this frequently just by switching between images in GQView that have different widths: the sides of the wider image are often left behind next to the narrower image (see attached screenshot. The nvidia driver put the black bars in on the side).

This doesn't happen with the nvidia 173.14.12 driver, only with the 177.70 driver. I'm running 2.6.27-3 amd64 and GQView 2.0.4-3.

Revision history for this message
Martin Arver (martin-arver) wrote :

It looks like the 177.76 update fixed the issue for me. I haven't been able to recreate the rendering problems after I updated.

Revision history for this message
Rocko (rockorequin) wrote :

I still get the corruption problems in GQView with the 177.76 driver.

Also, if I make a blank document in GIMP, make the mouse the paintbrush and move the mouse around, bits of the mouse cursor still get left randomly on the screen image with this driver.

Neither problem happens in the 173.14.12 driver.

Revision history for this message
Oli (oli) wrote :

I still get the problem with 177.76, albeit less frequently.

Revision history for this message
Martin Arver (martin-arver) wrote :

I can confirm that the gimp-problem that Rocko describes is still there for me, using 177.76.

Revision history for this message
henriq (henriq) wrote :

I had this problem on kernel 2.6.27.3 but after the update to 2.6.27.4 it seems to have gone away. I'm using the 177 nvidia drivers on a nvidia mobile 8400gs

Revision history for this message
Oli (oli) wrote :

I'm still getting the problem, though I think it's happening less often than before.

Most GTK+ things are redrawing fine now with the exception of Firefox and webkit loading images (sometimes the image loads as black until I either scroll it off the page and back on again, or force a whole-screen refresh using Compiz' desktop cube effect)

I'm still getting a lot of issues with Qt apps - the most notable being Amarok. It's easily reproducable here by selecting a menu and skimming over all the entries. Some are left selected when they shouldn't be.

Revision history for this message
Oli (oli) wrote :

That's with a 8800GTS, 177.76 and 2.6.27-4-generic (2.6.27.4.4)

Revision history for this message
jking2100 (laptop-jck-family) wrote :

I am using the latest updates as of 12:51pm Oct-04-2008. Nvidia 177.78 Driver, Nvidia Quadro 135m and Kernel 2.6.27-4 32bit. I receive the problem with 177.70, 177.76 and 177.78. Sits at Searching for Driver and will not proceed. Once i choose cancel compiz effects are present. But screen refresh problems exist in many tabbed applications such as Firefox or Avant Window Manager Preferences.

JKing

Revision history for this message
Andrew Tamoney (tamoneya) wrote :

I can confirm this problem with 177.80.
Nvidia Quadro 140m, 2.6.27-6 64 bit.
The system is fully updated at the moment.
I notice it primarily with firefox since I am not using awn or gimp at the moment.

Revision history for this message
Nick B. (futurepilot) wrote :

Confirming this still happens with 177.80. In fact it seems to have gotten worse.

Revision history for this message
Nick A (nickalleyne) wrote :

I agree with Nick B. above me, it is a LOT worse, actually un-useable to some extent so I will be going to 173 until I hear something is fixed with this.

Dell D630

As I posted in ubuntu forums:
I have been using intrepid since sunday and had no problems, but with the new version, every time I go to a screen in firefox that has any pictures, if I Page down, it looks as if nothing has changed, but then if I click the down button from there the screen will appear (or if I roll over any links that change colour with the mouse, they will appear).

Revision history for this message
Rocko (rockorequin) wrote :

For me this bug is present in 177.80 in exactly the same way as with the previous 177.76 drivers. (Dell XPS 1530 laptop, NVidia mobile 8600 card.)

The easiest way is to confirm it is to run GIMP, create a blank drawing, select the drawing tool so you get a circular cursor, and move the cursor around a blank drawing. Bits of the cursor remain behind on the blank drawing.

GCView also has the same problem as I reported before - it sometimes only redraws the new image, leaving parts of the old behind.

Occasionally I get other problems like Firefox not refreshing properly but they are relatively rare.

Revision history for this message
Andrew Tamoney (tamoneya) wrote :

It seems to have gotten worse on my hardware. I didnt even notice it until i switched to 177.80.

Revision history for this message
hrushikesh (hrushikesh) wrote :

Confirm it on a Dell XPS M1330 with the Nvidia 177 drivers.

If I enable 'scale' plugin in compiz, and then 'scale' by moving the mouse pointer to the edge of the screen, the firefox (and possibly other) windows refresh.

Revision history for this message
Aaron Plattner (aplattner) wrote :

This sounds a lot like this problem, which is unfortunately a fundamental problem in the way the Damage extension is currently designed: http://lists.freedesktop.org/archives/xorg/2008-August/038022.html

The quick summary is that the X server sends damage events to compiz before sending the rendering commands to the hardware, and compiz can respond to those events before the damage has actually occurred. Some solutions have been proposed, but nothing has been implemented yet.

Revision history for this message
morryis (morryis) wrote :

I see different refreshing problems with intrepid:
- Everytime a new window or menu opens, for a short time I see artifacts of the background image or an old window.
- When viewing pictures with gthumb or gqview in fullscreen mode, the old image ist left behind when drawing a new one (even appears sometimes later when opening a new window, see above).
- In Ooo and Evolution while writing text or a new email, when I manually move the cursor with the arrow keys it leaves black bars on every position. The screen is refreshed correctly when i point and click somewhere else with the mousepointer. Especially this is really annoying!

I noticed one interesting thing: when I start compiz manually on startup, using FusionIcon, these problems do not occur. When compiz is started by ubuntu i.e. the visual effects settings, i get refresh problems. After disabling them by visual effect settings and reactivating them again, I still experience artifacts. But when i use FusionIcon, all refreshing problems are gone. I could not figure out, what the difference between starting compiz via FusionIcon or by visual effects settings is.

Revision history for this message
Supersaiyan_IV (saiyan-iv) wrote :

I confirm this on Dell XPS M1330 with nvidia 177.80. Running Intrepid with latest updates.

Revision history for this message
enubuntu (enubuntu) wrote :

I confirm this on Asus Z53S with nvidia 177.80 driver installed with envy. I try the driver proposed by ubuntu, same result. 173 driver too....
I use Intrepid with all update.
please help :(

Revision history for this message
Ciso (cisoprogressivo) wrote :

Same problem with Dell XPS M1330 in intrepid.
I have problem with Firefox and emesene.

Revision history for this message
James Lambert (jms-lambert) wrote :

This seems to have gotten a lot worse with the latest set of nvidia updates, Firefox now doesn't update properly whenever I open a tab, this used to only happen occasionally.

Revision history for this message
®om (rom1v) wrote :

Same problem for me : https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/281065
Ubuntu Intrepid 64 bits beta + nvidia 177

Revision history for this message
Joakim Andersson (jocke) wrote :

With an Nvidia mobile 8400GS (on a Dell XPS M1330 running Intrepid 64-bit), it happens for me with both the 177 and 173 drivers.

I have almost a 100% reproducibility rate in CompizConfig Settings Manager (clicking a plugin to show its settings), but the worst thing is Firefox, since I use it more often...

Revision history for this message
®om (rom1v) wrote :

As I said in bug 281065, disabling --loose-bindings in compiz avoids the problem. But this is not a solution, it slows down the perfs...

Revision history for this message
Tim Fuchs (tim-fuchs) wrote :

I am also experiencing this problem.
Dell XPS M1330, geforce 8400gs

Especially using firefox on ubuntu is extremely annoying, but _all_ applications are affected.
I think the importance of this bug is higher than Medium.

Revision history for this message
Joakim Andersson (jocke) wrote :

I can confirm that running without --loose-bindings fixes the problem. (A web site I'm working on with lots of mouse-over/hover actions seems to have 100% reproducibility of this problem.)

I disabled --loose-bindings by commenting out lines 340-344 in /usr/bin/compiz (which really is a shell script). This is not recommended unless you know what you are doing...

Unlike ®om, I don't notice any significant slowdown, though. Then again, I run compiz with a quite small number of plugins and animations, I mostly just use it to get the GPU to do stuff it does better than the CPU (like moving windows), and as a bonus, I get more eye candy in the window decorations (using emerald). ;)

Revision history for this message
Joakim Andersson (jocke) wrote :

A more simpler fix in /usr/bin/compiz is to change line 80 from
  INDIRECT="no"
to
  INDIRECT="yes"
(This change also disables --loose-bindings but at the same time enables --indirect-rendering)

For me, this seems to give the same performance as the change in my last comment.

Revision history for this message
®om (rom1v) wrote :

For the moment, I use your first solution (commenting lines 340-344), because --indirect-rendering causes compiz to not use nvidia-settings config (anisotropic filter) even if you launch 'nvidia-settings -l' before.

Revision history for this message
Rocko (rockorequin) wrote :

Both changes work fine for me. I don't notice any drop in performance in normal use, though. The only measure I can find that shows a slight drop is glxgears, where the drop is maybe 5% (compared to an increase of 40% if I don't run compiz at all).

Revision history for this message
morryis (morryis) wrote :

Changing Line 80 to INDIRECT="yes" helps for me, too.

Revision history for this message
®om (rom1v) wrote :

INDIRECT="yes" is equivalent to remove --loose-bindings and to add --indirect-rendering

removing --loose-bindings avoids the problem
adding --indirect-rendering seems useless, and add another problem

To see the problem, launch nvidia-settings, enable anisotropic filter, then compiz --replace, and see the quality when looking at a cube face from 70° (no filter at all is applyed).
Do the same test without --indirect-rendering : it's far better :)

Revision history for this message
®om (rom1v) wrote :

I would like to add it worked fine since 2~3 days ago, a daily update (intrepid beta) broke something.

Revision history for this message
Andrew Tamoney (tamoneya) wrote :

That would most likely be when you updated to the Nvidia 177.80 driver.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

I confirm what ®om said, it was temporary working properly before recent updates.

Revision history for this message
®om (rom1v) wrote :

OK, if it's not resolved, I hope nvidia drivers will be downgraded for final release?

Revision history for this message
Corsaire (stranche) wrote :

Does everyone use Compiz here ?

I have the refresh problem on firefox while I'm NOT using compiz.
I use only the NVidia binary driver.

You should try to see if it changes something when desactivating the desktop effects.

If the problem remains then it would mean something is very wrong in the latests drivers.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Corsaire : desktop effects are compiz, so desktop effects enabled = compiz enabled

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Sorry you can ignore my last comment.

Revision history for this message
Nick B. (futurepilot) wrote :

I have seen it happen without Compiz enabled. But it very rarely happens compared to with Compiz enabled. It seems Compiz amplifies the bug much more.

Changed in compiz:
milestone: none → ubuntu-8.10
Changed in nvidia-graphics-drivers-177:
milestone: none → ubuntu-8.10
Revision history for this message
Alberto Milone (albertomilone) wrote :

®om: I don't think that downgrading a stable driver to a beta release would be such a good idea.

Revision history for this message
®om (rom1v) wrote :

Maybe downgrading to 173?

I don't think it's a good idea to release a "stable" version of Ubuntu with such a bug... which has an importance more than medium... the system is unusable out-of-the-box (once desktop effects enabled).

Removing --loose-bindings avoids in majority the problem, but this morning, even without --loose-bindings I had the problem once.

Revision history for this message
Joakim Andersson (jocke) wrote :

Downgrading to 173 isn't a solution either. I get no noticeable differences at all between 173 and 177 on my 8400GS.

Revision history for this message
Alberto Milone (albertomilone) wrote :

®om: Ubuntu doesn't ship with the NVIDIA driver preinstalled therefore it's not true that the system is unusable out-of-the-box. Furthermore you can choose between 173 and 177 and the problem doesn't affect all NVIDIA cards. According to this report Geforce 8xxx are affected. Maybe we could simply blacklist the identifiers of the cards which have this problem.

Can all the users who can experience this problem post the following details?
1) your Graphics card model
2) the output of this command:
lspci -n | grep 300

Revision history for this message
®om (rom1v) wrote :

$ lspci -n | grep 300
01:00.0 0300: 10de:0425 (rev a1)

I use Ubuntu 64 bits, but I think the problem occurs even in 32 bits, could you confirm?

Revision history for this message
James Lambert (jms-lambert) wrote :

$ lspci -n | grep 300
01:00.0 0300: 10de:040c (rev a1)

Running a Quadro 570m

Revision history for this message
Corsaire (stranche) wrote :

I had the problem as seen in the bug #269904 using a GeForce 8800GT, and I still have it now that I have a GTX260.

$ lspci -n | grep 300
01:00.0 0300: 10de:05e2 (rev a1)

I use Ubuntu 8.04 64bit with vanilla NVIDIA 177.13 drivers (not some .deb pre-made packages), but at the time I filled the bug #269904 it was much more like a 173.* release so the problem is fairly old.

@ Saïvann Carignan : Yes I'm perfectly aware of this. This is not the issue here.

Revision history for this message
Max Bowsher (maxb) wrote :

$ lspci -n | grep 300
01:00.0 0300: 10de:0160 (rev a1)
$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GeForce 6500 (rev a1)

Problems for me are mainly compiz-ised window title bars becoming obviously visually corrupt. Problems occur with both 177 and 173 drivers (did not test earlier ones).

Revision history for this message
Ciso (cisoprogressivo) wrote :

$ lspci -n | grep 300
02:00.0 0300: 10de:0402 (rev a1)

$ lspci | grep VGA
02:00.0 VGA compatible controller: nVidia Corporation GeForce 8600 GT (rev a1)

Revision history for this message
Daniel Holm (danielholm) wrote :

$ lspci -n | grep 300
01:00.0 0300: 10de:0407 (rev a1)

$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GT (rev a1)

Revision history for this message
Stijn Van Nieuwenhuyse (svnieuw-deactivatedaccount) wrote : Re: [Bug 269904] Re: Screen refresh problems with nvidia on intrepid

$ lspci -n | grep 300
01:00.0 0300: 10de:0429 (rev a1)
$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 140M (rev
a1)

Revision history for this message
Joakim Andersson (jocke) wrote : Re: Screen refresh problems with nvidia on intrepid

$ lspci -n | grep 300
01:00.0 0300: 10de:0427 (rev a1)
$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)

Revision history for this message
Nick B. (futurepilot) wrote :

I've been playing around with the settings and I noticed that if you *do not* set this:

nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1

it greatly reduces the problem. It doesn't eliminate the problem but at least things are usable.
Has everyone else having this problem been using that setting?

This problem seems to be acknowledged by Nvidia
"Please note: it has been reported that using a compositing manager in conjunction with this option will cause newly-created windows to briefly display random contents instead of black before being first drawn. We are aware of this non-critical issue and planning to fix it in a future NVIDIA Linux graphics driver release."
It doesn't mention "refresh" problems specifically but it seems to be in the same category as this.

lspci -n | grep 300
01:00.0 0300: 10de:0427 (rev a1)
lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)

Revision history for this message
Gilles Teisseire (gilles-teisseire1) wrote :

$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GeForce 9600M GS (rev a1)
$ lspci -n | grep 300
01:00.0 0300: 10de:0648 (rev a1)

Revision history for this message
luinfana (tony-mondelli) wrote :

$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GS (rev a1)

$ lspci | grep 300
01:00.0 0300: 10de:0425 (rev a1)

Revision history for this message
®om (rom1v) wrote :

I switched to from nvidia 177 to nvidia 173, no problem now :)

At least a viable solution for me :)

Revision history for this message
Philip Muškovac (yofel) wrote :

$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 140M (rev a1)
$ lspci -n | grep 300
01:00.0 0300: 10de:0429 (rev a1)

177 was completely unusable
173 is much better, but i sometimes still get the problem

Revision history for this message
Joakim Andersson (jocke) wrote :

I decided to try -173 once again and, strange enough, it seems to work all of a sudden... (Yes, I did reboot after my previous failures.)

Although, this time, I did an 'apt-get remove --purge compiz-core compiz-wrapper' and also noticed that the USE_EMERALD variable had moved (?) to /usr/bin/compiz-decorator. Until now, I had started emerald by setting '/usr/bin/emerald --replace' as window decorator in ccsm (which means that gtk-window-decorator starts first, then, before you'll have had time to start any windows, emerald immediately takes over...

Will keep my eyes open for weirdness.

Revision history for this message
Aaron Plattner (aplattner) wrote :

I modified compiz to use XDamageReportNonEmpty instead of XDamageReportRawRectangles. It's nowhere near a complete fix for the problem I mentioned earlier, but for my laptop at least, it's enough to work around the problem.

I figured out how to put together a PPA build: https://launchpad.net/~aplattner/+archive

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

Olá Alberto e a todos.

On Sunday 12 October 2008 10:26:37 Alberto Milone wrote:
> Can all the users who can experience this problem post the following details?
> 1) your Graphics card model

NVIDIA FeForce 8400m G

> 2) the output of this command:
> lspci -n | grep 300
01:00.0 0300: 10de:0428 (rev a1)

--
BUGabundo :o)
(``-_-´´) http://LinuxNoDEI.BUGabundo.net
Linux user #443786 GPG key 1024D/A1784EBB
My new micro-blog @ http://BUGabundo.net

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

Olá Aaron e a todos.

On Monday 13 October 2008 06:46:53 Aaron Plattner wrote:
> I figured out how to put together a PPA build:
> https://launchpad.net/~aplattner/+archive

I have Version: 1:0.7.8-0ubuntu2 and your is compiz - 1:0.7.4-0ubuntu8~ppa1 so it wont auto-install.
Can you bump it?

--
BUGabundo :o)
(``-_-´´) http://LinuxNoDEI.BUGabundo.net
Linux user #443786 GPG key 1024D/A1784EBB
My new micro-blog @ http://BUGabundo.net

Revision history for this message
wisecapt (wisecapt-deactivatedaccount) wrote : Re: [Bug 269904] Re: Screen refresh problems with nvidia on intrepid

I've noticed, that selection "Reload Window Manager" option in Compiz
Fusion Icon fixes problem for me.

Revision history for this message
®om (rom1v) wrote : Re: Screen refresh problems with nvidia on intrepid

Effectively, this problem happens with nvidia 173 too, but quite rarely (while with 177 it's very very often).

Revision history for this message
Tommaso R. Donnarumma (tawmas) wrote :

I used to have this problem too, but, strictly speaking, I can no longer confirm it because I had to switch Compiz off after the latest updates because it no longer draws window decorations.

Anyway, here is the requested information for my card:

tawmas@tylke:~$ lspci -n | grep 300
01:00.0 0300: 10de:0421 (rev a1)

tawmas@tylke:~$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8500 GT (rev a1)

Revision history for this message
Dan The Man (onemanbanddan) wrote :

I came here from a bug duplicate, because I had only noticed the problem in firefox. I dont seem to have the same issues in gedit, (those are about the only tools I use!) and it certainly doesn't affect my winXP running on virtualboxOSE.
This has only started since yesterday, (iv'e been doing regular updates) and it's really annoying, because firebug is next to useless now.

8.10 intrepid
2.6.27-7
nvidia 177 driver

:~$ lspci -n | grep 300
01:00.0 0300: 10de:0427 (rev a1)
:~$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)

Revision history for this message
Dan The Man (onemanbanddan) wrote :

Just read through the comments here in a bit more detail, and I reckon I have actualy had this problem for a while. Bits of cursors hanging around, etc. But it has got ALOT worse with the latest upgrades. Firefox is getting really annoying.

Revision history for this message
Aaron Plattner (aplattner) wrote :

BUGabundo wrote:
> I have Version: 1:0.7.8-0ubuntu2 and your is compiz - 1:0.7.4-0ubuntu8~ppa1
> so it wont auto-install. Can you bump it?

Yeah. Intrepid builds uploaded.

Revision history for this message
Montana Harkin (montanaharkin) wrote :

$ lspci -n |grep 300
01:00.0 0300: 10de:0427 (rev a1)
$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)

Revision history for this message
enubuntu (enubuntu) wrote :

a little note:
i have this problem with compiz
and under metacity
i think it's a problem of driver, if i haven't it it's all ok..

Revision history for this message
Jamie Lawler (jamie-lawler) wrote :

$ lspci -n |grep 300
01:00.0 0300: 10de:0425 (rev a1)

$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GS (rev a1)

I have this problem as well: Firefox can get pretty irritating.
I think it deserves an importance of more than "Medium".

Revision history for this message
kiomava (kioma-kioma) wrote :

$ lspci -n |grep 300
01:00.0 0300: 10de:042b (rev a1)
$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 135M (rev a1)

I had this problem, most easily reproducible switching between firefox tabs.

After trying the fix at:

https://launchpad.net/~aplattner/+archive

things seem to be working well now. As BUGabundo pointed out it would help to up the package version there, since trying this fix otherwise requires removing/reinstalling the older compiz packages, and adding a pin-priority entry in /etc/apt/preferences to do it the sources.list way.

Revision history for this message
Aaron Plattner (aplattner) wrote : Re: [Bug 269904] Re: Screen refresh problems with nvidia on intrepid

kiomava wrote:
> things seem to be working well now. As BUGabundo pointed out it would
> help to up the package version there, since trying this fix otherwise
> requires removing/reinstalling the older compiz packages, and adding a
> pin-priority entry in /etc/apt/preferences to do it the sources.list
> way.

It was right as of yesterday. It looks like 1:0.7.8-0ubuntu3 was released
earlier today. I'll build an updated version soon.

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

Revision history for this message
Aaron Plattner (aplattner) wrote : Re: Screen refresh problems with nvidia on intrepid

Aaron Plattner wrote:
> [legalese boilerplate inserted automatically by mail server]

D'oh. Please disregard that.

Revision history for this message
Gareth Hart (tghe-retford) wrote :

$ lspci -n |grep 300
01:00.0 0300: 10de:0611 (rev a2)
$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8800 GT (rev a2)

I've noticed this happening more with QT3/4 (KDE) applications, but on occasions I have a problem with Firefox not refreshing web pages or refreshing text boxes (particularly annoying when you are editing a Wikipedia article and you don't know where you are).

Currently using 177.80 drivers with Compiz 0.7.8.

Revision history for this message
Dylan Hunter (dylan-dylanhunter) wrote :

$ lspci -n | grep 300
01:00.0 0300: 10de:0427 (rev a1)
$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)

Revision history for this message
Dennis Dirdjaja (dcd-ditsch) wrote :

Same here.

$ lspci -n | grep 300
01:00.0 0300: 10de:0407 (rev a1)
$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GT (rev a1)

Revision history for this message
Rocko (rockorequin) wrote :

I don't think anyone should blacklist any nvidia cards - that happened to ATI cards just before the Hardy release and it was awful - compiz just stopped working without any explanation. And that was because in a small number of cases it froze the kernel. This bug is not like that one at all, it's just annoying and there are workarounds that several people have confirmed do work that can be done (like disabling compiz, installing the 173 driver, modifying the /usr/bin/compiz script).

Instead, if it can't be fixed before the final release, I think it would be much better if compiz warned there might be problems when you try to enable it for affected nvidia cards.

Revision history for this message
Alberto Milone (albertomilone) wrote :

Rocko: I suggested that before Aaron came up with a fix.

Revision history for this message
Joakim Andersson (jocke) wrote :

Aarons packages seems to solve the problem better than -173 for me. With -173 I had some corruption when switching context manager tabs in Amarok (KDE based). I fail to reproduce those problems now.

Revision history for this message
enubuntu (enubuntu) wrote :

$ lspci -n | grep 300
01:00.0 0300: 10de:0428 (rev a1)
$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M G (rev a1)

Revision history for this message
Alberto Milone (albertomilone) wrote :

Thanks for posting your ids (with lspci) but this is not required any more.

Revision history for this message
Joakim Andersson (jocke) wrote :

I think I spoke too soon. I experienced some quite bad corruption with a maximised gnome-terminal running VIM (over SSH on a Debian machine, with syntax highlighting editing a PHP file).

However, again reverting to -173 but still using the fixed compiz, I only experienced very minor corruption, which occurs very seldom while quickly switching tabs in Amarok. Well enough fix to live with, anyway.

Revision history for this message
plun (plun) wrote :

@Alberto and all users

- Some descriptions sounds like "RGBA trashing", maybe to disable Murrine and test ? or another version ?
Using Murrine SVN myself and some apps trashes..

-------------------------------

- Dell users, BIOS version or maybe warranty cases. Also HP got this problem with weak materials.

http://direct2dell.com/one2one/archive/2008/07/25/nvidia-gpu-update-for-dell-laptop-owners.aspx

http://direct2dell.com/one2one/archive/2008/08/18/nvidia-gpu-update-dell-to-offer-warranty-enhancement-to-all-affected-customers-worldwide.aspx

Every model must be checked. Just to visit Dells support !

Revision history for this message
Nick B. (futurepilot) wrote :

No, I would say this is different from RGBA trashing. This happens regardless if you're using a GTK engine that supports RGBA. Also not all apps support RGBA yet anyways.

I've actually been able to minimize the problem by 80% or so by not setting the InitialPixmapPlacement and GlyphCache settings.

Revision history for this message
BotLobsta (kjenks-deactivatedaccount) wrote :

I tried the commenting out of the 5 lines in /usr/bin/compiz and that seemed to work for a while but it does not completely fix the problem for me. It happens about 3 times a day now instead of once every 5 minutes, but it still happens. I have not tried any of the other fixes.

Also, when my screen does not refresh, I can click anywhere on the screen and it will refresh everything and draw everything as it should be at that time.

Revision history for this message
Stijn Van Nieuwenhuyse (svnieuw-deactivatedaccount) wrote : Re: [Bug 269904] Re: Screen refresh problems with nvidia on intrepid

As suggested by (R)om, remove --loose-binding in /usr/bin/compiz seems to be a
workaround for me that solves the problem. I haven't got any refresh issues
since I changed that.

Revision history for this message
Bryce Harrington (bryce) wrote : Re: Screen refresh problems with nvidia on intrepid

@tseliot, what action do you think is needed in order for this bug to close? Anything I could assist with?

Revision history for this message
Alberto Milone (albertomilone) wrote :

Bryce: I think that the only thing we can do is adopt Aaron's patch for Compiz. Here's his PPA:
https://launchpad.net/~aplattner/+archive

Maybe either you or Michael (mvo) can review his patch (see the attachment)?

Revision history for this message
Bryce Harrington (bryce) wrote :

Alberto, thanks for pointing to the patch and the quick reply.

I've reviewed the patch, although I'm going to defer to Michael on whether it's acceptable. I don't see anything wrong with the patch, although I'm not so familiar with compiz internals, and since the patch involve alterations to a realloc() and introduction of some arrays, it's tough for me to be certain just from eyeballing it. Michael, your thoughts?

Revision history for this message
Joakim Andersson (jocke) wrote :

Not to be pessimistic, but has anyone tried the patched compiz on an ATI card?

Revision history for this message
Mathieu Marquer (slasher-fun) wrote :

Removing the "loose binding" option has slightly decreased the frequency of this issue, but it is still here...

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

I enabled "loose binding" a few days ago, and back then it seemed to reduce the amount of artifacts left on the screen.
But now, its about the same as it was before.

Alberto should it be enable or not?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.7.8-0ubuntu4

---------------
compiz (1:0.7.8-0ubuntu4) intrepid; urgency=low

  * debian/patches/049-damage-report-non-empty.patch:
    - add workaround patch by Aaron Plattner to fix
      problems with the damage extension and refresh
      (LP: #269904)

 -- Michael Vogt <email address hidden> Fri, 17 Oct 2008 09:29:01 +0200

Changed in compiz:
status: Confirmed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Since we have a workaround in compiz now, the nvidia bug (or the Xserver one, whereever the root cause is) is not intrepid RC any more. Thank you!

Changed in nvidia-graphics-drivers-177:
milestone: ubuntu-8.10 → none
status: Confirmed → Won't Fix
Revision history for this message
Max Bowsher (maxb) wrote :

I'm afraid the workaround is ineffective, for me.

Revision history for this message
joenix (woutersj) wrote :

I have also installed the packages from the PPA and still have problems.
(nVidia Quadro NVS 140M)

Revision history for this message
®om (rom1v) wrote :

Since the last updates in intrepid repositories, I reactivated the drivers 177 (I switched to 173 due to this problem), and it seems to work... for the moment.

Revision history for this message
Supersaiyan_IV (saiyan-iv) wrote :

This bug has not disappeared completely, however the reproducibility factor has gone down to <10%. My setup is a Dell M1330 GF 9400M GS. Disabling loose bindings did more or less the same result for me. Now i'm running with: compiz.real --ignore-desktop-hints --replace --loose-binding core ccp

However, if I scroll for past commands (arrow-up) in gnome-terminal the refresh bug shows by failing to update the text field when vsync is enabled. Can someone confirm this?

Otherwise this fix has worked flawlessly. Great work! :)

Revision history for this message
kiomava (kioma-kioma) wrote :

I've been using the aplattner-patched compiz version for a few days now, no compiz tweaks (no messing with loose bindings or indirect rendering or similar), updating to the latest intrepid at least daily. I also haven't messed with nvidia-settings, as I have done in the past with Hardy. I have apt set up with a pin priority to avoid accidentally updating to an unpatched compiz. I use terminal all the time, and firefox, among other things, and haven't seen any of the refresh problems I saw before. I did see very frequent problems in terminal before the patch, especially it seemed when scrolling/paging and with the cursor at the bottom of the window.

But no refresh/damage-related problems at all after that patch, and I've been trying to push it the last few days. More details about my setup:

Nvidia 177.80 driver, installed using administration/hardware drivers thing (not directly from nvidia installer or envy)
2.6.27-7-generic #1 SMP Tue Oct 14 18:40:44 UTC 2008 i686 GNU/Linux
Dell D830
nVidia Corporation Quadro NVS 135M (rev a1)

nvidia-settings InitialPixmapPlacement is 1 (the default)
nvidia-settings GlyphCache is 0 (also default)

Also someone mentioned about nvidia hardware problems being important to consider, but since I boot to XP and Hardy and don't see problems I don't think that's a factor for me.

Revision history for this message
Andrew Tamoney (tamoneya) wrote :

since the last update and restart it appears to be fixed for me.
Quadro 140M, Lenovo T61.
tamoneya@lithium:~$ lspci -n | grep 300
01:00.0 0300: 10de:0429 (rev a1)
driver 177.80 installed through hardware drivers in ubuntu.
I dont see any rendering problems although compiz appears a little sluggish when rotating the cube. Barely noticeable though.

Revision history for this message
Dan The Man (onemanbanddan) wrote :

I've been updating at least twice a day recently because this problem really has been a big pain. If I'd known what using intrepid entailed, I probably would have stuck with hardy.
AAaanyway, the latest update included compiz 1:0.7.8-0ubuntu4
Kudos to Aaron and everyone who's been involved, It seemed to work, for about 30 seconds, and then firefox crashed. I hope this was a one off, all seems OK now, certainly better.
Firefox was certainly the worst affected for me (this got loads worse before it got better) Only been testing for a few minutes, but it seems a really screwed up computer has become a usable one.
Thanks

Revision history for this message
Shawn vega (svega85-gmail) wrote :

yup the latest updates fixed it for me too!!!

Revision history for this message
Rocko (rockorequin) wrote :

The latest compiz updates fixed it for me. But I've gone back to the 173.14.12 driver because the difference in fps in glxgears is large - I only get 3000 fps with 177.80 versus 4400 with 173 (and in Hardy I get even better- 4800 with 173), and I assume that translates to slower game speed with 177.

Revision history for this message
RubbelDieCatc (rubbel) wrote :

have the same problem on my 5200 AMD64/x2 with Geforce 8800gt

Especially with Eclipse (JAVA-IDE)

Revision history for this message
Joey Espinosa (therealjoelinux) wrote :

--------------------------------------------------------
nVidia Quadro NVS 135M (on a Dell D630)
01:00.0 0300: 10de:042b (rev a1)
--------------------------------------------------------

I'm still having this problem on Intrepid Beta; Firefox is incredibly annoying. On pages with flash, the flash will show up overlaying the previous tab I was viewing... until I click the mouse somewhere within the Firefox window (including the titlebar). I'm using gtk-window-decorator with the latest compiz from the above-mentioned PPA (latest as of 20 Oct 08).

It also happens extremely frequently with Konsole -- I can't change directories or ssh or scroll (or many other things) without getting my view clobbered. Again, I have to click somewhere in order to refresh the window. Konsole is almost unusably annoying.

I'm willing to help in any way.

Revision history for this message
Martin Wilson (martinmwilson) wrote :

Unfortunately I am very much still experiencing these problems with the 173 drivers and all the latest updates. The problem is most visible in Lyx and gvim.

Revision history for this message
kiomava (kioma-kioma) wrote :

Hey, JoeLinux, which compiz versions do you have exactly? We have identical cards and nearly identical laptops D830 vs D630, and I used to see the firefox problems you describe but not any more.

$ dpkg -l |grep compiz
ii compiz-core 1:0.7.8-0ubuntu4~ppa1 OpenGL window and compositing manager
ii compiz-fusion-plugins-extra 0.7.8-0ubuntu2 Collection of extra plugins from OpenComposi
ii compiz-fusion-plugins-main 0.7.8-0ubuntu2 Collection of plugins from OpenCompositing f
ii compiz-gnome 1:0.7.8-0ubuntu4~ppa1 OpenGL window and compositing manager - GNOM
ii compiz-plugins 1:0.7.8-0ubuntu4~ppa1 OpenGL window and compositing manager - plug
ii compiz-wrapper 1:0.7.8-0ubuntu4~ppa1 OpenGL window and compositing manager, wrapp
ii compizconfig-backend-gconf 0.7.8-0ubuntu1 Settings library for plugins - OpenCompositi
ii compizconfig-settings-manager 0.7.8-0ubuntu3 Compiz configuration settings manager
ii libcompizconfig0 0.7.8-0ubuntu2 Settings library for plugins - OpenCompositi
ii python-compizconfig 0.7.8-0ubuntu1 Compiz configuration system bindings

$ uname -a
Linux kiomava-d830 2.6.27-7-generic #1 SMP Fri Oct 17 22:24:21 UTC 2008 i686 GNU/Linux

Revision history for this message
Joey Espinosa (therealjoelinux) wrote :

$ dpkg --list | grep compiz | awk '{print $1" "$2" "$3}'
ii compiz 1:0.7.8-0ubuntu4~ppa1
ii compiz-core 1:0.7.8-0ubuntu4~ppa1
ii compiz-fusion-plugins-extra 0.7.8-0ubuntu2
ii compiz-fusion-plugins-main 0.7.8-0ubuntu2
ii compiz-fusion-plugins-unsupported 0.7.6-1
ii compiz-gnome 1:0.7.8-0ubuntu4~ppa1
ii compiz-plugins 1:0.7.8-0ubuntu4~ppa1
ii compiz-wrapper 1:0.7.8-0ubuntu4~ppa1
ii compizconfig-backend-gconf 0.7.8-0ubuntu1
ii compizconfig-settings-manager 0.7.8-0ubuntu3
ii emerald 0.7.2-0ubuntu2
ii libcompizconfig0 0.7.8-0ubuntu2
ii libemeraldengine0 0.7.2-0ubuntu2
ii python-compizconfig 0.7.8-0ubuntu1

Unfortunately, it still isn't working for me, as Konsole continues to appear very "affected" in this respect. I'm using gnome-terminal right now, as the effects on it are less intense than Konsole (almost non-existent). Is the Aaron's PPA supposed to be seen as a downgrade by the package manager? Because I had to manually download the packages and install them myself instead of using the repo, and it complained that I was downgrading the packages. I'd previously had the Compiz PPA packages (deb http://ppa.launchpad.net/compiz/ubuntu intrepid main) installed.

@kiomava: Looks like we have the same package versions... except I have emerald installed, not that it should matter (I am assuming, of course).

Revision history for this message
kiomava (kioma-kioma) wrote :

JoeLinux:

I turned on emerald, using GrayDarkIce theme, and it doesn't seem to be any different. No terminal/tab switching artifacts. So now our package versions match exactly. xorg.conf maybe? I'll attach mine. These might be relevant:

 Load "glx"
 Disable "dri2"

Are you using KDE? Maybe that's the difference, I'm using Gnome.

Revision history for this message
Joey Espinosa (therealjoelinux) wrote :

I'm also using Gnome... so there shouldn't be a difference there. Either way, I think Konsole would be using the KDE libs instead of the Gnome libs, right?

Anyway, I'll attach my xorg.conf.

Revision history for this message
fimbulvetr (fimbulvetr) wrote :

I have a D630:

$ dpkg --list | grep compiz | awk '{print $1" "$2" "$3}'
ii compiz 1:0.7.8-0ubuntu4
ii compiz-core 1:0.7.8-0ubuntu4
ii compiz-fusion-plugins-extra 0.7.8-0ubuntu2
ii compiz-fusion-plugins-main 0.7.8-0ubuntu2
ii compiz-gnome 1:0.7.8-0ubuntu4
ii compiz-plugins 1:0.7.8-0ubuntu4
ii compiz-wrapper 1:0.7.8-0ubuntu4
ii compizconfig-backend-gconf 0.7.8-0ubuntu1
ii compizconfig-settings-manager 0.7.8-0ubuntu3
ii libcompizconfig0 0.7.8-0ubuntu2
ii python-compizconfig 0.7.8-0ubuntu1

And I am experiencing the artifacts as well. This is extremely frustrating - gnome-terminal, firefox and editor (komodo) are all causing me great suffering.

I'm pretty sure it's not the nvidia bug plauging us - I just had my mobo replaced and the symptoms of the failed board where MUCH more pronounced than these - and very, distinctly, different.

Revision history for this message
kiomava (kioma-kioma) wrote :

So I did end up seeing the refresh problems while using the aplattner-patched compiz and Emerald. After turning Emerald back off, no refresh problem so far. I wonder if this is some timing thing and I am just lucky when I have emerald turned off.

fimbulvetr, did you try the aplattner-patched compiz? It looks like you don't have it installed.

Revision history for this message
Joakim Andersson (jocke) wrote :

@kiomava: aplattner's patched compiz made it into the main repositories (see https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/269904/comments/109). fimbulvetr's version does contain the patches. The only differences between ...ubuntu4 and ...ubuntu4~ppa1 should be the build date if I'm not mistaken.

Anyway, since I installed the patched compiz _and_ nvidia-glx-173, I haven't seen any problems at all (using an GeForce 8400M GS) for about a week with daily use. :)

Revision history for this message
fimbulvetr (fimbulvetr) wrote :

I tried downgrading to 173 and while it appeared to work alright, I couldn't stay on the version because it appeared to have issues with nvidia's twinview settings, which rendered it unusable for me.

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

I'm still seeing this using metacity and 177

Revision history for this message
®om (rom1v) wrote :

Finally, I still have some refresh problems (3 times since this morning), in xchat, in firefox and in systray.

Revision history for this message
Ricardo Pérez López (ricardo) wrote :

Yes, I still have some refresh problems, too, although they are less frequent than before the latest update.

Revision history for this message
nemiax (nemiax) wrote :

I have a multimonitor configuration with nVidia Quadro140 (Dell Latitude D830) and have solved the problem setting the same vertical resolution for the monitor, using TwinView option.
This is just a workaround, I had to force the notebook panel to work @1024 while its real vertical resolution is 1050.

Revision history for this message
enubuntu (enubuntu) wrote :

the problem it's solved for me, but the refresh is very very very too bad ..... :(

Revision history for this message
siliconeagle (rrmunro) wrote : Re: [Bug 269904] Re: Screen refresh problems with nvidia on intrepid

I haven't noticed the bug for a while, so i would say its fixed for me.

On Thu, Oct 23, 2008 at 2:00 PM, enubuntu <email address hidden> wrote:

> the problem it's solved for me, but the refresh is very very very too
> bad ..... :(
>
> --
> Screen refresh problems with nvidia on intrepid
> https://bugs.launchpad.net/bugs/269904
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in "compiz" source package in Ubuntu: Fix Released
> Status in "nvidia-graphics-drivers-177" source package in Ubuntu: Confirmed
> Status in compiz in Ubuntu Intrepid: Fix Released
> Status in nvidia-graphics-drivers-177 in Ubuntu Intrepid: Won't Fix
>
> Bug description:
> Binary package hint: compiz
>
> I'm using latest compiz on intrepid.
>
> Since jockey-gtk does not work on my box (I already filed a bug), I
> manually installed nvidia-glx-177 and added the "driver → nvidia" line to
> xorg.conf.
>
> Now I seem to be having some screen refresh problems when using compiz:
> parts of the screen are refreshed, but others aren't. That means nautilus
> doesn't show files or folders until I move the cursor over them, firefox
> doesn't show webpages properly until I scroll down, and so on.
>
> Please, tell me if there is any additional info I can provide to find out
> the cause.
>

Revision history for this message
®om (rom1v) wrote : Re: Screen refresh problems with nvidia on intrepid

It was totally fixed for me from 17 october (my last message in this bug report) until today. Today, I experienced several refresh problems. It far better than before the "fix", but I think there was a regression in the last upgrade.

Revision history for this message
®om (rom1v) wrote :

The problem is not resolved at all for kde apps (kile for example), many refresh problems occur (running under gnome).

Revision history for this message
Saivann Carignan (oxmosys) wrote :

It's confirmed that the problem is still not fixed in nvidia drivers, so it's not necessary to have more than two confirmations. This will help the bug report to stay productive. Thanks for your implication with ubuntu!

Revision history for this message
numberxiii (frederic-marchal) wrote :

Hi

I've encountered same problems with Hardy !
In xterm, it's a pain...

nvidia drivers 177.80
compiz 1:0.7.4-0ubuntu7

VGA compatible controller: nVidia Corporation Quadro NVS 135M

I'll comment lines 340-344 in /usr/bin/compiz and come back to give a feedback.

Revision history for this message
Dave H (zulunix) wrote :

Having this problem too
Dell XPS 1710 nVidia 7950GTX 177.80drivers

Intrepid with latest git build of compiz.

Revision history for this message
vegittoss15 (vegittoss15) wrote :

Downgraded to 173 drivers and less frequent issues on Konsole, but same issues in firefox.

Revision history for this message
Greg Oliver (oliver-greg) wrote :

It happens without Compiz at all.. Well, maybe not 100% same, but just turning on Metacity's lazy window selecting produces the same behavior..

Revision history for this message
Greg Oliver (oliver-greg) wrote :

Sorry - didn't realize intrepid was enabling compiz on it's own now.. That kinda sucks - it has not been stable yet...

Revision history for this message
Belzecue (gmcsswa) wrote :

Got the issue here after upgrading from Hardy to Intrepid. Weird corruption of window titlebars when moving mouse over them. More specifically, seems to trigger when moving over window control icons at top right corner of windows (minimize etc). Have not seen the issue exhibit elsewhere in the system, but only upgraded today so early days.

Video card is FX5500 256mb. Driver is NVIDIA Accelerated Graphics Driver v.173

Revision history for this message
Kevin Fries (kevin-kevinfries) wrote :

I am not on that computer, but came here looking for solace that I am not crazy... that I did not jack my system. I am running a 7600GS and I am seeing the following problems:

  - Window title bars not fully skinning, then when I move the mouse over the controls (Min, Max, Close) it instantly re-renders properly. Sometimes the title bars do not show at all.

  - Firefox opens with no window decorations at all and full screen (almost kiosk mode except it still has the launch and address bars). Pressing F11 twice forces it to render correctly.

  - AWN (ppa version), OMG what a mess! I get this odd white box over the desktop switcher, the icons do not always render correctly, and every so often, I get the scrambled box. All the issues disappear by moving the mouse over the affected area except the white box. The white box does go behind the switcher, and in front of maximized programs obscuring the status bar at the bottom of many programs (i.e. the Firefox loading bar is 1/2 obscured).

This problem does not disappear with 173. Both 177 and 173 seem equally bad, but I did not do any type of actual testing to compare the two, this is just my empirical experience.

Revision history for this message
Kevin Fries (kevin-kevinfries) wrote :

OOPS!!

This problem DOES occur with 173!

Also should have mentioned, the only computer which exhibits this behavior is the one with the nVidia card. I also run a Dell D620 with the Intel chipset with no display issues (network yes, but that is a different bug, but no display issues). Also, I run a Sony Vaio BX540B also with an Intel 915.

Revision history for this message
danitxu (jdanitxu) wrote :

Hi,
this is my configuration:
* GeForce 8400 GS (rev a1)
* Kubuntu intrepid amd 64
* kernel 2.6.27-7-generic
* Driver: 177.80

After reading https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-177/+bug/289964 I've changed to the nv driver in xorg.org and firefox-3.0 now renders ok.

Anyway the problem now is that the screen shows a fast flick every 10 seconds. Not so annoying as being unable to use firefox, but...

Revision history for this message
Belzecue (gmcsswa) wrote :

Further to my report, I now have an easy fix for my occurrence...

To recap: with Intrepid and my nVidia FX5500/256mb card, I was experiencing window titlebar corruption when mousing over the righthand controls (minimize, close, etc.). Moving the mouse cursor over the controls would corrupt half the titlebar; moving the mouse again over them would restore a correctly rendered titlebar. This is the full extent of the window-drawing corruption for me: just in the window titlebars.

I experimented with switching to different Window Borders...

SYSTEM > PREFERENCES > APPEARANCE > THEME > CUSTOMIZE > WINDOW BORDER

Sure enough, when I switched away from the default Window Border of HUMAN, e.g. to CLEARLOOKS, the titlebar rendering problem ceased. From my tests, it looks like the default HUMAN Window Border is the only border theme that triggers the rendering fault (for my setup, anyway).

Anyone else able to solve their issue doing the same??

Cheers,
Belzecue.

Revision history for this message
Roman Brys (roman-brys) wrote :

I've noticed nvidia released a new version of the driver yesterday (177.82) and seems to address that problem, at least there's "Fixed an image corruption issue seen in FireFox 3" in the description. I didn't try that - I'm waiting to have it from ubuntu repos. If anyone had a chance to see if it fixes the problem - I'd be glad to hear some news.

Regards,
Roman

Revision history for this message
John Dickinson (jdickinson) wrote :

Roman, I tried the new nvidia driver (177.82) and cannot reproduce the error anymore. It seems to have fixed the issue for me.

Revision history for this message
Kevin Fries (kevin-kevinfries) wrote :

Cool,

Now, the $64,000,000.00 Question... When will this make its way into the Intrepid Ibex repositories. I have stopped using my home computer except in case of me forgetting to bring home my laptop because it is so screwed up (especially firefox)

Kevin

Revision history for this message
Piotr Łusakowski (piterl1-deactivatedaccount) wrote :

I've installed the new driver (177.82) as well and it didn't fix the problem for me (my problem concerns almost exclusively Konsole - changing tabs, ls -l, and basically every other action requires a mouse click to be seen; with Firefox i've observed this problem maybe 3 times).

Revision history for this message
jtheuer (mail-jtheuer) wrote :

same for me here. With a current ibex installation the refresh problem is still there. Any upstream package that I could try? Has this error been confirmed to be really an nvidia bug?

Revision history for this message
Alexander Jones (alex-weej) wrote :

This *was* an issue for me, but now it's fixed. This report is clearly a metabug for more than one issue, then. (Unsubscribing.)

Revision history for this message
Nathalie Oldenburg (oldnat) wrote :

@ Belzecue wrote on 2008-11-05:

I do not remember having any other (eg. Firefox) problems but changing the window border scheme solved the window title bar rendering error for me, so I can confirm this part. AMD64 w/32-bit Ubuntu, nVidia Corporation C51PV [GeForce 6150] (rev a2)

Thanks, Nathalie

Revision history for this message
®om (rom1v) wrote :

The problem *was* fixed, but I have the problem again since the last upgrade today :(

Revision history for this message
jtheuer (mail-jtheuer) wrote :

Is anyone already fixing the bug? Here, the refresh issues mainly affect firefox and konsole. Any information we could provide to help the maintainer to fix the bug? Does it affect other distributions than ubuntu?

Revision history for this message
Soenke (s0enke) wrote :

Where's the fix? Sorry for the question.

Revision history for this message
Soenke (s0enke) wrote :

My last comment refers to the "fix released" state as shown above. Where is the supposed fix?

Still encountering the problem (firefox scrolling refreshing with compiz enabled) with intrepid and latest 177er nvidia driver (177.82-0ubuntu0.1). Seems to be twin-view specific here (thinkpad t61with nVidia Corporation Quadro NVS 140M).

Revision history for this message
superruzafa (superruzafa) wrote : Re: [Bug 269904] Re: Screen refresh problems with nvidia on intrepid

I have no error since I installed the last driver from Nvidia's ftp. It's
seems the official page shows up to 177.xx version but the ftp stores the
180.16 version.

Anyway I have the same bugs only when I use a second screen from my laptop.

ftp://download.nvidia.com/XFree86/Linux-x86/

2008/12/14 Soenke <email address hidden>

> My last comment refers to the "fix released" state as shown above. Where
> is the supposed fix?
>
> Still encountering the problem (firefox scrolling refreshing with compiz
> enabled) with intrepid and latest 177er nvidia driver
> (177.82-0ubuntu0.1). Seems to be twin-view specific here (thinkpad
> t61with nVidia Corporation Quadro NVS 140M).
>
> --
> Screen refresh problems with nvidia on intrepid
> https://bugs.launchpad.net/bugs/269904
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
-= http://www.legadodekain.net =-

Revision history for this message
Joakim Andersson (jocke) wrote : Re: Screen refresh problems with nvidia on intrepid

I had very little problems using the 173.xx version in intrepid, and after installing the 180.11 driver from jaunty (still running intrepid), the situation seems to be even better =)

To do this (ONLY do this if you are sure about what you are doing, since jaunty is still in heavy development and things like this might break your installation, the packages that work for me might be replaced by packages that don't work when you try):
0. READ through ALL of these steps to make sure you understand everything, and can revert the steps if something would go wrong.
1. Download the individual packages from http://packages.ubuntu.com/search?keywords=nvidia+180 (you need all of them except nvidia-glx-180-dev).
2. Uninstall your current versions of nvidia-XXX-kernel-source and nvidia-glx-XXX. (XXX should be either 173 or 177 in intrepid.)
3. Install all three downloaded packages at once using sudo dpkg -i in a terminal.

Revision history for this message
Soenke (s0enke) wrote :

Yes this bug is still alive and definitely specific to compiz, nvidia, mozilla applications (maybe all cairo based programs) and twin-view. How can we help to get it fixed?

Revision history for this message
huiii (a00ps) wrote :

funny, i got the same symptoms, not on moz-apps, also any gnome app is working fine, but on other apps,
like openoffice, skype and all apps that are qt.
this on ubuntu intrepid, gnome, nvidia 8400m gt.
cheers

Revision history for this message
Loïc Hoguin (essen-dev-extend) wrote :

As for me I have it on all aps and effects, using Xubuntu. Also with nvidia + twin-view. When it happens (regularly, every few days) I simply don't have any window refreshing itself unless I move the window or another window above it forcing a refresh. Even xmms stops updating itself. Effects are broken when it happens, for example I can switch between workspaces but the effect don't play completely. Thankfully I can use compiz-fusion-icon to reload the window manager which fixes the problem.

Revision history for this message
Christoph Korn (c-korn) wrote :

Hello,
think I have a similar problem when compiz is enabled.

Please confirm if you are talking here about display errors like this.
In my case it is gnome-terminal not being updated sometimes.

See the attached video.

I am using intrepid amd64.
NVIDIA 180.06 drivers.
NVIDIA Quadro NVS 140M

Revision history for this message
Joakim Andersson (jocke) wrote :

@ Christoph Korn:
That is just the kind of display errors I get, albeit not that often...

@ All:
Installing 180.11 drivers makes the situation better for a while, but I did experience some errors when compiz had been running for a long time (and only on my external screen (my computer is a laptop), which had a higher frequency of errors earlier). Restarting compiz (alt+f2 -> compiz --reload, I need to do that twice compiz crashes the first time and fallbacks to metacity) fixed the problem.

Revision history for this message
Christoph Korn (c-korn) wrote :

http://www.nvnews.net/vbulletin/showthread.php?t=124059

The changelog mentions that bugs related to glyphcache were fixed.

Maybe that fixes my problem.

Revision history for this message
Christoph Korn (c-korn) wrote :

180.11 did not change anything.

Bug is still present.

Revision history for this message
Prabhpreet (prsinghdua) wrote :

$ lspci -n |grep 300
00:0d.0 0300: 10de:03d0 (rev a2)

$ lspci |grep VGA
00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6150SE nForce 430 (rev a2)

173.xx solved a minor screen flickering problem. 177 still doesn't fix it.

Revision history for this message
selkovjr (selkovjr-observercentral) wrote :

01:00.0 0300: 10de:042d (rev a1)
01:00.0 VGA compatible controller: nVidia Corporation Quadro FX 360M (rev a1)
nvidia-180-kernel-source:
  Installed: 180.11-0ubuntu1

None of the suggested workarounds helped avoid the damage bug. Loose binding does not help. I see no difference at all between the 173, 177, and 180 versions of the driver.

Of the applications I use, these three are affected:

  1. (seldom) Firefox: damaged and non-damaged areas overlap and become unreadable while scrolling with the mouse or with window scrollbars. Paging with the keyboard works correctly.

         Remedy: transfer focus to another window and back or click anywhere on the window boroder.

         Sometimes I can work for days without seeing it. But once it starts happening (usually in one of many open firefox windows, it tends to continue until I restart X11). But sometimes it can return to normal without me consciously doing anything.

  2. (often) Gimp: bits of paintbrush cursor hang on, leaving a messy track.

         Remedy: zoom in and out.

  3. (almost always) xterm: typically, sending a large amount of text (more than a few lines), leaves it with only the top part of the window rendered correctly when the process completes; the bottom part remains blank. Sometimes just one line will fail to render, as in the case of 'date'; it will look as if 'date' is still running, while in fact it will have finished instantly. I can't get used to it: I often find myself waiting for the commands to return because their output is not visible.

         Remedy: click into the window or transfer focus to it.

         xterm had its own rendering bugs since about 1994, the most obnoxious being the incorrect command line wrapping in wide windows; the other prominent bug is falure to erase the old text on update. I associate that (not knowing much about it) with the transition from termcap to whatever other system we use today. If I recall correctly, I first encountered it in the first RedHat release, and it hasn't been fixed since then. I think it affects other readline-based terminals besides xterm. This, combined with the compiz damage bug, makes xterm close to unusable. But I can't make myself use anything else. I'm getting old.

I see no ill effects reported by some users in the window decorations. Nautilus always works fine (although I don't use it much). Have never seen problems in emacs-gtk. Overall, I am not sure whether I'd rate this problem as mild or severe; I think I have enough patience to carry on like this, but I "severely" desire to have it fixed one day.

Revision history for this message
selkovjr (selkovjr-observercentral) wrote :

And I forgot to say: it did not change with transition from Hardy to Intrepid.

Revision history for this message
Pausanias (pausanias) wrote :

selkovjr, I second everything you've written regarding xterm. I'm experiencing the same problems to the letter. Blank lines at the bottom after a large amount of text is sent to the terminal. Thanks for describing it so well (and saving me the pain of trying the 180 driver.

I never had this problem with hardy, however.

Revision history for this message
Rocko (rockorequin) wrote :

It might be worth trying the very latest driver, 180.18. I had occasional problems with the 173 and 177 series of drivers, then 180.08 was pretty good but not perfect, then 180.11 and 180.16 were progressively worse than 180.08 for refresh corruption. But since I installed 180.18 on the 23rd Dec, I've had no refresh problems at all. I installed using the NVIDIA-Linux-x86_64-180.18-pkg2.run file that I got from nvidia's ftp site, ie at ftp://download.nvidia.com/XFree86/

Revision history for this message
Pausanias (pausanias) wrote :

I can confirm that commenting out lines 341-344 of the /usr/bin/compiz script has completely resolved my rendering issues. I haven't experienced any problems since making the change. Thanks to those that suggested it.

Just to clarify, these lines in /usr/bin/compiz enable the loose-binding option for all nvidia cards. Commenting out just causes compiz to run without the loose-binding option (which I never found worked very well in previous versions anyway). Here are the lines in their commented-out form:

# if check_nvidia; then
# if [ "x$INDIRECT" != "xyes" ]; then
# COMPIZ_OPTIONS="$COMPIZ_OPTIONS --loose-binding"
# fi
# fi

Revision history for this message
selkovjr (selkovjr-observercentral) wrote :

I have done both things -- installed 180.18 and disabled loose binding.

Looks like the same bug has been kicked around from one spot to another.

I can now scroll in firefox without mangling the readable text. The problem I have now is with table cell backgrounds in firefox (see attached screenshot). It does not significantly affect readability, but given how bizarre it is, I have little hope that it will be fixed soon. This is no longer a scrolling bug; this is a draw-on-visibility bug (if that's really different). I have this page showing a tree, rendered as an html table with the dotted lines representing the tree branches rendered as background images in table cells. If I cover this window with another window, then uncover it, I see 2-3 of those "tree" cells filled with images from whatever window on the screen that was updated last before this firefox window was uncovered. I have pasted part of my gnome menu to show where the cell background was copied from. The wicd icon updates itself every second or so, showing the strength of the wireless signal. The next time, it may be a digit from the clock, or a small segment of it, or just a blank portion of the gnome menu.

This is not entirely unlike the pattern I saw in one of the earlier versions, where any new window would be initially painted with chopped and randomly tiled fragments of the root window. That artifact is now gone (or almost gone).

Text refresh in xterm has not been fixed. I have a feeling that it doesn't occure as often -- let's say, it works more often than it doesn't, but the problem did not go away. It is exactly the same.

And this one is new. I'm seeing hideous refresh problems in Terminal Screenlet. The pattern is not new, though. Someone in this thread pasted a screenshot a while ago (I can't find it -- the thread has grown so big), showing the same artifact in some graphical program (or was that Nautilus?). What happens is that only a narrow vertical strip on the left-hand side is refreshed, at some odd offset. The next refresh will take place in a strip that will be wider or narrower, and probably placed at a different offset. Since Terminal Screenlet refreshes its client area on every keystroke, it instantly becomes an unreadable mess, removed only by hiding/showing the entire widget layer.

Worst of all, the system was unable to wake up from suspend 3 times during the 3 days that I'm running 180.18. It wakes up with a black screen and dead keyboard. I didn't know whether the kernel was alive or not, so I had to reboot it on all 3 occasions.

Overall, no improvement. I don't feel I can trade suspend for scrolling. Suspend on this machine (Dell Precision M4300) was very unreliable in Hardy (failed exactly every other time), but I haven't seen a single failure since I installed Intrepid. 180.18 obviously interferes with it in some way.

I just noticed another artifact -- a very insignifcant one, but it may be a symptom of a problem. I use the Emerald Aqua theme from Mac4Lin, with the rounded blue buttons and scroolbars. The buttons look fine, but all scrollbars show a gray rectangular outline (see the attached image).

Revision history for this message
Soenke (s0enke) wrote :

Hi,

I can confirm the behavior that selkovjr describes with 180.06 driver (T61 laptop, nVidia Corporation Quadro NVS 140M (rev a1)):

- vertical scrolling refresh problems disappear
- after suspend computer does not wakeup
- changing to console does not work anymore -> switches to x-server immediately again
- enabling second monitor with nvidia-settings: sometimes a big black rectangle occures (because of different solutions of screens)

So 180.xx is really *beta* and not usable.

I will try the other fix with loose-binding right now.

-soenke

Revision history for this message
selkovjr (selkovjr-observercentral) wrote :

That suspend-wakeup problem is a segfault. I have a suspicion that the server is distributed with an incompatible kernel module. I just made the 177 version do the same, when I installed it without properly cleaning up the 180. I thought the ubuntu package would simply put the right things in all the right places, but it didn't. For that, the nvidia installer must be run with the --uninstall option. Interestingly, it didn't log any errors before it crashed. It read the config file, the screen blinked a couple times, then segfault.

If it runs under gdm, the latter will attempt to restrat it (in the absence of verbose errors), so this situation is a dead-end. The segfault apparently clobbers the console driver and likely something else. In one instance, it opened the console in the vga mode, with all sorts of random colored ascii characters filling the screen. It writes everything it wants everywhere it wants. I don't know how much of the system survives the crash; the only function I was able to use was the power button -- a single touch on the button brings up the Ubuntu shutdown splash with the progress bar, and then it shuts down.

So I'm back to 177. Still running without loose binding (to ascertain that it makes any difference in scrolling). The only effect so far is that without loose binding, compiz's window fading became rough and jerky, so I had to disable it.

Revision history for this message
Soenke (s0enke) wrote :

Yeah problem seems to disappear here without loose binding, too. But it makes 2.1GHz CoreDuo feel like 80486 :-/

Revision history for this message
huiii (a00ps) wrote :

wow, long list here...
you can add me to the loose-bind-junks. qt-apps look bad, refresh problems, openoffice affected too, googleearth: black space is transparent,
qt-app-icons on systray: u do not wanna look at them, AND very interesting: the pop-up-menus from qt-apps-icons on systray do not have shadows, seems like there is a great conflict in my head or in the computer. thanks.

Revision history for this message
Christoph Korn (c-korn) wrote :

Today the nvidia drivers 180.22 were released.
http://www.nvnews.net/vbulletin/showthread.php?t=125891

The changelog mentions a regression related to compiz is now fixed:
Fixed a regression that could result in window decoration corruption when running Compiz using Geforce 6 and 7 series GPUs.

Revision history for this message
Soenke (s0enke) wrote :

Nice -- they fix it in their unusable beta drivers and not in the stable release :-(((

Revision history for this message
Christoph Korn (c-korn) wrote :

180.22 is a stable release.

Revision history for this message
Soenke (s0enke) wrote :

Ah ok, it's *the* stable release :) Hope it's in intrepid-backports soon.

Revision history for this message
Rocko (rockorequin) wrote :

I find 180.22 to be MUCH worse than 180.18 for this compiz corruption issue. In only two hours of use, I've already seen significant screen corruption five times when scrolling in Firefox. With 180.18, I only saw corruption once in over two weeks of use.

I'm using an Nvidia GeForce 8600M GT card.

Revision history for this message
Christoph Korn (c-korn) wrote :

Indeed, it is not fixed.

But I cannot say that it happens more often.

Revision history for this message
Jean-Christophe Baptiste (jc-baptiste) wrote :

It happens much more often with 180.18. It is almost unusable.

Revision history for this message
Jean-Christophe Baptiste (jc-baptiste) wrote :

Same with with 180.22.

Revision history for this message
Peter Draksler (draksler) wrote :

Not a 'real' solution to the refresh issue but the following has brought sanity back to my life:

System -> Preferences -> Appearance
 click on Visual Effects tab
 select None

Revision history for this message
Dmitriy.trt (dmitriy-trt) wrote :

Same problem on Debian Lenny/Sid with drivers 177.80 and 180.22 from repository and from Nvidia's site.
Acer Aspire 5920G, Nvidia GeForce 8600GS

Peter Draksler, Visual Effects = None means compiz is disabled. Bug appears only with compiz enabled.

Revision history for this message
Klaus Reimer (kay) wrote :

I'm also experiencing this problem with nvidia drivers after 173, but only in the terminal. Doesn't matter which one. I tried gnome-terminal, xterm, konsole. But I noticed two things which may be useful to track it down:

1. For me it only occurs in single-head mode. As soon as I start my X-Server with a second display attached I have no screen update problems.

2. I noticed that the problem does not occur when a compiz animation is played. So enabling the benchmark window fixes the problem. Currently I use the Paint Fire feature of Compiz to workaround the bug when I'm in single-head mode. Usually I put the fire into the trash bin. ;-)

Revision history for this message
Aaron Plattner (aplattner) wrote :

Please everybody, click the "This bug doesn't affect me (change)" link at the top of the bug instead of posting a "me too" comment. The problem here is understood and additional confirmation comments only add clutter to the bug.

Revision history for this message
AcCEsS (access) wrote :

I think problem = Nvidia powermizer

Powermizer work 3 performance level
0 - 169Mhz
1 - 275Mhz
3 - 475 Mhz

My laptop default performance level = 0
NV Clock = 169Mhz (with screen refresh problem)

I run this script in gnome-terminal:
while true; do
    if on_ac_power; then
        nice /usr/bin/nvidia-settings -q all > /dev/null
    fi
    sleep 25;
done

performance level automatically switch to 2
NV Clock = 475Mhz

And no screen refresh problem!!!

Sorry very poor english....

Revision history for this message
huiii (a00ps) wrote :

this would explain, why some problems disappear, like openoffice issues or qt-apps, when connecting second monitor and running twinview.
but the scrambled qt-app-icons on the panel-taskbar and the missing shadows on their drop-down menu remain, (since driver 177.XX)

Revision history for this message
Joey Espinosa (therealjoelinux) wrote :

I've been running the script that AcCEsS mentioned for several months now (upon login), but I still had screen refresh problems anyway.

I just upgraded (about 2 days ago) to the latest Jaunty Alpha on the only computer I have with an nVidia card, so I don't know how much help I can be to the Hardy and Intrepid users, since I don't have a stable version.

I have 180.22, and nVidia Quadro NVS 135M.

Not trying to add another "this happens to me too" note, just saying that I think it has to be more than PowerMizer, considering that mine is always on the highest performance level, and it doesn't seem to make a difference.

One situation I can always count on to mess up is Amarok 2, when I collapse an artist branch to view his/her songs, and then close that branch back up again. I have to move my mouse over the area EVERY SINGLE TIME, so that's easily repeatable for me at least, in case someone wants a somewhat "dependable" test.

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automated message]

In Jaunty (9.04), we are dropping the nvidia-graphics-drivers-177 package, which
is now superseded by then nvidia-graphics-drivers-180 package.

  http://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-180

To transition your bug into the new package, we need your help. Please do the following:

 a. Verify the bug occurs in Jaunty with the -180 driver
     (ISOs: http://cdimage.ubuntu.com/releases/jaunty/)
 b. If you haven't already, please include in the bug:
     * Your /var/log/Xorg.0.log
     * Your /etc/X11/xorg.conf
     * The output of `lspci -vvnn`
     * Steps to reproduce the issue
 c. Under Affects, click the down arrow to the left of 'nvidia-graphics-drivers-177'
 d. Edit the Package to change 'nvidia-graphics-drivers-177' to 'nvidia-graphics-drivers-180'
 e. Click Save Changes

Thank you!

[We'll expire the remaining -177 bugs in a month or so.]

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
  • Xorg.0.log Edit (21.7 KiB, text/x-log; charset="utf-8"; name="Xorg.0.log")
  • xorg.conf Edit (1.4 KiB, text/plain; charset="utf-8"; name="xorg.conf")
  • lspci.log Edit (29.8 KiB, text/x-log; charset="utf-8"; name="lspci.log")

I have all the updates on Jaunty.
I use gnome.
When Compiz is enabled, kmail will still not refresh the all window, and I can see part of the screen divided vertically.
It is happening much less then before (even less today, then yesterday (not sure if any packages changed)).
I'll try to take a screenshot

$ apt-cache policy compiz
compiz:
  Installed: 1:0.7.8-0ubuntu9
  Candidate: 1:0.7.8-0ubuntu9
  Version table:
 *** 1:0.7.8-0ubuntu9 0
        500 ftp://darkstar.ist.utl.pt jaunty/main Packages
        500 ftp://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

$ apt-cache policy kmail
kmail:
  Installed: 4:4.2.0-0ubuntu7
  Candidate: 4:4.2.0-0ubuntu7
  Version table:
 *** 4:4.2.0-0ubuntu7 0
        500 ftp://darkstar.ist.utl.pt jaunty/main Packages
        500 ftp://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

$ apt-cache policy nvidia-glx-180
nvidia-glx-180:
  Installed: 180.27-0ubuntu1
  Candidate: 180.27-0ubuntu1
  Version table:
 *** 180.27-0ubuntu1 0
        500 ftp://darkstar.ist.utl.pt jaunty/restricted Packages
        500 ftp://archive.ubuntu.com jaunty/restricted Packages
        100 /var/lib/dpkg/status

 affects ubuntu/nvidia-graphics-drivers-180

Changed in nvidia-graphics-drivers-177:
status: Confirmed → Invalid
Revision history for this message
levien (levien) wrote :

I've been trying to track down the cause of this problem for ages, and I think the comment from another user at bug #270377 has just helped me find it.

Apparently the redraw problems described here and in the other bug reports are caused by a race condition, that can occur with compiz in combination with nvidia driver versions above 177.76. According to nvidia developers at the nvnews forums: "[the cause of the problem] is a race condition between the X server and compiz that's the result of a fundamental design problem in the way the Damage extension works." and "[fixing it] will require more changes to the Damage and GLX extensions, the X server, Compiz, and the NVIDIA X driver."

Because it is apparently caused by a design problem, it will probably take some time before the problem is fixed. The only real way to ensure it doesn't happen at the moment is not to use compiz. But on some systems it helps to change settings that affect the timing of pixmap uploads to the GPU. That's why it may help to disable the compiz "--loose-binding" option, or to play with the powermizer settings.

The fact that the occurrence of race-conditions may be affected by timing also explains the fact that everyone seems to experience this bug (and its many duplicates) differently, depending on hardware-configuration, which programs are running, the number of open windows, X.org and driver settings, etc.

For me, restarting compiz without loose binding immediately solved the refresh problems, albeit at the cost of compiz rendering performance. I just had a look at the wrapper script that launches compiz in Ubuntu. It enables --loose-binding on nvidia hardware (which in turn works around a performance issue with texture binding on nVidia cards), but it only seems to do this when indirect rendering is disabled (the default setting). So in theory this should disable --loose-binding without having to edit the wrapper script or (re)start compiz by hand every time:

mkdir -p ~/.config/compiz; echo INDIRECT=0 >> ~/.config/compiz/compiz-manager

It just adds "INDIRECT=0" to the configuration file ~/.config/compiz/compiz-manager, to force indirect rendering. This will of course degrade performance (e.g. with desktop cube) and will also disable some effect plugins (e.g. water). But I much prefer it to having the current redraw problems or disabling desktop effects all together.

I do hope this issue gets properly fixed though...

See also:
http://www.nvnews.net/vbulletin/showthread.php?t=120892
http://www.nvnews.net/vbulletin/showthread.php?t=124470

Revision history for this message
levien (levien) wrote :

Oops, sorry for posting duplicate information about the race condition and the loose binding thing. I guess I should've read the entire thread before pasting the comment. Still, apparently this bug is hard to find through Google or the search option in Launchpad, because it has so many manifestations (and "solutions"). So I hope it's still helpful for people like me, who get directed here from one of the 15 duplicates and don't scroll all the way up... :-P

Revision history for this message
Carrick Detweiler (carrick) wrote :

Actually, as mentioned in previous posts the fix should be:

mkdir -p ~/.config/compiz; echo INDIRECT=yes >> ~/.config/compiz/compiz-manager

(note the INDIRECT=yes instead of INDIRECT=0). This launches compiz as:

  /usr/bin/compiz.real --ignore-desktop-hints --replace --indirect-rendering "" core ccp

instead of the normal (or with the INDIRECT=0 option):

 /usr/bin/compiz.real --ignore-desktop-hints --replace --loose-binding "" core ccp

Carrick

Revision history for this message
Karl Frisk (karl-frisk) wrote :

The bug still occurs on intrepid with 180.27 drivers on a geforce 9600M.

And please stop calling the workarounds that only work sometimes 'fixes'.
They just change timings a bit and stop the race condition kicking in all the time. Still with all
suggestions tried out, that I found around the web, compiz is still unusable (esp. with texmaker
running).

Metacity is a fine windowmanager but I still hope this will be fixed in jaunty.

Revision history for this message
Jan Krieg (jan-krieg) wrote :

Actually, there _is_ a workaround which works all the time at the cost of a bit cpu time (at least for me). Just go to the compiz settings manager (ccsm). Activate the 'draw fire' plugin, reduce all the settings to mininum, except for background brightness, which should be set to 100. Now when you draw fire on the desktop, it should be invisible, but for me it solves the screen refresh problems completely! So just draw a bit of fire after every reboot, and you're fine.
Note: If you use the workaround with activating --indirect-rendering and disabling --loose-binding, it will also work, but the cpu time needed for the fire will be much greater (25% compared to 5% if you leave the settings to standard). Since the fire solves the problem all the time, you should leave INDIRECT=no.

Hope this helps.
Cheers, Jan

Revision history for this message
aptgetmoo (dezull) wrote : Re: [Bug 269904] Re: Screen refresh problems with nvidia on intrepid

Are you sure drawing the fire effect actually helps?I haven't tried by I
think by doing that you are forcing the GPU to set to higher clock speed.
That is why the screen refresh problem does not occur. I'm running Hardy and
I fixed my GPU clock speed (geforce 8400m) to level 2. The problem does not
occur except in openoffice 2.4 (sometimes) and adobe reader 8.

On Fri, Feb 20, 2009 at 11:13 PM, Jan Krieg <email address hidden> wrote:

> Actually, there _is_ a workaround which works all the time at the cost of a
> bit cpu time (at least for me). Just go to the compiz settings manager
> (ccsm). Activate the 'draw fire' plugin, reduce all the settings to mininum,
> except for background brightness, which should be set to 100. Now when you
> draw fire on the desktop, it should be invisible, but for me it solves the
> screen refresh problems completely! So just draw a bit of fire after every
> reboot, and you're fine.
> Note: If you use the workaround with activating --indirect-rendering and
> disabling --loose-binding, it will also work, but the cpu time needed for
> the fire will be much greater (25% compared to 5% if you leave the settings
> to standard). Since the fire solves the problem all the time, you should
> leave INDIRECT=no.
>
> Hope this helps.
> Cheers, Jan
>
> --
> Screen refresh problems with nvidia on intrepid
> https://bugs.launchpad.net/bugs/269904
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Klaus Reimer (kay) wrote : Re: Screen refresh problems with nvidia on intrepid

I'm igniting my "fire-place" every evening. At work the problem does not occur (dual-head configuration) but at home (single-head) I always have the problem in the gnome-terminal. And everytime I start a small fire in the corner and then I have no problems anymore. So I can reproduce the bug AND the workaround every day and it definitely helps.

Revision history for this message
Jan Krieg (jan-krieg) wrote :

@aptgetmoo: The higher clock speed could be the reason for why the fire helps, but my assumption was that by drawing the fire I force the X-server(?) to continuously refresh the screen. To be honest, I don't know much about the internals, so be free to correct me :). By doing this, _all_ screen refresh problems disappear, so you could give it a try when it occurs again with oo or adobe.

Revision history for this message
selkovjr (selkovjr-observercentral) wrote : Re: [Bug 269904] Re: Screen refresh problems with nvidia on intrepid

On Fri, 20 Feb 2009, Jan Krieg wrote:

> Actually, there _is_ a workaround which works all the time at the cost
> of a bit cpu time (at least for me). Just go to the compiz settings
> manager (ccsm). Activate the 'draw fire' plugin

It was of no help to me with any settings. The only thing that really
works, sort of, is manually "refreshing" the screen. I don't need any
extra gadgets to keep it under control, because I run a widget layer,
which is a big part of why I want compiz. So when anything on my screen
goes bad, I clean it up with two keystrokes -- activate and deactivate the
widget layer.

Those of us who remember working on remote machines through a VT100 will
not find it terribly annoying. Remember how we used to send Ctrl-L
whenever something wrote garbage on the screen? Same thing here. It's
wired in my brain. Much I as want to be rid of the bug, I can manage it
this way.

Revision history for this message
enubuntu (enubuntu) wrote : Re: Screen refresh problems with nvidia on intrepid

i have this problem in jaunty
see the attachment for image

enubuntu (enubuntu)
Changed in compiz:
status: Fix Released → Confirmed
Revision history for this message
enubuntu (enubuntu) wrote :
Changed in nvidia-graphics-drivers-180:
status: New → Confirmed
Revision history for this message
Jean-Christophe Baptiste (jc-baptiste) wrote :

I am not using Ubuntu anymore, but the issue has just been solved on openSUSE with the latest 180.29 driver.
No need to deactivate loose binding anymore. Hurrah !
Unfortunately I am not able to tell you what solved the issue, because it seems that some people with the same driver still have the problem.
But the good news is there is a solution ! Good luck !

Revision history for this message
Mathieu Marquer (slasher-fun) wrote :

Jean-Christophe, could you link the OpenSUSE bug report using https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/269904/+distrotask , so it would be easier to follow what they are doing ? :-)

Revision history for this message
enubuntu (enubuntu) wrote :

help for this bug in jaunty with nvidia 8400M G on a laptop with nvidia 180.29 driver

Revision history for this message
enubuntu (enubuntu) wrote :

so i've install the update of today and now i have nvidia 180.35 driver, but no change...
see the screenshot

Revision history for this message
enubuntu (enubuntu) wrote :

without compiz i haven't this problem..
please help

Revision history for this message
Jose Celestino (japc) wrote :

Just to add to this (I think someone already mentioned), this happened to me with 177, 180 and 180.25 from jaunty. Reverting to 173 stopped the problems althougether. Haven't tried any of the workaround becaused they aren't proper fixes.

Changed in compiz:
milestone: ubuntu-8.10 → ubuntu-9.04
status: Confirmed → Triaged
Revision history for this message
Mikko Ohtamaa (mikko-red-innovation) wrote :

The following "fix" helped me to get rid of the problem on Skype, Quassel and other Qt based applications, making them usable:

https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/269904/comments/215

Revision history for this message
danielmewes (danielmewes) wrote :

I was finally able to completely circumvent this problem by enabling *both* indirect rendering and loose bindings for compiz (by modifying the appropriate line in /usr/bin/compiz). Compiz runs really fast now (a lot (!) faster than with indirect-rendering only and even more faster than without both).
I'm running an unsupported combination of software versions however, so could someone check whether this works with plain Intrepid, too?

I am running:
Ubuntu 8.04 with stock compiz 0.7.4
Nvidia driver 180.29, installed manually
on a Quadro FX 370 (dual monitor setup)

Without loose-bindings I especially had very bad performance when running OpenGL applications with compiz enabled.

I now have in my /usr/bin/compiz:
build_args()
{
        [...]
        if check_nvidia; then
                if [ "x$INDIRECT" != "xyes" ]; then
                        COMPIZ_OPTIONS="$COMPIZ_OPTIONS --loose-binding --indirect-rendering "
                fi
        fi
}

Revision history for this message
James Dupin (james.dupin) wrote :

apparently I have no more problem since I use nvidia 180.11 on 8.10 (amongst other updates)

Revision history for this message
Karl Frisk (karl-frisk) wrote :

in this thread

http://www.nvnews.net/vbulletin/showthread.php?t=129711

you can read about a new compiz workaround to force X-to-GLX synchronization
that has been implemented.

http://gitweb.compiz-fusion.org/?p=fusion/plugins/workarounds;a=commit;h=46960f12a9d213e5f0e841557e2ed2f7ea18cc79

i have not checked it myself but it seems like it circumvents the
race condition for those users.
please include that commit in jaunty!

Revision history for this message
Anders Kaseorg (andersk) wrote :

Here is a debdiff for compiz-fusion-plugins-main to add that workaround. The new package is available in my PPA:
https://launchpad.net/~anders-kaseorg/+archive/ppa

To enable the workaround, after installing the patched package, you must run System → Preferences → CompizConfig Settings Manager, open Workarounds in the Utility section, and turn on “Force synchronization between X and GLX”. Then restart compiz.

Revision history for this message
®om (rom1v) wrote :

Will this patch be included in jaunty?

Revision history for this message
Anders Kaseorg (andersk) wrote :

I haven’t seen the problem in a week with my patch installed and the workaround enabled. I’ve subscribed ubuntu-main-sponsors.

If anyone else has also tried my patched compiz-fusion-plugins-main and enabled the new “Force synchronization between X and GLX” workaround, it would be helpful for you to comment whether it works for you.

Revision history for this message
Joakim Andersson (jocke) wrote :

@Anders:

I made my own intrepid package with your patch and haven't experienced any (or only very minor) issues with the patch enabled (using original /usr/bin/compiz, I.E. _with_ --loose-bindings and _without_ --indirect-rendering).

I'm using the 180.37-0ubuntu1 nvidia driver from jaunty, and the situation is even better than with my old solution (using the 173 driver). No mentionable slowness of X or Compiz either.

Finally a working workaround! :)

Revision history for this message
®om (rom1v) wrote :

Anders Kaseorg, I added your package, but when I apt-get upgrade, it seems there is a syntax error somewhere in your repository (or package) :

$ sudo apt-get upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets suivants seront mis à jour :
  compiz-fusion-plugins-main cpp-4.3 deluge deluge-common deluge-core deluge-torrent gcc-4.3 gcc-4.3-base git-core lib32gcc1 lib32stdc++6 libgcc1 libgfortran3
  libgomp1 libstdc++6
15 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 0o/17,9Mo dans les archives.
Après cette opération, 3846ko d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer [O/n] ? O
dpkg: erreur d'analyse syntaxique, dans le fichier « /var/lib/dpkg/available » près de la ligne 24315 paquet « openjdk-6-jre »:
 champ « Depends », référence à « libasound2 » : version contenant « ) »
E: Sub-process /usr/bin/dpkg returned an error code (2)

Revision history for this message
Anders Kaseorg (andersk) wrote :

(We solved ®om’s problem over IRC with `dpkg --clear-avail; apt-get update`. Obviously, it’s unrelated to this bug.)

Changed in compiz-fusion-plugins-main:
status: Unknown → New
Revision history for this message
Karl Frisk (karl-frisk) wrote :

Joakim Andersson: could you make that intrepid package available for for the public? :)

Revision history for this message
Joakim Andersson (jocke) wrote :

@Karl Frisk:

Sure, but I only have it for amd64... It's attached, anyway.

(It's labeled ~andersk1 since he made the original patch, I just applied it as is, without any modification)

Revision history for this message
Karl Frisk (karl-frisk) wrote :

that seems to work beautifully. no problems at all in the scenarios where this bug bugged me the most. :)
this patch should be in jaunty by default.

thanks to everyone involved.

Revision history for this message
Anders Kaseorg (andersk) wrote :

I added a patched compiz-fusion-plugins-main for Intrepid to my PPA:
<https://launchpad.net/~anders-kaseorg/+archive/ppa>

(I’d prefer not to see ~andersk labels attached to binaries that someone else compiled.)

Revision history for this message
®om (rom1v) wrote :

@Anders Kaseorg,

Unfortunately, the patch doesn't work at all for me (before and after a fresh reinstall of jaunty alpha 6).
The menu doesn't appear in ccsm, so I enabled the option in gconf-editor (/apps/compiz/plugins/workarounds/allscreen/options/force_glx_sync), but I have still the refresh problem in openoffice and in digikam : they are near unusable.

Revision history for this message
®om (rom1v) wrote :

I finally installed the patch as explained here : http://www.nvnews.net/vbulletin/showpost.php?p=1957219&postcount=18
(I exactly followed the steps)

And it totally resolves the problem ! No more refresh problems in openoffice, even if powermizer is at the lowest frequency !

Please make it available in jaunty (and enabled by default this workaround).

Revision history for this message
Anders Kaseorg (andersk) wrote :

®om: The directions in that post should give you a workaround plugin that is very similar to the one in my package (despite that post’s author’s misunderstanding of Git; `git revert` means undo a diff, not “revert to” a commit).

> The menu doesn't appear in ccsm,

I suspect you have something weird in your home directory that you copied over across the fresh reinstall. Did you have a ~/.compiz/plugins/libworkarounds.so and ~/.compiz/metadata/workarounds.xml that would have been overriding the global ones? (You certainly do now that you’ve followed those directions; but if you had ever done any manual installation of compiz plugins in the past as well, that would obviously have prevented my package from having any effect.)

I recommend removing your ~/.compiz/plugins and ~/.compiz/metadata directories (or even entirely wiping out your compiz settings with rm ~/.compiz -rf; gconftool-2 --recursive-unset /apps/compiz), then reinstalling all compiz packages from apt. Or you could try again after creating a fresh new account and logging into it.

Revision history for this message
Rocko (rockorequin) wrote :

Another vote for Anders' fix. I was suffering from the refresh problems in Jaunty's OpenOffice 3 with both nvidia 185.37 and 185.13, but they work fine now. (I assume the fix implements the 'Force synchronization between X and GLX' by default? Using the workarounds package also fixes the OO refresh issues.)

Revision history for this message
®om (rom1v) wrote :

@Anders Kaseorg:
I installed your package from a fresh reinstall of Jaunty alpha 6, with a totally new /home, without any manual installation (I tried your package before the steps described with git).

As many people affirm that your package works, I suspect a localization problem (my system is in French, and in the French version, "workaround" is translated by the word "solutions").

I will let you know if I have the files you asked me (I am at work).

Revision history for this message
David Prieto (frandavid100-gmail) wrote :

I can confirm that Anders' workaround works indeed, please include it by default.

Revision history for this message
gadLinux (gad-aguilardelgado) wrote :

I want to join this bug to the compiz I reported some time ago:

http://bugs.opencompositing.org/show_bug.cgi?id=1044

Changed in compiz:
status: Unknown → In Progress
Revision history for this message
®om (rom1v) wrote :

Will it be included in jaunty?

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automated message]

In Jaunty (9.04), we have just updated to the latest
nvidia-graphics-drivers-180 package from nVidia, version 180.44.

This package provides fixes for a large number of bugs, and we need your
assistance in testing if it fixes the issue you reported.

To do this, please do the following:

 a. Update to the 180.44 version of -nvidia using your favorite update
     method

 b. Attempt to reproduce your bug

 c. If your bug still remains, please simply reply to this email
     indicating so.

 d. If your bug is now solved, you can help us by setting your bug
     report to Fix Released:
     * In launchpad, go to your bug report
     * Click on the downward pointing arrow under Status
     * Set the Status field to 'Fix Released'
     * Comment on the change, such as, 'Verified fixed in 180.44'
     * Click 'Save Changes'

 e. If the original problem is solved but there are now other problems,
     please close the original bug and open new ones for those issues.

Thank you!

For details on the changes in this version of -nvidia, please see:

   http://www.nvidia.com/object/linux_display_ia32_180.44.html

Revision history for this message
Anders Kaseorg (andersk) wrote :

I still see the screen refresh problems with compiz under nvidia 180.44, which makes sense, given that this is a protocol problem rather than a driver problem. However, the workaround in my compiz-fusion-plugins-main update (comment 234 with attached compiz-fusion-plugins-main_0.8.2-0ubuntu2.debdiff) still seems to be effective at preventing these problems. We should move forward with uploading this patch to main, so that users have the option of enabling this workaround.

description: updated
Revision history for this message
David Prieto (frandavid100-gmail) wrote :

I agree with Anders. Updated, and I still have the problem.

Revision history for this message
David Prieto (frandavid100-gmail) wrote :

Only, why not enable it by default? Is there a drawback to it?

Revision history for this message
Anders Kaseorg (andersk) wrote :

I took the patch from upstream Git, and left that decision to them: upstream doesn’t currently enable by default. I think the reason is that enabling the workaround incurs a small performance penalty.

Revision history for this message
selkovjr (selkovjr-observercentral) wrote :

I was about to go back to 177 and report failure with 180.11 when I noticed the announcements that 180.44 is offered for testing. Which is what's happening presently. It is certainly too early for making conclusions, but I noticed one thing immediately: it is still buggy, perhaps in the same way 180.11 was. The difference is that those bugs don't kill my system. They just scream.

Here's what I saw with 180.11 (after about 4 days of running it):

1. Apparently, It did fix scrolling in firefox. I have not seen the refresh bugs in 4 days.

2. In xterm, it wasn't fixed. If anything, it became more regular. I couldn't scroll in xterm without refreshing it externally.

3. It caused obvious memory violations that killed my machine several times. It could not wake from sleep without halting, and it didn't even let me reboot the machine without turning the power off. On one occasion, I saw my entire screen become corrupt, as if something was writing into screen memory randomly. For a while, I watched the show, but the machine became unresponsive and eventually shut itself down. Today I saw something similar, when it killed my compiz and didn't let me restart it; out of a bunch of applications still running, I could only use firefox, all others' windows were blank and non-responsive. Probably another memory fault.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Now, the good news about 180.44 is that I've been running it for an hour and we're still alive, with no artifacts, in praticular none of the refresh problems that launched this thread.

The bad news, it sounds like, is that it still spills its bytes over in the wrong places. I tested how it comes out of S3 and how it starts from cold- and warm-boot; in all three cases the system beeper screams in the manner of a tty receiving tons of garbage, as soon as the nvidia module gets loaded, but eventually it goes quiet, and here I am typing away through an X window, and everything seems normal.

Maybe it's the same bug as in 180.11, only this time non-lethal.

Quadro FX 360M (rev a1)

nvidia-180-kernel-source:
  Installed: 180.44-0ubuntu1
  Candidate: 180.44-0ubuntu1
  Version table:
 *** 180.44-0ubuntu1 0
        500 http://ppa.launchpad.net jaunty/main Packages
        100 /var/lib/dpkg/status
     180.11-0ubuntu1~intrepid1 0
        500 http://gb.archive.ubuntu.com intrepid-updates/restricted Packages

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz-fusion-plugins-main - 0.8.2-0ubuntu2

---------------
compiz-fusion-plugins-main (0.8.2-0ubuntu2) jaunty; urgency=low

  * debian/patches/07_workarounds_force_glx_sync.patch:
    - workarounds.git commit 46960f12a9d213e5f0e841557e2ed2f7ea18cc79:
      Add workaround to force X-to-GLX synchronization, which should help
      for the race condition in the XDamage protocol Nvidia users are
      suffering from. (LP: #269904)

 -- Anders Kaseorg <email address hidden> Sun, 15 Mar 2009 15:12:21 -0400

Changed in compiz-fusion-plugins-main (Ubuntu):
status: New → Fix Released
Revision history for this message
Ricardo Pérez López (ricardo) wrote :

Unfortunately, the fix doesn't work for me in Jaunty. Using NVIDIA GeForce 7300 LE (G72). [10de:01d1]

Revision history for this message
Joakim Andersson (jocke) wrote :

@Ricardo Pérez López
Did you enable the workaround in ccsm (compizconfig-settings-manager)? That needs to be done manually.

Revision history for this message
Ricardo Pérez López (ricardo) wrote :

@Joakim:

No, I didn't knew that. What option do I need to enable in ccsm? Thanks.

Revision history for this message
Christoph Korn (c-korn) wrote :

@Ricardo Pérez López
Open ccsm -> Choose category Utility -> Workarounds -> [x] Force synchronisation between X and GLX

Revision history for this message
Ricardo Pérez López (ricardo) wrote :

@Christoph:

I can't see Workarounds in Utility category... May I have my compiz configuration broken?

Revision history for this message
Ricardo Pérez López (ricardo) wrote :

I've enabled the fix via gconf. I'll be using the desktop for a while, to see if it works.

Revision history for this message
®om (rom1v) wrote :

@Ricardo Pérez López :
As I said earlier, I think there is a localization problem in the fix : it doesn't work for me neither on my French system, with the ppa, I don't have the option in "solutions" (french translation of "workarounds"). Even enabling in gconf-editor doesn't resolve the problem. But it works if I compile the patch from git (but it renames "solutions" to "workarounds" and translate all its options into English.

For those who say the fix works, please give your system locale. I suspect it works only for English locale…

Revision history for this message
Christoph Korn (c-korn) wrote :

I currently use the compiz-fusion-plugins-main from this PPA:
https://launchpad.net/~anders-kaseorg/+archive/ppa/+sourcepub/532152/+listing-archive-extra

Enabling the workaround (which appears in ccsm) fixes the bug and I am on a non-english system:
LANG=de_DE.UTF-8

Revision history for this message
Ricardo Pérez López (ricardo) wrote :

@®om:

You are right. I'm using Spanish language (es_ES locale). But if I run ccsm like this:

$ LANG=C ccsm

then the Workarounds appears.

Revision history for this message
Ricardo Pérez López (ricardo) wrote :

The fix seems to works well for me since I enabled it.

Why is not enabled by default?

Revision history for this message
Nick B. (futurepilot) wrote : Re: [Bug 269904] Re: Screen refresh problems with nvidia on intrepid

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

With Force synchronisation between X and GLX enabled the situation is
better for me, however the problem still pops up from time to time. I
still sometimes see the refresh problems with some Qt4 apps like
Keepassx and VirtualBox. It's not as frequent as it used to be though.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknXl2YACgkQAGHzB9Tvw4zWLACfbkqKNZI8XLrPXX7N3XxIP78K
a8oAnj+0kb3a001qYHQKRgE/FaqY7WqY
=Ri4F
-----END PGP SIGNATURE-----

Revision history for this message
Ricardo Pérez López (ricardo) wrote : Re: Screen refresh problems with nvidia on intrepid

I can confirm that the fix doesn't solve the issue completely. I still have refresh problems with Evolution and Firefox, even enabling /apps/compiz/plugins/workarounds/allscreens/options/force_glx_sync.

Revision history for this message
®om (rom1v) wrote :

@Ricardo Pérez López
I had the same problem with this fix, it seems if ccsm doesn't have the checkbox (localization problem), the fix doesn't work, even in gconf-editor.

After installing the fix directly using git / make / make install, I had the checkbox in ccsm, and the fix was working.

Revision history for this message
Ricardo Pérez López (ricardo) wrote :

@®om
The /apps/compiz/plugins/workarounds/allscreens/options/force_glx_sync key exists in gconf-editor, and it's enabled.

Moreover, I can run ccsm using:

$ LANG=C ccsm

and then I can see the checkbox under Utility -> Workarounds, enabled too.

So I have the workaround enabled in both gconf and ccsm, but doesn't work for me.

BTW: Why is not enabled by default? Besides it doesn't work for me, several other users commented that it worked for them. Will the fix be enabled by default on fresh Jaunty installs when Jaunty releases? Will the fix be enabled by default before Jaunty release?

Revision history for this message
Dennis Dirdjaja (dcd-ditsch) wrote :

The fix seems to have it resolved (on Jaunty)for me, too. I would appreciate to have it enabled by default.

Revision history for this message
Michael Rooney (mrooney) wrote : Re: [Bug 269904] Re: Screen refresh problems with nvidia on intrepid

I seem to be still experiencing this in the terminal and Wing IDE
unfortunately.

Revision history for this message
selkovjr (selkovjr-observercentral) wrote :

On Sun, 15 Mar 2009, Anders Kaseorg wrote:

> Here is a debdiff for compiz-fusion-plugins-main to add that workaround.
> The new package is available in my PPA:
> https://launchpad.net/~anders-kaseorg/+archive/ppa

Thanks Anders,

I didn't realize another assault on this bug was taking place on the
compiz side.

I have installed your package, and now about a week later, I can confirm I
don't see any refresh artifacts. Not the way they were, at any rate.

But the whole thing has become unstable, and because of the way I
installed compiz-fusion-plugins-main, I cannot tell what exactly has
changed. An attempt to install your binary package in intrepid broke a few
dozen dependencies, which cascaded into a landslide. Sorting those out
seemed too painful, so I jumped the gun and installed jaunty.

During the week that followed, I had a few crashes. Several were pretty
mild, such as compiz (or something else) becoming corrupt, with all
windows except icons turning white, and initially non-responsive. I could
make them active again by switching to a VT and back, and then replacing
compiz brought everything back to normal. The worse ones lead to a total
lock-up of the system; in one instance I got a black screen with the live
cursor, but nothing else seemed to work; a few other times the machine
froze with partially updated windows and without any trace in the logs.
Today I got the first SEGV in the server that I can report:

Backtrace:
0: /usr/X11R6/bin/X(xorg_backtrace+0x3b) [0x813518b]
1: /usr/X11R6/bin/X(xf86SigHandler+0x55) [0x80c7be5]
2: [0xb8074400]
Saw signal 11. Server aborting.

Every time the crashes coincided with my activity of some sort, and I have
a feeling that with too many things going on and a lot of resources used
it is more likely to crash. Once it crashed when I tried to open a menu in
gimp; and today again it crashed when I used gimp to open half-a-dozen
full-size screenshots.

--Gene

Revision history for this message
Rocko (rockorequin) wrote : Re: Screen refresh problems with nvidia on intrepid

@selkovjr: maybe some of the problems are not compiz-related? I found the Jaunty beta kernel to be very unstable and I got a lot of kernel panics that locked the system (see bug #348731), including one just after the kernel killed X (ie reverting to a black screen with flashing cursor).

Revision history for this message
Colin D Bennett (colinb) wrote :

I have an Apple MacBook Pro 5,1 with nVidia 9600M GT graphics. I'm running on 64-bit Jaunty beta with the nvidia 180.44-0ubuntu1 driver version. I had problems with the title bars not getting repainted sometimes so you couldn't tell that the focused window was actually focused since it still had the unfocused window color in its title bar. Also, and more seriously, Kmail (and seemingly other KDE or Qt apps) would not update parts of its GUI when things changed until the mouse moved over the region. Ugh.

@Christoph Korn (2009-04-04)
“Open ccsm -> Choose category Utility -> Workarounds -> [x] Force synchronisation between X and GLX”

This seems so far to have fixed my issue! I'll have to do more testing to make sure, but so far it's looking good, and no noticeable performance impact.

This is a serious usability issue that nearly drove me nuts (and I couldn't point my finger at any one particular culprit (Qt, KDE, Compiz, Gnome, nVIDIA, etc.)) so I'm glad I found this bug report that seems to reflect my probem.

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

Ok this is fixed for me in almost every place.
But i just noticed some artifacs on UpdateManager today, while I scrolled the list of items.

Revision history for this message
Alison Rowland (alisonrowland) wrote :
Revision history for this message
Ricardo Pérez López (ricardo) wrote :

Let me ask again: Why is not enabled by default? Will the fix be enabled by default on fresh Jaunty installs when Jaunty releases? Will the fix be enabled by default before Jaunty release?

Seems to be a very simple and easy fix, which works in (almost) all cases, and with (almost) side-effects. But deeping into gconf-editor (or installing ccsm and clicking here and there) is too much for an average user (besides the lack of information about what to click and change). I think the fix should be enabled by default in the compiz* packages.

Revision history for this message
Anders Kaseorg (andersk) wrote :

Ricardo, see my comment above:

> I took the patch from upstream Git, and left that decision to
> them: upstream doesn’t currently enable by default. I think the
> reason is that enabling the workaround incurs a small
> performance penalty.

If you want to pursue this further, I recommend asking upstream what they actually think. The patch was written by Danny Baumann <email address hidden>; see <http://gitweb.compiz-fusion.org/?p=fusion/plugins/workarounds;a=commit;h=46960f12a9d213e5f0e841557e2ed2f7ea18cc79> .

Revision history for this message
Ricardo Pérez López (ricardo) wrote :

@Anders,

Thanks for the reply. Obviously, pushing the fix into upstream code is not always easy. However, I think it could be included into the Ubuntu compiz* packages as a patch, while awaiting for the upstream developers to include the fix by default in the upstream code.

What do the Ubuntu Core Developers (the compiz* packages maintainers) thinks about that?

Revision history for this message
Danny Baumann (dannybaumann) wrote :

To clarify upstream's opinion: ;-)

glXWaitX is a wait operation. That obviously means for it to work, there must be a performance impact (as all GL rendering is stalled until all X rendering is done). How big the actual performance impact is, depends on a lot of factors (graphics card power, amount of pending X rendering operations, driver implementation). I have not done any performance measurements, which is why I wrote "_may_ decrease performance".

Because there is a potential perfomance loss involved and this option is _only_ needed for Nvidia users with loose binding, I decided to keep it disabled by default. In any case, It should definitely be safe to enable it by default in Ubuntu's packages (Kwin does it unconditionally). I have no terribly strong feeling about the upstream default either, I just don't know what the better decision (fix display problems for some vs. potential performance loss for all others) is.

Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: Confirmed → Fix Committed
assignee: nobody → christian-wilhelmsen87
status: Fix Committed → Confirmed
Revision history for this message
Michael Rooney (mrooney) wrote :

sinnadyr, you should only assign bugs to yourself if you are actively working on fixing them. I am assuming that was a mistake but feel free to correct me if I am wrong.

Changed in nvidia-graphics-drivers-180 (Ubuntu):
assignee: sinnadyr (christian-wilhelmsen87) → nobody
Revision history for this message
selkovjr (selkovjr-observercentral) wrote : Re: [Bug 269904] Re: Screen refresh problems with nvidia on intrepid

On Thu, 2 Apr 2009, Bryce Harrington wrote:

> In Jaunty (9.04), we have just updated to the latest
> nvidia-graphics-drivers-180 package from nVidia, version 180.44.
>
> This package provides fixes for a large number of bugs, and we need your
> assistance in testing if it fixes the issue you reported.
>
> To do this, please do the following:
>
> a. Update to the 180.44 version of -nvidia using your favorite update
> method
>
> b. Attempt to reproduce your bug

After about 2 weeks of testing, I can state that it remains, although its
frequency has gone down to nearly zero. I can't even talk about it in
terms of frequency, because I saw it only once during 2 weeks. But the
fact that I saw it once may be significant. The affected application was
firefox (which was formerly more prone to this problem than most other
apps). I opened a new window and loaded the front page of youtube,
scrolled down, and saw the page in the same familiar condition, where a
narrow band on top is copied twice, while the rest of the window image is
out of sync with the text (the hyperlinks are not in the same places
where they are shown).

I have a feeling that with the newest workarounds, the bug has been chased
into some dark corner, where it is no longer reproducible.

Regards,

--Gene

Revision history for this message
selkovjr (selkovjr-observercentral) wrote :

On Wed, 8 Apr 2009, Rocko wrote:

> @selkovjr: maybe some of the problems are not compiz-related? I found
> the Jaunty beta kernel to be very unstable and I got a lot of kernel
> panics that locked the system (see bug #348731),

I would like to think so, but I'm not getting too many panics. Often when
Xorg dies, the system is still alive. Even more often, compiz (or
something?) goes nuts, but doesn't die, and I amble to recover by
replacing compiz. But I agree that the system is unstable. Suddenly, I am
unable to run pidgin (it segfaults while starting). Today the system
didn't wake up. I have certainly muddied the water by upgrading to
jaunty.

At any rate, with all that, and even considering that the original
refresh bug is not entirely gone, the net result is more pleasant than
with many "production" systems I see people use.

--Gene

Revision history for this message
Ricardo Pérez López (ricardo) wrote : Re: Screen refresh problems with nvidia on intrepid

@selkovjr:

Like you, I still have refresh issues when using Firefox. For example, when I'm reading an e-mail in Evolution containing an HTTP link, if I click on the link it opens in a Firefox tab, the Firefox window "tries" to put on top, but the tab contents is not shown. If I minimize the Firefox window and then maximize it again (using the task bar), then the problem disappears.

Revision history for this message
tankdriver (stoneraider-deactivatedaccount) wrote :

Hello,

I didn't read all 200+ comments, but I think I have a similar problem:

The "worst" application is OpenOffice (all menues&windows, parts of the sheet) (partly UNUSABLE)
And the Qt Applications:
                       Skype (partly everything)
                        VLC (menu & Settings, playlist)
                        Virtualbox (Buttons, menus)
sometimes nautilus (Detail view)

My System:
HP HDX-18 Premuim Laptop, Nvidia GeForge 9600M GT
OS: Jaunty 64-bit, nvidia 180.44 prop. driver provided by Ubuntu (COMPIZ ON)
I recognized some minor Problems in the last month with intrepid too.

If you need more Data from my side (screenshots/casts) let me know.

Revision history for this message
Skeletonix (tomaskloucek) wrote :

lspci | grep VGA

01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GS] (rev a1)
---
lspci -n | grep 300

01:00.0 0300: 10de:0392 (rev a1)

Revision history for this message
tankdriver (stoneraider-deactivatedaccount) wrote :

lspci | grep VGA

01:00.0 VGA compatible controller: nVidia Corporation GeForce 9600M GT (rev a1)
-----------
lspci -n | grep 300

01:00.0 0300: 10de:0649 (rev a1)

Revision history for this message
Sebastien Bacher (seb128) wrote :

unsubscribing the sponsor team since the debdiff has been uploaded before jaunty

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Closing Compiz component as this is correctly solved in compiz-fusion-plugins-main

Changed in compiz (Ubuntu):
status: Triaged → Invalid
Revision history for this message
hkais (r-2) wrote :

Hello all,

maybe I can visualize the problem with my screenshots. It is more than anoying. In my opinion it isn't usable any more!

screenrefresh-problem1.png:
Here you see the Thunderbird, which should be ontop of Firefox. You see a mixup of Thunderbitd and Firefox! You can see, you cannot use it.

screenrefresh-problem2.png:
Here you see the screen of a Terminal Server Session. The buttons, and the contents of the Internetexplorer is nearly completly missing!

screenrefresh-problem3.png:
Here you see a freshly opened and already completly started OpenOffice-Writer. The text in there is a editorwindow on an other desktop! And the slash is already closed!

As you can see, the current state of Ubuntu is pretty unusable.
I would like to help as far as a user can. I cannot see any workaround to fix temporarily this problem. Speed/Performance is not the issue, my major point is to be again productive on my ubuntu.

Revision history for this message
hkais (r-2) wrote :
Revision history for this message
hkais (r-2) wrote :
Revision history for this message
Rob Hasselbaum (rhasselbaum) wrote :

The bug has already been fixed in Jaunty. Go to Workarounds in CompizConfig-Settings-Manager and turn on "Force synchronization between X and GLX".

Revision history for this message
tankdriver (stoneraider-deactivatedaccount) wrote :

@hkais:
try the latest stable drivers from the ubuntu-x-swat team:
https://launchpad.net/~ubuntu-x-swat/+archive/x-updates
It should be better.
But be careful, the drivers are not as well tested as the default ones.
(I came across some crashes with this PPA and HP-HDX Notebook)

Revision history for this message
Luke12 (luca-venturini) wrote :

Rob_H is absolutely right. I came across the solution yesterday night, and lo and behold, it is finally perfect! :-)

Revision history for this message
Konrad Materka (kmaterka) wrote :

Turning on "Force synchronization between X and GLX" fixes all problems.

NVidia 9600 M, Ubuntu Jauntu 9.10 with all updates.

I haven't noticed any slowdowns.

On another machine with NV 7900 and KDE4 I haven't noticed any problems, probably kwin is turning synchronization by default...

Revision history for this message
hkais (r-2) wrote :

Hello all,

the problem isn't solved with the "Force synchronization between X and GLX".
It helped a litte bit, so the screen gets rerendered, but only if you click on any window-decoration or the gnome menu.

Here an additional screenshot with activated "Force synchronization between X and GLX".
I cannot reproduce the issue, but it often happens if I switch back or into vmware-player/workstation.

I haven't installed any other drivers as the default once, which are published with the usual ubuntu repos. This is my business notebook, therefore it must stay available.

Here more infos:
lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 140M (rev a1)

lspci -n|grep 01:00.0
01:00.0 0300: 10de:0429 (rev a1)

I am running on Lenovo T61 with the latest default provided proprietary nvidia drivers ver 180.

uname -a
Linux ntp-dp 2.6.28-13-server #45-Ubuntu SMP Tue Jun 30 20:51:10 UTC 2009 i686 GNU/Linux

Ubuntu 9.04 (32bit)

I hope someone can help me?
Maybe it is correlated with the Bug #393176 ?

Revision history for this message
hkais (r-2) wrote :

Hello all,
really no workaround/bugfix for my problem?

Revision history for this message
hkais (r-2) wrote :

Hello all,
as nobody replyed, I had the nerve to install the newest nvidia drivers.
So far the crappy display is gone. That's the good part.
The bad part, my X-Server dies regularly now. (about 3-4 times a day)
This is a big pain right now, because I run often my vmware. If the x-server dies, the vmware-instance dies also...

How can I help to find the error? Which logs do you need?
Do I have to increase the trace-level? If so how?

Revision history for this message
Michael Rooney (mrooney) wrote : Re: [Bug 269904] Re: Screen refresh problems with nvidia on intrepid

hkais, how did you install the latest nvidia drivers? From a PPA? If
so, which? https://launchpad.net/~ubuntu-x-swat/+archive/x-updates is
the best place that I am aware of. Downloading and installing from
nvidia directory is likely to cause problems and is not recommended.
As with Ubuntu in general, it is best to stick with the package
manager.

Revision history for this message
hkais (r-2) wrote : Re: Screen refresh problems with nvidia on intrepid

Micheal,

thanks for the quick reply.
I installed the following files from the x-swat team
https://launchpad.net/%7Eubuntu-x-swat/+archive/x-updates/+sourcepub/652654/+listing-archive-extra

ii nvidia-173-modaliases 173.14.16-0ubuntu1 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-180-kernel-source 185.18.14-0ubuntu1 NVIDIA binary kernel module source
ii nvidia-180-libvdpau 185.18.14-0ubuntu1 Video Decode and Presentation API for Unix
ii nvidia-180-modaliases 185.18.14-0ubuntu1 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-71-modaliases 71.86.08-0ubuntu1 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-96-modaliases 96.43.10-0ubuntu1 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-common 0.2.11 Find obsolete NVIDIA drivers
ii nvidia-glx-180 185.18.14-0ubuntu1 NVIDIA binary Xorg driver
ii nvidia-settings 180.25-0ubuntu1 Tool of configuring the NVIDIA graphics driv

I have only installed the nvidia files. Should I install more?

Revision history for this message
Michael Rooney (mrooney) wrote : Re: [Bug 269904] Re: Screen refresh problems with nvidia on intrepid

That might work, I'm not sure. The important thing is to remove the
manually installed version from nvidia if you had done that, and
install nvidia-glx-180, then restart. If that doesn't work, I'd try
aptitude purge nvidia-glx-180, then reinstalling, and seeing if that
helps. Having various parts of different drivers lying around can
cause issues.

Revision history for this message
hkais (r-2) wrote : Re: Screen refresh problems with nvidia on intrepid

Hello Michael,

sorry for my maybe stupid questions. It is my first time I am patching my graphics-driver. The last experiences there pretty aweful and I killed my X-Setup

I installed the packages manually, but now, if I try to deinstall it via aptitude/synaptic I get the warning, that a deinstall of any modalias version whats to deinstall also nvidia-common.
Therefore, what should I do to keep my system alive and to have an updated nvidia-driver?

Additionally there are many other packages in ppa for 9.04 byside the nvidia one. Should I install also any additional of them?
fglrx-installer - 2:8.620-0ubuntu3~jaunty
libdrm - 2.4.9-1ubuntu1~xup~1
nvidia-graphics-drivers-180 - 185.18.14-0ubuntu1
xfree86-driver-synaptics - 0.99.3-2ubuntu5
xserver-xorg-input-vmmouse - 1:12.6.4-0ubuntu1~xup~1
xserver-xorg-video-nv - 1:2.1.13-1ubuntu1~xup~1
xserver-xorg-video-openchrome - 1:0.2.903+svn741-1build1

Revision history for this message
hkais (r-2) wrote :

Hello,

I had again the nerve to uninstall and install blind the packages.
I deinstalled and purged all nvidia-* package
now I have only
ii nvidia-180-kernel-source 185.18.14-0ubuntu1 NVIDIA binary kernel module source
ii nvidia-180-libvdpau 185.18.14-0ubuntu1 Video Decode and Presentation API for Unix
ii nvidia-180-modaliases 185.18.14-0ubuntu1 Modaliases for the NVIDIA binary X.Org drive
ii nvidia-glx-180 185.18.14-0ubuntu1 NVIDIA binary Xorg driver
ii nvidia-settings 180.25-0ubuntu1 Tool of configuring the NVIDIA graphics driv

I hope the system will get much more stability. (I will report)

Additionally I am not sure, if one othe the other X-SWAT-Packages should be installed.

And is it possible to pin packages from the PPA in apt/preferences? If so how?

Revision history for this message
hkais (r-2) wrote :

sorry for spamming with my infos.

My X-Server crashes also after the purge/install again.
So the x-server crash is my biggest pain currently!
I cannot be sure, that I can properly work.

How can I help to reproduce the error and further more to trace it. Currently my x-server dies and I cannot see any errors in the syslog. Often it also happens, that the x-server isn't able anymore to restart. It tries to restart 3 or 4 times and tells me that I have to change to a low-res mode.

Revision history for this message
Dennis Dirdjaja (dcd-ditsch) wrote :

hkais, I suggest you open a question on https://answers.launchpad.net/ or the forums because you obviously won't get support here and I doubt your current issue is related to the original bug.

Revision history for this message
hkais (r-2) wrote :

Dennis Dirdjaja,

the problems occured with the update to the new version of the driver

Bryce Harrington (bryce)
tags: added: intrepid
Revision history for this message
hkais (r-2) wrote :

Hello,

sorry for getting rude. I am working now since weeks with a crappy unsable X-Server under 9.04 32bit.
Today I have lost about 4 hours of work. And I have to finish the work tomorrow until 12pm. I had never worked on such a crappy linux-distribution since the 8.10 and especially the 9.04 updates!
I have never had such a crappy x-server, there the server dies regularly! Usually I had to setup the x-server one time (sometimes with pain) and only one time. And the complete work on the desktop/notebook was done. Since 8.10 the x-server seems to be a pretty crap from the point of stability.

To my history. I work with linux since 10 years. With Ubuntu since 2005. I switched our servers 2006 with the availability of LTS to ubuntu. Therefore I am not a noob from the point of ubuntu-server. From the point of ubuntu-desktop. I never had a problem to fix a unstable x-server.

I have asked multiple times how I could support here, to get the error fixed. For now I have got pretty few answers.

I tried all proposed solutions and none of them fixed my problem. The bugs in the screenrefreshes have been eased but not fixed. I sometimes get further screenrefresh-errors on the x-screen. Now with the PPA-drivers my x-server dies pretty regularly.

So am I really forced to switch to back to redhat/novell(suse)? I hope not.

So again I ask you how can I support you to figure out there the problem is.
I cannot see anything in the logs, which give my a clue. How can I increase the verbosity of the x-server logs and maybe the verbosity of the nvidia-driver?

Revision history for this message
hkais (r-2) wrote :

The amount of users seems to increase.
Again I am willing to help, but give me instructions how to help..

Bug #342980

Revision history for this message
hkais (r-2) wrote :

Forgot: it now also affects 9.10/karmic

Revision history for this message
®om (rom1v) wrote :

hkais, even the option "Force synchronisation between X and GLX" in compizconfig doesn't solve the problem for you?

For me it resolves completely…

Revision history for this message
Ricardo Pérez López (ricardo) wrote :

The "Force synchronisation between X and GLX" option solves the problem for me in Jaunty, but it doesn't work very well on Karmic. Now I have a big screen refresh problem when I minimize the aMSN window to tray (bug #465644). I tried enabling and disabling the "Force synchronisation between X and GLX" option without luck, as well as using other nvidia-glx versions.

Changed in compiz-fusion-plugins-main (Ubuntu Intrepid):
status: New → Won't Fix
Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: Confirmed → Invalid
Changed in nvidia-graphics-drivers-180 (Ubuntu Intrepid):
status: New → Invalid
Revision history for this message
Travis Watkins (amaranth) wrote :

Just FYI, this was actually a bug in compiz but nvidia was the first to trigger it. The open source drivers will most likely trigger it in lucid so in karmic we've got a patch that does the same thing as the "Force sync between X and GLX" option but it does it all the time and that option has no effect on it.

Revision history for this message
hkais (r-2) wrote :

Under intrepid I tried:
- "Force sync between X and GLX"
- multiple upgrades of the nvidia drivers
- upgrades of compiz and xorg from ppa
- in the meanwhile I do not know what I have already tried. but it have been multiple of hour of investigation. Until now no success.

Now I hopefully switched to karmic, and the problems are still there, that is frustrating for me. Especially if you remind, that I tried all suggestions on the topic.
So the "Force sync between X and GLX" is already activated.

@Travis: how can I fix it, if there is already a patch?

Revision history for this message
mr. adams (christopher-lee-adams-deactivatedaccount) wrote :

"Force synchronization between X and GLX" doesn't help for me (it was already checked). I've always had this problem on my current hardware, but now it's much worse under Karmic.

This really needs to be fixed!

Revision history for this message
Brian J. Murrell (brian-interlinx) wrote :

I'm on Karmic with nvidia-glx-185 185.18.36-0ubuntu9+ppa2 and seeing this quite a bit. I have to manually refresh windows using the title bar to roll them up and then down again.

Is this supposed to be fixed in Karmic or is it still a known issue?

Revision history for this message
Brian J. Murrell (brian-interlinx) wrote :

Having skimmed the comments in this bug, I will add that I already have the "Force synchronization between X and GLX" workaround enabled.

Changed in compiz-fusion-plugins-main (Debian):
status: New → Fix Released
Changed in compiz-fusion-plugins-main (Ubuntu):
assignee: nobody → lynda scheidt (lyndastill007)
Revision history for this message
Kyle Brenneman (kyle-brenneman) wrote : Re: Screen refresh problems with nvidia on intrepid

I've attached a patch that fixes the problem.

To give a little more detail on the race condition:

The problem is that when the X server receives a request to do some drawing, it will send the drawing commands to the video driver and then it immediately sends out the damage event. That works as long as the GPU only processes one command at a time, in the order they were given.

But, an Nvidia GPU can handle multiple command streams at the same time. If the X11 rendering takes long enough, then Compiz will try to redraw the screen while the application's rendering is still in progress.

The GL_EXT_x11_sync_object extension was created to fix this exact problem. It lets you use an X11 fence as an OpenGL sync object, so you can make Compiz's rendering wait until any X11 rendering has finished.

Revision history for this message
Margarita Manterola (marga-9) wrote :

Hi, for some reason the patch added by Kyle doesn't show in the comment history as normally, although it's on the patch list on the right. His patch is:
Add an option to use GL_EXT_x11_sync_object to synchronize updates with X11 drawing

I have tested this patch using Unity in precise and I was unable to reproduce the screen refresh issue. It would be great if this patch could be applied for the compiz version in precise, as well as to the latest version, of course.

summary: - Screen refresh problems with nvidia on intrepid
+ Screen refresh problems with nvidia cards
Revision history for this message
Kyle Brenneman (kyle-brenneman) wrote :

I've attached a patch with the same fix that should work with compiz 0.9.7.12 in Precise.

Revision history for this message
Stephen M. Webb (bregma) wrote :

The patches seem to be copyrighted by nVidia and authord by one James Jones. Where do they come from?

Revision history for this message
Kyle Brenneman (kyle-brenneman) wrote :

James Jones is the original author of the patch. I made a couple modifications to it before attaching it -- some minor simplifications, adding the config option, slightly better error resilience, and updating it to work against the latest compiz source tree.

Revision history for this message
Jaime Marques (jimmy93) wrote :

Any news on this?
is there any simple way i can use the patch on ubuntu 14.04 meanwhile?
thanks.

Revision history for this message
Aaron Plattner (aplattner) wrote :

Is there still some concern about accepting the patch? It was indeed authored by James Jones and signed off by him for public release.

Revision history for this message
Christopher Townsend (townsend) wrote :

Hello,

I'm getting quite frustrated that we cannot get this patch into Compiz proper due to the silly licensing issue. So what I have done is create a Compiz PPA that includes the attached patch. The PPA can be found here: https://launchpad.net/~townsend/+archive/compiz-nvidia-refresh-test

This PPA has packages for Precise, Trusty, and Utopic. Could people who are affected by this try out the packages for those Ubuntu releases and report back on whether the issue is resolved or not? I'd really like to get a feel if this is a good fix and if so, try to put pressure on the parties in play to get this included in Compiz.

Thanks in advance everyone! I look forward to your feedback.

Revision history for this message
Aaron Plattner (aplattner) wrote :

Christopher, is there some actual discussion somewhere where licensing is called out as a problem, or are you just referring to Stephen's comment #325? I'll bet it just that no one who has permission to push updated packages has noticed this bug and I don't know how to attract the attention of someone who does.

Revision history for this message
Stephen M. Webb (bregma) wrote :

The discussion is between Canonical lawyers (who require a CLA for non-trivial contributions to Canonical code, including at this time Compiz) and nVidia, who own the copyright on the contributed code and do not agree to a CLA.

Revision history for this message
Aaron Plattner (aplattner) wrote :

Ah, thanks for the clarification.

Revision history for this message
Y. Leretaille (yleretaille) wrote :

@townsend: I have this issue on my Macbook Pro Retina 10.1 with Ubuntu 14.04 using the nvidia card (gt 650m). In many applications, only parts of the screen are refreshed and the parts that are not refreshed flicker heavily (seemingly between old versions of the screen). This is especially a problem in firefox.
I tried the following fixes before:
- "Force synchronization between X and GLX" in ccsm: no change
- turning off "Allow Flipping" in nvidia-settings: removed the flickering but the issue remained otherwise unchanged
- updating to newest nvidia driver (now 337.25): no change

I just tried your patched compiz version and it seems that the issue is now completely resolved!

Revision history for this message
Ryan Tandy (rtandy) wrote :

Hi Christopher,

On a GeForce 6150SE/nForce 430 running Precise with the Raring HWE stack and nvidia-304, compiz hangs, and periodically prints:

compiz (opengl) - Info: Initializing sync objects
compiz (opengl) - Warn: We should never wait for a sync -- add more syncs?
compiz (opengl) - Error: Timed out waiting for sync object.
compiz (opengl) - Info: Destroying sync objects
compiz (opengl) - Info: Initializing sync objects
compiz (opengl) - Error: glClientWaitSync failed
compiz (opengl) - Error: Timed out waiting for sync object.
compiz (opengl) - Info: Destroying sync objects

The same setup works fine on a GeForce 210 and a Quadro 1000M.

Ryan Tandy (rtandy)
Changed in compiz-fusion-plugins-main (Ubuntu):
assignee: lynda scheidt (lyndastill007) → nobody
Revision history for this message
Christopher Townsend (townsend) wrote :

Hi Ryan,

So it seems the Nvidia patch has some issue on some hardware. Funny, a comment in the code from the patch says this should never happen. This is where James Jones (the person who wrote the patch) would need to help out, but unfortunately, I don't have a dialogue opened with him.

Are you able to get to CCSM at all and if so, could you try disabling this option in the OpenGL plugin settings?

Revision history for this message
Ryan Tandy (rtandy) wrote :

Yes, turning off the option makes it behave normally again.

I'll try to get access to a machine with that chip long enough to try trusty or utopic and check whether the same thing happens there.

Revision history for this message
Dave Chiluk (chiluk) wrote :

I sent James Jones a message on Linked-in directing him to this bug, hopefully that helps. The interwebs are a beautiful and often very small place.

Revision history for this message
JW (jweill35) wrote :

This patch causes higher compiz memory usage than normal

Revision history for this message
ariel cornejo (arielco) wrote :

Minor heads-up:
Those using Christopher's PPA need to either hold the relevant package versions, or tweak the APT policy:

$ cat /etc/apt/preferences.d/townsend-compiz
Package: *
Pin: release o=LP-PPA-townsend-compiz-nvidia-refresh-test
Pin-Priority: 600

Otherwise, the numerically-higher version of compiz in the Ubuntu repo will replace the patched package.

Revision history for this message
ariel cornejo (arielco) wrote :

With Christopher's packages, I still find this happening occasionally in Firefox (flickering between the old and new content after scrolling), apparently when free memory is low. I'm not sure I can replicate it consistently.

Revision history for this message
Adam Strzelecki (nanoant) wrote :

Dave, did you get any response from James Jones? Did anyone tried to contact him using e-mail supplied in the patches?

Revision history for this message
Kiva Laatikko (kivalaatikko) wrote :

I suddenly started to experience this bug when I updated my NVIDIA drivers from NVIDIA-Linux-x86_64-331.79 to >= 340. The only workaround I've found is:

CCSM -> Utility -> Workarounds -> Force complete redraw on initial damage -> check (not sure if this helps)
CCSM -> Utility -> Workarounds -> Force full screen redraws (buffer swap) on repaint -> check

Revision history for this message
Stéphane Verdy (sverdy) wrote :

Good news! We now have a signed CLA in place for James contribution (see comment #331 for background) so James code can finally be merged!

no longer affects: compiz
Revision history for this message
pcworld (pcworld) wrote :

Note that I'm not sure if this problem with the patch has been addressed yet: https://bugs.launchpad.net/compiz/+bug/1288747/comments/91
(If needed, I can test some more with the current version of the patch to see if the issue still exists)

no longer affects: nvidia-graphics-drivers-177 (Ubuntu)
no longer affects: nvidia-graphics-drivers-177 (Ubuntu Intrepid)
no longer affects: nvidia-graphics-drivers-180 (Ubuntu Intrepid)
no longer affects: nvidia-graphics-drivers-180 (Ubuntu)
Changed in compiz:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Christopher Townsend (townsend)
Revision history for this message
Christopher Townsend (townsend) wrote :

@pcworld,

Could you please test some more with the version of Compiz from my PPA? Also, if you do see it, could you please try disabling this in CCSM->OpenGL->X11 Sync objects and see if your stuttering is gone?

Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.12.0+15.04.20141210.2-0ubuntu1

---------------
compiz (1:0.9.12.0+15.04.20141210.2-0ubuntu1) vivid; urgency=medium

  [ James Jones ]
  * Added support for GL_EXT_x11_sync_object OpenGL extension for Nvidia
    based GPUs to avoid screen refresh issues. (LP: #269904)

  [ Kyle Brenneman ]
  * Added support for GL_EXT_x11_sync_object OpenGL extension for Nvidia
    based GPUs to avoid screen refresh issues. (LP: #269904)

  [ Viktor A. Danilov ]
  * Added support for GL_EXT_x11_sync_object OpenGL extension for Nvidia
    based GPUs to avoid screen refresh issues. (LP: #269904)

  [ Chris Townsend ]
  * Added support for GL_EXT_x11_sync_object OpenGL extension for Nvidia
    based GPUs to avoid screen refresh issues. (LP: #269904)

  [ Stephen M. Webb ]
  * Added support for GL_EXT_x11_sync_object OpenGL extension for Nvidia
    based GPUs to avoid screen refresh issues. (LP: #269904)
  * libdecoration/CMakeLists.txt: use correct variable for link
    directories (LP: #1392715)
  * Switcher Plugin: renamed a local variable so it does not hide a
    function parameter. (LP: #1101585)
  * added support for multi-arch installations (LP: #1395105, #959282)
  * libcompizconfig: reorder stat() and open() calls to eliminate a race
    condition (LP: #1101608)
  * dodge plugin: avoid potential null pointer dereferences (LP:
    #1101554)
  * PrivateScreen unit tests: added additional assertions to verify the
    tests are run in an expected state (LP: #1101413)

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Brandon Schaefer ]
  * Rev 3891 change caused 2 known regressions. (Could be more).
    Reverting. (LP: #1398512, #1393020)
 -- Ubuntu daily release <email address hidden> Wed, 10 Dec 2014 19:52:06 +0000

Changed in compiz (Ubuntu):
status: Invalid → Fix Released
Stephen M. Webb (bregma)
Changed in compiz:
status: In Progress → Fix Committed
milestone: none → 0.9.12.1
Revision history for this message
Ryan Tandy (rtandy) wrote :

Hi,

The problem I described in comment #334 still happens.

https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/269904/comments/334

Reproduced with:
vivid daily-live dated 20141218,
compiz 1:0.9.12.0+15.04.20141210.2-0ubuntu1 (via "apt-get update && apt-get dist-upgrade"),
nvidia-304 304.125-0ubuntu1 (via "ubuntu-drivers autoinstall").

The GPU, according to lspci, is: 00:0d.0 VGA compatible controller: NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2)

If I turn off X11 Sync for the opengl plugin, everything works as before.

Do you want me to file a separate bug about that?

Revision history for this message
Kyle Brenneman (kyle-brenneman) wrote :

That sounds like it's probably a different bug that's been uncovered by this change, so I think a separate bug would be appropriate. If you've still got a system handy that can reproduce it, the log from nvidia-bug-report.sh would also be helpful.

Revision history for this message
Ryan Tandy (rtandy) wrote :

Filed as bug 1404015.

Revision history for this message
Johan Boule (johan-boule) wrote :

I confirm that applying the patch 0.9.12/revision/3916 solves the partial-redraw / flickering issues on utopic with nvidia driver 346.22 on a geforce gt 740 card.

Revision history for this message
Lino Barreca (linobarreca) wrote :

My firefox (35) really became unusable... screen doesn't refresh at all when switching tabs..problem isn't on the page only but on the firefox's window as well (like on the active tab and scrollbars redrawing)....

nvidia-updates 304.125 on NVIDIA G73M [geForce Go 7600] with 3.16.0.29-generic

Revision history for this message
Martins Jakubovics (martins-k) wrote :

Today (26.01.2015) Ubuntu 14.04 x64 upgrade my compiz and flickering are back ...

~$ compiz --version
Compiz 0.9.11.3

Nvidia driver 346.35 GeForce GT 610

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Christopher: this bug is missing the SRU template https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu Trusty):
status: New → Confirmed
Changed in compiz-fusion-plugins-main (Ubuntu Trusty):
status: New → Confirmed
description: updated
Revision history for this message
Nate Olander (aeves-nate) wrote :

Same here on Ubuntu 14.04.1 (AMD64) running Compiz 0.9.11.3 & using the nvidia-340 drivers (from xorg-edgers) for my GTX 750Ti - definitely been a recent update that caused this, I wasn't having issue prior to the recent kernel upgrade that I ran ~3-4 days ago.

As a side-note about that upgrade, I had to run it as sudo apt-get dist-upgrade. That might be the root of these evils, perhaps the kernel upgrade broke NVIDIA's drivers a bit?

Revision history for this message
Mateo Salta (mateo-salta) wrote :

Just had it happen on trusty 64bit, on a GeForce GTX 760, happend after update to nvidia-340 v. 340.29

A setting in CompizConfig has helped the issue: Under "Workarounds" check "Force full screen redraws (buffer swap) on repaint"

Stephen M. Webb (bregma)
Changed in compiz:
status: Fix Committed → Fix Released
Revision history for this message
Johan Boule (johan-boule) wrote :

I see a new compiz package version 1:0.9.12.0+15.04.20150202-0ubuntu1 for Vivid has been published on 2015-02-02.
However, according to the changelog of that realease, it does not close bug #269904.
So this raises the question: why has the status changed to Fix Released ? I can't seem to find a published version for Ubuntu 14.10/Utopic for example.
Shouldn't it be changed back to some other status ?

Revision history for this message
Johan Boule (johan-boule) wrote :

OK, now i see that source package compiz 0.9.12.1 has been released. However i'm a bit confused with the launchpad site to determine when this package is scheduled to be built and on which specific binary distributions is it going to land. Where can I see a link between this source release and milestones/distributions ?

Stephen M. Webb (bregma)
Changed in compiz (Ubuntu Trusty):
importance: Undecided → Medium
status: Confirmed → In Progress
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello David, or anyone else affected,

Accepted compiz into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/compiz/1:0.9.11.3+14.04.20150122-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in compiz (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote : [compiz/trusty] possible regression found

As a part of the Stable Release Updates quality process a search for Launchpad bug reports using the version of compiz from trusty-proposed was performed and bug 1418264 was found. Please investigate this bug report to ensure that a regression will not be created by this SRU. In the event that this is not a regression remove the "verification-failed" tag from this bug report and tag 1418264 "bot-stop-nagging". Thanks!

tags: added: verification-failed
Revision history for this message
Christopher Townsend (townsend) wrote :

Bug 1418264 has absolutely nothing to do with the changes for the bug. Re-marking verification-needed.

tags: removed: verification-failed
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz-plugins-main (Ubuntu Precise):
status: New → Confirmed
Mathew Hodson (mhodson)
affects: compiz-fusion-plugins-main (Ubuntu) → compiz-plugins-main (Ubuntu)
Mathew Hodson (mhodson)
no longer affects: compiz-fusion-plugins-main (Ubuntu Trusty)
no longer affects: compiz-fusion-plugins-main (Ubuntu Precise)
no longer affects: compiz-fusion-plugins-main (Ubuntu)
affects: compiz-plugins-main (Ubuntu) → compiz-fusion-plugins-main (Ubuntu)
no longer affects: compiz-plugins-main (Ubuntu)
affects: compiz-fusion-plugins-main (Ubuntu) → compiz-plugins-main (Ubuntu)
Changed in compiz-fusion-plugins-main (Ubuntu):
status: New → Fix Released
Changed in compiz-plugins-main (Ubuntu Trusty):
status: Confirmed → Invalid
Revision history for this message
Ryan (acu192) wrote :

I'd been experiencing this bug for a few days now. It stared after installing the proprietary NVIDIA driver. It was SUPER annoying. But I installed compiz from trusty-proposed and it plagues me no longer!

Before, this bug would show itself once every few minutes. But now, it's been about 4 hours with no sign of it! And I haven't noticed any new bugs either.

Not sure what info you all need, but here's some:

ryan@charles:~$ compiz --version
Compiz 0.9.11.3
ryan@charles:~$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 340.29 Thu Jul 31 20:23:19 PDT 2014
GCC version: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)

Let me know if you need any more info. And thank you so much.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Johan Boule (johan-boule) wrote :

A note about Ryan's comment #364 : compiz --version shows "0.9.11.3". Wasn't the bug supposed to be fixed in 0.9.12.1 ?

Revision history for this message
Johan Boule (johan-boule) wrote :

And also fixed in 0.9.11.4, but not in 0.9.11.3.

Revision history for this message
Stephen M. Webb (bregma) wrote :

A Brief Note on Compiz Versions
==========================

The Ubuntu Compiz package version currently (2015-02-12) in trusty-proposed and which contains the fix is 0.9.11.3+14.04.20150122. This is technically Compiz version 0.9.11.2+bzr3869 with additional changes not yet merged upstream. The merge to upstream Compiz happens after the Ubuntu packages in the trusty-proposed pocket migrates to the trusty-updates pocket. Neither Compiz 0.9.11.3 nor Compiz 0.9.11.4 have been released by upstream yet regardless of how Ubuntu versions its packages, athough one of the devs incorrectly changed the Compiz version string to match the Ubuntu package version.

Ryan did in fact install the first Compiz package available for Ubuntu 14.04 that contains the fix for this bug. In this case, the bug fix was cherry-picked for the Compiz 0.9.11 branch from the main Compiz branch (which is at 0.9.12.1) where it has already been released and tested.

tl;dr

- This bug is fixed in Compiz release 0.9.12.1 (currently available in Ubuntu "Vivid Vervet")
- This bug has also been fixed in the Ubuntu package compiz-1:0.9.11.3+14.04.20150122-0ubuntu1,
   currently in the trusty-proposed pocket and migrating soon to the trusty-updates pocket (and Ubuntu 14.04.2 LTS)
- The fix for this bug will appear in Compiz release 0.9.11.3 when it gets released in the near future

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.11.3+14.04.20150122-0ubuntu1

---------------
compiz (1:0.9.11.3+14.04.20150122-0ubuntu1) trusty; urgency=medium

  [ James Jones ]
  * Added support for GL_EXT_x11_sync_object OpenGL extension for Nvidia
    based GPUs to avoid screen refresh issues. (LP: #269904)

  [ Kyle Brenneman ]
  * Added support for GL_EXT_x11_sync_object OpenGL extension for Nvidia
    based GPUs to avoid screen refresh issues. (LP: #269904)

  [ Viktor A. Danilov ]
  * Added support for GL_EXT_x11_sync_object OpenGL extension for Nvidia
    based GPUs to avoid screen refresh issues. (LP: #269904)

  [ Chris Townsend ]
  * Added support for GL_EXT_x11_sync_object OpenGL extension for Nvidia
    based GPUs to avoid screen refresh issues. (LP: #269904)

  [ Stephen M. Webb ]
  * Added support for GL_EXT_x11_sync_object OpenGL extension for Nvidia
    based GPUs to avoid screen refresh issues. (LP: #269904)

  [ Michael Thayer ]
  * use correct screen extents for multi-monitor positioning of
    fullscreen windows (lp: #1353675) (LP: #1353675)
 -- Ubuntu daily release <email address hidden> Thu, 22 Jan 2015 14:51:56 +0000

Changed in compiz (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of the Stable Release Update for compiz has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Eloy Paris (peloy-chapus) wrote :

The version of compiz that landed in trusty-updates (1:0.9.11.3+14.04.20150122-0ubuntu1) with the fix for this bug causes compiz process high CPU and UI freeze right after logging in, making the system unusable. I no longer experience these problems after downgrading to the previoius version in trusty-updates (1:0.9.11.3+14.04.20141104-0ubuntu1).

I have filed LP#1424013 to track what what to me looks like a regression.

I am using the nvidia-304 driver because my NVIDIA card is not supported in more recent versions of the NVIDIA driver.

Revision history for this message
Martin Marshalek (martytm42) wrote :

Is this fix coming to Utopic? I'm running 14.10 fully updated with the 346 drivers and compiz 0.9.12 and can confirm that the bug is still present. Are there plans for 0.9.12.1 to be backported from Vivid or the patch added to the Utopic branch?

Here's any relevant info:
marty@MartyM-8570w:~$ compiz --version
Compiz 0.9.12
marty@MartyM-8570w:~$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 346.35 Sat Jan 10 21:27:15 PST 2015
GCC version: gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6)

Thank you!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu Precise):
status: New → Confirmed
Revision history for this message
Johan Boule (johan-boule) wrote :

Is the fix having difficulties coming to the utopic distribution ?

I'm still trying to figure out why i can't find it : I go to this page http://packages.ubuntu.com/utopic/compiz
then click on the changelog link, then try to find this bug number, 269904, and it's not there.

Also, when I issue the command "aptitude versions compiz", the only version available is 1:0.9.12+14.10.20140918-0ubuntu1.
I my apt sources.list, i have :
- "utopic main restricted universe multiverse"
- "utopic-updates main restricted universe multiverse"
- "utopic-backports main restricted universe multiverse"

So, can someone confirm the fix is still not released to utopic ?

I've living with a customed patched version of 0.9.12.0 for nearly 5 months now.

tags: added: utopic
Revision history for this message
Johan Boule (johan-boule) wrote :

I set up a reminder to check this issue once again on Utopic. So, today I went to http://packages.ubuntu.com/utopic/compiz, clicked on the Changelog link, searched for #269904, and didn't find it.

Tank you Mateusz for having added an utopic tag to this issue.

However as time passes, I can't help but think this bug will never be officially fixed on Utopic, since its "end of life" date is just two months from now.

You may just mark it as "Won't fix" for Utopic.

Revision history for this message
Malachi de AElfweald (malachid) wrote :

I just upgraded to 17.10 and am seeing the same problem with 0.9.13.1+17.04.20170109-0ubuntu1

Revision history for this message
Malachi de AElfweald (malachid) wrote :

I was just able to fix it on 17.10 by opening 'NVIDIA X Server Settings', going to 'X Screen 0':'OpenGL Settings' and unchecking 'Allow Flipping'.

Problem immediately stopped.

Revision history for this message
Brian Murray (brian-murray) wrote : Re: [Bug 269904] Re: Screen refresh problems with nvidia cards

On Fri, Apr 28, 2017 at 01:24:42AM -0000, Malachi de AElfweald wrote:
> I just upgraded to 17.10 and am seeing the same problem with
> 0.9.13.1+17.04.20170109-0ubuntu1

Please open a new bug report then as this is about a quite older version
of Ubuntu.

--
Brian Murray

Revision history for this message
Steve Langasek (vorlon) wrote :

The Precise Pangolin has reached end of life, so this bug will not be fixed for that release

Changed in compiz (Ubuntu Precise):
status: Confirmed → Won't Fix
Changed in compiz-plugins-main (Ubuntu Precise):
status: Confirmed → Won't Fix
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.