Hello,
I need to detect within a C++ program whether or not I'm running under
VirtualGL, to enable certain optimizations. What is the recommended way to do
this?
Cheers,
Stefan.
--
http://www.eyescale.ch
http://www.equalizergraphics.com
http://www.linkedin.com/in/eilemann
--
>From one of my discussions with DRC:
An easy way to verify
whether VirtualGL is engaged is to set VGL_LOGO=1 in the environment.
This will display a "VGL" logo in the bottom right of the OpenGL
rendering area if VGL is active.
HTH
Shanon
On 22 December 2011 22:36, Stefan Eilemann wrote:
> He
On 22. Dec 2011, at 15:58, Shanon Loughton wrote:
> >From one of my discussions with DRC:
>
> An easy way to verify
> whether VirtualGL is engaged is to set VGL_LOGO=1 in the environment.
> This will display a "VGL" logo in the bottom right of the OpenGL
> rendering area if VGL is active.
I nee
On 12/22/11 9:02 AM, Stefan Eilemann wrote:
> I need to get this from within a C++ program, i.e.:
>
> if( getenv( "VGL_RUNNING" ) != 0 )
> doVglSpecificStuff();
>
> Unless I am missing something, having an overlay logo doesn't help me.
It's not documented, but you could leverage the auto
On 11-12-22 09:36 AM, Stefan Eilemann wrote:
> I need to detect within a C++ program whether or not I'm running under
> VirtualGL, to enable certain optimizations. What is the recommended way to do
> this?
When VGL is running it overrides the GLX vendor strings with
"VirtualGL". Try glXGetClie
Hi,
On 22. Dec 2011, at 16:52, DRC wrote:
> It's not documented, but you could leverage the autotest mechanism [...]
That wouldn't work, because I need this information to build my (multi-GPU)
configuration.
> If you need to know of VGL's existence prior to that, you'd have to look
> at the va
On 12/22/11 9:56 AM, Nathan Kidd wrote:
> On 11-12-22 09:36 AM, Stefan Eilemann wrote:
>> I need to detect within a C++ program whether or not I'm running under
>> VirtualGL, to enable certain optimizations. What is the recommended way to
>> do this?
>
> When VGL is running it overrides the GLX
On 12/22/11 10:01 AM, Stefan Eilemann wrote:
>> If you need to know of VGL's existence prior to that, you'd have to look
>> at the value of the LD_PRELOAD environment variable and see if it
>> contains "librrfaker.so". [...]
>
> That sounds like what I want - thanks!
Well, just be aware that it i
On 11-12-22 11:54 AM, DRC wrote:
> On 12/22/11 9:56 AM, Nathan Kidd wrote:
>> On 11-12-22 09:36 AM, Stefan Eilemann wrote:
>>> I need to detect within a C++ program whether or not I'm running under
>>> VirtualGL, to enable certain optimizations. What is the recommended way to
>>> do this?
>>
>> W
On 12/22/11 11:26 AM, Nathan Kidd wrote:
> Trivia: I don't know why one would do this, but the way VGL hooks
> glXGetClientString, and _isremote is implemented, you technically could
> get away with passing in a bogus DPY, (though the API docs don't
> explicitly say that Xlib won't fall back to
On 11-12-22 01:24 PM, DRC wrote:
> On 12/22/11 11:26 AM, Nathan Kidd wrote:
>> Trivia: I don't know why one would do this, but the way VGL hooks
>> glXGetClientString, and _isremote is implemented, you technically could
>> get away with passing in a bogus DPY, (though the API docs don't
>> explicit
On 11-12-13 07:12 AM, DRC wrote:
> I'm going to go ahead and release 2.3, since it's overdue and we're
> reasonably confident that the VGL_DEFAULTFBCONFIG feature will fix Abaqus.
I just heard back today about testing with GLX_STENCIL_SIZE,8. The
patch is it is working fine, but bad news is, the
On 12/22/11 2:10 PM, Nathan Kidd wrote:
> On 11-12-13 07:12 AM, DRC wrote:
>> I'm going to go ahead and release 2.3, since it's overdue and we're
>> reasonably confident that the VGL_DEFAULTFBCONFIG feature will fix Abaqus.
>
> I just heard back today about testing with GLX_STENCIL_SIZE,8. The
>
13 matches
Mail list logo