In order to get webgl working on ubuntu I had to change some setting which somehow forced hardware acceleration to be turned on for a window. Unfortunately now all opengl viewports are always on top like an overlay and causes other annoying "overlay" glitches.
In any case I'm afraid I really can't remember what I did to break things and I don't know where I found that reference! Does anyone happen to have any ideas how I broke it or could fix it again?
I'm running the fglrx driver with ATI HD 5000 series card, Ubuntu 11.04. I'm also running ubuntu with the plain no effects classic gui.
Some glxinfo:
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: ATI
server glx version string: 1.4