Closed claudeha closed 4 years ago
Thanks @claudeha for writing up / sharing the stack traces. I'll debug this as soon as I can and try and work out what's going on. It definitely worked OK when the code was first added, because it used to be the only way to get the Syphon support on macOS to work. Could be a Processing or JOGL code change.
@claudeha well, this one's fun! :smile: Whatever it is isn't an off-by-one error - pretty sure PraxisLIVE is requesting that Processing request the right profile. However, if you see https://github.com/processing/processing/blob/master/core/src/processing/opengl/PSurfaceJOGL.java#L181 for GL3 it first requests a backwards compatible GL3, and if that fails should request the highest supported programmable pipeline. In your case it's like it's not failing to produce a GL3bc context but failing later. I assume requesting GL4 fails but then finds a working GL3 backup.
I'm not entirely sure what the best fix is for this right now - possibly overriding to request GL3 core profile. Going to wait and see if that Processing issue ( processing/processing#5476 ) gets any further response first, although not sure it's 100% related.
There seems to be an off-by-one error in the video renderer selection drop down box, I need to select the OpenGL name one below the one I want to really use. I don't have OpenGL 4 hardware on my laptop, but selecting OpenGL 4 seems to work (and presumably gives me a GL3 context), even though:
Selecting OpenGL 3 or OpenGLES2 or default OpenGL gives an error about GL3bc not supported:
Selecting OpenGL 2 gives an error about OpenGLES: