After an arbitrary number of minimize operations (sometimes only 1 is enough, sometimes 20 is needed), some plugin textures get lost (e.g. cube skydome turns white). And they stay that way until the texture is manually reloaded or compiz is restarted.
The lost textures are not window textures, but plugin textures, such as cube skydome, cube top cap, and other plugin textures that are loaded with readImageToTexture(). This starts happening more quickly when newly opened windows are minimized rather than old windows if that means anything.
Loaded plugins (in order):
gconf, dbus, decoration, wobbly, jpeg, png, cube, rotate, scale, move, inotify, svg, resize, place, switcher, water, regex, zoom, neg, bs, crashhandler.
It's not related to minimize animations since neither Minimize nor Animation plugin is needed to be enabled for this. The problem happens both with and without those plugins. So it should be related to whatever is happening when a window is minimized (unmapped).
The problem is quite annoying because it arbitrarily screws up plugin textures.
To see what was wrong, in Cube I checked the values in cs->sky (cs->sky.name, cs->sky.target, and the others), and they don't change after the problem starts happening. So it's something else, maybe OpenGL losing the texture bindings somehow.
This is on Ubuntu 7.04, Xgl, fglrx 8.36.5, ATI Mobility x300. Do let me know if any more information is needed.
This problem also exists with the --loose-binding option (again on Xgl). I haven't tried aiglx yet.
Plus the error is sometimes accompanied by (or preceded with) this error when using kde-window-decorator:
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 2
Minor opcode: 0
Resource id: 0x1e0013a
and by errors like this when using gtk-window-decorator:
(gtk-window-decorator:26290): Wnck-WARNING **: Unhandled action type (nil)
I don't know how the decorators would be related to the issue, but they might.
Ok, doesn't look like this is related to window decorators.
Here are 3 screenshots of the problem:
Switcher icon texture lost:
Cube top cap image texture lost:
Cube skydome texture lost:
These happened arbitrarily after I open, close, minimize, unminimize a few windows.
This Xgl patch fixes the problem for Ubuntu Feisty users (to be applied on xserver-xgl_7.2.0.git.20070224-0ubuntu3 sources):