Running Mir apps on latest Snappy

Darren Landoll darren.landoll at gmail.com
Mon Oct 12 13:51:41 UTC 2015


I posted this message on a different list, but after tracking down the
exception in the Mir code, it may apply more here.

I am building the amd64 oem and mir snaps and then running
ubuntu-device-flash to create either a stable or edge based image for 15.04
(in developer mode).

For initial testing I am using deb2snap to build a snap for the qt5
declarative clocks example, based on this guide:
https://docs.google.com/document/d/14msTXe_cFulk9z4jFptEjFJzZx58b1mWU_r4VivLkfA/edit?pli=1

The target device is a x86_64 based touchscreen and I am currently booting
my test images from a USB stick. The machine boots up successfully and
displays the empty/default mir server (w/ mouse cursor). When I install and
try to run the QML clocks example, I get the error shown below.


$ qtdeclarative5-examples-amd64.clocks
Loading module: 'libubuntu_application_api_desktop_mirclient.so.2.9.0'
[1444485571.860493] Loader: Loading modules from:
/apps/mir/current/debs/usr/lib/x86_64-linux-gnu/mir/client-platform
[1444485571.861038] Loader: Loading module:
/apps/mir/current/debs/usr/lib/x86_64-linux-gnu/mir/client-platform/mesa.so.2
Fontconfig error: Cannot load default config file
UbuntuWindow - regular geometry
terminate called after throwing an instance of
'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error>
>'
  what():  Unexpectedly received fds
Aborted


I also tried with one of the mir client demos and get the same error...


(PC) $ ./deb2snap -d 15.04 --mir mir_demo_client_display_config

(Snappy) $ mir-demos.mir-demo-client-display-config
[1444582703.475395] Loader: Loading modules from:
/apps/mir/current/debs/usr/lib/x86_64-linux-gnu/mir/client-platform
[1444582703.480291] Loader: Loading module:
/apps/mir/current/debs/usr/lib/x86_64-linux-gnu/mir/client-platform/mesa.so.2
Current active output is 1024x768 +0+0
Server supports 2 of 6 surface pixel formats. Using format: 4

terminate called after throwing an instance of
'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error>
>'
  what():  Unexpectedly received fds
Aborted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/mir-devel/attachments/20151012/6058b3a1/attachment.html>


More information about the Mir-devel mailing list