[Mesa-dev] [Bug 89586] Drivers/DRI/swrast

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 19 20:04:34 PDT 2015


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

--- Comment #20 from Ilia Mirkin <imirkin at alum.mit.edu> ---
(In reply to Dan Sebald from comment #19)
> I've tried variations on the include and library directories but not much
> luck.  Remade Waffles in /usr/local/lib64.  I did get the local version of
> Mesa library in the test programs:
> 
> [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
> piglit: error: waffle_config_choose failed due to
> WAFFLE_ERROR_UNSUPPORTED_ON_PLATFORM: GLX_ARB_create_context is required in
> order to request an OpenGL version not equal to the default value 1.0
> piglit: error: Failed to create waffle_config for OpenGL 2.1 Compatibility
> Context
> piglit: info: Failed to create any GL context
> PIGLIT: {"result": "skip" }
> 
> as evidenced by the attempt to load nouveau_dri.so.  However, I think maybe
> my X11 is too old for Waffles.  I've not upgraded since the demise of Gnome
> 2 series.  FWIW, I looked at glxinfo and see no GLX_ARB_create_context in
> any of the library lists.

FYI, MATE is carrying on the Gnome2 banner (http://mate-desktop.org/). What
version of X are you using? Do you have glx loaded? (In _very_ old versions of
X, you had to explicitly say 'Load "glx"' in the config.)

Just edit the waffle code to remove that stupid check, it's likely BS:

https://github.com/waffle-gl/waffle/blob/master/src/waffle/glx/glx_config.c#L73

            if (!wcore_config_attrs_version_eq(attrs, 10) &&
!dpy->ARB_create_context) {

Make that say like

if (wcore_config_attrs_version_ge(attrs, 30) && !dpy->ARB_create_context)

If anything else fails in that function, just remove that check... it should
work out.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150320/43749363/attachment-0001.html>


More information about the mesa-dev mailing list