On Linux, can I get 3D acceleration with a Nvidia card w/o X?

3

1

I like Linux.

I like OpenGL.

I don't like X.

On Linux, is there anyway to get 3D acceleration from my Nvidia card without X? Ideally, I'd have the kernel boot, get to a console, then somehow get into a "graphics mode", where my entire monitor is just a single OpenGL screen ... and I draw stuff to it with OpenGL. Without X. Is this possible?

Thanks!

anon

Posted 2010-03-02T15:05:43.760

Reputation: 251

4what aspect you do not like about x? – akira – 2010-03-02T15:30:54.243

Duplicate that was not migrated :-) http://stackoverflow.com/questions/3326641/opengl-without-x-org-in-linux

– Ciro Santilli 新疆改造中心法轮功六四事件 – 2016-03-27T10:55:50.087

Answers

1

Well it should be possible to use the framebuffer with hardware acceleration, see here.

Joril

Posted 2010-03-02T15:05:43.760

Reputation: 1 879

0

Nvidia's binary driver only works with X. You can, however, run a headless X server. See the section on "UseDisplayDevice" "none" in the README:

ftp://download.nvidia.com/XFree86/Linux-x86/190.36/README/appendix-b.html#UseDisplayDevice

I believe the future Gallium + nouveau stack will work sans X, but it's still under heavy development now.

Nathan Kidd

Posted 2010-03-02T15:05:43.760

Reputation: 363

0

Wikipedia has a section on Competitors to X.

Among them, a possible match for what you want is DirectFB, but it says that "The Direct Rendering Infrastructure [which is in X] ... may make these efforts redundant"

Unless you plan on writing your own operating system and then writing the applications on top of it, I would recommend sticking with X. It's been developed and used for decades, and I'm pretty sure there isn't any good replacement for it out there.

Ricket

Posted 2010-03-02T15:05:43.760

Reputation: 1 406

-1

From everything I can find it looks like OpenGL needs X.

heavyd

Posted 2010-03-02T15:05:43.760

Reputation: 54 755