X-Windows/XOpenDisplay question (Possibly a dumb one)

I am new to X-Windows/Linux programming, so this is probably a dumb question, but…

I am working on an GPGPU type application that only needs a valid GL context. I don’t actually need visible rendering window. The example GLX based apps I have seen call XOpenDisplay to connect to the X-Server. Is this necessary to get a GL context? This app is going to be hard real-time and I am concerned about performance. Will the X-Server cause unpredictable delays?

CD

CD

The problem is that you need a display driver to get hardware acceleration, and the display driver is a part of the X-window system.

There is one possibility to use OpenGL without X with the framebuffer driver, but it’s still in early developement. Look at the “/dev/fb” thread in this forum.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.