Hauleth
Hauleth

Reputation: 23556

Running OpenGL application without any graphic server

I want to write application for digital signage but I want it to run in minimal environment so I don't want X11 server. Is it possible to run on one account OpenGl app without X11 (or any other graphic drawing library with at least 2D graphics)?

Upvotes: 2

Views: 1987

Answers (2)

Joss Steward
Joss Steward

Reputation: 26

I`m working in a very similar project. Since for me the need to run opengl without xserver was primarily performance based, I opeted instead to install damn small linux to a flash drive along with the program i wrote. Damn small linux is super small (50 mb for the entire os), and since its designed to run on low spec hardware (it can be run on a pentium 1 with 16 mb of ram) it uses a minimal ammount of system resources. I just run ny application on top of damn small linux, and it performs extremely well.

Upvotes: 1

genpfault
genpfault

Reputation: 52085

One way is via the Mesa off-screen rendering API. Be aware that this will most likely be unaccelerated.

If you just don't want X11 and you're willing to use OpenGL ES then Wayland and corresponding Gallium drivers would get you hardware acceleration.

Upvotes: 4

Related Questions