<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Drivers/DRI/swrast"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89586#c23">Comment # 23</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Drivers/DRI/swrast"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89586">bug 89586</a>
from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
<pre>(In reply to Dan Sebald from <a href="show_bug.cgi?id=89586#c22">comment #22</a>)
<span class="quote">> glxinfo indicates GLX Version 1.4.</span >
Not really relevant... I was looking for the version of X to determine the
general age of the system, as well as what libglx shipped with it.
<span class="quote">>
> 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. </span >
Probably, yeah. piglit is old. The nice thing about waffle is that it works on
all platforms. Except, apparently, really old ones that don't have
GLX_ARB_create_context.
<span class="quote">> 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.</span >
As I had mentioned earlier, swrast doesn't support the extension. You'll note
that glxinfo won't list it under OpenGL extensions. llvmpipe should support it
though. (As do all DX10-level GPUs supported by mesa.)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>