views:

115

answers:

4

I'd like to open an OpenGL context without X in linux. Is there any way at all to do it?

I know it's bossible for integrated intel graphics card hardware, though most people have nvidia cards in their system. I'd like to get a solution that works with nvidia cards.

If there's no other way than through integrated intel hardware, I guess it'd be okay to know how it's done with those.

X11 protocol and protocol itself is too large and complex. Mouse/Keyboard/Tablet input multiplexing it provides is too downwatered for modern programs. I think it's the worst roadblock that prevents linux desktop from improving, which is why I look for alternatives.

+1  A: 

Everyone who seeks to drop the X environment always makes the same mistake -- loss of transparent networking.

Do you really want to have to reconstruct the framebuffer and compression for remote->local graphics?

Joshua
Transparent networking is a niche most people do not ever need. If you'd really need such thing, you'd be using plan9.
Cheery
Also, Opengl doesn't work over network anyway. Whatever you're going to run over the transparent layer in X is looking ugly and certainly isn't a game or word processing software.
Cheery
In my opinion. It's much better if you just separate concerns of transparent networking and framebuffer handling. Make your own network-transparent GUI over that framebuffer if you really need one! That way you can use multiple at once.
Cheery
Cheery, OpenGL on remote workstations has already been done. It uses the graphics card on the application server and the video card on the workstation. See http://en.wikipedia.org/wiki/VirtualGL
Joshua
+2  A: 

You might be interested in a project called Wayland

http://en.wikipedia.org/wiki/Wayland_%28display_server%29

Havoc P
A: 

Just use Mesa.

genpfault
+5  A: 

I'd like to open an OpenGL context without X in linux. Is there any way at all to do it?

I believe Mesa provides a framebuffer target. If it provides any hardware acceleration at all, it will only be with hardware for which there are open source drivers that have been adapted to support such a use.

Gallium3D is also immature, and support for this isn't even on the roadmap, as far as I know.

I'd like to get a solution that works with nvidia cards.

There isn't one. Period.

NVIDIA only provides an X driver, and the Nouveau project is still immature, and doesn't support the kind of use that you're looking for, as they are currently focused only on the X11 driver.

greyfade