ie compiz has decided for some reason to work less hard, resulting in laggy 3d.
It sometimes goes back to 60 fps all by itself without a reboot. For instance, just now I checked 'Detect Refresh Rate' in ccsm/General Options and it went from 40 back to 60. (I had tried setting the refresh rate to 60 Hz in case the detection code was faulty, but I can't say that it made any difference.)
I already have "unredirect fullscreen windows" checked (but I don't think should affect glxspheres in any case since it isn't a fullscreen window).
After a complete system reboot I can sometimes get ~60 fps in glxspheres. But it gradually (or some cases, suddenly) regresses.
I have noticed that when it runs slower, both glxspheres and compiz take up less CPU time:
60 fps => glxspheres = 20% CPU / compiz = 14%
45 fps => 16% / 11%
40 fps => 11% / 8 %
ie compiz has decided for some reason to work less hard, resulting in laggy 3d.
It sometimes goes back to 60 fps all by itself without a reboot. For instance, just now I checked 'Detect Refresh Rate' in ccsm/General Options and it went from 40 back to 60. (I had tried setting the refresh rate to 60 Hz in case the detection code was faulty, but I can't say that it made any difference.)