Trouble with opengl snappy interface

Reinhard Pointner reinhard.pointner at gmail.com
Wed May 18 19:40:50 UTC 2016


I've solved the fontconfig issues by including all fonts and fonts.conf in
the snap. My Java Swing app manages to start up at at least. There seem to
be a few opengl/gtk issues though.

`export LIBGL_DEBUG=verbose` is set.


(process:6285): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "canberra-gtk-module"
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL: dlopen /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed
(/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: cannot open shared object
file: No such file or directory)
libGL: OpenDriver: trying ${ORIGIN}/dri/tls/swrast_dri.so
libGL: OpenDriver: trying ${ORIGIN}/dri/swrast_dri.so
libGL: dlopen ${ORIGIN}/dri/swrast_dri.so failed
(${ORIGIN}/dri/swrast_dri.so: cannot open shared object file: No such file
or directory)
libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
libGL: dlopen /usr/lib/dri/swrast_dri.so failed
(/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file
or directory)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Failed in glXMakeCurrent

(<unknown>:6285): GdkPixbuf-WARNING **: Cannot open pixbuf loader module
file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No
such file or directory

This likely means that your installation is broken.
Try running the command
  gdk-pixbuf-query-loaders >
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.


Another question regarding D-Bus interop:

"Desktop Actions" like Open/Browse/Edit don't seem to work in the snap. In
--devmode using dbus to talk with unity/gnome shell shouldn't be an issue,
correct?


Cheers,
Reinhard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20160519/da4a8887/attachment-0001.html>


More information about the snappy-app-devel mailing list