Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[atomic-kms] Weird intermitent crash on startup when display configuration sets a non-current mode on my external monitor #3640

Open
RAOF opened this issue Oct 17, 2024 · 0 comments

Comments

@RAOF
Copy link
Contributor

RAOF commented Oct 17, 2024

There's a timing race somewhere during startup that results in my external monitor sometimes generating a hotplug event when changing modes.

This seems to result in Mir detecting the monitor as off, resulting in us disabling that output.

Then, for no reason I can gather, we decide to gracefully shutdown, but then fail at that because our XWayland integration aborts if you try and shut it down partway through initialisation?

> build-clang/bin/miral-shell --enable-x11=1 --platform-display-libs=mir:atomic-kms --display-config=static=hello.config
LD_LIBRARY_PATH=/home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/
MIR_SERVER_PLATFORM_PATH=/home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/
exec=/home/chris/Canonical/Mir/mir/main/build-clang/bin/miral-shell.bin
[2024-10-18 10:01:42.709338] <information> mirserver: Starting
[2024-10-18 10:01:42.712974] < - debug - > mirserver: Discovered object path for current session = /org/freedesktop/login1/session/_32
[2024-10-18 10:01:42.715856] < - debug - > mirserver: Using logind for session management
[2024-10-18 10:01:42.716184] <information> mircommon: Loading modules from: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/
[2024-10-18 10:01:42.716308] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-atomic-kms.so.22
[2024-10-18 10:01:42.716339] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-virtual.so.22
[2024-10-18 10:01:42.716367] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-wayland.so.22
[2024-10-18 10:01:42.716387] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-eglstream-kms.so.22
[2024-10-18 10:01:42.716407] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-gbm-kms.so.22
[2024-10-18 10:01:42.716428] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-x11.so.22
[2024-10-18 10:01:42.716448] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/renderer-egl-generic.so.22
[2024-10-18 10:01:42.716466] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-gbm-kms.so.20
[2024-10-18 10:01:42.716722] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-gbm-kms.so.20 (error was:libboost_program_options.so.1.74.0: cannot open shared
[2024-10-18 10:01:42.716759] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-wayland.so.20
[2024-10-18 10:01:42.716959] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-wayland.so.20 (error was:libboost_program_options.so.1.74.0: cannot open shared
[2024-10-18 10:01:42.716990] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-eglstream-kms.so.20
[2024-10-18 10:01:42.717175] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-eglstream-kms.so.20 (error was:libboost_program_options.so.1.74.0: cannot open
[2024-10-18 10:01:42.717205] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-virtual.so.20
[2024-10-18 10:01:42.717462] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-virtual.so.20 (error was:libboost_program_options.so.1.74.0: cannot open shared o
[2024-10-18 10:01:42.717491] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/renderer-egl-generic.so.20
[2024-10-18 10:01:42.717765] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/renderer-egl-generic.so.20 (error was:libboost_program_options.so.1.74.0: cannot open sh
[2024-10-18 10:01:42.717809] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-x11.so.20
[2024-10-18 10:01:42.718079] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-x11.so.20 (error was:libboost_program_options.so.1.74.0: cannot open shared objec
[2024-10-18 10:01:42.718109] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/input-evdev.so.10
[2024-10-18 10:01:42.720747] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/input-evdev.so.9
[2024-10-18 10:01:42.721078] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/input-evdev.so.9 (error was:libboost_program_options.so.1.74.0: cannot open shared objec
[2024-10-18 10:01:42.721125] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/input-evdev.so.8
[2024-10-18 10:01:42.721443] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/input-evdev.so.8 (error was:libboost_program_options.so.1.74.0: cannot open shared objec
[2024-10-18 10:01:42.721492] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-throw.so
[2024-10-18 10:01:42.721513] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-dummy.so
[2024-10-18 10:01:42.721530] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/input-stub.so
[2024-10-18 10:01:42.723042] <information> mirserver: Found display driver: mir:atomic-kms (version 2.18.3)
[2024-10-18 10:01:42.724759] < - debug - > atomic-kms: Quirks: checking device with devnode: /dev/dri/card2, driver amdgpu
[2024-10-18 10:01:44.581717] <information> mirserver: Failed to release device 226:2: GDBus.Error:org.freedesktop.login1.DeviceNotTaken: Device not taken
[2024-10-18 10:01:44.581983] <information> atomic-kms: Failed to probe DRM device: /home/chris/Canonical/Mir/mir/main/src/server/console/logind_console_services.cpp(631): Throw in function virtual std::future<std::unique_ptr<mir::Device>>
Dynamic exception type: boost::exception_detail::error_info_injector<std::runtime_error>
std::exception::what: TakeDevice call failed: GDBus.Error:System.Error.EBUSY: Device or resource busy

[2024-10-18 10:01:44.582385] < - debug - > atomic-kms: Quirks: checking device with devnode: /dev/dri/card1, driver i915
[2024-10-18 10:01:44.608748] < - debug - > atomic-kms: Quirks: checking device with devnode: (null), driver
[2024-10-18 10:01:44.608965] < - debug - > atomic-kms: Quirks: checking device with devnode: (null), driver
[2024-10-18 10:01:44.609139] < - debug - > atomic-kms: Quirks: checking device with devnode: (null), driver
[2024-10-18 10:01:44.609304] < - debug - > atomic-kms: Quirks: checking device with devnode: (null), driver
[2024-10-18 10:01:44.609367] <information> mirserver: Driver supports:
[2024-10-18 10:01:44.609389] <information> mirserver:   /devices/pci0000:00/0000:00:02.0/drm/card1 (priority 256)
[2024-10-18 10:01:44.610178] <information> mirserver: Found display driver: mir:virtual (version 2.18.3)
[2024-10-18 10:01:44.610197] <information> mirserver: (Unsupported by system environment)
[2024-10-18 10:01:44.610300] <information> mirserver: Selected display driver: mir:atomic-kms (version 2.18.3) for device ((null): /dev/dri/card1)
[2024-10-18 10:01:44.620161] <information> mircommon: Loading modules from: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/
[2024-10-18 10:01:44.620266] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-atomic-kms.so.22
[2024-10-18 10:01:44.620317] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-virtual.so.22
[2024-10-18 10:01:44.620351] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-wayland.so.22
[2024-10-18 10:01:44.620384] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-eglstream-kms.so.22
[2024-10-18 10:01:44.620400] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-gbm-kms.so.22
[2024-10-18 10:01:44.620418] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-x11.so.22
[2024-10-18 10:01:44.620438] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/renderer-egl-generic.so.22
[2024-10-18 10:01:44.620459] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-gbm-kms.so.20
[2024-10-18 10:01:44.620714] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-gbm-kms.so.20 (error was:libboost_program_options.so.1.74.0: cannot open shared
[2024-10-18 10:01:44.620748] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-wayland.so.20
[2024-10-18 10:01:44.620958] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-wayland.so.20 (error was:libboost_program_options.so.1.74.0: cannot open shared
[2024-10-18 10:01:44.620989] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-eglstream-kms.so.20
[2024-10-18 10:01:44.621178] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-eglstream-kms.so.20 (error was:libboost_program_options.so.1.74.0: cannot open
[2024-10-18 10:01:44.621208] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-virtual.so.20
[2024-10-18 10:01:44.621457] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-virtual.so.20 (error was:libboost_program_options.so.1.74.0: cannot open shared o
[2024-10-18 10:01:44.621489] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/renderer-egl-generic.so.20
[2024-10-18 10:01:44.621815] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/renderer-egl-generic.so.20 (error was:libboost_program_options.so.1.74.0: cannot open sh
[2024-10-18 10:01:44.621863] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-x11.so.20
[2024-10-18 10:01:44.622156] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-x11.so.20 (error was:libboost_program_options.so.1.74.0: cannot open shared objec
[2024-10-18 10:01:44.622187] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/input-evdev.so.10
[2024-10-18 10:01:44.625158] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/input-evdev.so.9
[2024-10-18 10:01:44.625547] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/input-evdev.so.9 (error was:libboost_program_options.so.1.74.0: cannot open shared objec
[2024-10-18 10:01:44.625584] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/input-evdev.so.8
[2024-10-18 10:01:44.625819] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/input-evdev.so.8 (error was:libboost_program_options.so.1.74.0: cannot open shared objec
[2024-10-18 10:01:44.625862] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-throw.so
[2024-10-18 10:01:44.625884] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-dummy.so
[2024-10-18 10:01:44.625906] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/input-stub.so
[2024-10-18 10:01:44.626674] <information> mirserver: Found rendering driver: mir:atomic-kms (version 2.18.3)
[2024-10-18 10:01:44.626770] <information> mirserver: Found rendering driver: mir:virtual (version 2.18.3)
[2024-10-18 10:01:44.627433] <information> mirserver: Found rendering driver: mir:wayland (version 2.18.3)
[2024-10-18 10:01:44.628147] <information> mirserver: Found rendering driver: mir:eglstream-kms (version 2.18.3)
[2024-10-18 10:01:44.652670] <information> eglstream: EGLDevice found but unsuitable. Missing extension EGL_KHR_stream_consumer_gltexture
[2024-10-18 10:01:44.652688] <information> eglstream: EGLDevice found but unsuitable. Missing extension EGL_NV_stream_attrib
[2024-10-18 10:01:44.668255] <information> eglstream: EGLDevice found but unsuitable. Missing extension EGL_KHR_stream_consumer_gltexture
[2024-10-18 10:01:44.668275] <information> eglstream: EGLDevice found but unsuitable. Missing extension EGL_NV_stream_attrib
[2024-10-18 10:01:44.671194] < - debug - > eglstream: Failed to find kernel device for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c)
[2024-10-18 10:01:44.671211] < - debug - > eglstream: EGLDeviceEXTs found, but none are suitable for Mir
[2024-10-18 10:01:44.671221] <information> mirserver: Driver supports:
[2024-10-18 10:01:44.671228] <information> mirserver:   /devices/pci0000:00/0000:00:02.0/drm/card1 (priority 0)
[2024-10-18 10:01:44.671234] <information> mirserver:   /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card2 (priority 0)
[2024-10-18 10:01:44.671962] <information> mirserver: Found rendering driver: mir:gbm-kms (version 2.18.3)
[2024-10-18 10:01:44.671978] < - debug - > gbm-kms: GBM-capable display found
[2024-10-18 10:01:44.673782] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card2, driver amdgpu
[2024-10-18 10:01:44.674696] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/renderD129, driver amdgpu
[2024-10-18 10:01:44.691313] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card1, driver i915
[2024-10-18 10:01:44.691584] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
[2024-10-18 10:01:44.691768] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
[2024-10-18 10:01:44.691933] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
[2024-10-18 10:01:44.692084] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver
[2024-10-18 10:01:44.692293] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/renderD128, driver i915
[2024-10-18 10:01:44.704931] <information> mirserver: Driver supports:
[2024-10-18 10:01:44.704970] <information> mirserver:   /devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/renderD129 (priority 256)
[2024-10-18 10:01:44.704999] <information> mirserver:   /devices/pci0000:00/0000:00:02.0/drm/renderD128 (priority 256)
[2024-10-18 10:01:44.705533] <information> mirserver: Found rendering driver: mir:x11 (version 2.18.3)
[2024-10-18 10:01:44.706042] <information> mirserver: Found rendering driver: mir:egl-generic (version 2.18.3)
[2024-10-18 10:01:44.714344] <information> mirserver: Driver supports:
[2024-10-18 10:01:44.714358] <information> mirserver:   System (priority 128)
[2024-10-18 10:01:44.714875] <information> mirserver: Found rendering driver: throw-on-creation (version 2.18.3)
[2024-10-18 10:01:44.714890] <information> mirserver: Driver supports:
[2024-10-18 10:01:44.714897] <information> mirserver:   System (priority 0)
[2024-10-18 10:01:44.715344] <information> mirserver: Found rendering driver: mir:stub-graphics (version 2.18.3)
[2024-10-18 10:01:44.715358] <information> mirserver: Driver supports:
[2024-10-18 10:01:44.715364] <information> mirserver:   System (priority 1)
[2024-10-18 10:01:44.715426] <information> mirserver: Selected rendering driver: mir:gbm-kms (version 2.18.3) for device ((null): /dev/dri/renderD129)
[2024-10-18 10:01:44.737693] <information> mirserver: Selected rendering driver: mir:gbm-kms (version 2.18.3) for device ((null): /dev/dri/renderD128)
[2024-10-18 10:01:44.744466] < - debug - > miral: Loaded display configuration file: hello.config
[2024-10-18 10:01:44.925486] < -warning- > atomic-kms: Unable to determine the current display mode.
[2024-10-18 10:01:45.491726] < -warning- > atomic-kms: Unable to determine the current display mode.
[2024-10-18 10:01:45.492004] <information> atomic-kms: DRM device details:
[2024-10-18 10:01:45.492086] <information> atomic-kms: /dev/dri/card1: using driver i915 [Intel Graphics] (version: 1.6.0 driver date: 0)
[2024-10-18 10:01:45.496953] <information> atomic-kms:  Output: eDP-1 (connected)
[2024-10-18 10:01:45.496993] <information> atomic-kms:          Mode: 3840×[email protected]
[2024-10-18 10:01:45.501705] <information> atomic-kms:  Output: DisplayPort-1 (disconnected)
[2024-10-18 10:01:45.506722] <information> atomic-kms:  Output: DisplayPort-2 (disconnected)
[2024-10-18 10:01:45.585569] <information> atomic-kms:  Output: DisplayPort-3 (connected)
[2024-10-18 10:01:45.585615] <information> atomic-kms:          Mode: 3840×[email protected]
[2024-10-18 10:01:45.585632] <information> atomic-kms:          Mode: 3840×[email protected]
[2024-10-18 10:01:45.585647] <information> atomic-kms:          Mode: 2560×[email protected]
[2024-10-18 10:01:45.585689] <information> atomic-kms:          Mode: 2048×[email protected]
[2024-10-18 10:01:45.585718] <information> atomic-kms:          Mode: 2048×[email protected]
[2024-10-18 10:01:45.585745] <information> atomic-kms:          Mode: 1920×[email protected]
[2024-10-18 10:01:45.585776] <information> atomic-kms:          Mode: 1920×[email protected]
[2024-10-18 10:01:45.585803] <information> atomic-kms:          Mode: 1920×[email protected]
[2024-10-18 10:01:45.585832] <information> atomic-kms:          Mode: 1920×[email protected]
[2024-10-18 10:01:45.585858] <information> atomic-kms:          Mode: 1920×[email protected]
[2024-10-18 10:01:45.585886] <information> atomic-kms:          Mode: 1920×[email protected]
[2024-10-18 10:01:45.585912] <information> atomic-kms:          Mode: 1920×[email protected]
[2024-10-18 10:01:45.585939] <information> atomic-kms:          Mode: 1920×[email protected]
[2024-10-18 10:01:45.585965] <information> atomic-kms:          Mode: 1920×[email protected]
[2024-10-18 10:01:45.585993] <information> atomic-kms:          Mode: 1920×[email protected]
[2024-10-18 10:01:45.586020] <information> atomic-kms:          Mode: 1600×[email protected]
[2024-10-18 10:01:45.586047] <information> atomic-kms:          Mode: 1680×[email protected]
[2024-10-18 10:01:45.586091] <information> atomic-kms:          Mode: 1280×[email protected]
[2024-10-18 10:01:45.586121] <information> atomic-kms:          Mode: 1280×[email protected]
[2024-10-18 10:01:45.586148] <information> atomic-kms:          Mode: 1280×[email protected]
[2024-10-18 10:01:45.586176] <information> atomic-kms:          Mode: 1152×[email protected]
[2024-10-18 10:01:45.586202] <information> atomic-kms:          Mode: 1280×[email protected]
[2024-10-18 10:01:45.586225] <information> atomic-kms:          Mode: 1280×[email protected]
[2024-10-18 10:01:45.586253] <information> atomic-kms:          Mode: 1280×[email protected]
[2024-10-18 10:01:45.586290] <information> atomic-kms:          Mode: 1024×[email protected]
[2024-10-18 10:01:45.586316] <information> atomic-kms:          Mode: 1024×[email protected]
[2024-10-18 10:01:45.586343] <information> atomic-kms:          Mode: 800×[email protected]
[2024-10-18 10:01:45.586379] <information> atomic-kms:          Mode: 800×[email protected]
[2024-10-18 10:01:45.586408] <information> atomic-kms:          Mode: 720×[email protected]
[2024-10-18 10:01:45.586440] <information> atomic-kms:          Mode: 720×[email protected]
[2024-10-18 10:01:45.586471] <information> atomic-kms:          Mode: 720×[email protected]
[2024-10-18 10:01:45.586500] <information> atomic-kms:          Mode: 720×[email protected]
[2024-10-18 10:01:45.586530] <information> atomic-kms:          Mode: 720×[email protected]
[2024-10-18 10:01:45.586562] <information> atomic-kms:          Mode: 720×[email protected]
[2024-10-18 10:01:45.586591] <information> atomic-kms:          Mode: 640×[email protected]
[2024-10-18 10:01:45.586623] <information> atomic-kms:          Mode: 640×[email protected]
[2024-10-18 10:01:45.586653] <information> atomic-kms:          Mode: 640×[email protected]
[2024-10-18 10:01:45.586701] <information> atomic-kms:          Mode: 640×[email protected]
[2024-10-18 10:01:45.586732] <information> atomic-kms:          Mode: 720×[email protected]
[2024-10-18 10:01:45.586781] < - debug - > miral: Display config using layout: 'default'
[2024-10-18 10:01:45.587080] <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: [email protected]
        #
        # Uncomment the following to enforce the selected configuration.
        # Or amend as desired.
        #
        state: enabled  # {enabled, disabled}, defaults to enabled
        mode: [email protected]    # Defaults to preferred mode
        position: [0, 0]        # Defaults to [0, 0]
        orientation: normal     # {normal, left, right, inverted}, defaults to normal
        scale: 2
        group: 0        # Outputs with the same non-zero value are treated as a single display

      DisplayPort-1:
        # (disconnected)

      DisplayPort-2:
        # (disconnected)

      DisplayPort-3:
        # This output supports the following modes: [email protected], [email protected],
        # [email protected], [email protected], [email protected], [email protected], [email protected],
        # [email protected], [email protected], [email protected], [email protected], [email protected],
        # [email protected], [email protected], [email protected], [email protected], [email protected],
        # [email protected], [email protected], [email protected], [email protected], [email protected],
        # [email protected], [email protected], [email protected], [email protected], [email protected],
        # [email protected], [email protected], [email protected], [email protected], [email protected],
        # [email protected], [email protected], [email protected], [email protected], [email protected],
        # [email protected], [email protected]
        #
        # Uncomment the following to enforce the selected configuration.
        # Or amend as desired.
        #
        state: enabled  # {enabled, disabled}, defaults to enabled
        mode: [email protected]    # Defaults to preferred mode
        position: [1920, 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
8>< ---------------------------------------------------
[2024-10-18 10:01:45.710784] < -warning- > atomic-kms: Ignoring attempt to set zero length gamma
[2024-10-18 10:01:45.799559] < -warning- > atomic-kms: Ignoring attempt to set zero length gamma
[2024-10-18 10:01:45.799631] <information> atomic-kms: Clearing screen due to differing encountered and target modes
[2024-10-18 10:01:46.474829] < - debug - > miral: Loaded display configuration file: hello.config
[2024-10-18 10:01:46.474963] < - debug - > miral: Display config using layout: 'default'
[2024-10-18 10:01:46.475051] <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: [email protected]
        #
        # Uncomment the following to enforce the selected configuration.
        # Or amend as desired.
        #
        state: enabled  # {enabled, disabled}, defaults to enabled
        mode: [email protected]    # Defaults to preferred mode
        position: [0, 0]        # Defaults to [0, 0]
        orientation: normal     # {normal, left, right, inverted}, defaults to normal
        scale: 2
        group: 0        # Outputs with the same non-zero value are treated as a single display

      DisplayPort-1:
        # (disconnected)

      DisplayPort-2:
        # (disconnected)

      DisplayPort-3:
        # This output supports the following modes: [email protected], [email protected],
        # [email protected], [email protected], [email protected], [email protected], [email protected],
        # [email protected], [email protected], [email protected], [email protected], [email protected],
        # [email protected], [email protected], [email protected], [email protected], [email protected],
        # [email protected], [email protected], [email protected], [email protected], [email protected],
        # [email protected], [email protected], [email protected], [email protected], [email protected],
        # [email protected], [email protected], [email protected], [email protected], [email protected],
        # [email protected], [email protected], [email protected], [email protected], [email protected],
        # [email protected], [email protected]
        #
        # Uncomment the following to enforce the selected configuration.
        # Or amend as desired.
        #
        state: enabled  # {enabled, disabled}, defaults to enabled
        mode: [email protected]    # Defaults to preferred mode
        position: [1920, 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
8>< ---------------------------------------------------
[2024-10-18 10:01:46.475387] < - debug - > miral: Failed writing display configuration template: /hello.config
[2024-10-18 10:01:46.489777] <information> display: Failed to create hardware cursor
[2024-10-18 10:01:46.489824] <information> mirserver: Using software cursor
[2024-10-18 10:01:46.503305] <information> gbm-kms-buffer-allocator: Enabled linux-dmabuf import support
[2024-10-18 10:01:46.549128] < -warning- > mirserver: Cannot find app info for app with name:QEMU
[2024-10-18 10:01:46.550862] < - ERROR - > mirserver: Unable to watch directory /usr/local/share//applications
unable to lock lockfile /run/user/1000/wayland-0.lock, maybe another compositor is running
[2024-10-18 10:01:46.551289] <information> mircommon: Loading modules from: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/
[2024-10-18 10:01:46.552353] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-atomic-kms.so.22
[2024-10-18 10:01:46.552428] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-virtual.so.22
[2024-10-18 10:01:46.552494] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-wayland.so.22
[2024-10-18 10:01:46.552521] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-eglstream-kms.so.22
[2024-10-18 10:01:46.552548] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-gbm-kms.so.22
[2024-10-18 10:01:46.552573] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-x11.so.22
[2024-10-18 10:01:46.552593] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/renderer-egl-generic.so.22
[2024-10-18 10:01:46.552618] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-gbm-kms.so.20
[2024-10-18 10:01:46.552887] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-gbm-kms.so.20 (error was:libboost_program_options.so.1.74.0: cannot open shared
[2024-10-18 10:01:46.552917] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-wayland.so.20
[2024-10-18 10:01:46.553136] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-wayland.so.20 (error was:libboost_program_options.so.1.74.0: cannot open shared
[2024-10-18 10:01:46.553166] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-eglstream-kms.so.20
[2024-10-18 10:01:46.553429] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/graphics-eglstream-kms.so.20 (error was:libboost_program_options.so.1.74.0: cannot open
[2024-10-18 10:01:46.553482] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-virtual.so.20
[2024-10-18 10:01:46.553821] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-virtual.so.20 (error was:libboost_program_options.so.1.74.0: cannot open shared o
[2024-10-18 10:01:46.553864] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/renderer-egl-generic.so.20
[2024-10-18 10:01:46.554257] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/renderer-egl-generic.so.20 (error was:libboost_program_options.so.1.74.0: cannot open sh
[2024-10-18 10:01:46.554303] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-x11.so.20
[2024-10-18 10:01:46.554626] < -warning- > mircommon: Failed to load module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/server-x11.so.20 (error was:libboost_program_options.so.1.74.0: cannot open shared objec
[2024-10-18 10:01:46.554661] <information> mircommon: Loading module: /home/chris/Canonical/Mir/mir/main/build-clang/bin/../lib/server-modules/input-evdev.so.10
[2024-10-18 10:01:46.558034] <information> mirserver: Selected input driver: mir:evdev-input (version: 2.18.3)
[2024-10-18 10:01:46.558498] < - debug - > miral: Loaded display configuration file: hello.config
[2024-10-18 10:01:46.558881] <information> mirserver: Mir version 2.18.3
[2024-10-18 10:01:46.562226] <information> GLRenderer: EGL vendor: Mesa Project
[2024-10-18 10:01:46.562270] <information> GLRenderer: EGL version: 1.5
[2024-10-18 10:01:46.562294] <information> GLRenderer: EGL client APIs: OpenGL OpenGL_ES
[2024-10-18 10:01:46.562304] <information> GLRenderer: EGL extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_config_select_group EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_
[2024-10-18 10:01:46.562322] <information> GLRenderer: GL vendor: Intel
[2024-10-18 10:01:46.562348] <information> GLRenderer: GL renderer: Mesa Intel(R) HD Graphics 630 (KBL GT2)
[2024-10-18 10:01:46.562354] <information> GLRenderer: GL version: OpenGL ES 3.2 Mesa 24.2.3-1ubuntu1
[2024-10-18 10:01:46.562361] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2024-10-18 10:01:46.562936] <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_compressio
[2024-10-18 10:01:46.563049] <information> GLRenderer: GL max texture size = 16384
[2024-10-18 10:01:46.563944] <information> GLRenderer: GL framebuffer bits: RGBA=8880, depth=0, stencil=0
[2024-10-18 10:01:46.565088] <information> GLRenderer: EGL vendor: Mesa Project
[2024-10-18 10:01:46.565123] <information> GLRenderer: EGL version: 1.5
[2024-10-18 10:01:46.565136] <information> GLRenderer: EGL client APIs: OpenGL OpenGL_ES
[2024-10-18 10:01:46.565147] <information> GLRenderer: EGL extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_config_select_group EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_
[2024-10-18 10:01:46.565165] <information> GLRenderer: GL vendor: Intel
[2024-10-18 10:01:46.565176] <information> GLRenderer: GL renderer: Mesa Intel(R) HD Graphics 630 (KBL GT2)
[2024-10-18 10:01:46.565186] <information> GLRenderer: GL version: OpenGL ES 3.2 Mesa 24.2.3-1ubuntu1
[2024-10-18 10:01:46.565219] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2024-10-18 10:01:46.565574] <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_compressio
[2024-10-18 10:01:46.565626] <information> GLRenderer: GL max texture size = 16384
[2024-10-18 10:01:46.566269] <information> GLRenderer: GL framebuffer bits: RGBA=8880, depth=0, stencil=0
[2024-10-18 10:01:46.616451] <information> xwayland: XWayland started on X11 display :16
[2024-10-18 10:01:46.616539] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:1
[2024-10-18 10:01:46.616704] <information> mirserver: Initial display configuration:
[2024-10-18 10:01:46.616723] <information> mirserver: * Output 1: eDP connected, used
[2024-10-18 10:01:46.616742] <information> mirserver: . |_ EDID manufacturer: SHP
[2024-10-18 10:01:46.616754] <information> mirserver: . |_ EDID product code: 5261
[2024-10-18 10:01:46.616769] <information> mirserver: . |_ Physical size 15.3" 340x190mm
[2024-10-18 10:01:46.616779] <information> mirserver: . |_ Power is on
[2024-10-18 10:01:46.616792] <information> mirserver: . |_ Current mode 3840x2160 59.99Hz
[2024-10-18 10:01:46.616802] <information> mirserver: . |_ Preferred mode 3840x2160 59.99Hz
[2024-10-18 10:01:46.616811] <information> mirserver: . |_ Orientation normal
[2024-10-18 10:01:46.616822] <information> mirserver: . |_ Logical size 1920x1080
[2024-10-18 10:01:46.616831] <information> mirserver: . |_ Logical position +0+0
[2024-10-18 10:01:46.616839] <information> mirserver: . |_ Scaling factor: 2.00
[2024-10-18 10:01:46.616848] <information> mirserver: * Output 2: DisplayPort disconnected
[2024-10-18 10:01:46.616856] <information> mirserver: * Output 3: DisplayPort disconnected
[2024-10-18 10:01:46.616868] <information> mirserver: * Output 4: DisplayPort connected, used
[2024-10-18 10:01:46.616881] <information> mirserver: . |_ EDID monitor name: DELL U2720Q
[2024-10-18 10:01:46.616892] <information> mirserver: . |_ EDID manufacturer: DEL
[2024-10-18 10:01:46.616903] <information> mirserver: . |_ EDID product code: 16821
[2024-10-18 10:01:46.616916] <information> mirserver: . |_ Physical size 27.2" 600x340mm
[2024-10-18 10:01:46.616926] <information> mirserver: . |_ Power is on
[2024-10-18 10:01:46.616936] <information> mirserver: . |_ Current mode 1920x1080 25.00Hz
[2024-10-18 10:01:46.616947] <information> mirserver: . |_ Preferred mode 3840x2160 59.99Hz
[2024-10-18 10:01:46.616958] <information> mirserver: . |_ Orientation normal
[2024-10-18 10:01:46.616968] <information> mirserver: . |_ Logical size 1920x1080
[2024-10-18 10:01:46.616977] <information> mirserver: . |_ Logical position +1920+0
[2024-10-18 10:01:46.616987] <information> mirserver: . |_ Scaling factor: 1.00
[2024-10-18 10:01:46.617065] < - debug - > atomic-kms: Handling UDEV events
[2024-10-18 10:01:46.617254] < - debug - > atomic-kms: Processing UDEV event for /sys/devices/pci0000:00/0000:00:02.0/drm/card1: 2
[2024-10-18 10:01:46.763282] < - debug - > miral: Configuring pointer: 'basic-window-manager'
[2024-10-18 10:01:46.763332] <information> input-hub: Device configuration: basic-window-manager, capabilities={pointer}
[2024-10-18 10:01:46.763576] < - debug - > miral: Display config using layout: 'default'
[2024-10-18 10:01:46.763629] <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: [email protected]
        #
        # Uncomment the following to enforce the selected configuration.
        # Or amend as desired.
        #
        state: enabled  # {enabled, disabled}, defaults to enabled
        mode: [email protected]    # Defaults to preferred mode
        position: [0, 0]        # Defaults to [0, 0]
        orientation: normal     # {normal, left, right, inverted}, defaults to normal
        scale: 2
        group: 0        # Outputs with the same non-zero value are treated as a single display

      DisplayPort-1:
        # (disconnected)

      DisplayPort-2:
        # (disconnected)

      DisplayPort-3:
        # (disconnected)
8>< ---------------------------------------------------
[2024-10-18 10:01:46.806692] <information> GLRenderer: EGL vendor: Mesa Project
[2024-10-18 10:01:46.806736] <information> GLRenderer: EGL version: 1.5
[2024-10-18 10:01:46.806744] <information> GLRenderer: EGL client APIs: OpenGL OpenGL_ES
[2024-10-18 10:01:46.806752] <information> GLRenderer: EGL extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_config_select_group EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_
[2024-10-18 10:01:46.806765] <information> GLRenderer: GL vendor: Intel
[2024-10-18 10:01:46.806772] <information> GLRenderer: GL renderer: Mesa Intel(R) HD Graphics 630 (KBL GT2)
[2024-10-18 10:01:46.806778] <information> GLRenderer: GL version: OpenGL ES 3.2 Mesa 24.2.3-1ubuntu1
[2024-10-18 10:01:46.806784] <information> GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20
[2024-10-18 10:01:46.807099] <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_compressio
[2024-10-18 10:01:46.807129] <information> GLRenderer: GL max texture size = 16384
[2024-10-18 10:01:46.807743] <information> GLRenderer: GL framebuffer bits: RGBA=8880, depth=0, stencil=0
[2024-10-18 10:01:46.808098] <information> mirserver: New display configuration:
[2024-10-18 10:01:46.808121] <information> mirserver: * Output 1: eDP connected, used
[2024-10-18 10:01:46.808132] <information> mirserver: . |_ EDID manufacturer: SHP
[2024-10-18 10:01:46.808139] <information> mirserver: . |_ EDID product code: 5261
[2024-10-18 10:01:46.808153] <information> mirserver: . |_ Physical size 15.3" 340x190mm
[2024-10-18 10:01:46.808165] <information> mirserver: . |_ Power is on
[2024-10-18 10:01:46.808175] <information> mirserver: . |_ Current mode 3840x2160 59.99Hz
[2024-10-18 10:01:46.808185] <information> mirserver: . |_ Preferred mode 3840x2160 59.99Hz
[2024-10-18 10:01:46.808198] <information> mirserver: . |_ Orientation normal
[2024-10-18 10:01:46.808211] <information> mirserver: . |_ Logical size 1920x1080
[2024-10-18 10:01:46.808223] <information> mirserver: . |_ Logical position +0+0
[2024-10-18 10:01:46.808236] <information> mirserver: . |_ Scaling factor: 2.00
[2024-10-18 10:01:46.808248] <information> mirserver: * Output 2: DisplayPort disconnected
[2024-10-18 10:01:46.808261] <information> mirserver: * Output 3: DisplayPort disconnected
[2024-10-18 10:01:46.808274] <information> mirserver: * Output 4: DisplayPort disconnected
[2024-10-18 10:01:46.808469] <information> mirserver: New base display configuration:
[2024-10-18 10:01:46.808486] <information> mirserver: * Output 1: eDP connected, used
[2024-10-18 10:01:46.808496] <information> mirserver: . |_ EDID manufacturer: SHP
[2024-10-18 10:01:46.808507] <information> mirserver: . |_ EDID product code: 5261
[2024-10-18 10:01:46.808520] <information> mirserver: . |_ Physical size 15.3" 340x190mm
[2024-10-18 10:01:46.808531] <information> mirserver: . |_ Power is on
[2024-10-18 10:01:46.808544] <information> mirserver: . |_ Current mode 3840x2160 59.99Hz
[2024-10-18 10:01:46.808556] <information> mirserver: . |_ Preferred mode 3840x2160 59.99Hz
[2024-10-18 10:01:46.808568] <information> mirserver: . |_ Orientation normal
[2024-10-18 10:01:46.808578] <information> mirserver: . |_ Logical size 1920x1080
[2024-10-18 10:01:46.808589] <information> mirserver: . |_ Logical position +0+0
[2024-10-18 10:01:46.808597] <information> mirserver: . |_ Scaling factor: 2.00
[2024-10-18 10:01:46.808609] <information> mirserver: * Output 2: DisplayPort disconnected
[2024-10-18 10:01:46.808618] <information> mirserver: * Output 3: DisplayPort disconnected
[2024-10-18 10:01:46.808626] <information> mirserver: * Output 4: DisplayPort disconnected
[2024-10-18 10:01:46.808647] <information> mirserver: Sending display configuration to session :
[2024-10-18 10:01:46.808680] <information> mirserver: Sending display configuration to session :
[2024-10-18 10:01:47.172268] < - debug - > atomic-kms: Handling UDEV events
[2024-10-18 10:01:47.172758] < - debug - > atomic-kms: Processing UDEV event for /sys/devices/pci0000:00/0000:00:02.0/drm/card1: 2
Mir fatal error: XWaylandConnector was not stopped before being destroyed (is_started: yes, spawner: exists, server: null, wm: exists, wm_event_thread: null)
Error: nu::shell::core_dumped

  × External command core dumped
   ╭─[entry #99:1:1]
 1 │ build-clang/bin/miral-shell --enable-x11=1 --platform-display-libs=mir:atomic-kms --display-config=static=hello.config
   · ─────────────┬─────────────
   ·              ╰── core dumped with SIGABRT (6)
   ╰────
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant