Jump to content

OpenGL/GPU functions without GUI under Linux


danw

Recommended Posts

Hey all.

Just wondering if anyone's set something like this up... is it at all possible to set up a command-line only installation of Linux, that not only loads the proprietary nVIdia drivers, but can run GPU-accelerated tasks from the command line without there being an X server running?

Link to comment
Share on other sites

Hi Dan,

 

I'm afraid I can't speak for the OpenGL side of things, but I do know you can set up a "headless" Linux box for OpenCL GPU computing.  Partly because I just (re-)tested it, but also because HPC computing is a big part of NVIDIA's GPU strategy, and they make things like the Tesla cards that are designed mainly for server-side computing.

Edited by johner
Link to comment
Share on other sites

Thanks for the info everyone.  Yeah, I was wondering if it might be possible to farm out OpenGL ROP playblasts but not bother with a full GUI install (and dealing with X's annoying insistence on failing if there's no monitor attached).  Seems I'd be best off just getting some of those dummy-VGA plugs instead :-)

Link to comment
Share on other sites

  • 4 weeks later...

On a related note, I haven't had luck running the OpenGL ROP, I get this error:

No protocol specified
Qt Warn: : cannot connect to X server :0

The computer has a graphics card, and I even plugged in a display, but I can't run OpenGL ROPs via commandline or hqueue.

 

Is there anything besides just having a graphics card plugged into the machine, that would be required? It's Linux Mint 17.1, Nvidia 340 drivers (can't remember specific revision), if that helps, gcc 4.8 build

 

Thanks!

 

*Edit* I'm pretty sure this is related to Hqueue; I can render an OGL rop via hbatch just fine

Edited by goldleaf
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...