OpenGL versions supported?

Ryan Schmidt ryandesign at
Thu Aug 30 22:52:10 UTC 2018

On Aug 30, 2018, at 15:15, Langer, Stephen A. (Fed) wrote:

> Earlier I had asked what version of OpenGL is supported by MacPorts' version of mesa, and then was distracted by other issues and never got to the next part of the question... 
> Mesa 17.1.6 nominally supports OpenGL 4.5, but glxinfo says it's only 2.1:
> >> port installed mesa
> The following ports are currently installed:
>   mesa @17.1.6_0+osmesa+python27 (active)
> >> glxinfo -B
> name of display: /private/tmp/
> display: /private/tmp/  screen: 0
> direct rendering: Yes
> OpenGL vendor string: ATI Technologies Inc.
> OpenGL renderer string: ATI Radeon HD 5770 OpenGL Engine
> OpenGL version string: 2.1 ATI-1.68.20               <-----------------------------
> OpenGL shading language version string: 1.20
> What do I have to do to get at least version 3.2?   I'm using vtk 8.1.1 and it requires OpenGL 3.2 or later.   
> If I build vtk for Cocoa and install all ports with "+quartz -x11", then vtk works properly, using the OpenGL libraries provided by the system.  But that requires building all ports with "+quartz -x11", which is a pain, and not something that I can easily ask of other users of our software.

I'm not sure if anyone here knows the answer. The MacPorts maintainer of the mesa port has been busy with non-MacPorts projects recently and probably does not have time to answer. You may have to ask the developers of mesa directly.

More information about the macports-users mailing list