Pi2 and 3 image improvements (GLES, GPIO)

Alejandro J. Cura alejandro.cura at canonical.com
Mon Jan 23 22:22:27 UTC 2017


Perhaps something else is broken, because I'm trying installing
mir-libs, mir-kiosk and mir-kiosk-apps on the latest raspi 2 image (on
a Raspberry Pi 2, of course), and on the amd64 image on a kvm, and I
can't even get mir-kiosk to launch and show the black screen with the
pointer. Both the raspi2 and kvm get stuck at the text mode login.

The following in syslog seems relevant:

Jan 23 07:37:29 localhost snap[1658]: Unknown command line options: --vt 1
Jan 23 07:37:30 localhost snap[1658]:
/snap/mir-kiosk/20/bin/run-miral: line 59:  1674 Terminated
  $SNAP/usr/bin/inotifywait -e modify ${CONFIG_FILE}
Jan 23 07:37:30 localhost snap[1658]: Shutting down miral-kiosk (pid: 1673)
Jan 23 07:37:30 localhost snap[1658]:
/snap/mir-kiosk/20/bin/run-miral: line 64: kill: (1673) - No such
process
Jan 23 07:37:30 localhost snap[1658]: miral-kiosk was already dead!

alecu at localhost:~$ snap list
Name            Version        Rev  Developer  Notes
core            16.04.1        964  canonical  -
mir-kiosk       0.1            20   canonical  -
mir-kiosk-apps  0.1            11   canonical  -
mir-libs        0.1            20   canonical  devmode
pi2             16.04-0.17     36   canonical  -
pi2-kernel      4.4.0-1040-47  26   canonical  -

cheers,
-- 
alecu

On Mon, Jan 23, 2017 at 5:53 PM, Alejandro J. Cura
<alejandro.cura at canonical.com> wrote:
>
> Hey all, thanks for the hard work getting this image into shape.
>
> I've been trying to run on a Raspi3 the Mir-kiosk-apps demo from: https://developer.ubuntu.com/en/snappy/guides/mir-snaps/ but I've not had much success. End of last week the demos would crash, and Mir would shut down after a few seconds. After refreshing the core today, I'm getting the very first frame, and when I try to move the mouse I see the cursor make a small jump (perhaps another frame?) and then it all hangs up.
>
> I can ssh into the raspi, and enable a different one of the demo apps with something like:
> $ snap set mir-kiosk-apps app="rssnews"; snap disable mir-kiosk-apps; snap disable mir-kiosk; snap enable mir-kiosk; snap enable mir-kiosk-apps
>
> But it still gets stuck on the first frame and only allows a small jump of the mouse before freezing.
>
> I've also tried the kodi demo snap mentioned here: https://plus.google.com/u/0/+OliverGrawert/posts/6S6U4MKG32y
> but that crashes with something like:
>
> alecu at localhost:~$ /snap/bin/kodi-mir-snapshot.kodi
> ERROR: Unable to create GUI. Exiting
> *** Error in `/snap/kodi-mir-snapshot/x1/lib/kodi/kodi.bin': free(): invalid pointer: 0x75d99844 ***
> /snap/kodi-mir-snapshot/x1/bin/runner_kodi: line 180:  2720 Aborted                 "$LIBDIR/${bin_name}/${bin_name}.bin" $SAVED_ARGS
> Crash report available at /home/alecu/snap/kodi-mir-snapshot/x1/kodi_crashlog-20170123_202923.log
>
> Any ideas on what I should try, or how to further debug this? I can upload the crash report if it helps.
>
> thanks!
> --
> alecu
>
>
>
> On Mon, Jan 23, 2017 at 9:46 AM, Gustavo Niemeyer <gustavo at niemeyer.net> wrote:
> >
> > Super nice indeed. Thanks, Oliver!
> >
> > Has anyone tried the new GL and gpios?  How did it go?
> >
> > Perhaps we can ask for some extra millage on the pi community list itself?
> >
> > On Wed, Jan 18, 2017 at 1:59 PM, Oliver Grawert <ogra at ubuntu.com> wrote:
> >>
> >> hi,
> >>
> >> at [1] you can now find a daily image build for the Pi2 and Pi3 that
> >> both have full GLES support and all 26 GPIOs exposed through
> >> interfaces, some test feedback would be nice :)
> >>
> >> the GPIO numbering and pin mapping follows the community map at [2] and
> >> looks like [3] in the "snap interfaces" output now.
> >>
> >> ciao
> >>         oli
> >>
> >> [1] http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/
> >> [2] http://pinout.xyz/#
> >> [3] http://paste.ubuntu.com/23822613/
> >> --
> >> Snapcraft mailing list
> >> Snapcraft at lists.snapcraft.io
> >> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
> >>
> >
> >
> >
> > --
> >
> > gustavo @ http://niemeyer.net
> >
> > --
> > Snapcraft mailing list
> > Snapcraft at lists.snapcraft.io
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
> >




More information about the Snapcraft mailing list