James wrote:
> Hi,
>
> I am having a couple of problems with Mesa. I want/need to use OpenGL 2.x,
> but running glxinfo, or programs that check the OpenGL version, would
> return
> OpenGL 1.4 (Mesa 7.0.3).
>
> I installed Mesa 7.4, and now have more problems. The first time I run
> glxinfo
> after starting X, I get a version string showing Mesa 7.1, but still
> OpenGL 1.3.
> The second (& subsequent) times, I get an error "Could not find RGB GLX
> visual",
> and a table of about 20 lines, with hex visual ids, but all the rest of the
> information zeroed out.
>
> Could someone point me in the direction of whatever information I need to
> fix
> this?
>
> Thanks,
> James
>
> PS: The system's a ThinkPad T61 with Intel 965GM graphics, running OpenSUSE
> 11.0. Mesa 7.0.3 was installed initially, but I upgraded to 7.1 from a
> repository package.
Even if core Mesa supports the OpenGL 2.1 API, the version reported by
glGetString(GL_VERSION) depends on the capabilities of the particular
driver that you're using. For example, if the driver does not support
GLSL, then OpenGL 2.x will not be advertised.
In the case of the i965, the i965 driver in Mesa 7.1 and later will
support GLSL. I _think_ version 2.0 or 2.1 will then be advertised for
i965.
-Brian
|