Try the latest code in SVN trunk. I think I was able to fix this yesterday. The basic issue is that Steam seems to be interposing on glXSwapBuffers() somehow, creating another layer of interposition below VGL (at least, that's what it looked like in the debugger, but I may be mistaken.) Anyhow, for whatever reason, XGetGeometry() is called from within the body of glXSwapBuffers(), and since VGL has already modified the window ID in glXSwapBuffers() and replaced it with the corresponding Pbuffer ID, the Pbuffer ID is what gets passed into XGetGeometry(). It's illegal to call XGetGeometry() on a Pbuffer, so that's why the BadDrawable() error occurs. Fortunately, VGL intercepts the XGetGeometry() call, so I was able to modify the interposed version of that function, detect if the drawable ID being passed into it is a Pbuffer ID and, if so, replace it with the corresponding X window ID on the 2D X server.
Note that a workaround for this using existing releases of VirtualGL is to setenv/export VGL_TRAPX11=1. That makes all X11 errors non-fatal. On 7/20/13 10:28 AM, Joao Milasch wrote: > Hello and thanks for the quick input. I've upgraded my packages to the > nightly, yet the result seem to be the same. > > I did upgrade the multilib version too. Based off from these pkgbuilds, > I upgraded the source path and md5sum + version number: > https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/virtualgl > https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/lib32-virtualgl > > I use arch linux by the way, just in case i didn't mention it. > > Not sure if something's wrong with my system, but here's the pastebin > with the execution output (Stdout/stderr): > http://pastebin.com/LwtJ6CCA > > Again I appreciate the response =] > > Thanks, > John > > > On Sat, Jul 20, 2013 at 2:16 AM, DRC <dcomman...@users.sourceforge.net > <mailto:dcomman...@users.sourceforge.net>> wrote: > > I suspect that it may be the same bug as is reported here: > > > https://sourceforge.net/tracker/?func=detail&aid=3606409&group_id=117509&atid=678327 > > Thanks to the sponsored project I've been working on in recent weeks to > make compiz run in VirtualGL, I now have a recent-ish Ubuntu environment > set up with 3D acceleration, so I can take advantage of that to run the > Steam client and look into this issue. > > Before I do, though, can you try the latest VGL build? > > http://virtualgl.sourceforge.net/vgl.nightly/ > > I've fixed several things since 2.3.2 that may have accidentally fixed > this as well (most notably, Pixmap rendering is now implemented > differently, and the GLX swap interval extensions, which a lot of games > use, are now implemented properly.) > > Also, I apologize for not having 2.3.3 out by now. As soon as the > compiz stuff is sorted, it will be released. > > > On 7/20/13 12:19 AM, Joao Milasch wrote: > > Hello Gentlemen, > > > > I'm using latest version of virtualgl, trying to run DOTA 2 game or any > > other game supported on Linux (native?? don't know if wine is used > > behind the curtains) but they all seg fault. > > > > I'm not certain but this could be the culprit: > > > > GL sampler object usage: DISABLED > > Webm Header > > Webm Version: 1 > > Webm MaxIDLength: 4 > > Webm MaxSizeLength: 8 > > Doc Type: webm > > Pos: 43 > > > > ##### swap interval = 0 swap limit = 1 ##### > > X Error of failed request: BadDrawable (invalid Pixmap or Window > parameter) > > > > Again, version running is 2.3.2, installed package versions are below: > > > > $ pacman -Qs virtualgl > > local/lib32-virtualgl 2.3.2-2 > > 32-bit serverside components for 64-bit VirtualGL servers > > local/virtualgl 2.3.2-4 > > Redirects 3D commands from an OpenGL application onto a > server-side 3D > > graphics card > > > > Nvidia drivers: > > $ pacman -Qs nvidia > > local/lib32-nvidia-libgl 319.32-1 > > NVIDIA drivers libraries symlinks (32-bit) > > local/lib32-nvidia-utils 319.32-1 > > NVIDIA drivers utilities (32-bit) > > local/libvdpau 0.6-2 > > Nvidia VDPAU library > > local/nvidia 319.32-2 > > NVIDIA drivers for linux > > local/nvidia-libgl 319.32-1 > > NVIDIA drivers libraries symlinks > > local/nvidia-utils 319.32-1 > > NVIDIA drivers utilities > > > > OpenGL > > $ pacman -Qs mesa > > local/glu 9.0.0-2 > > Mesa OpenGL Utility library > > local/lib32-glu 9.0.0-2 > > Mesa OpenGL utility library (32 bits) > > local/lib32-mesa 9.1.5-1 > > an open-source implementation of the OpenGL specification (32-bit) > > local/mesa 9.1.5-1 > > an open-source implementation of the OpenGL specification > > local/mesa-demos 8.1.0-1 > > Mesa demos and tools > > > > I was running it through tigervnc which came to my attention has good > > support but turbovnc is better. > > > > The stdout/stderr can be found at:http://pastebin.com/x1xA9stQ > > > > Any assistance is appreciated. > > > > John > > > > > > > ------------------------------------------------------------------------------ > > See everything from the browser to the database with AppDynamics > > Get end-to-end visibility with application monitoring from AppDynamics > > Isolate bottlenecks and diagnose root cause in seconds. > > Start your free trial of AppDynamics Pro today! > > >http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > > > > > > > > _______________________________________________ > > VirtualGL-Users mailing list > >VirtualGL-Users@lists.sourceforge.net > <mailto:VirtualGL-Users@lists.sourceforge.net> > >https://lists.sourceforge.net/lists/listinfo/virtualgl-users > > > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > VirtualGL-Users mailing list > VirtualGL-Users@lists.sourceforge.net > <mailto:VirtualGL-Users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/virtualgl-users > > > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > > > > _______________________________________________ > VirtualGL-Users mailing list > VirtualGL-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtualgl-users > ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ VirtualGL-Users mailing list VirtualGL-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtualgl-users