danw Posted February 2, 2015 Share Posted February 2, 2015 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? Quote Link to comment Share on other sites More sharing options...
johner Posted February 2, 2015 Share Posted February 2, 2015 (edited) 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 February 2, 2015 by johner Quote Link to comment Share on other sites More sharing options...
lukeiamyourfather Posted February 2, 2015 Share Posted February 2, 2015 (edited) This is possible to do from a Linux and OpenGL standpoint. OpenGL doesn't require X or a window to work. Looks like Houdini can output OpenGL rendered images from hython or hbatch. http://www.sidefx.com/docs/houdini14.0/nodes/out/opengl Edited February 2, 2015 by lukeiamyourfather Quote Link to comment Share on other sites More sharing options...
malexander Posted February 2, 2015 Share Posted February 2, 2015 You can run the OpenGL ROP from hython or hbatch, but OpenGL still requires an X server to initialize properly. OpenCL was designed to avoid this dependency. Quote Link to comment Share on other sites More sharing options...
lukeiamyourfather Posted February 2, 2015 Share Posted February 2, 2015 You can run the OpenGL ROP from hython or hbatch, but OpenGL still requires an X server to initialize properly. OpenCL was designed to avoid this dependency. Still requires X server? Booooo! Thanks for correcting me. Quote Link to comment Share on other sites More sharing options...
malexander Posted February 2, 2015 Share Posted February 2, 2015 Yes, it's limited by the current GLX interface. Can't create a GL context without glxCreateContext or one of its variants, and you can't call that unless you have a X11 Display handle. So, no GL without X 2 Quote Link to comment Share on other sites More sharing options...
danw Posted February 2, 2015 Author Share Posted February 2, 2015 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 :-) Quote Link to comment Share on other sites More sharing options...
goldleaf Posted February 28, 2015 Share Posted February 28, 2015 (edited) 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 March 6, 2015 by goldleaf Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.