On 3/24/15 9:49 AM, Dr. Roman Grothausmann wrote:
> One problem that I've observed with VirtualGL-2.4 (+XCB) is that the app 
> crashes
> with
>
> [VGL] ERROR: in getGLXDrawable--
> [VGL]    186: Window has been deleted by window manager

That isn't a crash.  It's VirtualGL being nice and preventing a crash by 
catching the fact that the X window disappeared without the application 
explicitly calling XDestroyWindow().  In other words, it's a feature, 
not a bug.  From VirtualGL's point of view, it actually is an error, 
because if the application never calls XDestroyWindow(), then VirtualGL 
never has a chance to shut down the virtual window instance (which, if 
using the VirtualGL transport, would also shut down the connection to 
vglclient.)

In order to prevent it, the application should catch the 
WM_DELETE_WINDOW message from the window manager and shut down its 
window cleanly.  See glxspheres.c in the VirtualGL source for an example 
of how to do this (although that source code shows how to do it with 
Xlib, not xcb, I assume it would be similar with xcb.)

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
VirtualGL-Users mailing list
VirtualGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

Reply via email to