Ugh. The more I look into this, the nastier it gets. A lot of the other Qt5 OpenGL demos don't work because VirtualGL isn't intercepting xcb_glx_query_version(), which the application calls to check whether the GLX extension is available. But there are other xcb_glx* functions as well, and it seems like VirtualGL should intercept and reroute those to avoid future problems.
I unfortunately don't think that a simple hack is going to be very meaningful here. It's going to require a full-blown xcb interposer. Developing this interposer is straightforward, but it's going to be time-consuming. It will require introducing new hashes solely for the xcb structures, as well as a new dynamic loader mechanism (since libxcb isn't available on older platforms, we'll have to check for its presence before trying to use it.) Extensive testing will be required, which will probably include porting some of the GLX demos and/or other test applications in the VirtualGL source to the XCB API. This is unfortunately outside of the scope of pro bono work. I will post it as a hot topic on the web site and see if I can attract funding. On 7/29/14 12:41 AM, peter.ty...@csiro.au wrote: > An in-house app fails to display any 3D content with VirtualGL since it was > migrated to Qt5 from Qt4. According to the developer no code was changed > other than what was required to migrate the app to the Qt5 namespace. > > -----Original Message----- > From: DRC [mailto:dcomman...@users.sourceforge.net] > Sent: Tuesday, 29 July 2014 3:29 PM > To: virtualgl-users@lists.sourceforge.net > Subject: Re: [VirtualGL-Users] Issues with Qt 5 > > Have you been experiencing other issues besides just the resize issue? > > > On 7/25/14 5:17 AM, peter.ty...@csiro.au wrote: >> Hi All, >> >> We have been having trouble running OpenGL Qt5 apps with VirtualGL >> including 2.4 beta1. One easily reproducible issue is the OpenGL >> examples supplied with Qt5 don't resize with their windows when run >> with VirtualGL. This is seen with both Qt 5.3 we built ourselves and >> the Qt >> 5.2 shipped with Ubuntu 14.04 in the qtbase5-examples package. >> >> On Ubuntu running the following command and resizing the window >> produces six lines as per the trace below. Should we see a >> glXCreatePbuffer call if all is working properly? >> >> vglrun +tr /usr/lib/x86_64-linux-gnu/qt5/examples/opengl/cube/cube >> >> [VGL] glXMakeCurrent (dpy=0x006c75a0(:1) drawable=0x01400006 >> ctx=0x0089fed0 config=0x00000135(0x135) drawable=0x01200003 >> renderer=Quadro K2000/PCIe/SSE2 ) 0.036001 ms >> >> [VGL] glXSwapBuffers (dpy=0x006c75a0(:1) drawable=0x01400006 >> pbw->getglxdrawable()=0x01200003 ) 1.675844 ms >> >> [VGL] glXMakeCurrent (dpy=0x006c75a0(:1) drawable=0x01400006 >> ctx=0x0089fed0 config=0x00000135(0x135) drawable=0x01200003 >> renderer=Quadro K2000/PCIe/SSE2 ) 0.014782 ms >> >> [VGL] glViewport (x=0 y=0 width=737 height=590 ) 0.006914 ms >> >> [VGL] glXMakeCurrent (dpy=0x006c75a0(:1) drawable=0x01400006 >> ctx=0x0089fed0 config=0x00000135(0x135) drawable=0x01200003 >> renderer=Quadro K2000/PCIe/SSE2 ) 0.010014 ms >> >> [VGL] glXSwapBuffers (dpy=0x006c75a0(:1) drawable=0x01400006 >> pbw->getglxdrawable()=0x01200003 ) 1.435041 ms >> >> Regards, >> >> Peter > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > VirtualGL-Users mailing list > VirtualGL-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtualgl-users > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > VirtualGL-Users mailing list > VirtualGL-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtualgl-users > ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ VirtualGL-Users mailing list VirtualGL-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtualgl-users