Hi all,

The following boils down to a more generic question, but is also related to Nuke plugins so might be interesting to developers on this list.

I'm writing a Nuke plugin that (internally) uses OpenGL to perform some of its processing. To do this I'm creating my own OpenGL context using platform-specific APIs (e.g. GLX on Linux) and then do the rendering using OpenGL commands. This works fine on all desktop platforms (Linux, Win, OS X), but fails on the render farm because on the render nodes, Nuke is not running in an instance of X Windows, so GLX is not available, and creating the context fails. The nodes have beefy gfx cards, so we would like to put them to use.

My question is: does anyone know about a way to make use of OpenGL on a Linux render node without using X? It looks to me like Nuke also uses OpenGL to accelerate some of its processing, so I guess the problem somehow got solved there. The general question is: is there a way to create an OpenGL context on Linux without using GLX, and without having to mess around too much with the system? Or is there no easy way around X to get accelerated OpenGL on Linux?

Thanks,
Peter

_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to