There are bugs in both piglit and DRI2. I haven't looked into the issue, but Paul Berry seems to be working on it.
See: http://lists.freedesktop.org/archives/piglit/2013-May/005880.html http://lists.freedesktop.org/archives/mesa-dev/2013-May/039985.html Marek On Fri, Jun 7, 2013 at 12:04 AM, Martin Andersson <g02ma...@gmail.com> wrote: > I get random results when I run the spec/!OpenGL 1.1/read-front test. > Sometimes it passes and sometimes it failes, it mostly fails though. > When it fails the observed values are random. I have an AMD 6950, > running mesa git ce67fb4715e0c2fab01de33da475ef4705622020 and kernel > 3.10-rc4. > > If I insert a delay before the piglit_swap_buffers call in the test > (read-front.c) it always passes. It does not matter where I put the > delay in the piglit_dispay function, as long as it is before the > piglit_swap_buffers call. So it seems to be a race between the > swap_buffers_call and some earlier call (some piglit initialization > perhaps?) > > Does anyone know what could be wrong or how I could debug it further? > > //Martin > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev