OpenGL versions supported?

Langer, Stephen A. (Fed) stephen.langer at nist.gov
Thu Aug 30 20:15:42 UTC 2018


Hi --



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/com.apple.launchd.BNMe1Dpa8w/org.macports:0

display: /private/tmp/com.apple.launchd.BNMe1Dpa8w/org.macports:0  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.



Thanks,

    Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180830/ea61dfc4/attachment.html>


More information about the macports-users mailing list