the molehill example on the opengl page is not been draw correctly, there are some black pieces that separe the colors. This is a screenshot of how should be draw: http://www.opengl.org/resources/code/samples/glut_examples/examples/molehill.jpg The source code of the example can be found on: http://www.opengl.org/resources/code/samples/glut_examples/examples/molehill.c
http://intellinuxgraphics.org/how_to_report_bug.html
Created attachment 40357 [details] Screenshot of the issue This is on a GM45: 00:02.0 0300: 8086:2a42 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20100330 DEVELOPMENT x86/MMX/SSE2 OpenGL version string: 2.1 Mesa 7.10-devel This is Ubuntu 10.10 and Linux 2.6.36-1-generic-pae I'm using mesa and Intel drivers from xorg-edgers ppa.
Created attachment 40654 [details] glxinfo I'm attaching my glxinfo. This is also happening with mesa 7.9 (7.9~git20100924-0ubuntu2).
Not driver-specific -- appears in swrast as well.
With a debug build I'm seeing: Mesa: User error: GL_INVALID_OPERATION in glEnd Looks like there's a problem with NURBS and glBegin/End in a display list. Jaime, perhaps you could try an older version of Mesa and bisect? I'm pretty sure this used to work.
(In reply to comment #5) > With a debug build I'm seeing: > Mesa: User error: GL_INVALID_OPERATION in glEnd > > Looks like there's a problem with NURBS and glBegin/End in a display list. > Jaime, perhaps you could try an older version of Mesa and bisect? I'm pretty > sure this used to work. If you can give me some instructions about how to do it, I will be more than glad to help.
(In reply to comment #5) > Looks like there's a problem with NURBS and glBegin/End in a display list. > Jaime, perhaps you could try an older version of Mesa and bisect? I'm pretty > sure this used to work. I tried as far as mesa_7_5_branch and it still fails.
I've found the problem and have a fix. Just regression testing...
Created attachment 47692 [details] [review] patch 1 of 2 to fix vbo/display list bugs
Created attachment 47693 [details] [review] patch 2 of 2 to fix vbo/display list bugs
The patches I just attached fixes the problem with the molehill demo and fixes another bug/crash that I found with a new piglit test. No regressions found so I'll probably commit them in a day or so. Feel free to test in the mean time.
(In reply to comment #11) > The patches I just attached fixes the problem with the molehill demo and fixes > another bug/crash that I found with a new piglit test. > > No regressions found so I'll probably commit them in a day or so. > Feel free to test in the mean time. The first patch looks trivially okay. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> I'd have to look at the second one a lot more deeply to fully grok the issues. It generally looks okay, so if it doesn't cause any piglit regressions: Acked-by: Ian Romanick <ian.d.romanick@intel.com>
Patches look OK to me, Brian.
Fixed with commits f1cdce95f606584a56eabf3b38eea19ff4c75757 62811057f41bf7c027da6156a44383266c7f3952
bug/show.html.tmpl processed on Mar 20, 2017 at 09:47:39. (provided by the Example extension).