GNOME Bugzilla – Bug 689759
Segmentation fault when using GLX and the Broadway backend
Last modified: 2016-04-28 14:22:52 UTC
Created attachment 230871 [details] GL and glx sample program glXChooseVisual always crash when launching a GL program with broadway backend. I don't really know if the problem come from gtk or X11. Sample program enclosing. Compile it with "gcc glx.c -o glx `pkg-config --cflags --libs gtk+-3.0 gl`" run great with ./glx but not with GDK_BACKEND=broadway ./glx (gdb) bt
+ Trace 231262
You're using X11-only API (in a way that is neither supported nor recommended) with a different GDK backend (one that does not even have GL support), and you're getting a crash. That's entirely expected.
So is there any way to show an application that uses OpenGL / Clutter through broadway then? Or some other way to display it in browser.
(In reply to admin from comment #2) > So is there any way to show an application that uses OpenGL / Clutter > through broadway then? Currently, no. Most definitely not by using native X11 calls. In theory it may be possible to add a WebGL context wrapper to the Broadway backend, and then use GtkGLArea, but Cogl/Clutter do not work that way in any case.