Created attachment 33842 [details] Screenshot Here is the source: http://www.opengl.org/resources/code/samples/glut_examples/examples/dinoshade.c I tried it on HP OmniBook XE3. It works OK if hardware acceleration is disabled (using software renderer), but when it is enabled, the result is as in the screenshot. At the same time, reflectdino example is OK. (all examples can be found here: http://www.opengl.org/resources/code/samples/glut_examples/examples/examples.html) $ lspci|grep VGA 01:01.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/IX-MV (rev 13) OS: Ubuntu 9.10 $ glxinfo|grep OpenGL OpenGL vendor string: S3 Graphics Inc. OpenGL renderer string: Mesa DRI Savage/MX/IX 20061110 x86/MMX/SSE OpenGL version string: 1.2 Mesa 7.6 OpenGL extensions:
Even simpler stencil example from the RedBook leads to the same problem. http://www.opengl.org/resources/code/samples/redbook/stencil.c Seems something is wrong with stencil buffer...
Ruslan Kabatsayev, Ubuntu 9.10 reached EOL on April 30, 2011. For more on this, please see https://wiki.ubuntu.com/Releases . If this is reproducible in a supported release, it will help immensely if you filed a new report with Ubuntu by ensuring you have the package xdiagnose installed, and that you click the Yes button for attaching additional debugging information running the following from a terminal: ubuntu-bug xorg Also, please feel free to subscribe me to it. For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.