Hi,
I installed VirtualGL 2.3.3 on Centos 6.5 64bit
$ yum list installed | grep Virtual
VirtualGL.i386 2.3.3-20131014
installed
VirtualGL.x86_64 2.3.3-20131014
installed
and I have 2 GPU card installed
$ lspci | grep VGA
03:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX
670] (rev a1)
84:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX
670] (rev a1)
In the xorg.conf I have 2 ServerLayout, which connect
"screen 0" to bus 03:00.0 and "screen 1" to bus 84:00.0
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "ServerLayout"
Identifier "Layout1"
Screen 0 "Screen1" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
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] glDrawBuffer (mode=0x00000405 pbw->_dirty=0 pbw->_rdirty=0
pbw->getglxdrawable()=0x00200002 ) 0.005028 ms
[VGL] glViewport (x=0 y=0 width=1240 height=900 ) 0.003902 ms
[VGL] glDrawBuffer (mode=0x00000405 pbw->_dirty=0 pbw->_rdirty=0
pbw->getglxdrawable()=0x00200002 ) 0.003899 ms
[VGL] glPopAttrib (pbw->_dirty=0 pbw->_rdirty=0
pbw->getglxdrawable()=0x00200002 ) 0.007062 ms
[VGL] glPopAttrib (pbw->_dirty=0 pbw->_rdirty=0
pbw->getglxdrawable()=0x00200002 ) 0.001942 ms
[VGL] glPopAttrib (pbw->_dirty=0 pbw->_rdirty=0
pbw->getglxdrawable()=0x00200002 ) 0.001975 ms
[VGL] glXSwapBuffers (dpy=0x085d3ea0(:2) drawable=0x00e00002
pbw->getglxdrawable()=0x00200002 ) 1037.941100 ms
0.196090 frames/sec - 0.218836 Mpixels/sec
[VGL] glDrawBuffer (mode=0x00000405 pbw->_dirty=0 pbw->_rdirty=0
pbw->getglxdrawable()=0x00200002 ) 0.005981 ms
[VGL] glViewport (x=0 y=0 width=1240 height=900 ) 0.003947 ms
[VGL] glDrawBuffer (mode=0x00000405 pbw->_dirty=0 pbw->_rdirty=0
pbw->getglxdrawable()=0x00200002 ) 0.003013 ms
[VGL] glPopAttrib (pbw->_dirty=0 pbw->_rdirty=0
pbw->getglxdrawable()=0x00200002 ) 0.008028 ms
[VGL] glPopAttrib (pbw->_dirty=0 pbw->_rdirty=0
pbw->getglxdrawable()=0x00200002 ) 0.000955 ms
[VGL] glPopAttrib (pbw->_dirty=0 pbw->_rdirty=0
pbw->getglxdrawable()=0x00200002 ) 0.001988 ms
[VGL] glXSwapBuffers (dpy=0x085d3ea0(:2) drawable=0x00e00002
pbw->getglxdrawable()=0x00200002 ) 1148.235921 ms
0.165002 frames/sec - 0.184142 Mpixels/sec
[VGL] glDrawBuffer (mode=0x00000405 pbw->_dirty=0 pbw->_rdirty=0
pbw->getglxdrawable()=0x00200002 ) 0.009065 ms
[VGL] glViewport (x=0 y=0 width=1240 height=900 ) 0.012070 ms
[VGL] glDrawBuffer (mode=0x00000405 pbw->_dirty=0 pbw->_rdirty=0
pbw->getglxdrawable()=0x00200002 ) 0.002885 ms
[VGL] glPopAttrib (pbw->_dirty=0 pbw->_rdirty=0
pbw->getglxdrawable()=0x00200002 ) 0.005065 ms
[VGL] glPopAttrib (pbw->_dirty=0 pbw->_rdirty=0
pbw->getglxdrawable()=0x00200002 ) 0.000945 ms
[VGL] glPopAttrib (pbw->_dirty=0 pbw->_rdirty=0
pbw->getglxdrawable()=0x00200002 ) 0.001932 ms
[VGL] glXSwapBuffers (dpy=0x085d3ea0(:2) drawable=0x00e00002
pbw->getglxdrawable()=0x00200002 ) 1366.429103 ms
0.157792 frames/sec - 0.176096 Mpixels/sec
But when running glxspheres64, both gpu 0 and gpu 1 work well.
What should I do to let 32bit on 2nd GPU works?
Thanks.
------------------------------------------------------------------------------
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