[Mesa-dev] multiple versions in version string

Gustaw Smolarczyk wielkiegie at gmail.com
Mon Jun 20 12:33:30 PDT 2011


Try the following command:
LIBGL_DEBUG=verbose glxinfo

and see what's the problem (just a few beginning lines that are new).
Have you installed mesa from sources? If so, didn't you forget about
dri drivers (in your case, swrast_dri.so)?

2011/6/20 tom fogal <tfogal at sci.utah.edu>:
> Gustaw Smolarczyk <wielkiegie at gmail.com> writes:
>> Isn't that version because it uses indirect rendering? AFAIK indirect
>> limits GL version to 1.4. There is the version of X's AIGLX driver in
>> parentheses, but only 1.4 features can be used.
>
> Ahh, this is the type of caveat I was hoping to hear ;)
>
>> But it may not be the case here. Could you check wheter glxinfo says
>> that direct rendering is enabled?
>
> You are correct, rendering is indirect!  I was unaware that direct vs.
> indirect limited *GL* features.  Why is that the case, and what can be
> done?  I'm just using swrast right now, maybe softpipe in the future;
> I'm obviously not concerned with speed, I just need something that
> supports some extensions for use in a regression testing system.
>
> Thanks,
>
> -tom
>
>> 2011/6/20 tom fogal <tfogal at sci.utah.edu>:
>> > I am trying to get some regression tests to run in Xvfb. =C2=A0On my
>> > workstation, the GL_VERSION string from this is:
>> >
>> > =C2=A01.4 (2.1 Mesa 7.7.1)
>> >
>> > according to glxinfo. =C2=A0The extensions fairly clearly show 2.x featur=
>> es.
>> > Is it perhaps the case that 2.1 features were available in 7.7.1, but
>> > not /all/ 2.1 features, and thus this was labelled incorrectly? =C2=A0The
>> > version string seems "fixed" in more modern versions.
>> >
>> > In any case, the above version string breaks projects like GLEW
>> > -- one application I have breaks because GLEW doesn't try to load
>> > glGenBuffers, thinking it will not be there. =C2=A0A string like the abov=
>> e
>> > suggests that GLEW should just try to load whatever it can, and just
>> > ignore the version string from the library.
>> >
>> > Thoughts?
>> >
>> > -tom
>> > _______________________________________________
>> > mesa-dev mailing list
>> > mesa-dev at lists.freedesktop.org
>> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>> >
>


More information about the mesa-dev mailing list