I confirm the bug. I have encountered it while playing around with
OpenGL tutorials.

The simple c program is attached.  It is compiled with command "gcc kaka.c -lGL 
-lGLU -lglut".
I am using freeglut3-dev, libgl1-mesa-* libraries. The system is Ubuntu 9.04. 
The hardware is Intel 945GME videochip.

When the program is started with "Additional visual effects enabled" desktop 
feature, 
it produces "freeglut (./a.out): Unable to create direct context rendering for 
window 'Hello World'
This may hurt performance." via stderr. The resulting window contains various 
garbage, loosely related to what was supposed to be drawn (despite sometimes 
the right picture is seen).

However, when the binary is started with all desktop effects shut down (this 
needs restarting session to take action),
the stderr output is 
"get fences failed: -1
param: 6, val: 0"
and all works fine.

To conclude, glut with openGL don't work with Compiz desktop effects enabled.
For those, who would like to use glut anyhow, the obvious workaround is use no 
desktop effects while running the application(s).


** Attachment added: "A little C program, that suffers from the bug."
   http://launchpadlibrarian.net/27252634/progr.tar.bz2

-- 
GLUT windows are transparent when compositor is active & xlib mesa in use
https://bugs.launchpad.net/bugs/369891
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to