Closed Volian0 closed 6 months ago
Can reproduce (I spammed TTY switch and it crashed). Using wayfire 0.7.4 from https://build.opensuse.org/package/show/home:Dead_Mozay:wayfire/wayfire (which links to this repo's 0.7.4 release); using OpenSUSE Tumbleweed (snapshot 20221006, kernel v6.0) on a Macbook Pro machine, with Intel i5 CPU and iGPU. I have a dual monitor setup (built-in laptop/eDP monitor and an external HDMI monitor), and, oddly enough, after switching to TTY and back to wayfire, the screen displayed in the HDMI monitor seemed to be stuck in some frozen TTY state, while the internal (eDP) monitor worked just fine. After switching to TTY and back a few times, wayfire crashed.
However, this doesn't just happen when spamming TTY switch (which, to be fair, isn't a very common thing to do). It also happens to me, randomly, when waking up my monitors from sleep (not every single time, but sometimes) - wayfire just crashes (due to a segfault, as seen below). I managed to capture the logs when it happened once (it was also a segfault at main.cpp:141). Here are the relevant logs: (Note: I had kernel v5.19.12 at the time those logs were generated.)
DD 08-10-22 01:09:01.961 - [backend/drm/drm.c:492] connector eDP-1: Can't enable an output without a buffer DD 08-10-22 01:09:01.961 - [types/output/render.c:192] Attaching empty buffer to output for modeset DD 08-10-22 01:09:01.961 - [types/output/render.c:73] Choosing primary buffer format 0x34325258 for output 'eDP-1' DD 08-10-22 01:09:01.962 - [render/swapchain.c:105] Allocating new swapchain buffer DD 08-10-22 01:09:01.968 - [render/allocator/gbm.c:140] Allocated 2560x1600 GBM buffer (format 0x34325258, modifier 0x100000000000001) DD 08-10-22 01:09:01.968 - [render/gles2/renderer.c:142] Created GL FBO for buffer 2560x1600 II 08-10-22 01:09:01.972 - [backend/drm/drm.c:708] connector eDP-1: Modesetting with '2560x1600@59972mHz' DD 08-10-22 01:09:02.419 - [dbus_interface.cpp:897] output_configuration_changed DD 08-10-22 01:09:02.420 - [backend/drm/drm.c:492] connector HDMI-A-2: Can't enable an output without a buffer DD 08-10-22 01:09:02.420 - [types/output/render.c:192] Attaching empty buffer to output for modeset DD 08-10-22 01:09:02.420 - [types/output/render.c:73] Choosing primary buffer format 0x34325258 for output 'HDMI-A-2' DD 08-10-22 01:09:02.420 - [render/swapchain.c:105] Allocating new swapchain buffer DD 08-10-22 01:09:02.428 - [render/allocator/gbm.c:140] Allocated 1920x1080 GBM buffer (format 0x34325258, modifier 0x100000000000001) DD 08-10-22 01:09:02.428 - [render/gles2/renderer.c:142] Created GL FBO for buffer 1920x1080 II 08-10-22 01:09:02.437 - [backend/drm/drm.c:708] connector HDMI-A-2: Modesetting with '1920x1080@60000mHz' DD 08-10-22 01:09:02.486 - [dbus_interface.cpp:897] output_configuration_changed DD 08-10-22 01:09:02.487 - [src/core/core.cpp:595] focusing layer 32 DD 08-10-22 01:09:02.487 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.487 - [src/core/core.cpp:595] focusing layer 32 DD 08-10-22 01:09:02.487 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.519 - [render/swapchain.c:105] Allocating new swapchain buffer DD 08-10-22 01:09:02.521 - [render/allocator/gbm.c:140] Allocated 1920x1080 GBM buffer (format 0x34325258, modifier 0x100000000000001) DD 08-10-22 01:09:02.521 - [render/gles2/renderer.c:142] Created GL FBO for buffer 1920x1080 DD 08-10-22 01:09:02.526 - [render/swapchain.c:105] Allocating new swapchain buffer DD 08-10-22 01:09:02.529 - [render/allocator/gbm.c:140] Allocated 2560x1600 GBM buffer (format 0x34325258, modifier 0x100000000000001) DD 08-10-22 01:09:02.530 - [render/gles2/renderer.c:142] Created GL FBO for buffer 2560x1600 DD 08-10-22 01:09:02.805 - [backend/session/session.c:182] udev event for card1 (change) DD 08-10-22 01:09:02.805 - [backend/session/session.c:211] DRM device card1 changed DD 08-10-22 01:09:02.805 - [backend/drm/backend.c:138] Received hotplug event for /dev/dri/card1 II 08-10-22 01:09:02.805 - [backend/drm/drm.c:1185] Scanning DRM connectors on /dev/dri/card1 II 08-10-22 01:09:02.812 - [backend/drm/drm.c:1383] 'HDMI-A-2' disconnected II 08-10-22 01:09:02.813 - [src/core/output-layout.cpp:1066] remove output: HDMI-A-2 EE 08-10-22 01:09:02.813 - [src/core/output-layout.cpp:565] disabling output: HDMI-A-2 DD 08-10-22 01:09:02.813 - [plugins/single_plugins/preserve-output.cpp:141] Received pre-remove event: HDMI-A-2 DD 08-10-22 01:09:02.813 - [plugins/single_plugins/preserve-output.cpp:141] Received pre-remove event: HDMI-A-2 DD 08-10-22 01:09:02.813 - [plugins/single_plugins/preserve-output.cpp:131] Setting last focused output to: HDMI-A-2 DD 08-10-22 01:09:02.813 - [src/core/core.cpp:516] focus output: eDP-1 DD 08-10-22 01:09:02.813 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel II 08-10-22 01:09:02.813 - [src/core/output-layout.cpp:144] transfer views from HDMI-A-2 -> eDP-1 DD 08-10-22 01:09:02.814 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.814 - [src/core/seat/pointer.cpp:120] change cursor focus 0x561c995f96e8 -> 0x561c988bd0b0 DD 08-10-22 01:09:02.814 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.814 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.814 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.814 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.814 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.814 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.815 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.815 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.815 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.815 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.815 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.815 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.815 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.815 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.815 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.815 - [dbus_interface.cpp:490] view_output_move_requested DD 08-10-22 01:09:02.815 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.815 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.816 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.816 - [src/output/output.cpp:320] Denying focus request for a view from a lower layer than the focused layer DD 08-10-22 01:09:02.816 - [dbus_interface.cpp:457] view_output_moved DD 08-10-22 01:09:02.816 - [dbus_interface.cpp:490] view_output_move_requested DD 08-10-22 01:09:02.816 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.816 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.816 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.816 - [src/output/output.cpp:320] Denying focus request for a view from a lower layer than the focused layer DD 08-10-22 01:09:02.816 - [dbus_interface.cpp:457] view_output_moved DD 08-10-22 01:09:02.816 - [dbus_interface.cpp:490] view_output_move_requested DD 08-10-22 01:09:02.816 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.817 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.817 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.817 - [src/output/output.cpp:320] Denying focus request for a view from a lower layer than the focused layer DD 08-10-22 01:09:02.817 - [dbus_interface.cpp:431] view_tiled DD 08-10-22 01:09:02.817 - [dbus_interface.cpp:591] output_view_maximized DD 08-10-22 01:09:02.827 - [dbus_interface.cpp:431] view_tiled DD 08-10-22 01:09:02.828 - [dbus_interface.cpp:457] view_output_moved DD 08-10-22 01:09:02.828 - [dbus_interface.cpp:490] view_output_move_requested DD 08-10-22 01:09:02.828 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.828 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.828 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.828 - [src/output/output.cpp:320] Denying focus request for a view from a lower layer than the focused layer DD 08-10-22 01:09:02.828 - [dbus_interface.cpp:431] view_tiled DD 08-10-22 01:09:02.828 - [dbus_interface.cpp:591] output_view_maximized DD 08-10-22 01:09:02.843 - [dbus_interface.cpp:431] view_tiled DD 08-10-22 01:09:02.843 - [dbus_interface.cpp:457] view_output_moved DD 08-10-22 01:09:02.844 - [dbus_interface.cpp:490] view_output_move_requested DD 08-10-22 01:09:02.844 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.844 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.844 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.844 - [src/output/output.cpp:320] Denying focus request for a view from a lower layer than the focused layer DD 08-10-22 01:09:02.844 - [dbus_interface.cpp:431] view_tiled DD 08-10-22 01:09:02.844 - [dbus_interface.cpp:591] output_view_maximized DD 08-10-22 01:09:02.886 - [dbus_interface.cpp:431] view_tiled DD 08-10-22 01:09:02.886 - [dbus_interface.cpp:457] view_output_moved DD 08-10-22 01:09:02.886 - [dbus_interface.cpp:490] view_output_move_requested DD 08-10-22 01:09:02.886 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.886 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.887 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.887 - [src/output/output.cpp:320] Denying focus request for a view from a lower layer than the focused layer DD 08-10-22 01:09:02.887 - [dbus_interface.cpp:431] view_tiled DD 08-10-22 01:09:02.887 - [dbus_interface.cpp:591] output_view_maximized DD 08-10-22 01:09:02.933 - [dbus_interface.cpp:431] view_tiled DD 08-10-22 01:09:02.933 - [dbus_interface.cpp:457] view_output_moved DD 08-10-22 01:09:02.933 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.933 - [dbus_interface.cpp:302] view_closed DD 08-10-22 01:09:02.933 - [src/core/core.cpp:595] focusing layer 32 DD 08-10-22 01:09:02.934 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.934 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.934 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.934 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.934 - [dbus_interface.cpp:302] view_closed DD 08-10-22 01:09:02.934 - [src/core/core.cpp:595] focusing layer 32 DD 08-10-22 01:09:02.934 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.943 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.944 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.944 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.944 - [dbus_interface.cpp:302] view_closed DD 08-10-22 01:09:02.944 - [src/core/core.cpp:595] focusing layer 32 DD 08-10-22 01:09:02.944 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.945 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.946 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.946 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.946 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.946 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.946 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.946 - [dbus_interface.cpp:302] view_closed DD 08-10-22 01:09:02.946 - [src/core/core.cpp:595] focusing layer 32 DD 08-10-22 01:09:02.946 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:02.946 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:02.947 - [plugins/single_plugins/preserve-output.cpp:182] Received output-removed event: HDMI-A-2 DD 08-10-22 01:09:02.947 - [dbus_interface.cpp:1002] output_layout_output_removed DD 08-10-22 01:09:02.947 - [plugins/single_plugins/preserve-output.cpp:182] Received output-removed event: HDMI-A-2 DD 08-10-22 01:09:03.022 - [src/core/core.cpp:595] focusing layer 32 DD 08-10-22 01:09:03.022 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:03.022 - [backend/drm/drm.c:1017] connector HDMI-A-2: De-allocating CRTC 2 DD 08-10-22 01:09:03.024 - [backend/drm/drm.c:1047] Reallocating CRTCs DD 08-10-22 01:09:03.024 - [backend/drm/drm.c:1058] State before reallocation: DD 08-10-22 01:09:03.024 - [backend/drm/drm.c:1064] 'eDP-1' crtc=0 status=3 desired_enabled=1 DD 08-10-22 01:09:03.024 - [backend/drm/drm.c:1064] 'DP-1' crtc=-1 status=0 desired_enabled=0 DD 08-10-22 01:09:03.024 - [backend/drm/drm.c:1064] 'HDMI-A-1' crtc=-1 status=0 desired_enabled=0 DD 08-10-22 01:09:03.024 - [backend/drm/drm.c:1064] 'DP-2' crtc=-1 status=0 desired_enabled=0 DD 08-10-22 01:09:03.024 - [backend/drm/drm.c:1064] 'HDMI-A-2' crtc=-1 status=0 desired_enabled=0 DD 08-10-22 01:09:03.024 - [backend/drm/drm.c:1115] State after reallocation: DD 08-10-22 01:09:03.024 - [backend/drm/drm.c:1122] 'eDP-1' crtc=0 status=3 desired_enabled=1 DD 08-10-22 01:09:03.024 - [backend/drm/drm.c:1122] 'DP-1' crtc=-1 status=0 desired_enabled=0 DD 08-10-22 01:09:03.024 - [backend/drm/drm.c:1122] 'HDMI-A-1' crtc=-1 status=0 desired_enabled=0 DD 08-10-22 01:09:03.024 - [backend/drm/drm.c:1122] 'DP-2' crtc=-1 status=0 desired_enabled=0 DD 08-10-22 01:09:03.024 - [backend/drm/drm.c:1122] 'HDMI-A-2' crtc=-1 status=0 desired_enabled=0 DD 08-10-22 01:09:03.026 - [render/swapchain.c:105] Allocating new swapchain buffer DD 08-10-22 01:09:03.028 - [render/allocator/gbm.c:140] Allocated 256x256 GBM buffer (format 0x34325241, modifier 0x0) DD 08-10-22 01:09:03.028 - [render/gles2/renderer.c:142] Created GL FBO for buffer 256x256 DD 08-10-22 01:09:03.077 - [xwayland/xwm.c:833] unhandled X11 property 573 (_SUNW_JAVA_AWT_TIME) for window 67108872 DD 08-10-22 01:09:03.077 - [dbus_interface.cpp:704] view_focus_request_signal DD 08-10-22 01:09:03.293 - [dbus_interface.cpp:359] view_title_changed DD 08-10-22 01:09:03.384 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:03.384 - [dbus_interface.cpp:302] view_closed DD 08-10-22 01:09:03.495 - [dbus_interface.cpp:302] view_closed DD 08-10-22 01:09:03.501 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:03.501 - [dbus_interface.cpp:302] view_closed DD 08-10-22 01:09:03.549 - [src/core/seat/pointer.cpp:120] change cursor focus 0x561c988bd0b0 -> 0x561c988ebb58 DD 08-10-22 01:09:03.549 - [src/core/seat/pointer.cpp:120] change cursor focus 0x561c988ebb58 -> 0x561c988bd0b0 DD 08-10-22 01:09:03.553 - [backend/session/session.c:182] udev event for card1 (change) DD 08-10-22 01:09:03.553 - [backend/session/session.c:211] DRM device card1 changed DD 08-10-22 01:09:03.553 - [backend/drm/backend.c:138] Received hotplug event for /dev/dri/card1 II 08-10-22 01:09:03.553 - [backend/drm/drm.c:1185] Scanning DRM connectors on /dev/dri/card1 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1287] 'HDMI-A-2' connected DD 08-10-22 01:09:03.669 - [backend/drm/drm.c:1288] Current CRTC: -1 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1298] Physical size: 480x270 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1338] Detected modes: II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1920x1080@60000 (preferred) II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1920x1080@74973 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1920x1080@60000 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1920x1080@59940 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1920x1080@50000 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1680x1050@59883 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1400x1050@59948 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1600x900@60000 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1280x1024@75025 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1280x1024@60020 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1440x900@59901 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1280x800@59910 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1152x864@75000 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1280x720@60000 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1280x720@60000 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1280x720@59940 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1280x720@50000 II 08-10-22 01:09:03.669 - [backend/drm/drm.c:1360] 1024x768@75029 II 08-10-22 01:09:03.670 - [backend/drm/drm.c:1360] 1024x768@60004 II 08-10-22 01:09:03.670 - [backend/drm/drm.c:1360] 800x600@75000 II 08-10-22 01:09:03.670 - [backend/drm/drm.c:1360] 800x600@60317 II 08-10-22 01:09:03.670 - [backend/drm/drm.c:1360] 720x576@50000 II 08-10-22 01:09:03.670 - [backend/drm/drm.c:1360] 720x480@60000 II 08-10-22 01:09:03.670 - [backend/drm/drm.c:1360] 720x480@60000 II 08-10-22 01:09:03.670 - [backend/drm/drm.c:1360] 720x480@59940 II 08-10-22 01:09:03.670 - [backend/drm/drm.c:1360] 720x480@59940 II 08-10-22 01:09:03.670 - [backend/drm/drm.c:1360] 640x480@75000 II 08-10-22 01:09:03.670 - [backend/drm/drm.c:1360] 640x480@60000 II 08-10-22 01:09:03.670 - [backend/drm/drm.c:1360] 640x480@59940 II 08-10-22 01:09:03.670 - [backend/drm/drm.c:1360] 640x480@59940 II 08-10-22 01:09:03.670 - [backend/drm/drm.c:1360] 720x400@70082 DD 08-10-22 01:09:03.670 - [backend/drm/drm.c:1047] Reallocating CRTCs DD 08-10-22 01:09:03.670 - [backend/drm/drm.c:1058] State before reallocation: DD 08-10-22 01:09:03.670 - [backend/drm/drm.c:1064] 'eDP-1' crtc=0 status=3 desired_enabled=1 DD 08-10-22 01:09:03.670 - [backend/drm/drm.c:1064] 'DP-1' crtc=-1 status=0 desired_enabled=0 DD 08-10-22 01:09:03.670 - [backend/drm/drm.c:1064] 'HDMI-A-1' crtc=-1 status=0 desired_enabled=0 DD 08-10-22 01:09:03.670 - [backend/drm/drm.c:1064] 'DP-2' crtc=-1 status=0 desired_enabled=0 DD 08-10-22 01:09:03.670 - [backend/drm/drm.c:1064] 'HDMI-A-2' crtc=-1 status=1 desired_enabled=1 DD 08-10-22 01:09:03.670 - [backend/drm/drm.c:1115] State after reallocation: DD 08-10-22 01:09:03.670 - [backend/drm/drm.c:1122] 'eDP-1' crtc=0 status=3 desired_enabled=1 DD 08-10-22 01:09:03.670 - [backend/drm/drm.c:1122] 'DP-1' crtc=-1 status=0 desired_enabled=0 DD 08-10-22 01:09:03.670 - [backend/drm/drm.c:1122] 'HDMI-A-1' crtc=-1 status=0 desired_enabled=0 DD 08-10-22 01:09:03.670 - [backend/drm/drm.c:1122] 'DP-2' crtc=-1 status=0 desired_enabled=0 DD 08-10-22 01:09:03.670 - [backend/drm/drm.c:1122] 'HDMI-A-2' crtc=2 status=1 desired_enabled=1 II 08-10-22 01:09:03.670 - [backend/drm/drm.c:1412] connector HDMI-A-2: Requesting modeset II 08-10-22 01:09:03.670 - [src/core/output-layout.cpp:1044] new output: HDMI-A-2 II 08-10-22 01:09:03.670 - [src/core/output-layout.cpp:486] loaded mode auto II 08-10-22 01:09:03.670 - [src/core/output-layout.cpp:486] loaded mode auto DD 08-10-22 01:09:03.670 - [backend/drm/drm.c:492] connector HDMI-A-2: Can't enable an output without a buffer DD 08-10-22 01:09:03.670 - [types/output/render.c:192] Attaching empty buffer to output for modeset DD 08-10-22 01:09:03.670 - [types/output/render.c:73] Choosing primary buffer format 0x34325258 for output 'HDMI-A-2' DD 08-10-22 01:09:03.670 - [render/swapchain.c:105] Allocating new swapchain buffer DD 08-10-22 01:09:03.673 - [render/allocator/gbm.c:140] Allocated 1920x1080 GBM buffer (format 0x34325258, modifier 0x100000000000001) DD 08-10-22 01:09:03.673 - [render/gles2/renderer.c:142] Created GL FBO for buffer 1920x1080 II 08-10-22 01:09:03.690 - [backend/drm/drm.c:708] connector HDMI-A-2: Modesetting with '1920x1080@60000mHz' DD 08-10-22 01:09:03.795 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libalpha.so DD 08-10-22 01:09:03.795 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libanimate.so (type equals variant: [type: string, value: toplevel] | (type equals variant: [type: string, value: x-or] & focusable equals variant: [type: bool, value: 1])) type equals variant: [type: string, value: overlay] false false DD 08-10-22 01:09:03.795 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libautostart.so DD 08-10-22 01:09:03.795 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libcommand.so DD 08-10-22 01:09:03.796 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libdecoration.so false DD 08-10-22 01:09:03.797 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libexpo.so DD 08-10-22 01:09:03.798 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libfast-switcher.so DD 08-10-22 01:09:03.798 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libfisheye.so DD 08-10-22 01:09:03.831 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libgrid.so DD 08-10-22 01:09:03.831 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libidle.so DD 08-10-22 01:09:03.832 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libinvert.so DD 08-10-22 01:09:03.836 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libmove.so DD 08-10-22 01:09:03.836 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/liboswitch.so DD 08-10-22 01:09:03.836 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libplace.so DD 08-10-22 01:09:03.836 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libresize.so DD 08-10-22 01:09:03.836 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libswitcher.so DD 08-10-22 01:09:03.836 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libvswitch.so DD 08-10-22 01:09:03.836 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libzoom.so DD 08-10-22 01:09:03.837 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libannotate.so DD 08-10-22 01:09:03.837 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libworkspace-names.so DD 08-10-22 01:09:03.841 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libwater.so DD 08-10-22 01:09:03.850 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libwm-actions.so DD 08-10-22 01:09:03.850 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libscale.so DD 08-10-22 01:09:03.850 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libfollow-focus.so DD 08-10-22 01:09:03.850 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libpreserve-output.so DD 08-10-22 01:09:03.850 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libglib-main-loop.so DD 08-10-22 01:09:03.851 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libdbus_interface.so DD 08-10-22 01:09:03.851 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libwindow-rules.so DD 08-10-22 01:09:03.852 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libscale-title-filter.so DD 08-10-22 01:09:03.852 - [src/output/plugin-loader.cpp:135] Loaded plugin /usr/lib64/wayfire/libcube.so DD 08-10-22 01:09:03.857 - [dbus_interface.cpp:940] output_layout_output_added DD 08-10-22 01:09:03.858 - [src/core/seat/input-manager.cpp:86] Mapping input Power Button to output null. EE 08-10-22 01:09:03.858 - [types/wlr_cursor.c:856] Cannot map device "Power Button" to output (not found in this cursor) DD 08-10-22 01:09:03.858 - [src/core/seat/input-manager.cpp:86] Mapping input Video Bus to output null. EE 08-10-22 01:09:03.858 - [types/wlr_cursor.c:856] Cannot map device "Video Bus" to output (not found in this cursor) DD 08-10-22 01:09:03.858 - [src/core/seat/input-manager.cpp:86] Mapping input Power Button to output null. EE 08-10-22 01:09:03.858 - [types/wlr_cursor.c:856] Cannot map device "Power Button" to output (not found in this cursor) DD 08-10-22 01:09:03.858 - [src/core/seat/input-manager.cpp:86] Mapping input Lid Switch to output null. EE 08-10-22 01:09:03.858 - [types/wlr_cursor.c:856] Cannot map device "Lid Switch" to output (not found in this cursor) DD 08-10-22 01:09:03.858 - [src/core/seat/input-manager.cpp:86] Mapping input Sleep Button to output null. EE 08-10-22 01:09:03.858 - [types/wlr_cursor.c:856] Cannot map device "Sleep Button" to output (not found in this cursor) DD 08-10-22 01:09:03.858 - [src/core/seat/input-manager.cpp:86] Mapping input Apple Inc. Apple Internal Keyboard / Trackpad to output null. EE 08-10-22 01:09:03.858 - [types/wlr_cursor.c:856] Cannot map device "Apple Inc. Apple Internal Keyboard / Trackpad" to output (not found in this cursor) DD 08-10-22 01:09:03.858 - [src/core/seat/input-manager.cpp:86] Mapping input bcm5974 to output null. DD 08-10-22 01:09:03.858 - [src/core/seat/input-manager.cpp:86] Mapping input Lite-On Technology Corp. Goldtouch USB Keyboard Consumer Control to output null. EE 08-10-22 01:09:03.858 - [types/wlr_cursor.c:856] Cannot map device "Lite-On Technology Corp. Goldtouch USB Keyboard Consumer Control" to output (not found in this cursor) DD 08-10-22 01:09:03.858 - [src/core/seat/input-manager.cpp:86] Mapping input Lite-On Technology Corp. Goldtouch USB Keyboard Consumer Control to output null. DD 08-10-22 01:09:03.858 - [src/core/seat/input-manager.cpp:86] Mapping input Lite-On Technology Corp. Goldtouch USB Keyboard System Control to output null. EE 08-10-22 01:09:03.858 - [types/wlr_cursor.c:856] Cannot map device "Lite-On Technology Corp. Goldtouch USB Keyboard System Control" to output (not found in this cursor) DD 08-10-22 01:09:03.858 - [src/core/seat/input-manager.cpp:86] Mapping input Lite-On Technology Corp. Goldtouch USB Keyboard to output null. EE 08-10-22 01:09:03.858 - [types/wlr_cursor.c:856] Cannot map device "Lite-On Technology Corp. Goldtouch USB Keyboard" to output (not found in this cursor) DD 08-10-22 01:09:03.858 - [src/core/seat/input-manager.cpp:86] Mapping input Lite-On Technology Corp. Goldtouch USB Keyboard to output null. EE 08-10-22 01:09:03.858 - [types/wlr_cursor.c:856] Cannot map device "Lite-On Technology Corp. Goldtouch USB Keyboard" to output (not found in this cursor) DD 08-10-22 01:09:03.858 - [src/core/seat/input-manager.cpp:86] Mapping input Logitech MX Ergo to output null. EE 08-10-22 01:09:03.858 - [types/wlr_cursor.c:856] Cannot map device "Logitech MX Ergo" to output (not found in this cursor) DD 08-10-22 01:09:03.858 - [src/core/seat/input-manager.cpp:86] Mapping input Logitech MX Ergo to output null. DD 08-10-22 01:09:03.858 - [src/core/seat/input-manager.cpp:86] Mapping input Logitech M280/320/275 to output null. EE 08-10-22 01:09:03.859 - [types/wlr_cursor.c:856] Cannot map device "Logitech M280/320/275" to output (not found in this cursor) DD 08-10-22 01:09:03.859 - [src/core/seat/input-manager.cpp:86] Mapping input Logitech M280/320/275 to output null. DD 08-10-22 01:09:03.859 - [dbus_interface.cpp:897] output_configuration_changed DD 08-10-22 01:09:03.859 - [src/core/core.cpp:595] focusing layer 32 DD 08-10-22 01:09:03.859 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:03.859 - [src/core/core.cpp:595] focusing layer 32 DD 08-10-22 01:09:03.859 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:03.860 - [render/swapchain.c:105] Allocating new swapchain buffer DD 08-10-22 01:09:03.863 - [render/allocator/gbm.c:140] Allocated 1920x1080 GBM buffer (format 0x34325258, modifier 0x100000000000001) DD 08-10-22 01:09:03.866 - [render/gles2/renderer.c:142] Created GL FBO for buffer 1920x1080 DD 08-10-22 01:09:03.882 - [dbus_interface.cpp:911] output_workspace_changed DD 08-10-22 01:09:03.883 - [plugins/single_plugins/preserve-output.cpp:202] This is last focused output, refocusing: HDMI-A-2 DD 08-10-22 01:09:03.883 - [src/core/core.cpp:516] focus output: HDMI-A-2 DD 08-10-22 01:09:03.883 - [src/output/output.cpp:121] warning: no focused views in the focused layer, probably a bug DD 08-10-22 01:09:03.883 - [plugins/single_plugins/preserve-output.cpp:239] Restoring view: python3 to: HDMI-A-2 DD 08-10-22 01:09:03.883 - [dbus_interface.cpp:490] view_output_move_requested DD 08-10-22 01:09:03.883 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:03.883 - [src/core/seat/pointer.cpp:120] change cursor focus 0x561c988bd0b0 -> (null) DD 08-10-22 01:09:03.883 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:03.883 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:03.884 - [src/output/output.cpp:320] Denying focus request for a view from a lower layer than the focused layer DD 08-10-22 01:09:03.884 - [dbus_interface.cpp:457] view_output_moved DD 08-10-22 01:09:03.884 - [src/output/output.cpp:320] Denying focus request for a view from a lower layer than the focused layer DD 08-10-22 01:09:03.884 - [plugins/single_plugins/preserve-output.cpp:239] Restoring view: [REDACTED] — Mozilla Firefox to: HDMI-A-2 DD 08-10-22 01:09:03.884 - [dbus_interface.cpp:490] view_output_move_requested DD 08-10-22 01:09:03.884 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:03.885 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:03.885 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:03.885 - [src/output/output.cpp:320] Denying focus request for a view from a lower layer than the focused layer DD 08-10-22 01:09:03.885 - [dbus_interface.cpp:457] view_output_moved DD 08-10-22 01:09:03.885 - [src/output/output.cpp:320] Denying focus request for a view from a lower layer than the focused layer DD 08-10-22 01:09:03.885 - [dbus_interface.cpp:431] view_tiled DD 08-10-22 01:09:03.885 - [dbus_interface.cpp:591] output_view_maximized DD 08-10-22 01:09:03.886 - [dbus_interface.cpp:431] view_tiled DD 08-10-22 01:09:03.891 - [plugins/single_plugins/preserve-output.cpp:239] Restoring view: [REDACTED] — Mozilla Firefox to: HDMI-A-2 DD 08-10-22 01:09:03.894 - [dbus_interface.cpp:490] view_output_move_requested DD 08-10-22 01:09:03.894 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:03.897 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:03.897 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:03.897 - [src/output/output.cpp:320] Denying focus request for a view from a lower layer than the focused layer DD 08-10-22 01:09:03.897 - [dbus_interface.cpp:457] view_output_moved DD 08-10-22 01:09:03.897 - [src/output/output.cpp:320] Denying focus request for a view from a lower layer than the focused layer DD 08-10-22 01:09:03.897 - [dbus_interface.cpp:431] view_tiled DD 08-10-22 01:09:03.897 - [dbus_interface.cpp:591] output_view_maximized DD 08-10-22 01:09:03.898 - [dbus_interface.cpp:431] view_tiled DD 08-10-22 01:09:03.898 - [plugins/single_plugins/preserve-output.cpp:239] Restoring view: [REDACTED] — Mozilla Firefox to: HDMI-A-2 DD 08-10-22 01:09:03.898 - [dbus_interface.cpp:490] view_output_move_requested DD 08-10-22 01:09:03.898 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:03.905 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:03.905 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:03.905 - [src/output/output.cpp:320] Denying focus request for a view from a lower layer than the focused layer DD 08-10-22 01:09:03.906 - [dbus_interface.cpp:457] view_output_moved DD 08-10-22 01:09:03.906 - [src/output/output.cpp:320] Denying focus request for a view from a lower layer than the focused layer DD 08-10-22 01:09:03.906 - [dbus_interface.cpp:431] view_tiled DD 08-10-22 01:09:03.906 - [dbus_interface.cpp:591] output_view_maximized DD 08-10-22 01:09:03.909 - [dbus_interface.cpp:431] view_tiled DD 08-10-22 01:09:03.910 - [render/swapchain.c:105] Allocating new swapchain buffer DD 08-10-22 01:09:03.910 - [render/allocator/gbm.c:140] Allocated 256x256 GBM buffer (format 0x34325241, modifier 0x0) DD 08-10-22 01:09:03.910 - [render/gles2/renderer.c:142] Created GL FBO for buffer 256x256 DD 08-10-22 01:09:03.911 - [render/swapchain.c:105] Allocating new swapchain buffer DD 08-10-22 01:09:03.911 - [render/allocator/gbm.c:140] Allocated 256x256 GBM buffer (format 0x34325241, modifier 0x0) DD 08-10-22 01:09:03.911 - [render/gles2/renderer.c:142] Created GL FBO for buffer 256x256 EE 08-10-22 01:09:03.912 - [src/view/xwayland.cpp:535] new xwayland surface (null) class: (null) instance: (null) DD 08-10-22 01:09:03.921 - [xwayland/xwm.c:1486] unhandled x11 client message 542 (_NET_REQUEST_FRAME_EXTENTS) DD 08-10-22 01:09:03.941 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:03.942 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:04.050 - [xwayland/xwm.c:833] unhandled X11 property 269 (WM_STATE) for window 67115622 DD 08-10-22 01:09:04.051 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:04.051 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:04.051 - [src/output/output.cpp:121] warning: no focused views in the focused layer, probably a bug DD 08-10-22 01:09:04.053 - [xwayland/xwm.c:1486] unhandled x11 client message 542 (_NET_REQUEST_FRAME_EXTENTS) DD 08-10-22 01:09:04.054 - [xwayland/xwm.c:833] unhandled X11 property 537 (_OL_DECOR_DEL) for window 67115622 DD 08-10-22 01:09:04.054 - [xwayland/xwm.c:1583] unhandled X11 event: FocusOut (10) DD 08-10-22 01:09:04.056 - [xwayland/xwm.c:833] unhandled X11 property 269 (WM_STATE) for window 67115622 DD 08-10-22 01:09:04.056 - [xwayland/xwm.c:833] unhandled X11 property 269 (WM_STATE) for window 67115622 DD 08-10-22 01:09:04.061 - [types/wlr_surface.c:748] New wlr_surface 0x561c993aa370 (res 0x561c99982000) DD 08-10-22 01:09:04.061 - [types/wlr_surface.c:748] New wlr_surface 0x561c994486d0 (res 0x561c9897d900) DD 08-10-22 01:09:04.062 - [types/wlr_surface.c:748] New wlr_surface 0x561c9895f1e0 (res 0x561c98974dc0) DD 08-10-22 01:09:04.062 - [xwayland/xwm.c:1674] New xwayland surface: 0x561c9895f1e0 DD 08-10-22 01:09:04.062 - [render/swapchain.c:105] Allocating new swapchain buffer DD 08-10-22 01:09:04.062 - [render/allocator/gbm.c:140] Allocated 256x256 GBM buffer (format 0x34325241, modifier 0x0) DD 08-10-22 01:09:04.062 - [render/gles2/renderer.c:142] Created GL FBO for buffer 256x256 DD 08-10-22 01:09:04.063 - [render/swapchain.c:105] Allocating new swapchain buffer DD 08-10-22 01:09:04.063 - [render/allocator/gbm.c:140] Allocated 256x256 GBM buffer (format 0x34325241, modifier 0x0) DD 08-10-22 01:09:04.063 - [render/gles2/renderer.c:142] Created GL FBO for buffer 256x256 DD 08-10-22 01:09:04.108 - [dbus_interface.cpp:520] role_changed DD 08-10-22 01:09:04.114 - [dbus_interface.cpp:672] output_view_focus_changed not a toplevel DD 08-10-22 01:09:04.132 - [types/wlr_surface.c:748] New wlr_surface 0x561c9944d680 (res 0x561c9993b730) DD 08-10-22 01:09:04.137 - [types/wlr_layer_shell_v1.c:472] new layer_surface 0x561c992dfa90 (res 0x561c998d9aa0) DD 08-10-22 01:09:04.137 - [src/view/layer-shell.cpp:338] Create a layer surface: namespace wallpaper layer 0 DD 08-10-22 01:09:04.138 - [types/wlr_surface.c:748] New wlr_surface 0x561c989117b0 (res 0x561c99972050) DD 08-10-22 01:09:04.138 - [xwayland/xwm.c:1674] New xwayland surface: 0x561c989117b0 DD 08-10-22 01:09:04.141 - [dbus_interface.cpp:773] view_hints_changedfalse EE 08-10-22 01:09:04.147 - [src/main.cpp:141] Fatal error: Segmentation fault EE 08-10-22 01:09:04.240 - #1 wf::print_trace(bool) ??:? EE 08-10-22 01:09:04.287 - #2 __restore_rt ??:? EE 08-10-22 01:09:04.307 - #3 wf::wlr_view_t::map(wlr_surface*) ??:? EE 08-10-22 01:09:04.321 - #4 wayfire_xwayland_view::map(wlr_surface*) ??:? EE 08-10-22 01:09:04.335 - #5 std::__cxx11::basic_string, std::allocator > wf::log::to_string (char const*) ??:? EE 08-10-22 01:09:04.350 - #6 wlr_signal_emit_safe ??:? EE 08-10-22 01:09:04.366 - #7 wlr_xwayland_create ??:? EE 08-10-22 01:09:04.384 - #8 wlr_xdg_foreign_exported_finish ??:? EE 08-10-22 01:09:04.398 - #9 ffi_prep_go_closure ??:? EE 08-10-22 01:09:04.412 - #10 ?? ??:0 EE 08-10-22 01:09:04.425 - #11 ?? ??:0 EE 08-10-22 01:09:04.435 - #12 wl_array_add ??:? EE 08-10-22 01:09:04.448 - #13 wl_event_loop_dispatch ??:? EE 08-10-22 01:09:04.462 - #14 getWayfireVersion ??:? EE 08-10-22 01:09:04.478 - #15 g_main_context_dispatch ??:? EE 08-10-22 01:09:04.490 - #16 g_main_context_dispatch ??:? EE 08-10-22 01:09:04.516 - #17 g_main_loop_run ??:? EE 08-10-22 01:09:04.533 - #18 std::_Function_handler ::_M_invoke(std::_Any_data const&) ??:? EE 08-10-22 01:09:04.549 - #19 wf::signal_provider_t::emit_signal(std::__cxx11::basic_string , std::allocator >, wf::signal_data_t*) ??:? EE 08-10-22 01:09:04.565 - #20 wf::compositor_core_impl_t::post_init() ??:? EE 08-10-22 01:09:04.581 - #21 main ??:? EE 08-10-22 01:09:04.594 - #22 __libc_start_call_main ??:? EE 08-10-22 01:09:04.607 - #23 __libc_start_main_alias_2 ??:? EE 08-10-22 01:09:04.620 - #24 _start ??:?
The two crashes (when switching TTYs and when waking monitors from sleep) seem to be related, given they're both segfaults at the same location, and also given that they occur when (I suppose) attempting to redraw the screens in the outputs. Worth some investigation - these spontaneous crashes (when waking from sleep) have been happening (sometimes) to me for some time now in 0.7.4 (not sure if it also affects 0.7.3, but I hadn't seen it happen before at least).
EDIT: Also regarding waking up from sleep, some apps also seem to crash almost consistently when waking up from sleep (when wayfire doesn't), such as Firefox, Dolphin, Kate. Not sure if this is related to wayfire itself, or if it's related to "Preserve Output" plugin (or if it's even at all related to this segfault). If I manage to find more logs for that, I'll make sure to share.
It also crashes at src/main.cpp:141 sometimes when launching kanshi (that applies a single output profile and switches off laptop display)
II 03-12-22 20:54:17.083 - [src/core/output-layout.cpp:486] loaded mode auto
II 03-12-22 20:54:17.083 - [src/core/output-layout.cpp:486] loaded mode auto
EE 03-12-22 20:54:29.851 - [src/view/xwayland.cpp:535] new xwayland surface (null) class: (null) instance: (null)
EE 03-12-22 20:54:29.906 - [src/view/xwayland.cpp:818] new unmanaged xwayland surface rofi - Run command class: Rofi instance: rofi
EE 03-12-22 20:54:29.916 - [xwayland/xwm.c:1564] xcb error: op 12:0, code 2, sequence 128, value 0
EE 03-12-22 20:54:38.806 - [xwayland/xwm.c:1564] xcb error: op 18:0, code 3, sequence 135, value 6291461
EE 03-12-22 20:54:38.806 - [src/core/output-layout.cpp:565] disabling output: eDP-1
II 03-12-22 20:54:38.806 - [src/core/output-layout.cpp:144] transfer views from eDP-1 -> DP-2
EE 03-12-22 20:54:38.806 - [src/main.cpp:141] Fatal error: Segmentation fault
EE 03-12-22 20:54:38.813 - #1 wf::print_trace(bool) ??:?
EE 03-12-22 20:54:38.923 - #2 __restore_rt libc_sigaction.c:?
EE 03-12-22 20:54:38.930 - #3 wf::transfer_views(wf::output_t*, wf::output_t*) ??:?
EE 03-12-22 20:54:38.937 - #4 wf::output_layout_output_t::destroy_wayfire_output() ??:?
EE 03-12-22 20:54:38.945 - #5 wf::output_layout_output_t::apply_state(wf::output_state_t const&) ??:?
EE 03-12-22 20:54:38.952 - #6 wf::output_layout_t::impl::apply_configuration(std::map<wlr_output*, wf::output_state_t, std::less<wlr_output*>, std::allocator<std::pair<wlr_output* const, wf::output_state_t> > > const&) ??:?
EE 03-12-22 20:54:38.959 - #7 std::_Function_handler<void (void*), wf::output_layout_t::impl::impl(wlr_backend*)::{lambda(void*)#5}>::_M_invoke(std::_Any_data const&, void*&&) ??:?
EE 03-12-22 20:54:38.967 - #8 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > wf::log::to_string<char const*>(char const*) ??:?
EE 03-12-22 20:54:38.972 - #9 wlr_signal_emit_safe ??:?
EE 03-12-22 20:54:38.977 - #10 ffi_prep_go_closure ??:?
EE 03-12-22 20:54:38.981 - #11 ffi_closure_free ??:?
EE 03-12-22 20:54:38.986 - #12 ffi_call ??:?
EE 03-12-22 20:54:38.990 - #13 wl_event_loop_get_destroy_listener ??:?
EE 03-12-22 20:54:38.995 - #14 wl_client_destroy ??:?
EE 03-12-22 20:54:39.000 - #15 wl_event_loop_dispatch ??:?
EE 03-12-22 20:54:39.005 - #16 wl_display_run ??:?
EE 03-12-22 20:54:39.012 - #17 main ??:?
EE 03-12-22 20:54:39.085 - #18 __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:74
EE 03-12-22 20:54:39.168 - #19 call_init ../csu/libc-start.c:128
EE 03-12-22 20:54:39.176 - #20 _start ??:?
(EE) failed to read Wayland events: Connection reset by peer
although it seems to be more of #1197
Cannot reproduce either of the issues with latest Wayfire. If you can, please open a new bug report with a new stacktrace.
Describe the bug Switching TTYs causes segmentation fault in main.cpp:141 and crash
To Reproduce Steps to reproduce the behavior:
Expected behavior Wayfire shouldn't crash and should support switching TTYs
Wayfire version 0.7.4-0c3621c (Sep 26 2022, branch 'master')
btw I'm using integrated intel graphics and I have KMS enabled during boot and I also don't have this problem with X11