You can use headless GPUs with VirtualGL. Install the nVidia
proprietary drivers (I believe Ubuntu provides a package for these),
then run:
nvidia-xconfig -a --use-display-device=None --virtual=1920x1200
(I don't think the resolution specified for --virtual matters, since
it's headless.)
Run vglserver_config to grant access to the X server while the display
manager is sitting at the login prompt, then restart the display
manager, and ideally you should be able to do
xauth merge /etc/opt/VirtualGL/vgl_xauth_key
DISPLAY=:0 glxinfo
and glxinfo should report that it is using the nVidia OpenGL renderer.
On 2/14/17 10:03 PM, Wei Liu wrote:
> Hi VirtualGL users,
>
> I need your help on a set up of virtualGL, or decide if I can use
> virtualGL to solve my problem.
>
> My setup: a Ubunt 14.04 server called 'roundvalley' has multiple Nvidia
> GPUs for parallel computing, but they do not have any
> VGA/DVI/DisplayPort and not connected to monitor. The only onboard-card
> connected to a monitor does not have 3D capability, and Ubuntu
> automatically load a kernel driver module (I forgot the module name) for
> this onboard card.
>
> Client side is Windows. My goal is to use VNC to connect to the server
> and run 3D application (need OpenGL) in my VNC session.
>
> My question is, can I configure virtualGL to use any of Nvidia GPU even
> they are not used for display currently?
>
> I read the official document and found:
> ==== user doc =====
> 6.2 Using VirtualGL with Multiple GPUs
>
> VirtualGL can redirect the OpenGL commands from a 3D application to any
> GPU in the server machine. In order for this to work, however, all of
> the GPUs must be attached to different screens on the same X server or
> to different X servers.
> ====== end user doc ======
>
> Does it mean the GPU need to connect to physical screens, or some
> definitions in X.org file?
>
> I appreciate your help.
>
> Thanks,
> Wei
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
VirtualGL-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtualgl-users