Frame doesn't start: `gpu-2404-provider-wrapper: not found`

Hi Alan,

Have you ever tried “side-by-side” display-layout in Ubuntu Server 24.04?
After I followed the guide you posted above to configure the display:

{layouts: {side_by_side: {cards: [{card-id: 0, HDMI-A-2: {snap-name: chromium, mode: 1920x1080@60.0, scale: 1, group: 0}},{card-id: 0, HDMI-A-3: {snap-name: wpe-webkit-mir-kiosk, mode: 1920x1080@60.0, scale: 1, group: 0}}]}}}

The ubuntu-frame logs:

2024-08-07T01:11:39Z ubuntu-frame.daemon[297465]: + [ /snap/ubuntu-frame/9751/bin/gpu-2404-wrapper = --help ]
2024-08-07T01:11:39Z ubuntu-frame.daemon[297492]: + dirname /run/user/0/snap.ubuntu-frame
2024-08-07T01:11:39Z ubuntu-frame.daemon[297465]: + XDG_RUNTIME_DIR=/run/user/0
2024-08-07T01:11:39Z ubuntu-frame.daemon[297465]: + export XDG_RUNTIME_DIR
2024-08-07T01:11:39Z ubuntu-frame.daemon[297465]: + mkdir -p /run/user/0 -m 700
2024-08-07T01:11:39Z ubuntu-frame.daemon[297465]: + [ -n ]
2024-08-07T01:11:39Z ubuntu-frame.daemon[297465]: + exec /snap/ubuntu-frame/9751/bin/gpu-2404-wrapper /snap/ubuntu-frame/9751/usr/local/bin/frame
2024-08-07T01:11:39Z ubuntu-frame.daemon[297465]: /snap/ubuntu-frame/9751/bin/gpu-2404-wrapper: 16: exec: /snap/ubuntu-frame/9751/gpu-2404/bin/gpu-2404-provider-wrapper: not found
2024-08-07T01:11:39Z systemd[1]: snap.ubuntu-frame.daemon.service: Main process exited, code=exited, status=127/n/a
2024-08-07T01:11:39Z systemd[1]: snap.ubuntu-frame.daemon.service: Failed with result ‘exit-code’.

Installed snap packages:
ubuntu-frame 152-mir2.17.0
chromium 129.0.6614.3
wpe-webkit-mir-kiosk 2.38.5

That error has nothing to do with the display-layout. That looks like a problem with the gpu-2404 provider. Could you paste the output from:

snap interfaces | grep gpu-2404

[update]

Having thought a bit longer…

Clearly the gpu-2404 content interface is connected (or you’d get a different error) but the content it should provide isn’t visible. That isn’t something that happens frequently, but it may be a snapd issue. There are some similar problems reported:

It is possible that you can work around this by disconnecting and reconnecting the interface:

snap disconnect ubuntu-frame:gpu-2404
snap    connect ubuntu-frame:gpu-2404 mesa-2404

Or by removing and reinstalling the snap:

snap remove  ubuntu-frame
snap install ubuntu-frame