vglrun is nothing but a convenience script that sets environment
variables, including the all-important LD_PRELOAD variable that
activates VirtualGL.

You can also theoretically gain write access to the VirtualGL
configuration through a shared memory segment, if you knew the ID of the
segment (see vglconfig.cpp for an example.)


On 4/27/12 1:09 AM, Stefan Eilemann wrote:
> 
> On 26. Apr 2012, at 22:52, DRC wrote:
> 
>> getenv("VGL_DISPLAY") doesn't work?
> 
> Perfect! I didn't think that 'vglrun -d' will set VGL_DISPLAY. Now our GPU 
> discovery code supports VirtualGL detection:
> 
> type     GLX
> hostname node12.local.
> session  default
> port     0
> device   0
> viewport [0 0 1920 1200]
> flags    VirtualGL
> 
> type     GLX
> hostname node12.local.
> session  default
> port     0
> device   1
> viewport [0 0 1920 1200]
> flags    VirtualGLDisplay
> 
> 
> Cheers,
> 
> Stefan.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
VirtualGL-Devel mailing list
VirtualGL-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-devel

Reply via email to