Nvidia Black Window Bug Fix

From openSUSE


The Black Window Bug, is caused by a problem in the Nvidia Driver, and Composite Effects. Compiz/Compiz Fusion/Beryl Users can use this howto to help fix it.
Nvidia Black Window Bug
Enlarge
Nvidia Black Window Bug

Contents

Open up you /etc/X11/xorg.conf as root and add whatever seems fit. NOTE: You can Find out your driver version by opening nvidia-settings.

Xorg.conf Editing

Under Section "Screen":

  Option "NvAGP" "0" (FOR PCI Express)
  Option "AddARGBGLXVisuals" "True" (For 9xxx and 100.14.19 drivers)
  Option "DamageEvents" "True" (Doesn't work on SLI)
  Option "DisableGLXRootClipping" "True" (Only for 100.xx.xx drivers older than 100.14.19)
  Option "AllowGLXWithComposite" "True" (For drivers older than 9639)
  Option "RenderAccel" "True" (For drivers older than 9639)
  Option "UseEvents" "False" (Finetunes OpenGL renderer)
  Option "TripleBuffer" "True" (Improves quality. Use with Sync2VBlank Enabled at nvidia-settings for OpenGL and Xv)
  Option "BackingStore" "True" (See NOTE 1)

NOTE 1: Use BackingStore option with CAUTION it may NOT work on all systems especially Geforce 6 cards and Motherboards with nForce 3 chipset, but give it a try cause it helps performance when works properly. If you get ANY kind of strange stuff(White Windows in Compiz Fusion) after you applied the settings remove this option and try again.

Under Section "Extensions":
  Option "DAMAGE" "Enable"
  Option "Composite" "Enable"
  Option "RENDER" "Enable"

Additional Configurations

Beryl Startup Options

In Beryl-manager's Advanced Options use the following setup:

"Texture from Pixmap" "Don't Use COW or Automatic" "force AIGLX" "XGL binding" "Indirect rendering or Automatic"


Compiz Fusion Startup Options

Start Compiz Fusion with the '--loose-binding' option for better performance.


External Links