It's also perfectly fair to file a support request with nVidia for this.

I've encountered user reports that "32-bit apps are slow in VGL but 
64-bit apps aren't", but in all cases it turned out to be because the 
user hadn't installed the 32-bit libraries for the nVidia drivers. 
However, in this case, we know those are installed, since it runs fast 
on the first GPU.  It really smacks of something else driver-related, 
though.

I would also try playing with VGL_READBACK to see if turning on/off 
PBO's has any effect.

On 3/18/14 10:22 AM, Nathan Kidd wrote:
> On 13/03/14 05:52 AM, Vincent Li wrote:
>> Then I started two 2D real X server which attached to Screen 0 and
>> Screen 1 respectively.
>> $ X :0 -layout Layout0 &
>> $ X :1 -layout Layout1 &
>>
>> And start a xvfb server as dummy x server
>> $  Xvfb :2 -screen 0 1024x768x24 &
>>
>> When run glxspheres using gpu 0
>> $ DISPLAY=:2 vglrun -d :0 +v +tr /opt/VirtualGL/bin/glxspheres
>> This one runs well
>>
>> But when run glxspheres using gpu 1
>> $ DISPLAY=:2 vglrun -d :1 +v +tr /opt/VirtualGL/bin/glxspheres
> ...
>> This time is very weird, the fps ~= 1
>> the log shows glXSwapBuffers  cost almost 1ms
>> [VGL] glXSwapBuffers (dpy=0x085d3ea0(:2) drawable=0x00e00002
>> pbw->getglxdrawable()=0x00200002 ) 1366.429103 ms
> ...
>> But when running glxspheres64, both gpu 0 and gpu 1 work well.
>> What should I do to let 32bit on 2nd GPU works?
>
> A few suggestions:
>
> 1. Do you get the same results when running glxspheres on the display
> directly? E.g.
>
> DISPLAY=:1 glxspheres
> vs
> DISPLAY=:1 glxspheres64
>
>
> 2. What about if you skip the xvfb server and display to the 3D X
> server? E.g.
>
> DISPLAY=:1 vglrun -d :1 +v +tr /opt/VirtualGL/bin/glxspheres
>
> 3.  If 1) is fast but 2) is slow then running VGL with profiling might
> give a clue (e.g. readback stall?).
>
> DISPLAY=:1 vglrun -d :1 +v +pr /opt/VirtualGL/bin/glxspheres
>
> and
>
> DISPLAY=:2 vglrun -d :1 +v +pr /opt/VirtualGL/bin/glxspheres

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
VirtualGL-Users mailing list
VirtualGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

Reply via email to