On 11/4/12 1:04 AM, charles quarra wrote:
>     > i want to start automatically multiple VNC sessions and read capture 
> the video buffers for each of the X displays being used.
>     >
>     >  I'm able currently to do this by using Xvfb;
>     >
>     > Xvfb :1 -screen 0 1024x768x24 -fbdir vfb_test/fbdir &
>     >
>     >  run applications in the assigned X display
>     >
>     > export DISPLAY=localhost:1.0
>     > firefox &
>     >
>     >
>     >  and directly access the framebuffer.
>     >
>     > ifstream file ("vfb_test/screen0_0" , ios::in | ios::binary | ios::ate);
>     >
>     >
>     >  The only downside is that this uses software rendering, so i'm hoping 
> that virtualGL/turboVNC can help me achieve the same goal without sacrificing 
> hardware acceleration.
>     >
>     > Any ideas how should i approach this problem?
>     >
>
>
>
> The ultimate goal is provide programmatic access to the video buffers to
> a service daemon running in the same host where the virtualGL frames are
> being rendered by the video hardware

You're going to have to elaborate a lot more than that.  Start by 
answering the question-- to what end?  And what do you mean by "the 
video buffers"?  You mean the rendered 3D images?  Or the X server 
output?  If you're just trying to get access to the frames rendered by 
VirtualGL, there's a much more straightforward way to do it-- write your 
own image transport plugin, or modify one of the existing ones.  If 
you're trying to get access to the pixel output of the 2D X server, then 
you would simply run VirtualGL inside of the Xvfb session and do what 
you're doing above, but then I don't understand your statement about 
"multiple VNC sessions."  You are not providing enough information about 
the ultimate goal of the project and the basic architecture for me to be 
able to provide an intelligent response.

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
VirtualGL-Users mailing list
VirtualGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

Reply via email to