canonical / mir

The Mir compositor
GNU General Public License v2.0
624 stars 99 forks source link

Crash on VT switch #3503

Closed AlanGriffiths closed 1 month ago

AlanGriffiths commented 1 month ago

Running Miriway/edge

Switch to another VT (e.g. Ctrl-Alt-F4)

Expect: Switches to VT4, and can switch back to Miriway on VT2 Actual: Switches to VT4 briefly then the greeter on VT1, Miriway no longer on VT2

AlanGriffiths commented 1 month ago
[2024-07-26 15:00:51.671571] <information> mirserver: Starting
[2024-07-26 15:00:51.674158] < - debug - > mirserver: Discovered object path for current session = /org/freedesktop/login1/session/_364
[2024-07-26 15:00:51.676881] < - debug - > mirserver: Using logind for session management
[2024-07-26 15:00:51.676969] <information> mircommon: Loading modules from: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform
[2024-07-26 15:00:51.677012] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-eglstream-kms.so.22
[2024-07-26 15:00:51.677025] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-gbm-kms.so.22
[2024-07-26 15:00:51.677034] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-wayland.so.22
[2024-07-26 15:00:51.677042] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/renderer-egl-generic.so.22
[2024-07-26 15:00:51.677050] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/server-virtual.so.22
[2024-07-26 15:00:51.677057] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/server-x11.so.22
[2024-07-26 15:00:51.677105] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/input-evdev.so.10
[2024-07-26 15:00:51.678339] <information> mirserver: Found display driver: mir:x11 (version 2.18.0)
[2024-07-26 15:00:51.678361] <information> mirserver: (Unsupported by system environment)
[2024-07-26 15:00:51.678371] <information> mirserver: Found display driver: mir:egl-generic (version 2.18.0)
[2024-07-26 15:00:51.678403] <information> mirserver: Found display driver: mir:wayland (version 2.18.0)
[2024-07-26 15:00:51.678409] <information> mirserver: (Unsupported by system environment)
[2024-07-26 15:00:51.678415] <information> mirserver: Found display driver: mir:gbm-kms (version 2.18.0)
[2024-07-26 15:00:51.681814] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card0, driver nouveau
[2024-07-26 15:00:52.970450] <information> gbm-kms: KMS support found, but device has no output hardware.
[2024-07-26 15:00:52.970468] <information> gbm-kms: This is probably a render-only hybrid graphics device
[2024-07-26 15:00:52.983135] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card5, driver i915
[2024-07-26 15:00:53.002427] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.002665] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.002814] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.002955] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.003154] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.003279] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.003452] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card1, driver evdi
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
[2024-07-26 15:00:53.026029] < -warning- > gbm-kms: Failed to detect whether device /dev/dri/card1 supports KMS, continuing with lower confidence
[2024-07-26 15:00:53.028673] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.028920] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card2, driver evdi
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
[2024-07-26 15:00:53.048705] < -warning- > gbm-kms: Failed to detect whether device /dev/dri/card2 supports KMS, continuing with lower confidence
[2024-07-26 15:00:53.051506] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.051758] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card3, driver evdi
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
[2024-07-26 15:00:53.071532] < -warning- > gbm-kms: Failed to detect whether device /dev/dri/card3 supports KMS, continuing with lower confidence
[2024-07-26 15:00:53.074224] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.074477] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card4, driver evdi
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
[2024-07-26 15:00:53.093478] < -warning- > gbm-kms: Failed to detect whether device /dev/dri/card4 supports KMS, continuing with lower confidence
[2024-07-26 15:00:53.096167] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.096274] <information> mirserver: Driver supports:
[2024-07-26 15:00:53.096299] <information> mirserver:   /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0 (priority 0)
[2024-07-26 15:00:53.096306] <information> mirserver:   /devices/pci0000:00/0000:00:02.0/drm/card5 (priority 256)
[2024-07-26 15:00:53.096311] <information> mirserver:   /devices/platform/evdi.0/drm/card1 (priority 128)
[2024-07-26 15:00:53.096316] <information> mirserver:   /devices/platform/evdi.1/drm/card2 (priority 128)
[2024-07-26 15:00:53.096334] <information> mirserver:   /devices/platform/evdi.2/drm/card3 (priority 128)
[2024-07-26 15:00:53.096339] <information> mirserver:   /devices/platform/evdi.3/drm/card4 (priority 128)
[2024-07-26 15:00:53.096383] <information> mirserver: Found display driver: mir:eglstream-kms (version 2.18.0)
[2024-07-26 15:00:53.098981] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node
[2024-07-26 15:00:53.112425] < -warning- > eglstream: Failed to create EGL context: no EGL_STREAM_BIT_KHR configs supported
[2024-07-26 15:00:53.113903] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node
[2024-07-26 15:00:53.115475] <information> eglstream: KMS support found, but device has no output hardware.
[2024-07-26 15:00:53.115488] <information> eglstream: This is probably a render-only hybrid graphics device
[2024-07-26 15:00:53.116055] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_MESA_device_software EGL_EXT_device_drm_render_node
[2024-07-26 15:00:53.116129] <information> eglstream: Failed to query DRM node for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c)
[2024-07-26 15:00:53.116139] <information> mirserver: Driver supports:
[2024-07-26 15:00:53.116159] <information> mirserver:   /devices/pci0000:00/0000:00:02.0/drm/card5 (priority 0)
[2024-07-26 15:00:53.116164] <information> mirserver:   /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0 (priority 0)
[2024-07-26 15:00:53.116190] <information> mirserver: Found display driver: mir:virtual (version 2.18.0)
[2024-07-26 15:00:53.116197] <information> mirserver: (Unsupported by system environment)
[2024-07-26 15:00:53.116217] <information> mirserver: Selected display driver: mir:gbm-kms (version 2.18.0) for device ((null): /dev/dri/card5)
[2024-07-26 15:00:53.126692] <information> mirserver: Selected display driver: mir:gbm-kms (version 2.18.0) for device ((null): /dev/dri/card1)
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
[2024-07-26 15:00:53.132612] <information> mirserver: Selected display driver: mir:gbm-kms (version 2.18.0) for device ((null): /dev/dri/card2)
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
[2024-07-26 15:00:53.138380] <information> mirserver: Selected display driver: mir:gbm-kms (version 2.18.0) for device ((null): /dev/dri/card3)
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
[2024-07-26 15:00:53.144328] <information> mirserver: Selected display driver: mir:gbm-kms (version 2.18.0) for device ((null): /dev/dri/card4)
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
[2024-07-26 15:00:53.149981] <information> mircommon: Loading modules from: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform
[2024-07-26 15:00:53.150025] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-eglstream-kms.so.22
[2024-07-26 15:00:53.150035] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-gbm-kms.so.22
[2024-07-26 15:00:53.150042] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-wayland.so.22
[2024-07-26 15:00:53.150048] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/renderer-egl-generic.so.22
[2024-07-26 15:00:53.150054] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/server-virtual.so.22
[2024-07-26 15:00:53.150060] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/server-x11.so.22
[2024-07-26 15:00:53.150086] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/input-evdev.so.10
[2024-07-26 15:00:53.151217] <information> mirserver: Found rendering driver: mir:eglstream-kms (version 2.18.0)
[2024-07-26 15:00:53.161775] <information> eglstream: EGLDevice found but unsuitable. Missing extension EGL_KHR_stream_consumer_gltexture
[2024-07-26 15:00:53.161786] <information> eglstream: EGLDevice found but unsuitable. Missing extension EGL_NV_stream_attrib
[2024-07-26 15:00:53.176195] <information> eglstream: EGLDevice found but unsuitable. Missing extension EGL_KHR_stream_consumer_gltexture
[2024-07-26 15:00:53.176207] <information> eglstream: EGLDevice found but unsuitable. Missing extension EGL_NV_stream_attrib
[2024-07-26 15:00:53.184654] < - debug - > eglstream: Failed to find kernel device for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c)
[2024-07-26 15:00:53.184667] < - debug - > eglstream: EGLDeviceEXTs found, but none are suitable for Mir
[2024-07-26 15:00:53.184674] <information> mirserver: Driver supports:
[2024-07-26 15:00:53.184678] <information> mirserver:   /devices/pci0000:00/0000:00:02.0/drm/card5 (priority 0)
[2024-07-26 15:00:53.184681] <information> mirserver:   /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0 (priority 0)
[2024-07-26 15:00:53.184697] <information> mirserver: Found rendering driver: mir:gbm-kms (version 2.18.0)
[2024-07-26 15:00:53.184704] < - debug - > gbm-kms: GBM-capable display found
[2024-07-26 15:00:53.188358] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card0, driver nouveau
[2024-07-26 15:00:53.188625] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/renderD129, driver nouveau
[2024-07-26 15:00:53.237522] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card5, driver i915
[2024-07-26 15:00:53.238059] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.238411] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.238738] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.239054] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.239396] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.239728] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.240181] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/renderD128, driver i915
[2024-07-26 15:00:53.270754] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card1, driver evdi
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
[2024-07-26 15:00:53.288874] <information> gbm-kms: Detected software renderer: llvmpipe (LLVM 17.0.6, 256 bits)
[2024-07-26 15:00:53.290226] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.290393] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card2, driver evdi
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
[2024-07-26 15:00:53.303677] <information> gbm-kms: Detected software renderer: llvmpipe (LLVM 17.0.6, 256 bits)
[2024-07-26 15:00:53.305143] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.305329] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card3, driver evdi
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
[2024-07-26 15:00:53.320625] <information> gbm-kms: Detected software renderer: llvmpipe (LLVM 17.0.6, 256 bits)
[2024-07-26 15:00:53.321866] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.322024] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card4, driver evdi
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
[2024-07-26 15:00:53.334338] <information> gbm-kms: Detected software renderer: llvmpipe (LLVM 17.0.6, 256 bits)
[2024-07-26 15:00:53.335606] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver 
[2024-07-26 15:00:53.335652] <information> mirserver: Driver supports:
[2024-07-26 15:00:53.335659] <information> mirserver:   /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/renderD129 (priority 256)
[2024-07-26 15:00:53.335664] <information> mirserver:   /devices/pci0000:00/0000:00:02.0/drm/renderD128 (priority 256)
[2024-07-26 15:00:53.335668] <information> mirserver:   /devices/platform/evdi.0/drm/card1 (priority 0)
[2024-07-26 15:00:53.335679] <information> mirserver:   /devices/platform/evdi.1/drm/card2 (priority 0)
[2024-07-26 15:00:53.335683] <information> mirserver:   /devices/platform/evdi.2/drm/card3 (priority 0)
[2024-07-26 15:00:53.335687] <information> mirserver:   /devices/platform/evdi.3/drm/card4 (priority 0)
[2024-07-26 15:00:53.335712] <information> mirserver: Found rendering driver: mir:wayland (version 2.18.0)
[2024-07-26 15:00:53.335744] <information> mirserver: Found rendering driver: mir:egl-generic (version 2.18.0)
[2024-07-26 15:00:53.379932] <information> mirserver: Driver supports:
[2024-07-26 15:00:53.379953] <information> mirserver:   System (priority 128)
[2024-07-26 15:00:53.379960] <information> mirserver: Found rendering driver: mir:virtual (version 2.18.0)
[2024-07-26 15:00:53.379988] <information> mirserver: Found rendering driver: mir:x11 (version 2.18.0)
[2024-07-26 15:00:53.380031] <information> mirserver: Selected rendering driver: mir:gbm-kms (version 2.18.0) for device ((null): /dev/dri/renderD129)
[2024-07-26 15:00:53.380132] < - debug - > gbm-kms: Checking whether /dev/dri/renderD129 is the same device as (/dev/dri/card5, /dev/dri/renderD128)...
[2024-07-26 15:00:53.380153] < - debug - > gbm-kms:     ...nope.
[2024-07-26 15:00:53.380188] < - debug - > gbm-kms: Checking whether /dev/dri/renderD129 is the same device as (/dev/dri/card1, (null))...
[2024-07-26 15:00:53.380192] < - debug - > gbm-kms:     ...nope.
[2024-07-26 15:00:53.380224] < - debug - > gbm-kms: Checking whether /dev/dri/renderD129 is the same device as (/dev/dri/card2, (null))...
[2024-07-26 15:00:53.380228] < - debug - > gbm-kms:     ...nope.
[2024-07-26 15:00:53.380273] < - debug - > gbm-kms: Checking whether /dev/dri/renderD129 is the same device as (/dev/dri/card3, (null))...
[2024-07-26 15:00:53.380277] < - debug - > gbm-kms:     ...nope.
[2024-07-26 15:00:53.380307] < - debug - > gbm-kms: Checking whether /dev/dri/renderD129 is the same device as (/dev/dri/card4, (null))...
[2024-07-26 15:00:53.380311] < - debug - > gbm-kms:     ...nope.
[2024-07-26 15:00:53.412930] <information> mirserver: Selected rendering driver: mir:gbm-kms (version 2.18.0) for device ((null): /dev/dri/renderD128)
[2024-07-26 15:00:53.413016] < - debug - > gbm-kms: Checking whether /dev/dri/renderD128 is the same device as (/dev/dri/card5, /dev/dri/renderD128)...
[2024-07-26 15:00:53.413023] < - debug - > gbm-kms:     ...yup.
[2024-07-26 15:00:53.418895] < - debug - > miral: Loaded display configuration file: /home/alan/.config/miriway-shell.display
[2024-07-26 15:00:54.778209] < -warning- > gbm-kms: Unable to determine the current display mode.
[2024-07-26 15:00:54.778319] <information> gbm-kms: DRM device details:
[2024-07-26 15:00:54.778340] <information> gbm-kms: /dev/dri/card5: using driver i915 [Intel Graphics] (version: 1.6.0 driver date: 20230929)
[2024-07-26 15:00:54.779858] <information> gbm-kms:     Output: eDP-1 (connected)
[2024-07-26 15:00:54.779874] <information> gbm-kms:         Mode: 1920×1080@60.02
[2024-07-26 15:00:54.785043] <information> gbm-kms:     Output: HDMI-A-1 (disconnected)
[2024-07-26 15:00:55.105078] <information> gbm-kms:     Output: DisplayPort-1 (disconnected)
[2024-07-26 15:00:55.120502] <information> gbm-kms:     Output: HDMI-A-2 (disconnected)
[2024-07-26 15:00:55.442092] <information> gbm-kms:     Output: DisplayPort-2 (disconnected)
[2024-07-26 15:00:55.457586] <information> gbm-kms:     Output: HDMI-A-3 (disconnected)
[2024-07-26 15:00:55.457629] < - debug - > miral: Display config using layout: 'default'
[2024-07-26 15:00:55.457724] <information> miral: Display config:
8>< ---------------------------------------------------
layouts:
  default:                         # the current layout
    cards:
    # a list of cards (currently matched by card-id)

    - card-id: 0
      eDP-1:
        # This output supports the following modes: 1920x1080@60.0
        #
        # Uncomment the following to enforce the selected configuration.
        # Or amend as desired.
        #
        state: enabled  # {enabled, disabled}, defaults to enabled
        mode: 1920x1080@60.0    # Defaults to preferred mode
        position: [0, 0]    # Defaults to [0, 0]
        orientation: normal # {normal, left, right, inverted}, defaults to normal
        scale: 1
        group: 0    # Outputs with the same non-zero value are treated as a single display

      HDMI-A-1:
        # (disconnected)

      DisplayPort-1:
        # (disconnected)

      HDMI-A-2:
        # (disconnected)

      DisplayPort-2:
        # (disconnected)

      HDMI-A-3:
        # (disconnected)
8>< ---------------------------------------------------
[2024-07-26 15:00:56.137541] < -warning- > gbm-kms: Ignoring attempt to set zero length gamma
[2024-07-26 15:00:56.139368] < - debug - > miral: Loaded display configuration file: /home/alan/.config/miriway-shell.display
[2024-07-26 15:00:56.139503] <information> gbm-kms: DRM device details:
[2024-07-26 15:00:56.139518] <information> gbm-kms: /dev/dri/card1: using driver evdi [Extensible Virtual Display Interface] (version: 1.14.4 driver date: 20240410)
[2024-07-26 15:00:56.139526] <information> gbm-kms:     Output: DVI-I-1 (disconnected)
[2024-07-26 15:00:56.139531] < - debug - > miral: Display config using layout: 'default'
[2024-07-26 15:00:56.139539] <information> miral: Display config:
8>< ---------------------------------------------------
layouts:
  default:                         # the current layout
    cards:
    # a list of cards (currently matched by card-id)

    - card-id: 0
      DVI-I-1:
        # (disconnected)
8>< ---------------------------------------------------
[2024-07-26 15:00:56.139890] < - debug - > miral: Loaded display configuration file: /home/alan/.config/miriway-shell.display
[2024-07-26 15:00:56.139971] <information> gbm-kms: DRM device details:
[2024-07-26 15:00:56.139984] <information> gbm-kms: /dev/dri/card2: using driver evdi [Extensible Virtual Display Interface] (version: 1.14.4 driver date: 20240410)
[2024-07-26 15:00:56.139992] <information> gbm-kms:     Output: DVI-I-2 (disconnected)
[2024-07-26 15:00:56.139997] < - debug - > miral: Display config using layout: 'default'
[2024-07-26 15:00:56.140002] <information> miral: Display config:
8>< ---------------------------------------------------
layouts:
  default:                         # the current layout
    cards:
    # a list of cards (currently matched by card-id)

    - card-id: 0
      DVI-I-1:
        # (disconnected)
8>< ---------------------------------------------------
[2024-07-26 15:00:56.140388] < - debug - > miral: Loaded display configuration file: /home/alan/.config/miriway-shell.display
[2024-07-26 15:00:56.140469] <information> gbm-kms: DRM device details:
[2024-07-26 15:00:56.140484] <information> gbm-kms: /dev/dri/card3: using driver evdi [Extensible Virtual Display Interface] (version: 1.14.4 driver date: 20240410)
[2024-07-26 15:00:56.140492] <information> gbm-kms:     Output: DVI-I-3 (disconnected)
[2024-07-26 15:00:56.140496] < - debug - > miral: Display config using layout: 'default'
[2024-07-26 15:00:56.140502] <information> miral: Display config:
8>< ---------------------------------------------------
layouts:
  default:                         # the current layout
    cards:
    # a list of cards (currently matched by card-id)

    - card-id: 0
      DVI-I-1:
        # (disconnected)
8>< ---------------------------------------------------
[2024-07-26 15:00:56.140849] < - debug - > miral: Loaded display configuration file: /home/alan/.config/miriway-shell.display
[2024-07-26 15:00:56.140928] <information> gbm-kms: DRM device details:
[2024-07-26 15:00:56.140944] <information> gbm-kms: /dev/dri/card4: using driver evdi [Extensible Virtual Display Interface] (version: 1.14.4 driver date: 20240410)
[2024-07-26 15:00:56.140952] <information> gbm-kms:     Output: DVI-I-4 (disconnected)
[2024-07-26 15:00:56.140956] < - debug - > miral: Display config using layout: 'default'
[2024-07-26 15:00:56.140962] <information> miral: Display config:
8>< ---------------------------------------------------
layouts:
  default:                         # the current layout
    cards:
    # a list of cards (currently matched by card-id)

    - card-id: 0
      DVI-I-1:
        # (disconnected)
8>< ---------------------------------------------------
[2024-07-26 15:00:56.141353] < - debug - > miral: Loaded display configuration file: /home/alan/.config/miriway-shell.display
[2024-07-26 15:00:56.141409] < - debug - > miral: Display config using layout: 'default'
[2024-07-26 15:00:56.141426] <information> miral: Display config:
8>< ---------------------------------------------------
layouts:
  default:                         # the current layout
    cards:
    # a list of cards (currently matched by card-id)

    - card-id: 0
      eDP-1:
        # This output supports the following modes: 1920x1080@60.0
        #
        # Uncomment the following to enforce the selected configuration.
        # Or amend as desired.
        #
        state: enabled  # {enabled, disabled}, defaults to enabled
        mode: 1920x1080@60.0    # Defaults to preferred mode
        position: [0, 0]    # Defaults to [0, 0]
        orientation: normal # {normal, left, right, inverted}, defaults to normal
        scale: 1
        group: 0    # Outputs with the same non-zero value are treated as a single display

      HDMI-A-1:
        # (disconnected)

      DisplayPort-1:
        # (disconnected)

      HDMI-A-2:
        # (disconnected)

      DisplayPort-2:
        # (disconnected)

      HDMI-A-3:
        # (disconnected)

    - card-id: 1
      DVI-I-1-1:
        # (disconnected)

    - card-id: 2
      DVI-I-2-1:
        # (disconnected)

    - card-id: 3
      DVI-I-3-1:
        # (disconnected)

    - card-id: 4
      DVI-I-4-1:
        # (disconnected)
8>< ---------------------------------------------------
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
MESA-LOADER: failed to open evdi: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /snap/miriway/4744/usr/lib/x86_64-linux-gnu/dri, suffix _dri)
[2024-07-26 15:00:56.185046] <information> mirserver: Using hardware cursor
[2024-07-26 15:00:56.186285] <information> gbm-kms-buffer-allocator: Enabled linux-dmabuf import support
[2024-07-26 15:00:56.256513] < -warning- > mirserver: Cannot find app info for app with name:Xwayland
[2024-07-26 15:00:56.258647] < - ERROR - > mirserver: Unable to watch directory /usr/share/gnome/applications
[2024-07-26 15:00:56.258965] <information> mircommon: Loading modules from: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform
[2024-07-26 15:00:56.259707] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-eglstream-kms.so.22
[2024-07-26 15:00:56.259745] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-gbm-kms.so.22
[2024-07-26 15:00:56.259763] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-wayland.so.22
[2024-07-26 15:00:56.259774] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/renderer-egl-generic.so.22
[2024-07-26 15:00:56.259790] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/server-virtual.so.22
[2024-07-26 15:00:56.259814] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/server-x11.so.22
[2024-07-26 15:00:56.259826] <information> mircommon: Loading module: /snap/miriway/4744/usr/lib/x86_64-linux-gnu/mir/server-platform/input-evdev.so.10
[2024-07-26 15:00:56.261016] <information> mirserver: Selected input driver: mir:evdev-input (version: 2.18.0)
[2024-07-26 15:00:56.261663] < - debug - > miral: Loaded display configuration file: /home/alan/.config/miriway-shell.display
[2024-07-26 15:00:56.267143] <information> mirserver: Mir version 2.18.0
[2024-07-26 15:00:56.269153] <information> GLRenderer: EGL vendor: Mesa Project
[2024-07-26 15:00:56.269204] <information> GLRenderer: EGL version: 1.5
[2024-07-26 15:00:56.269211] <information> GLRenderer: EGL client APIs: OpenGL OpenGL_ES 
[2024-07-26 15:00:56.269229] <information> GLRenderer: EGL extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_query_reset_notification_strategy EGL_IMG_context_priority 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_gl_interop EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display 
[2024-07-26 15:00:56.269237] <information> GLRenderer: GL vendor: Intel
[2024-07-26 15:00:56.269242] <information> GLRenderer: GL renderer: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
[2024-07-26 15:00:56.269247] <information> GLRenderer: GL version: OpenGL ES 3.2 Mesa 24.0.9-0ubuntu0.1
[2024-07-26 15:00:56.269251] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2024-07-26 15:00:56.269920] <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_float_linear 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_NV_texture_barrier GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness 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_APPLE_sync GL_EXT_draw_buffers GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness 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_framebuffer_fetch GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_INTEL_conservative_rasterization GL_INTEL_performance_query GL_ANDROID_extension_pack_es31a 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_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior 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_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_buffer_storage GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_shader_samples_identical GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_NV_fragment_shader_interlock 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_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_NV_alpha_to_coverage_dither_control GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render GL_MESA_framebuffer_flip_y GL_NV_compute_shader_derivatives GL_EXT_demote_to_helper_invocation GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_sampler_objects GL_MESA_bgra GL_MESA_texture_const_bandwidth 
[2024-07-26 15:00:56.269939] <information> GLRenderer: GL max texture size = 16384
[2024-07-26 15:00:56.270548] <information> GLRenderer: GL framebuffer bits: RGBA=8880, depth=0, stencil=0
[2024-07-26 15:00:56.309579] <information> xwayland: XWayland started on X11 display :2
[2024-07-26 15:00:56.309684] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:5
[2024-07-26 15:00:56.309708] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:1
[2024-07-26 15:00:56.309729] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:2
[2024-07-26 15:00:56.309755] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:3
[2024-07-26 15:00:56.309778] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:4
[2024-07-26 15:00:56.309802] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:5
[2024-07-26 15:00:56.309835] <information> mirserver: Initial display configuration:
[2024-07-26 15:00:56.309846] <information> mirserver: * Output 1: eDP connected, used
[2024-07-26 15:00:56.309858] <information> mirserver: . |_ EDID manufacturer: BOE
[2024-07-26 15:00:56.309868] <information> mirserver: . |_ EDID product code: 1863
[2024-07-26 15:00:56.309880] <information> mirserver: . |_ Physical size 15.3" 340x190mm
[2024-07-26 15:00:56.309887] <information> mirserver: . |_ Power is on
[2024-07-26 15:00:56.309896] <information> mirserver: . |_ Current mode 1920x1080 60.02Hz
[2024-07-26 15:00:56.309906] <information> mirserver: . |_ Preferred mode 1920x1080 60.02Hz
[2024-07-26 15:00:56.309914] <information> mirserver: . |_ Orientation normal
[2024-07-26 15:00:56.309931] <information> mirserver: . |_ Logical size 1920x1080
[2024-07-26 15:00:56.309939] <information> mirserver: . |_ Logical position +0+0
[2024-07-26 15:00:56.309946] <information> mirserver: . |_ Scaling factor: 1.00
[2024-07-26 15:00:56.309953] <information> mirserver: * Output 2: HDMI-A disconnected
[2024-07-26 15:00:56.309960] <information> mirserver: * Output 3: DisplayPort disconnected
[2024-07-26 15:00:56.309967] <information> mirserver: * Output 4: HDMI-A disconnected
[2024-07-26 15:00:56.309973] <information> mirserver: * Output 5: DisplayPort disconnected
[2024-07-26 15:00:56.309980] <information> mirserver: * Output 6: HDMI-A disconnected
[2024-07-26 15:00:56.309986] <information> mirserver: * Output 7: DVI-I disconnected
[2024-07-26 15:00:56.309994] <information> mirserver: * Output 8: DVI-I disconnected
[2024-07-26 15:00:56.310002] <information> mirserver: * Output 9: DVI-I disconnected
[2024-07-26 15:00:56.310010] <information> mirserver: * Output 10: DVI-I disconnected
[2024-07-26 15:00:56.313188] < - debug - > miral: Restoring sigmask
[2024-07-26 15:00:56.315492] < - debug - > miral: Restoring sigmask
[2024-07-26 15:00:56.317640] < - debug - > miral: Restoring sigmask
[2024-07-26 15:00:56.319596] < - debug - > miral: Restoring sigmask
[2024-07-26 15:00:56.321631] < - debug - > miral: Restoring sigmask
[2024-07-26 15:00:56.323430] < - debug - > miral: Configuring pointer: 'basic-window-manager'
[2024-07-26 15:00:56.323530] <information> input-hub: Device configuration: basic-window-manager, capabilities={pointer}
[2024-07-26 15:00:56.323695] < - debug - > mirserver: Handling Child exited from pid=435743
[2024-07-26 15:00:56.323652] < - debug - > miral: Restoring sigmask
Running as unit: run-rf5f8a774a2a7487f90f8ba9d25c4c598.scope; invocation ID: 3d2aa8b77d974f1788adad5348ec2d32
Running as unit: run-rb13081e50a0547069657fab9c0f13700.scope; invocation ID: 8ac9bed12bff4223b6a14b07f724aa79
Running as unit: run-re5b617be6ca34593aca244c50ee18914.scope; invocation ID: 802526fa46f848f595ece04c9c2f99dd
Running as unit: run-r6d9067a3804b496e9f4867806ec19a15.scope; invocation ID: 6a3bb06e03e845b5aeeaf0718c20bd6a
Running as unit: run-rab13665775644d7f81a887e8424fe7aa.scope; invocation ID: 373e85330d8a41c9aec22ff2ed8df89c
2024-07-26 15:00:56 - [main.c:293] Found config * for output eDP-1 ((null))
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
** Message: 15:00:56.373: keyring was in an invalid or unrecognized format: /home/alan/.local/share/keyrings/default.keyring
info: fcft.c:338: fcft: 3.1.8 +graphemes +runs +svg(nanosvg) -assertions
info: fcft.c:377: fontconfig: 2.15.0, freetype: 2.13.2, harfbuzz: 8.3.0, utf8proc: 2.9.0 (Unicode 15.1.0)
info: fcft.c:848: /usr/share/fonts/truetype/noto/NotoSans-Regular.ttf: size=12.00pt/12.50px, dpi=75.00
info: fcft.c:848: /usr/share/fonts/truetype/noto/NotoSans-Regular.ttf: size=13.44pt/14.00px, dpi=75.00
info: fcft.c:848: /usr/share/fonts/truetype/noto/NotoSans-Regular.ttf: size=13.44pt/14.00px, dpi=75.00
info: bar/wayland.c:558: monitor: eDP-1: 1920x1080+0+0 (340x190mm)
info: fcft.c:848: /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf: size=13.44pt/14.00px, dpi=75.00
info: fcft.c:848: /usr/share/fonts/opentype/font-awesome/FontAwesome.otf: size=13.44pt/14.00px, dpi=75.00
info: modules/network.c:502: wlo1: ifindex=3
info: modules/network.c:845: wlo1: SSID: Canonical
info: modules/battery.c:437: BAT0: OEM standard (at 46.8% of original capacity)

(swaync:435753): GLib-GIO-ERROR **: 15:00:56.427: Settings schema 'org.erikreider.swaync' is not installed
[2024-07-26 15:00:56.576204] < - debug - > mirserver: Handling Child exited from pid=435753
[2024-07-26 15:00:57.063298] <information> input-hub: Device configuration: virtual-keyboard, capabilities={keyboard}
[2024-07-26 15:00:59.581585] < - debug - > miral: Restoring sigmask
Running as unit: run-ra65375e1b25a404b888fcc82db45248c.scope; invocation ID: ec7684487c554c6fb5890b7a77be92f2

(swaync:435930): GLib-GIO-ERROR **: 15:00:59.644: Settings schema 'org.erikreider.swaync' is not installed
[2024-07-26 15:00:59.743874] < - debug - > mirserver: Handling Child exited from pid=435930
[2024-07-26 15:01:00.199991] <information> evdev-input: Opened device: /dev/input/event3 [0000:0001] Power Button
[2024-07-26 15:01:00.204765] <information> evdev-input: Opened device: /dev/input/event7 [0000:0006] Video Bus
[2024-07-26 15:01:00.207073] <information> evdev-input: Opened device: /dev/input/event8 [0000:0006] Video Bus
[2024-07-26 15:01:00.209421] <information> evdev-input: Opened device: /dev/input/event1 [0000:0001] Power Button
[2024-07-26 15:01:00.209452] <information> evdev-input: Opened device: /dev/input/event2 [0000:0005] Lid Switch
[2024-07-26 15:01:00.209483] <information> input-hub: Device configuration: Power Button, capabilities={keyboard}
[2024-07-26 15:01:00.211793] <information> evdev-input: Opened device: /dev/input/event0 [0000:0003] Sleep Button
[2024-07-26 15:01:00.211837] <information> evdev-input: Opened device: /dev/input/event5 [093a:1336] UNIW0001:00 093A:1336 Mouse
[2024-07-26 15:01:00.211861] <information> evdev-input: Opened device: /dev/input/event6 [093a:1336] UNIW0001:00 093A:1336 Touchpad
[2024-07-26 15:01:00.216635] <information> evdev-input: Opened device: /dev/input/event4 [0001:0001] AT Translated Set 2 keyboard
[2024-07-26 15:01:00.216740] <information> input-hub: Device configuration: Video Bus, capabilities={keyboard}
[2024-07-26 15:01:00.219170] <information> input-hub: Device configuration: Video Bus, capabilities={keyboard}
[2024-07-26 15:01:00.221574] <information> input-hub: Device configuration: Power Button, capabilities={keyboard}
[2024-07-26 15:01:00.221587] <information> input-hub: Device configuration: Lid Switch, capabilities={}
[2024-07-26 15:01:00.223852] <information> input-hub: Device configuration: Sleep Button, capabilities={keyboard}
[2024-07-26 15:01:00.223863] < - debug - > miral: Configuring pointer: 'UNIW0001:00 093A:1336 Mouse'
[2024-07-26 15:01:00.223914] <information> input-hub: Device configuration: UNIW0001:00 093A:1336 Mouse, capabilities={pointer}, pointer_config={handedness=right,cursor-acceleration=adaptive,cursor-acceleration-bias=0.00,scroll-hspeed=1.00,scroll-vspeed=1.00}
[2024-07-26 15:01:00.223920] < - debug - > miral: Configuring touchpad: 'UNIW0001:00 093A:1336 Touchpad'
[2024-07-26 15:01:00.223953] <information> input-hub: Device configuration: UNIW0001:00 093A:1336 Touchpad, capabilities={pointer|touchpad}, pointer_config={handedness=right,cursor-acceleration=adaptive,cursor-acceleration-bias=0.00,scroll-hspeed=1.00,scroll-vspeed=1.00}, touchpad_config={click-mode=area|scroll-mode=two-finger|disable-while-typing}
[2024-07-26 15:01:00.226233] <information> input-hub: Device configuration: AT Translated Set 2 keyboard, capabilities={keyboard|alpha_numeric}
[2024-07-26 15:01:04.563922] <information> mirserver: Received logind force-pause event for device 226:3
[2024-07-26 15:01:04.564129] <information> mirserver: Received logind force-pause event for device 13:67
[2024-07-26 15:01:04.564397] <information> mirserver: Received logind force-pause event for device 226:2
[2024-07-26 15:01:04.564629] <information> mirserver: Received logind force-pause event for device 13:71
[2024-07-26 15:01:04.564863] <information> mirserver: Received logind force-pause event for device 226:1
[2024-07-26 15:01:04.565102] <information> mirserver: Received logind force-pause event for device 13:68
[2024-07-26 15:01:04.565332] <information> mirserver: Received logind force-pause event for device 13:65
[2024-07-26 15:01:04.565557] <information> mirserver: Received logind force-pause event for device 226:5
[2024-07-26 15:01:04.565769] <information> mirserver: Received logind force-pause event for device 13:64
[2024-07-26 15:01:04.566005] <information> mirserver: Received logind force-pause event for device 13:70
[2024-07-26 15:01:04.566263] <information> mirserver: Received logind force-pause event for device 13:66
[2024-07-26 15:01:04.566491] <information> mirserver: Received logind force-pause event for device 226:4
[2024-07-26 15:01:04.566710] <information> mirserver: Received logind force-pause event for device 13:69
[2024-07-26 15:01:04.566941] <information> mirserver: Received logind force-pause event for device 13:72
info: bar/wayland.c:1247: disconnected from wayland
Gdk-Message: 15:01:04.693: Error reading events from display: Broken pipe

(Segfault)

AlanGriffiths commented 1 month ago

And confirmed this works on Miriway/beta (i.e. Mir 2.17)

AlanGriffiths commented 1 month ago

So, this is happening in mir::input::VTFilter::handle()...

    auto const set_active_vt =
        [this](int vtno)
        {
            switcher->switch_to(
                vtno,
                [](std::exception const&)
                {
                    mir::log(
                        mir::logging::Severity::error,
                        "VT switch key handler",
                        std::current_exception(),
                        "Failed to switch to requested VT");
                });
        };

The call to mir_:log segfaults because std::current_exception() is returning a null pointer

AlanGriffiths commented 1 month ago

And that is because there is no current exception. Just an exception being passed to the functor.

It looks like the code has been this way a long time, so the SEGFAULT is a long standing bug, not the change that is the underlying cause

AlanGriffiths commented 1 month ago

The failure is "GDBus.Error:org.freedesktop.DBus.Error.InteractiveAuthorizationRequired: Interactive authentication required." - an error from logind_seat_call_switch_to_finish()

AlanGriffiths commented 1 month ago

Confirmed. If I fix the error reporting, then VT switching simply fails and the server keeps on running.

Now to work out what actually changed...

AlanGriffiths commented 1 month ago

Huh!? Building 2.17 from source fails the same way

(Re-confirmed that Mirway/beta still works fine)

AlanGriffiths commented 1 month ago

Fixed by #3516 and #3517