Compiz gets into a state where going fullscreen in apps causes an X11 BadAlloc error
Nominated for Intrepid by adso58
Binary package hint: compiz
I have a up-to-date i686 gutsy install on a Dell XPS M1710 laptop with an NVIDIA GeForce Go 7900 GS (except with some packages installed from hardy, including the nvidia driver).
I am using compiz and I am seeing a situation where it sometimes gets into a state where apps are unable to go into fullscreen mode. Attempting to do so results in an X11 BadAlloc error with the explanation of "insufficient resources for operation". Disabling compiz fixes the problem, after which it can be re-enabled and fullscreen will work with it again. I have 2GB of system RAM, 4GB of swap, and 256MB of video RAM, so I don't think I am actually running out of resources.
I have seen this with Totem, MPlayer, and SMPlayer. In the latter two, it occurs with all output modules that I have tried (which are xv, gl, and gl2). Note that in SMPlayer the X11 error simply causes video to not show up in fullscreen, whereas in Totem and MPlayer it causes the program to exit. I will test other apps and other settings (particularly turning off/on the legacy fullscreen option in compiz) when this bug happens next.
I am attaching .xsession-errors, Xorg.0.log, and the output of lspci -vvnn, since I have noticed that people often ask for that. For the first two, they are taken from after I encountered the problem, turned off compiz, and then turned it back on.
$ cat /etc/lsb-release
$ apt-show-versions | grep compiz
compiz-gnome/gutsy uptodate 1:0.6.2+
compiz-core/gutsy uptodate 1:0.6.2+
compiz/gutsy uptodate 1:0.6.2+