`virtboard` doesn't do anything on start
Epic: https://source.puri.sm/Librem5/use-cases/issues/22
What problem did you encounter
What is the current behaviour?
It currently starts but doesn't do anything (or at least, I didn't notice it doing anything); It doesn't crash (but maybe it should)
the following error message is displayed
No input method manager global, some functionality unavailable
Could not register to session manager: Cannot invoke method; proxy is for a well-known name without an owner and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
(process:14906): GLib-CRITICAL **: 15:07:06.961: g_source_remove: assertion 'tag > 0' failed
(process:14906): GLib-GObject-CRITICAL **: 15:07:06.961: g_object_set: assertion 'G_IS_OBJECT (object)' failed
wl_surface@18: error 0: Specified scale value (0) is not positive
How to reproduce
- start sway (using gdm or from a vconsole, doesn't matter)
- maybe run
gnome-session --session=phosh
(doesn't matter whether phosh is here) virtboard
How easily reproducible is it?
Always reproduces on my setup.
Which version did you encounter the bug in?
I compiled it myself.
commit:
0bab93edb997035e3f69ac408d72f5e4f6947a20 (HEAD -> master, origin/master, origin/HEAD) Merge branch 'dbus_name' into 'master'
What OS is affected?
- PureOS
What compositor did you use?
- sway version 1.1.1, compiled manually and using wlroots 0.6 from the purism repo
What hardware are you running virtboard on?
non-tactile laptop computer
Releveant logfiles
command's std{out,err} using WAYLAND_DEBUG=1
[2201845.563] -> wl_display@1.get_registry(new id wl_registry@2)
[2201845.650] -> wl_display@1.sync(new id wl_callback@3)
[2201845.972] wl_display@1.delete_id(3)
[2201846.041] wl_registry@2.global(1, "wl_shm", 1)
[2201846.121] -> wl_registry@2.bind(1, "wl_shm", 1, new id [unknown]@4)
[2201846.200] wl_registry@2.global(2, "zwp_linux_dmabuf_v1", 3)
[2201846.231] wl_registry@2.global(3, "wl_drm", 2)
[2201846.269] wl_registry@2.global(4, "wl_compositor", 4)
[2201846.333] -> wl_registry@2.bind(4, "wl_compositor", 3, new id [unknown]@5)
[2201846.403] wl_registry@2.global(5, "wl_subcompositor", 1)
[2201846.457] -> wl_registry@2.bind(5, "wl_subcompositor", 1, new id [unknown]@6)
[2201846.531] wl_registry@2.global(6, "wl_data_device_manager", 3)
[2201846.584] -> wl_registry@2.bind(6, "wl_data_device_manager", 3, new id [unknown]@7)
[2201846.654] wl_registry@2.global(7, "gamma_control_manager", 1)
[2201846.706] wl_registry@2.global(8, "zwlr_gamma_control_manager_v1", 1)
[2201846.757] wl_registry@2.global(9, "gtk_primary_selection_device_manager", 1)
[2201846.810] wl_registry@2.global(10, "zxdg_output_manager_v1", 2)
[2201846.858] wl_registry@2.global(11, "org_kde_kwin_idle", 1)
[2201846.909] wl_registry@2.global(12, "zwp_idle_inhibit_manager_v1", 1)
[2201846.961] wl_registry@2.global(13, "zwlr_layer_shell_v1", 1)
[2201847.012] wl_registry@2.global(14, "zxdg_shell_v6", 1)
[2201847.065] -> wl_registry@2.bind(14, "zxdg_shell_v6", 1, new id [unknown]@8)
[2201847.139] wl_registry@2.global(15, "xdg_wm_base", 2)
[2201847.178] wl_registry@2.global(16, "org_kde_kwin_server_decoration_manager", 1)
[2201847.227] wl_registry@2.global(17, "zxdg_decoration_manager_v1", 1)
[2201847.279] wl_registry@2.global(18, "zwp_relative_pointer_manager_v1", 1)
[2201847.331] -> wl_registry@2.bind(18, "zwp_relative_pointer_manager_v1", 1, new id [unknown]@9)
[2201847.402] wl_registry@2.global(19, "zwp_pointer_constraints_v1", 1)
[2201847.455] -> wl_registry@2.bind(19, "zwp_pointer_constraints_v1", 1, new id [unknown]@10)
[2201847.523] wl_registry@2.global(20, "wp_presentation", 1)
[2201847.575] wl_registry@2.global(21, "zwlr_export_dmabuf_manager_v1", 1)
[2201847.626] wl_registry@2.global(22, "zwlr_screencopy_manager_v1", 1)
[2201847.677] wl_registry@2.global(23, "zwlr_data_control_manager_v1", 2)
[2201847.727] wl_registry@2.global(24, "zwp_primary_selection_device_manager_v1", 1)
[2201847.779] wl_registry@2.global(25, "zwp_virtual_keyboard_manager_v1", 1)
[2201847.830] wl_registry@2.global(26, "zwlr_input_inhibit_manager_v1", 1)
[2201847.881] wl_registry@2.global(27, "wl_seat", 6)
[2201847.935] -> wl_registry@2.bind(27, "wl_seat", 5, new id [unknown]@11)
[2201848.010] -> wl_data_device_manager@7.get_data_device(new id wl_data_device@12, wl_seat@11)
[2201848.054] -> wl_compositor@5.create_surface(new id wl_surface@13)
[2201848.111] wl_registry@2.global(28, "wl_output", 3)
[2201848.167] -> wl_registry@2.bind(28, "wl_output", 2, new id [unknown]@14)
[2201848.237] wl_callback@3.done(7400)
[2201848.413] -> wl_shm@4.create_pool(new id wl_shm_pool@3, fd 7, 4096)
[2201848.925] -> wl_shm_pool@3.resize(12288)
[2201849.027] -> wl_shm_pool@3.resize(28672)
[2201849.194] -> wl_shm_pool@3.resize(61440)
[2201849.508] -> wl_shm_pool@3.resize(126976)
[2201850.102] -> wl_shm_pool@3.resize(258048)
[2201852.184] -> wl_shm_pool@3.resize(520192)
[2201852.829] -> wl_shm_pool@3.resize(1044480)
[2201857.394] -> wl_shm_pool@3.resize(2093056)
[2201892.079] -> wl_registry@2.bind(13, "zwlr_layer_shell_v1", 1, new id [unknown]@15)
[2201892.150] -> wl_registry@2.bind(25, "zwp_virtual_keyboard_manager_v1", 1, new id [unknown]@16)
No input method manager global, some functionality unavailable
[2201892.189] -> zwp_virtual_keyboard_manager_v1@16.create_virtual_keyboard(wl_seat@11, new id zwp_virtual_keyboard_v1@17)
[2201894.777] -> zwp_virtual_keyboard_v1@17.keymap(1, fd 12, 61258)
Could not register to session manager: Cannot invoke method; proxy is for a well-known name without an owner and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
[2201896.334] -> wl_compositor@5.create_surface(new id wl_surface@18)
[2201896.352] -> wl_surface@18.set_buffer_scale(0)
[2201896.363] -> zwlr_layer_shell_v1@15.get_layer_surface(new id zwlr_layer_surface_v1@19, wl_surface@18, wl_output@14, 3, "keyboard")
[2201896.393] -> zwlr_layer_surface_v1@19.set_anchor(14)
[2201896.400] -> zwlr_layer_surface_v1@19.set_margin(0, 0, 0, 0)
[2201896.420] -> zwlr_layer_surface_v1@19.set_keyboard_interactivity(0)
(process:15004): GLib-CRITICAL **: 15:07:28.967: g_source_remove: assertion 'tag > 0' failed
(process:15004): GLib-GObject-CRITICAL **: 15:07:28.967: g_object_set: assertion 'G_IS_OBJECT (object)' failed
[2201907.365] wl_display@1.error(wl_surface@18, 0, "Specified scale value (0) is not positive")
wl_surface@18: error 0: Specified scale value (0) is not positive
(process:12807): GLib-CRITICAL **: 15:01:35.313: g_source_remove: assertion 'tag > 0' failed
(process:12807): GLib-GObject-CRITICAL **: 15:01:35.314: g_object_set: assertion 'G_IS_OBJECT (object)' failed
[1848252.754] wl_display@1.error(wl_surface@18, 0, "Specified scale value (0) is not positive")
wl_surface@18: error 0: Specified scale value (0) is not positive
No new message in journalct
(checked using sudo journalctl -f
)
Edited by Heather Ellsworth