Been really struggling with this, and found a lot of unhelpful information that seems like it doesn’t apply to the TX1. I have a piece of GL 3 based mapping software that we are trying to compile on the TX1.
I’ve managed to get an OpenGL 2.1 context using GLFW 3.2 (and X), but if I try to request a GL 3.0 or higher context it fails. (I tried 3.0, 3.2, 3.3, 4.1 and 4.5) I’ve also tried using EGL, but eglQueryString() returns only “OpenGL_ES”.
I did install Mesa as I was too lazy to download the GL and EGL headers (why doesn’t it just ship with them?), but I’m certain I’m not accidentally linking against the mesa libs. I explicitly link against the tegra lib using the absolute path, and I even went as far as to uninstall the mesa libs and still got the same error (and not a link error). The vendor strings also don’t mention Mesa.
The whole point of the Tegra platform is great GPU support. It’s not supposed to be this hard to create a mildly modern GL context on it is it?