Not seeing output on Ubuntu Core on RPi3

I have a Raspberry Pi 3 with a newly installed Ubuntu “snappy” Core (core18 I think) which I would like to configure as a digital picture frame. A single HDMI screen is connected to the Raspberry Pi.

I can see the text output telling me how to SSH in. That works fine. Next I run:

$ snap install mir-kiosk

The screen flickers and I get a black screen, no more text. I guess this is a good sign but I don’t see a mouse pointer like some tutorials mention.

Next I install the ScummVM snap and connect the interfaces as explain on the mir-kiosk-scummvm store page:

$ snap install mir-kiosk-scummvm
$ /snap/mir-kiosk-scummvm/current/bin/setup.sh

Nothing changes, still the same black screen.

The output of mir-kiosk-scummvm:

2020-11-05T18:06:04Z systemd[1]: Started Service for snap application mir-kiosk-scummvm.daemon.
2020-11-05T18:06:04Z mir-kiosk-scummvm.daemon[6172]: + grep -q snap_core= /proc/cmdline
2020-11-05T18:06:04Z mir-kiosk-scummvm.daemon[6172]: + exec wayland-launch scummvm-launch
2020-11-05T18:06:04Z mir-kiosk-scummvm.daemon[6172]: + dirname /run/user/0/snap.mir-kiosk-scummvm
2020-11-05T18:06:04Z mir-kiosk-scummvm.daemon[6172]: + real_wayland=/run/user/0/wayland-0
2020-11-05T18:06:04Z mir-kiosk-scummvm.daemon[6172]: + [ ! -O /run/user/0/wayland-0 ]
2020-11-05T18:06:04Z mir-kiosk-scummvm.daemon[6172]: + mkdir -p /run/user/0/snap.mir-kiosk-scummvm -m 700
2020-11-05T18:06:04Z mir-kiosk-scummvm.daemon[6172]: + ln -sf /run/user/0/wayland-0 /run/user/0/snap.mir-kiosk-scummvm
2020-11-05T18:06:04Z mir-kiosk-scummvm.daemon[6172]: + unset DISPLAY
2020-11-05T18:06:04Z mir-kiosk-scummvm.daemon[6172]: + exec scummvm-launch
2020-11-05T18:06:04Z mir-kiosk-scummvm.daemon[6172]: Failed to create secure directory (/var/run/pulse): Permission denied
2020-11-05T18:06:04Z mir-kiosk-scummvm.daemon[6172]: Unsupported modifier requested
2020-11-05T18:06:05Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Main process exited, code=killed, status=11/SEGV
2020-11-05T18:06:05Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Failed with result 'signal'.
2020-11-05T18:06:05Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Service hold-off time over, scheduling restart.
2020-11-05T18:06:05Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Scheduled restart job, restart counter is at 1.
2020-11-05T18:06:05Z systemd[1]: Stopped Service for snap application mir-kiosk-scummvm.daemon.
2020-11-05T18:06:05Z systemd[1]: Started Service for snap application mir-kiosk-scummvm.daemon.
2020-11-05T18:06:05Z mir-kiosk-scummvm.daemon[6224]: + grep -q snap_core= /proc/cmdline
2020-11-05T18:06:05Z mir-kiosk-scummvm.daemon[6224]: + exec wayland-launch scummvm-launch
2020-11-05T18:06:05Z mir-kiosk-scummvm.daemon[6224]: + dirname /run/user/0/snap.mir-kiosk-scummvm
2020-11-05T18:06:05Z mir-kiosk-scummvm.daemon[6224]: + real_wayland=/run/user/0/wayland-0
2020-11-05T18:06:05Z mir-kiosk-scummvm.daemon[6224]: + [ ! -O /run/user/0/wayland-0 ]
2020-11-05T18:06:05Z mir-kiosk-scummvm.daemon[6224]: + mkdir -p /run/user/0/snap.mir-kiosk-scummvm -m 700
2020-11-05T18:06:05Z mir-kiosk-scummvm.daemon[6224]: + ln -sf /run/user/0/wayland-0 /run/user/0/snap.mir-kiosk-scummvm
2020-11-05T18:06:05Z mir-kiosk-scummvm.daemon[6224]: + unset DISPLAY
2020-11-05T18:06:05Z mir-kiosk-scummvm.daemon[6224]: + exec scummvm-launch
2020-11-05T18:06:05Z mir-kiosk-scummvm.daemon[6224]: Failed to create secure directory (/var/run/pulse): Permission denied
2020-11-05T18:06:06Z mir-kiosk-scummvm.daemon[6224]: Unsupported modifier requested
2020-11-05T18:06:06Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Main process exited, code=killed, status=11/SEGV
2020-11-05T18:06:06Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Failed with result 'signal'.
2020-11-05T18:06:06Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Service hold-off time over, scheduling restart.
2020-11-05T18:06:06Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Scheduled restart job, restart counter is at 2.
2020-11-05T18:06:06Z systemd[1]: Stopped Service for snap application mir-kiosk-scummvm.daemon.
2020-11-05T18:06:06Z systemd[1]: Started Service for snap application mir-kiosk-scummvm.daemon.
2020-11-05T18:06:06Z mir-kiosk-scummvm.daemon[6276]: + grep -q snap_core= /proc/cmdline
2020-11-05T18:06:06Z mir-kiosk-scummvm.daemon[6276]: + exec wayland-launch scummvm-launch
2020-11-05T18:06:06Z mir-kiosk-scummvm.daemon[6276]: + dirname /run/user/0/snap.mir-kiosk-scummvm
2020-11-05T18:06:06Z mir-kiosk-scummvm.daemon[6276]: + real_wayland=/run/user/0/wayland-0
2020-11-05T18:06:06Z mir-kiosk-scummvm.daemon[6276]: + [ ! -O /run/user/0/wayland-0 ]
2020-11-05T18:06:06Z mir-kiosk-scummvm.daemon[6276]: + mkdir -p /run/user/0/snap.mir-kiosk-scummvm -m 700
2020-11-05T18:06:06Z mir-kiosk-scummvm.daemon[6276]: + ln -sf /run/user/0/wayland-0 /rsun/user/0/snap.mir-kiosk-scummvm
2020-11-05T18:06:06Z mir-kiosk-scummvm.daemon[6276]: + unset DISPLAY
2020-11-05T18:06:06Z mir-kiosk-scummvm.daemon[6276]: + exec scummvm-launch
2020-11-05T18:06:06Z mir-kiosk-scummvm.daemon[6276]: Failed to create secure directory (/var/run/pulse): Permission denied
2020-11-05T18:06:07Z mir-kiosk-scummvm.daemon[6276]: Unsupported modifier requested
2020-11-05T18:06:07Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Main process exited, code=killed, status=11/SEGV
2020-11-05T18:06:07Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Failed with result 'signal'.
2020-11-05T18:06:07Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Service hold-off time over, scheduling restart.
2020-11-05T18:06:07Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Scheduled restart job, restart counter is at 3.
2020-11-05T18:06:07Z systemd[1]: Stopped Service for snap application mir-kiosk-scummvm.daemon.
2020-11-05T18:06:07Z systemd[1]: Started Service for snap application mir-kiosk-scummvm.daemon.
2020-11-05T18:06:07Z mir-kiosk-scummvm.daemon[6331]: + grep -q snap_core= /proc/cmdline
2020-11-05T18:06:07Z mir-kiosk-scummvm.daemon[6331]: + exec wayland-launch scummvm-launch
2020-11-05T18:06:07Z mir-kiosk-scummvm.daemon[6331]: + dirname /run/user/0/snap.mir-kiosk-scummvm
2020-11-05T18:06:07Z mir-kiosk-scummvm.daemon[6331]: + real_wayland=/run/user/0/wayland-0
2020-11-05T18:06:07Z mir-kiosk-scummvm.daemon[6331]: + [ ! -O /run/user/0/wayland-0 ]
2020-11-05T18:06:07Z mir-kiosk-scummvm.daemon[6331]: + mkdir -p /run/user/0/snap.mir-kiosk-scummvm -m 700
2020-11-05T18:06:07Z mir-kiosk-scummvm.daemon[6331]: + ln -sf /run/user/0/wayland-0 /run/user/0/snap.mir-kiosk-scummvm
2020-11-05T18:06:07Z mir-kiosk-scummvm.daemon[6331]: + unset DISPLAY
2020-11-05T18:06:07Z mir-kiosk-scummvm.daemon[6331]: + exec scummvm-launch
2020-11-05T18:06:07Z mir-kiosk-scummvm.daemon[6331]: Failed to create secure directory (/var/run/pulse): Permission denied
2020-11-05T18:06:08Z mir-kiosk-scummvm.daemon[6331]: Unsupported modifier requested
2020-11-05T18:06:08Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Main process exited, code=killed, status=11/SEGV
2020-11-05T18:06:08Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Failed with result 'signal'.
2020-11-05T18:06:08Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Service hold-off time over, scheduling restart.
2020-11-05T18:06:08Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Scheduled restart job, restart counter is at 4.
2020-11-05T18:06:08Z systemd[1]: Stopped Service for snap application mir-kiosk-scummvm.daemon.
2020-11-05T18:06:08Z systemd[1]: Started Service for snap application mir-kiosk-scummvm.daemon.
2020-11-05T18:06:08Z mir-kiosk-scummvm.daemon[6382]: + grep -q snap_core= /proc/cmdline
2020-11-05T18:06:08Z mir-kiosk-scummvm.daemon[6382]: + exec wayland-launch scummvm-launch
2020-11-05T18:06:08Z mir-kiosk-scummvm.daemon[6382]: + dirname /run/user/0/snap.mir-kiosk-scummvm
2020-11-05T18:06:08Z mir-kiosk-scummvm.daemon[6382]: + real_wayland=/run/user/0/wayland-0
2020-11-05T18:06:08Z mir-kiosk-scummvm.daemon[6382]: + [ ! -O /run/user/0/wayland-0 ]
2020-11-05T18:06:08Z mir-kiosk-scummvm.daemon[6382]: + mkdir -p /run/user/0/snap.mir-kiosk-scummvm -m 700
2020-11-05T18:06:08Z mir-kiosk-scummvm.daemon[6382]: + ln -sf /run/user/0/wayland-0 /run/user/0/snap.mir-kiosk-scummvm
2020-11-05T18:06:08Z mir-kiosk-scummvm.daemon[6382]: + unset DISPLAY
2020-11-05T18:06:08Z mir-kiosk-scummvm.daemon[6382]: + exec scummvm-launch
2020-11-05T18:06:08Z mir-kiosk-scummvm.daemon[6382]: Failed to create secure directory (/var/run/pulse): Permission denied
2020-11-05T18:06:08Z mir-kiosk-scummvm.daemon[6382]: Unsupported modifier requested
2020-11-05T18:06:09Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Main process exited, code=killed, status=11/SEGV
2020-11-05T18:06:09Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Failed with result 'signal'.
2020-11-05T18:06:09Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Service hold-off time over, scheduling restart.
2020-11-05T18:06:09Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Scheduled restart job, restart counter is at 5.
2020-11-05T18:06:09Z systemd[1]: Stopped Service for snap application mir-kiosk-scummvm.daemon.
2020-11-05T18:06:09Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Start request repeated too quickly.
2020-11-05T18:06:09Z systemd[1]: snap.mir-kiosk-scummvm.daemon.service: Failed with result 'signal'.
2020-11-05T18:06:09Z systemd[1]: Failed to start Service for snap application mir-kiosk-scummvm.daemon.

Running snap get mir-kiosk shows:

Key             Value
cursor          software
daemon          true
display-layout  default
show-splash     true
vt              0

I tried the wpe-webkit-mir-kiosk snap and that works fine.
I can see the WPE webpage.

Who can point me in the right direction?

Thank you!

your errors seem to point to the scummvm snap trying to create some pulseaudio dir for some reason … did you try installing the pulseaudio snap and connecting the pulseaudio interface of scummvm to it (in the hope that it doesnt try to create /var/run/pulse then) ?

Thanks.

I am not sure what you mean with the “pulseaudio snap”. I installed the test-snapd-pulseaudio but that doesn’t seem to help, same error.

Think I should open an issue with the mir-kiosk-scummvm people.

You’re right. There is a problem with the mir-kiosk-scummvm on RPi3, I’ll look into it. In the meantime, you could test with the mircade snap.

You’ll only see a mouse pointer if there’s a mouse attached: “some tutorials” need updating.

@cimm thanks for bringing this to our attention. It turns out to be an obscure bug in mir-kiosk that only affected a few client snaps on specific hardware. (Most kiosk snaps work on RPi3 and mir-kiosk-scummvm works on most devices.)

This problem is already fixed in the next 2.2 release of Mir and mir-kiosk will be updated in the next few days. As I write the fix is only on the --edge channel; but, for testing, it will also be on the --candidate channel shortly.

You can update mir-kiosk to --edge as follows:

snap refresh --edge mir-kiosk
1 Like

@alan_g I tried with the edge version of mir-kiosk and mir-kiosk-scummvm runs like a charm on the Raspberry Pi 3 now!

Thank you for the quick reply.

1 Like