PDA

View Full Version : [Solved] Partly black windows


RYX
November 11th, 2006, 12:09 AM
Hi everybody! I installed compiz 0.3.2 and now have some minor (but annoying) visual bugs. The windows are partly black (ie. areas are black and only getting refreshed when something is dragged over the black area or window is dragged), but not always. The problem occurs randomly but most of the time when many windows are opened within a short time (like when hovering the menubar and submenus popping up).

Here is a screenshot of what I mean: Screenshot (http://img400.imageshack.us/img400/3571/repaintingbugra0.png)

I am using the nvidia drivers ("stable") and the problem does not appear with beryl (so it is most likely not related to the driver). I tried disabling the fade/minimize plugins but the problem remains. I also tried to disable gtk-window-decorator but the bug is still there.

(Only to mention I had the same problem with compiz 0.2.2)

Any ideas? Thanks in advance ...

:)

mikedee
November 11th, 2006, 02:25 AM
I get black flashing when selecting windows if I do not use the --indirect-rendering option to compiz on startup.

I am using the beta driver though so maybe your problem is different.

RYX
November 11th, 2006, 02:42 AM
Thanks, mikedee - but the option only reduces the frequency of the bug. I am using the 9629-driver (maybe its still beta, not sure) but beryl caused no problems with it, so I think its some bug in compiz. It looks like the screen is not redrawn properly when map-/unmap-events occur too fast (I think it is the screen, because you can "erase" the black areas with any window).

I also get this output from both beryl and compiz when I run them from the console, but only sometimes (I think when clicking on the desktop, but it also suddenly appears randomly):
compiz: pixmap 0x2800186 can't be bound to texture
compiz: Couldn't bind redirected window 0x24106bb to texture

The adress values vary - strange about that is that everything is still working, only constant output of these two lines. (But maybe that bug is related to the nvidia driver)

edit: what version of the driver do you use, mikedee?

:)

RYX
November 15th, 2006, 02:36 PM
OK, the black windows (repainting bug) are gone. The solution was to enable the cow-patch and run compiz with thiscompiz --use-cow gconf &...
Yes, that simple.
:)