https://bugs.freedesktop.org/show_bug.cgi?id=89586

--- Comment #22 from Dan Sebald <daniel.seb...@ieee.org> ---
glxinfo indicates GLX Version 1.4.

I did find some tests that work without the GLX_ARB_create_context error. 
There seems to be no correlation with 1.0, 2.0, etc.  For example, this one
works:

[sebald@ piglit]$ LD_LIBRARY_PATH=/home/sebald/local/lib:/usr/local/lib64
bin/gl-2.1-pbo 
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
PIGLIT: {"subtest": {"test_sanity" : "pass"}}
PIGLIT: {"subtest": {"test_draw_pixels" : "pass"}}
PIGLIT: {"subtest": {"test_pixel_map" : "pass"}}
PIGLIT: {"subtest": {"test_bitmap" : "pass"}}
PIGLIT: {"subtest": {"test_tex_image" : "pass"}}
PIGLIT: {"subtest": {"test_tex_sub_image" : "pass"}}
PIGLIT: {"subtest": {"test_polygon_stip" : "pass"}}
PIGLIT: {"subtest": {"test_error_handling" : "pass"}}

while most others don't.  The only thing that stands out is that in the C files
for this test is a main() definition and in that definition there appears to be
GLUT creating the context.  The example ext_polygon_offset_clamp-draw has no
main so I assume that is worked out via #include "piglit-util-gl.h" and
Waffles.

But you'd want me to write a glPixelZoom test with the Waffles framework, so
I've made the change you suggested to glx_config.c and the program proceeds,
but for some reason this particular test is failing:

[sebald@ piglit]$ LD_LIBRARY_PATH=/home/sebald/local/lib:/usr/local/lib64
bin/ext_polygon_offset_clamp-draw
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
Test requires GL_EXT_polygon_offset_clamp
PIGLIT: {"result": "skip" }

However, I believe GL_EXT_polygon_offset_clamp is in the library:

[sebald@ waffle]$ grep GL_EXT_polygon_offset_clamp ~/local/lib/dri/*
Binary file /home/sebald/local/lib/dri/kms_swrast_dri.so matches
Binary file /home/sebald/local/lib/dri/r200_dri.so matches
Binary file /home/sebald/local/lib/dri/radeon_dri.so matches
Binary file /home/sebald/local/lib/dri/swrast_dri.so matches

Eh, at this point it's too much hacking to try and resolve anything.  I'll just
put together some kind of test that is in the Waffle framework as best as
possible and still compiles on my system, then let you or someone else refine
the build aspects of it.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to