If you know the SHM ID (which can always be obtained by setting 
VGL_VERBOSE=1), then you can always just run 'vglconfig -shmid {id}' 
from another console window.  Thus, I'm not really interested in adding 
a separate app that only tweaks one parameter, although I appreciate the 
contribution.  I would be potentially interested in a command line 
interface for vglconfig that was more generic and allowed setting any 
configuration parameter (for instance, 'vglconfig -shmid {id} 
VGL_FPS=30') on a running instance of VGL.

Also it should be noted that any 3D app can be made "VirtualGL-aware" 
and can provide its own means of tweaking VirtualGL's configuration 
parameters by means of simply using setenv() to modify the environment. 
  The VirtualGL environment is re-read each time a frame is read back.


On 8/2/12 2:19 AM, Dyweni - VirtualGL-Users wrote:
> Thanks for the pointer.  I hadn't noticed that.
>
> However, as the docs mention, WINE does not monitor its X11 Input event
> loop.  So the CTRL+SHIFT+F9 function does nothing.  (Or if it does
> something, I didn't notice because WINE insists on being in the
> foreground and will cover up everything else.)
>
> I looked around the source for how the key shortcut was implemented and
> figured out how it calls vglconfig.
>
> I hacked around on a copy of vglconfig and came up with a utility that
> will allow me to set the FPS of the WINE instance from the command line.
>   It only needs the SHM ID and the new FPS value passed to it.  It
> doesn't require any X11 display.
>
> I've attached a patch that adds this utility to the 2.3.1 version of
> VirtualGL.
>
> Any comments are welcome. :)

------------------------------------------------------------------------------
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-Users mailing list
VirtualGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

Reply via email to