Closed jaydensmith closed 4 months ago
That is very strange!
If you revert to the previous ubuntu-frame revision (snap revert ubuntu-frame
should do it; you might then wish to snap refresh --hold ubuntu-frame
to prevent auto-updates) does the old version of ubuntu-frame continue to work?
Hi @RAOF, unfortunately during troubleshooting I re-imaged the device, so I don't know what revision was previously working.
Ok. I've got a Pi4 (but not a CM4); I'll see if I can reproduce here.
Hm, no. I can't reproduce this on my Pi4. I've installed the new ubuntu-frame, it's in daemon mode, and rebooted, and it still comes up.
Notably, I see the same apparmor denial:
apparmor="DENIED" operation="open" profile="snap.ubuntu-frame.daemon" name="/run/user/0/" pid=1568 comm="mkdir" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Apr 26 14:46:46 ubuntu ubuntu-frame.daemon[1406]: + XDG_RUNTIME_DIR=/run/user/0
It still works.
Hm. Based upon when your logs terminate, ubuntu-frame might be hanging trying to acquire the VT?
@jaydensmith can you please check with the 2.16.3 release:
snap refresh ubuntu-frame --revision 8737
Or, for armhf:
snap refresh ubuntu-frame --revision 8739
It's definitely hanging doing something. When trying to refresh/remove snap
hangs waiting for the process to end before it eventually terminates ubuntu-frame. I've just tried with a brand new CM4 and carrier board, same issue unfortunately.
2024-04-29T09:41:22+10:00 systemd[1]: Stopping Service for snap application ubuntu-frame.daemon...
2024-04-29T09:41:42+10:00 ubuntu-frame.daemon[1186]: terminate called after throwing an instance of 'boost::wrapexcept<std::runtime_error>'
2024-04-29T09:41:42+10:00 ubuntu-frame.daemon[1186]: what(): Compositor thread failed to stop
2024-04-29T09:41:52+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: State 'stop-sigterm' timed out. Killing.
2024-04-29T09:41:52+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Killing process 1186 (frame) with signal SIGKILL.
2024-04-29T09:41:52+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Killing process 1336 (frame) with signal SIGKILL.
2024-04-29T09:41:52+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Killing process 1337 (frame) with signal SIGKILL.
2024-04-29T09:41:52+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Killing process 1338 (frame) with signal SIGKILL.
2024-04-29T09:41:52+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Killing process 1341 (Mir/Comp) with signal SIGKILL.
2024-04-29T09:41:52+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Killing process 1345 (Mir/Workqueue) with signal SIGKILL.
2024-04-29T09:42:22+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Processes still around after SIGKILL. Ignoring.
2024-04-29T09:42:52+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: State 'final-sigterm' timed out. Killing.
2024-04-29T09:42:52+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Killing process 1186 (frame) with signal SIGKILL.
2024-04-29T09:42:52+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Killing process 1336 (frame) with signal SIGKILL.
2024-04-29T09:42:52+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Killing process 1337 (frame) with signal SIGKILL.
2024-04-29T09:42:52+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Killing process 1338 (frame) with signal SIGKILL.
2024-04-29T09:42:52+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Killing process 1341 (Mir/Comp) with signal SIGKILL.
2024-04-29T09:42:52+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Killing process 1345 (Mir/Workqueue) with signal SIGKILL.
2024-04-29T09:43:22+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Processes still around after final SIGKILL. Entering failed mode.
2024-04-29T09:43:22+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Failed with result 'timeout'.
2024-04-29T09:43:22+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Unit process 1186 (frame) remains running after unit stopped.
2024-04-29T09:43:22+10:00 systemd[1]: Stopped Service for snap application ubuntu-frame.daemon.
2024-04-29T09:43:22+10:00 systemd[1]: snap.ubuntu-frame.daemon.service: Consumed 10.397s CPU time.
@Saviq I do get more logs with 2.16.3, but the issue
When I install from fresh, it runs:
2024-04-29T09:36:06+10:00 systemd[1]: Started Service for snap application ubuntu-frame.daemon.
2024-04-29T09:36:06+10:00 ubuntu-frame.daemon[3081]: ++ snapctl get display
2024-04-29T09:36:06+10:00 ubuntu-frame.daemon[3063]: + '[' -z '' ']'
2024-04-29T09:36:06+10:00 ubuntu-frame.daemon[3086]: + initialise-display-config
2024-04-29T09:36:06+10:00 ubuntu-frame.daemon[3063]: + disown
2024-04-29T09:36:06+10:00 ubuntu-frame.daemon[3087]: + sh -c 'sleep 5; mkdir "/run/user/007"; rmdir "/run/user/007"'
2024-04-29T09:36:06+10:00 ubuntu-frame.daemon[3063]: + exec nohup /snap/ubuntu-frame/8737/bin/run-frame /snap/ubuntu-frame/8737/bin/graphics-core22-wrapper /snap/ubuntu-frame/8737/usr/local/bin/frame
2024-04-29T09:36:06+10:00 ubuntu-frame.daemon[3088]: Setting up watches.
2024-04-29T09:36:06+10:00 ubuntu-frame.daemon[3088]: Watches established.
2024-04-29T09:36:06+10:00 ubuntu-frame.daemon[3063]: + [ /snap/ubuntu-frame/8737/bin/graphics-core22-wrapper = --help ]
2024-04-29T09:36:06+10:00 ubuntu-frame.daemon[3092]: + dirname /run/user/0/snap.ubuntu-frame
2024-04-29T09:36:06+10:00 ubuntu-frame.daemon[3063]: + XDG_RUNTIME_DIR=/run/user/0
2024-04-29T09:36:06+10:00 ubuntu-frame.daemon[3063]: + export XDG_RUNTIME_DIR
2024-04-29T09:36:06+10:00 ubuntu-frame.daemon[3063]: + mkdir -p /run/user/0 -m 700
2024-04-29T09:36:06+10:00 ubuntu-frame.daemon[3063]: + [ -n ]
2024-04-29T09:36:06+10:00 ubuntu-frame.daemon[3063]: + exec /snap/ubuntu-frame/8737/bin/graphics-core22-wrapper /snap/ubuntu-frame/8737/usr/local/bin/frame
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.405102] <information> mirserver: Starting
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.419932] < - debug - > mirserver: Using Linux VT subsystem for session management
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.423174] <information> mircommon: Loading modules from: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.423784] <information> mircommon: Loading module: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform/graphics-eglstream-kms.so.21
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.423963] <information> mircommon: Loading module: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform/graphics-gbm-kms.so.21
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.424065] <information> mircommon: Loading module: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform/renderer-egl-generic.so.21
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.424171] <information> mircommon: Loading module: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform/server-x11.so.21
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.424269] <information> mircommon: Loading module: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform/input-evdev.so.8
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.430111] <information> mirserver: Found display driver: mir:eglstream-kms (version 2.16.3)
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.448350] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.449259] < -warning- > eglstream: Failed to check DRM modesetting support for device fec00000.v3d: Invalid argument (22)
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.449452] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_MESA_device_software EGL_EXT_device_drm_render_node
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.449615] <information> eglstream: Failed to query DRM node for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c)
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.449670] <information> mirserver: Driver supports:
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.449722] <information> mirserver: /devices/platform/v3dbus/fec00000.v3d/drm/card1 (priority 0)
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.449778] <information> mirserver: Found display driver: mir:gbm-kms (version 2.16.3)
2024-04-29T09:36:07+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:07.454391] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card0, driver vc4-drm
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: Failed to create /root/.cache for shader cache (Permission denied)---disabling.
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.524918] < -warning- > gbm-kms: Failed to detect whether device /dev/dri/card0 supports KMS, continuing with lower confidence
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.531170] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.532272] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card1, driver v3d
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: Failed to create /root/.cache for shader cache (Permission denied)---disabling.
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.559353] <information> gbm-kms: Failed to probe DRM device: ./src/platforms/common/server/kms-utils/drm_mode_resources.cpp(39): Throw in function mir::graphics::kms::DRMModeResUPtr {anonymous}::resources_for_drm_node(int)
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: Dynamic exception type: boost::wrapexcept<std::system_error>
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: std::exception::what: Couldn't get DRM resources: Operation not supported
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.559616] <information> mirserver: Driver supports:
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.559670] <information> mirserver: /devices/platform/gpu/drm/card0 (priority 128)
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.559712] <information> mirserver: /devices/platform/v3dbus/fec00000.v3d/drm/card1 (priority 0)
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.559781] <information> mirserver: Found display driver: mir:egl-generic (version 2.16.3)
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.561069] <information> mirserver: Found display driver: mir:x11 (version 2.16.3)
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.563510] <information> mirserver: (Unsupported by system environment)
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.564051] <information> mirserver: Selected display driver: mir:gbm-kms (version 2.16.3) for device ((null): /dev/dri/card0)
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: Failed to create /root/.cache for shader cache (Permission denied)---disabling.
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.993488] <information> mircommon: Loading modules from: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.993922] <information> mircommon: Loading module: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform/graphics-eglstream-kms.so.21
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.994051] <information> mircommon: Loading module: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform/graphics-gbm-kms.so.21
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.994124] <information> mircommon: Loading module: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform/renderer-egl-generic.so.21
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.994192] <information> mircommon: Loading module: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform/server-x11.so.21
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.994257] <information> mircommon: Loading module: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform/input-evdev.so.8
2024-04-29T09:36:08+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:08.998955] <information> mirserver: Found rendering driver: mir:eglstream-kms (version 2.16.3)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: Failed to create /root/.cache for shader cache (Permission denied)---disabling.
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.013660] <information> eglstream: EGLDevice found but unsuitable. Missing extension EGL_KHR_stream_consumer_gltexture
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.013741] <information> eglstream: EGLDevice found but unsuitable. Missing extension EGL_NV_stream_attrib
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.014005] < - debug - > eglstream: Failed to find kernel device for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.014060] < - debug - > eglstream: EGLDeviceEXTs found, but none are suitable for Mir
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.014102] <information> mirserver: Driver supports:
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.014141] <information> mirserver: /devices/platform/v3dbus/fec00000.v3d/drm/card1 (priority 0)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.014198] <information> mirserver: Found rendering driver: mir:gbm-kms (version 2.16.3)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.014244] < - debug - > gbm-kms: GBM-capable display found
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.019646] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card0, driver vc4-drm
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: Failed to create /root/.cache for shader cache (Permission denied)---disabling.
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.445826] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.446993] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card1, driver v3d
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.448310] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/renderD128, driver v3d
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: Failed to create /root/.cache for shader cache (Permission denied)---disabling.
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.459449] <information> mirserver: Driver supports:
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.459566] <information> mirserver: /devices/platform/gpu/drm/card0 (priority 256)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.459606] <information> mirserver: /devices/platform/v3dbus/fec00000.v3d/drm/renderD128 (priority 256)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.459656] <information> mirserver: Found rendering driver: mir:egl-generic (version 2.16.3)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: Failed to create /root/.cache for shader cache (Permission denied)---disabling.
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.471614] <information> mirserver: Driver supports:
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.471698] <information> mirserver: System (priority 128)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.471749] <information> mirserver: Found rendering driver: mir:x11 (version 2.16.3)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.472020] <information> mirserver: Selected rendering driver: mir:gbm-kms (version 2.16.3) for device ((null): /dev/dri/card0)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.472462] < - debug - > gbm-kms: Checking whether /dev/dri/card0 is the same device as (/dev/dri/card0, (null))...
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.472518] < - debug - > gbm-kms: ...yup.
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.530345] <information> mirserver: Selected rendering driver: mir:gbm-kms (version 2.16.3) for device ((null): /dev/dri/renderD128)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.530959] < - debug - > gbm-kms: Checking whether /dev/dri/renderD128 is the same device as (/dev/dri/card0, (null))...
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.531019] < - debug - > gbm-kms: ...nope.
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: Failed to create /root/.cache for shader cache (Permission denied)---disabling.
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.549362] <information> mirserver: Selected rendering driver: mir:egl-generic (version 2.16.3) for platform
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: Failed to create /root/.cache for shader cache (Permission denied)---disabling.
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.683897] < -warning- > gbm-kms: Unable to determine the current display mode.
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.684698] <information> gbm-kms: DRM device details:
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.684950] <information> gbm-kms: /dev/dri/card0: using driver vc4 [Broadcom VC4 graphics] (version: 0.0.0 driver date: 20140616)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.736134] <information> gbm-kms: Output: HDMI-A-1 (connected)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.736269] <information> gbm-kms: Mode: 1280×720@60.00
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.736359] <information> gbm-kms: Mode: 1920×1080@60.00
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.736440] <information> gbm-kms: Mode: 1920×1080@60.00
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.736518] <information> gbm-kms: Mode: 1920×1080@59.94
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.736596] <information> gbm-kms: Mode: 1920×1080@30.00
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.736676] <information> gbm-kms: Mode: 1920×1080@29.97
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.736754] <information> gbm-kms: Mode: 1920×1080@50.00
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.736833] <information> gbm-kms: Mode: 1920×1080@25.00
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.736909] <information> gbm-kms: Mode: 1280×720@59.94
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.736986] <information> gbm-kms: Mode: 1280×720@50.00
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.737065] <information> gbm-kms: Mode: 1024×768@60.00
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.737141] <information> gbm-kms: Mode: 800×600@60.31
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.737220] <information> gbm-kms: Mode: 720×576@50.00
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.737298] <information> gbm-kms: Mode: 720×576@25.00
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.737377] <information> gbm-kms: Mode: 720×576@47.70
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.737457] <information> gbm-kms: Mode: 720×480@60.00
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.737534] <information> gbm-kms: Mode: 720×480@59.94
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.737610] <information> gbm-kms: Mode: 720×480@30.00
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.737689] <information> gbm-kms: Mode: 720×480@29.97
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.737766] <information> gbm-kms: Mode: 640×480@60.00
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.737843] <information> gbm-kms: Mode: 640×480@59.94
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.738028] < - debug - > miral: Display config using layout strategy: 'default'
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.738299] <information> miral: Display config:
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: 8>< ---------------------------------------------------
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: layouts:
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: default: # the current layout
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: cards:
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # a list of cards (currently matched by card-id)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: - card-id: 0
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: HDMI-A-1:
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # This output supports the following modes: 1280x720@60.0, 1920x1080@60.0,
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # 1920x1080@60.0, 1920x1080@59.9, 1920x1080@30.0, 1920x1080@30.0, 1920x1080@50.0,
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # 1920x1080@25.0, 1280x720@59.9, 1280x720@50.0, 1024x768@60.0, 800x600@60.3,
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # 720x576@50.0, 720x576@25.0, 720x576@47.7, 720x480@60.0, 720x480@59.9,
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # 720x480@30.0, 720x480@30.0, 640x480@60.0, 640x480@59.9
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: #
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # Uncomment the following to enforce the selected configuration.
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # Or amend as desired.
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: #
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: state: enabled # {enabled, disabled}, defaults to enabled
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: mode: 1280x720@60.0 # Defaults to preferred mode
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: position: [0, 0] # Defaults to [0, 0]
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: orientation: normal # {normal, left, right, inverted}, defaults to normal
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: scale: 1
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: group: 0 # Outputs with the same non-zero value are treated as a single display
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: 8>< ---------------------------------------------------
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.847490] < -warning- > gbm-kms: drmModeCrtcSetGamma failed: Function not implemented
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.847943] < - debug - > miral: Display config using layout strategy: 'default'
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.848218] <information> miral: Display config:
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: 8>< ---------------------------------------------------
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: layouts:
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: default: # the current layout
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: cards:
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # a list of cards (currently matched by card-id)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: - card-id: 0
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: HDMI-A-1:
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # This output supports the following modes: 1280x720@60.0, 1920x1080@60.0,
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # 1920x1080@60.0, 1920x1080@59.9, 1920x1080@30.0, 1920x1080@30.0, 1920x1080@50.0,
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # 1920x1080@25.0, 1280x720@59.9, 1280x720@50.0, 1024x768@60.0, 800x600@60.3,
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # 720x576@50.0, 720x576@25.0, 720x576@47.7, 720x480@60.0, 720x480@59.9,
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # 720x480@30.0, 720x480@30.0, 640x480@60.0, 640x480@59.9
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: #
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # Uncomment the following to enforce the selected configuration.
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: # Or amend as desired.
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: #
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: state: enabled # {enabled, disabled}, defaults to enabled
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: mode: 1280x720@60.0 # Defaults to preferred mode
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: position: [0, 0] # Defaults to [0, 0]
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: orientation: normal # {normal, left, right, inverted}, defaults to normal
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: scale: 1
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: group: 0 # Outputs with the same non-zero value are treated as a single display
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: 8>< ---------------------------------------------------
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3088]: /var/snap/ubuntu-frame/8737/ CREATE frame.display
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.849093] < - debug - > miral: Wrote display configuration template: /var/snap/ubuntu-frame/8737/frame.display
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.853449] <information> mirserver: Using software cursor
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: xkbcommon: ERROR: couldn't find a Compose file for locale "C.UTF-8" (mapped to "C.UTF-8")
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.859921] <information> gbm-kms-buffer-allocator: Enabled linux-dmabuf import support
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.862817] <information> mircommon: Loading modules from: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.863250] <information> mircommon: Loading module: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform/graphics-eglstream-kms.so.21
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.863475] <information> mircommon: Loading module: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform/graphics-gbm-kms.so.21
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.863624] <information> mircommon: Loading module: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform/renderer-egl-generic.so.21
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.863730] <information> mircommon: Loading module: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform/server-x11.so.21
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.863815] <information> mircommon: Loading module: /snap/ubuntu-frame/8737/usr/lib/aarch64-linux-gnu/mir/server-platform/input-evdev.so.8
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.867755] <information> mirserver: Selected input driver: mir:evdev-input (version: 2.16.3)
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.879827] <information> mirserver: Mir version 2.16.3
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.886970] <information> GLRenderer: EGL vendor: Mesa Project
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.887102] <information> GLRenderer: EGL version: 1.4
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.887150] <information> GLRenderer: EGL client APIs: OpenGL OpenGL_ES
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.887197] <information> GLRenderer: EGL extensions: EGL_ANDROID_blob_cache EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.887253] <information> GLRenderer: GL vendor: Broadcom
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.887300] <information> GLRenderer: GL renderer: V3D 4.2
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.887350] <information> GLRenderer: GL version: OpenGL ES 3.1 Mesa 23.2.1-1ubuntu3.1~22.04.2
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.887391] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.10
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.887571] <information> GLRenderer: GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_NV_generate_mipmap_sRGB GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_debug_label GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_cube_map_array GL_EXT_texture_view GL_KHR_context_flush_control GL_NV_image_formats GL_NV_shader_noperspective_interpolation GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_primitive_bounding_box GL_OES_shader_io_blocks GL_OES_texture_border_clamp GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_buffer_storage GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_texture_query_lod GL_MESA_bgra
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.887641] <information> GLRenderer: GL max texture size = 4096
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.893128] <information> GLRenderer: GL framebuffer bits: RGBA=8880, depth=0, stencil=0
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.984814] <information> mirserver: Initial display configuration:
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.984922] <information> mirserver: * Output 1: HDMI-A connected, used
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.984968] <information> mirserver: . |_ EDID monitor name: XENARC
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.985007] <information> mirserver: . |_ EDID manufacturer: MST
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.985045] <information> mirserver: . |_ EDID product code: 32801
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.985090] <information> mirserver: . |_ Physical size 8.1" 180x100mm
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.985127] <information> mirserver: . |_ Power is on
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.985166] <information> mirserver: . |_ Current mode 1280x720 60.00Hz
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.985203] <information> mirserver: . |_ Preferred mode 1280x720 60.00Hz
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.985239] <information> mirserver: . |_ Orientation normal
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.985278] <information> mirserver: . |_ Logical size 1280x720
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.985314] <information> mirserver: . |_ Logical position +0+0
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.985350] <information> mirserver: . |_ Scaling factor: 1.00
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.985472] < -warning- > miral: Attempt to read custom output attribute (surface-title) that wasn't added
2024-04-29T09:36:09+10:00 ubuntu-frame.daemon[3063]: [2024-04-29 09:36:09.985583] < -warning- > miral: Attempt to read custom output attribute (snap-name) that wasn't added
When rebooting the system, the wallpaper never appears on the screen, just tty.
Interestingly, I have a device that has not refreshed core22
and mesa-core22
which still works. I just tried refreshing those snaps on the new device, and ubuntu-frame
runs at startup now, but only when hard resetting the device, but not after safely powering down/restarting 🤷🏻♂️
Name Version Rev Tracking Publisher Notes
core22 20240111 1125 latest/stable canonical** base
mesa-core22 23.0.4 234 latest/stable canonical** -
pi-kernel 5.15.0-1053.56 821 22/stable canonical** kernel
ubuntu-frame 139-mir2.16.4+dev332 9217 22/edge canonical** -
From what I can see, the times ubuntu-frame
won't start, the logs show No EDID data available on connector 89
just before listing the DRM device details.
It appears a different brand screen resolved the issue. Strange that it was working before, but I'll consider it an anomaly.
Everything was working fine up until this update. journalctl log:
When initially installed on a fresh Ubuntu Core 22 instance, it launches successfully. Upon a reboot, it won't launch again. I have checked and it is running as a daemon.