Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to use application that use hardware accelerated OpenGL on a headless machine?

There exist a class of applications that use opengl to provide hardware acceleration, but are not GUI based. However it seems that in the default case, to use opengl, there must be running an X-server with GLX (on the same virtual terminal) for those applications to function.

My specific case is attempting to use gstreamer's gl plugins on a headless machine, but I'm asking a more general question.

  • Is there some way around this (esp without modifying the original code)?

I've been trying to research using the framebuffer kernel module, but not getting very far.

like image 936
Catskul Avatar asked Aug 22 '11 22:08

Catskul


People also ask

Does OpenGL use hardware acceleration?

opengl hardwarebasic uses a hardware-accelerated version of OpenGL, but disables some advanced graphics features that are unstable with certain graphics drivers. If your graphics hardware does not support hardware-accelerated OpenGL, then MATLAB uses a software version instead.

Is OpenGL GPU accelerated?

OpenGL (Open Graphics Library) is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. The API is typically used to interact with a graphics processing unit (GPU), to achieve hardware-accelerated rendering.


1 Answers

Mesa supports software rasterization on offscreen surfaces.

like image 94
genpfault Avatar answered Sep 17 '22 18:09

genpfault