According to my analysis this is a common issue for those gtk
applications that don't depend on GL (so that e.g. libgl1-mesa-glx is
not pulled in as a (in)direct dependency).

This is caused by a glXQueryExtension call inside Gtk function
gdk_x11_screen_init_gl (gdk/x11/gdkglcontext-x11.c).

IMO ideally would be to detect in runtime if GL is available and skip
this call otherwise. My gtk test build with this call commented out
(ppa:dgadomski/firefox-lp1550983) seems to work fine.

I've been able to reproduce it also with Firefox, mousetweaks & gtk3-demo 
launched from a Windows client via cygwin with X on a server image with those 
apps installed with apt-get (none of them pulls in GLX implementation).
This seemed to work correctly from a Linux client ssh -X to the same machine. 
The control in this case skips this call - one frame above 
(_gdk_x11_screen_update_visuals_for_gl) gl visuals are found (from a local 
environment?) and used, so no crash happens.

Will look more into this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1550983

Title:
  Fails to start with "Couldn't open libGL.so.1" (missing dependency?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1550983/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to