hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.66k stars 830 forks source link

Crash during screen sharing #2688

Closed kooskaspers closed 1 year ago

kooskaspers commented 1 year ago

Steps to reproduce I start screen sharing through Microsoft Teams (I'm sharing the whole display). Expected outcome No crash at all. Noted outcome It usually works for a few seconds / minutes, then it crashes. No mather if multiple displays are connected, or when using internal laptop display only.

Version: 0.26.0.r111.7a7e3ee6-1

hyprland.log hyprlandCrashReport1388559.txt

kooskaspers commented 1 year ago

Happens on v0.27.0 as well:

hyprlandCrashReport1565990.txt

JustSimplyKyle commented 1 year ago

can you do a git bisect on the issue?(if you know how)

KoyeBosh commented 1 year ago

Sounds similar to https://github.com/hyprwm/Hyprland/issues/2648 although you mention a hard crash.

I'm experiencing the same issue as you, latest -git on AUR

hardfau1t commented 1 year ago

same happens on firefox/gmeet screenshare hyprlandCrashReport1635.txt hyprland.log

kooskaspers commented 1 year ago

can you do a git bisect on the issue?(if you know how)

Nope, first time I hear about a git bisect; will have a Google attempt on that one.

justchokingaround commented 1 year ago

https://www.youtube.com/watch?v=capyZ2D9Yz0

vaxerski commented 1 year ago

since the fail is in libstdc++ I'd request a crash report from a debug build

kooskaspers commented 1 year ago

since the fail is in libstdc++ I'd request a crash report from a debug build

Not getting there yet. Am I missing / skipping something?:

$> git pull
Already up to date.
$> sudo make clear
rm -rf build
rm -f ./protocols/*-protocol.h ./protocols/*-protocol.c
rm -f ./hyprctl/hyprctl
rm -rf ./subprojects/wlroots/build
$> sudo make config
make fixwlr
make[1]: Entering directory '/home/koos/apps/Hyprland'
sed -E -i -e 's/(soversion = 12)([^032]|$)/soversion = 12032/g' subprojects/wlroots/meson.build
rm -rf ./subprojects/wlroots/build
make[1]: Leaving directory '/home/koos/apps/Hyprland'
meson setup subprojects/wlroots/build subprojects/wlroots --prefix=/usr/local --buildtype=release -Dwerror=false -Dexamples=false
The Meson build system
Version: 1.1.1
Source dir: /home/koos/apps/Hyprland/subprojects/wlroots
Build dir: /home/koos/apps/Hyprland/subprojects/wlroots/build
Build type: native build
Project name: wlroots
Project version: 0.17.0-dev
C compiler for the host machine: cc (gcc 13.1.1 "cc (GCC) 13.1.1 20230429")
C linker for the host machine: cc ld.bfd 2.40.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wundef: YES 
Compiler for C supports arguments -Wlogical-op: YES 
Compiler for C supports arguments -Wmissing-include-dirs: YES 
Compiler for C supports arguments -Wold-style-definition: YES 
Compiler for C supports arguments -Wpointer-arith: YES 
Compiler for C supports arguments -Winit-self: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wimplicit-fallthrough=2: YES 
Compiler for C supports arguments -Wendif-labels: YES 
Compiler for C supports arguments -Wstrict-aliasing=2: YES 
Compiler for C supports arguments -Woverflow: YES 
Compiler for C supports arguments -Wmissing-prototypes: YES 
Compiler for C supports arguments -Walloca: YES 
Compiler for C supports arguments -Wno-missing-braces: YES 
Compiler for C supports arguments -Wno-missing-field-initializers: YES 
Compiler for C supports arguments -Wno-unused-parameter: YES 
Compiler for C supports arguments -fmacro-prefix-map=/prefix/to/hide=: YES 
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Run-time dependency wayland-server found: YES 1.22.0
Run-time dependency libdrm found: YES 2.4.115
Run-time dependency xkbcommon found: YES 1.5.0
Run-time dependency pixman-1 found: YES 0.42.2
Library m found: YES
Library rt found: YES
Run-time dependency wayland-protocols found: YES 1.31
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Build-time dependency wayland-scanner found: YES 1.22.0
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Has header "linux/dma-buf.h" : YES 
Run-time dependency egl found: YES 1.5
Run-time dependency gbm found: YES 23.1.3
Run-time dependency glesv2 found: YES 3.2
Program ./embed.sh found: YES (/home/koos/apps/Hyprland/subprojects/wlroots/render/gles2/shaders/./embed.sh)
Run-time dependency vulkan found: YES 1.3.255
Check usable header "vulkan/vulkan.h" with dependency vulkan: YES 
Program glslangValidator found: YES (/usr/bin/glslangValidator)
Dependency pixman-1 found: YES 0.42.2 (cached)
Dependency gbm found: YES 23.1.3 (cached)
Checking for function "gbm_bo_get_fd_for_plane" with dependency gbm: YES 
Run-time dependency libudev found: YES 253
Run-time dependency libseat found: YES 0.7.0
Build-time dependency hwdata found: YES 0.372
Run-time dependency libdisplay-info found: YES 0.1.1
Run-time dependency libliftoff found: YES 0.4.1
Run-time dependency libinput found: YES 1.23.0
Run-time dependency xcb found: YES 1.15
Run-time dependency xcb-dri3 found: YES 1.15
Run-time dependency xcb-present found: YES 1.15
Run-time dependency xcb-render found: YES 1.15
Run-time dependency xcb-renderutil found: YES 0.3.10
Run-time dependency xcb-shm found: YES 1.15
Run-time dependency xcb-xfixes found: YES 1.15
Run-time dependency xcb-xinput found: YES 1.15
Run-time dependency wayland-client found: YES 1.22.0
Run-time dependency xwayland found: YES 23.1.2
Dependency xcb found: YES 1.15 (cached)
Run-time dependency xcb-composite found: YES 1.15
Run-time dependency xcb-ewmh found: YES 0.4.2
Run-time dependency xcb-icccm found: YES 0.4.2
Dependency xcb-render found: YES 1.15 (cached)
Run-time dependency xcb-res found: YES 1.15
Dependency xcb-xfixes found: YES 1.15 (cached)
Run-time dependency xcb-errors found: YES 1.0.1
Checking for function "xcb_xfixes_set_client_disconnect_mode" with dependencies xcb, xcb-composite, xcb-ewmh, xcb-icccm, xcb-render, xcb-res, xcb-xfixes, xcb-errors: YES 
Configuring config.h using configuration
Configuring version.h using configuration
Configuring config.h using configuration
Build targets in project: 130

wlroots 0.17.0-dev

    drm-backend     : YES
    x11-backend     : YES
    libinput-backend: YES
    xwayland        : YES
    gles2-renderer  : YES
    vulkan-renderer : YES
    gbm-allocator   : YES
    session         : YES
    xcb-errors      : YES
    egl             : YES
    libliftoff      : YES

  User defined options
    buildtype       : release
    prefix          : /usr/local
    werror          : false
    examples        : false

Found ninja-1.11.1 at /usr/bin/ninja
ninja -C subprojects/wlroots/build/
ninja: Entering directory `subprojects/wlroots/build/'
[1/307] Generating protocol/presentation_time_c with a custom command
[2/307] Generating protocol/presentation_time_server_h with a custom command
[3/307] Generating protocol/viewporter_c with a custom command
[4/307] Generating protocol/presentation_time_client_h with a custom command
[5/307] Generating protocol/viewporter_server_h with a custom command
[6/307] Generating protocol/content_type_v1_c with a custom command
[7/307] Generating protocol/content_type_v1_server_h with a custom command
[8/307] Generating protocol/drm_lease_v1_c with a custom command
[9/307] Generating protocol/ext_idle_notify_v1_c with a custom command
[10/307] Generating protocol/xdg_shell_c with a custom command
[11/307] Generating protocol/drm_lease_v1_server_h with a custom command
[12/307] Generating protocol/ext_idle_notify_v1_server_h with a custom command
[13/307] Generating protocol/ext_session_lock_v1_c with a custom command
[14/307] Generating protocol/xdg_shell_client_h with a custom command
[15/307] Generating protocol/ext_session_lock_v1_server_h with a custom command
[16/307] Generating protocol/xdg_shell_server_h with a custom command
[17/307] Generating protocol/fractional_scale_v1_c with a custom command
[18/307] Generating protocol/fractional_scale_v1_server_h with a custom command
[19/307] Generating protocol/single_pixel_buffer_v1_c with a custom command
[20/307] Generating protocol/single_pixel_buffer_v1_server_h with a custom command
[21/307] Generating protocol/xdg_activation_v1_c with a custom command
[22/307] Generating protocol/xdg_activation_v1_server_h with a custom command
[23/307] Generating protocol/xdg_activation_v1_client_h with a custom command
[24/307] Generating protocol/xwayland_shell_v1_c with a custom command
[25/307] Generating protocol/xwayland_shell_v1_server_h with a custom command
[26/307] Generating protocol/fullscreen_shell_unstable_v1_c with a custom command
[27/307] Generating protocol/fullscreen_shell_unstable_v1_server_h with a custom command
[28/307] Generating protocol/idle_inhibit_unstable_v1_c with a custom command
[29/307] Generating protocol/idle_inhibit_unstable_v1_server_h with a custom command
[30/307] Generating protocol/keyboard_shortcuts_inhibit_unstable_v1_c with a custom command
[31/307] Generating protocol/keyboard_shortcuts_inhibit_unstable_v1_server_h with a custom command
[32/307] Generating protocol/linux_dmabuf_unstable_v1_c with a custom command
[33/307] Generating protocol/pointer_constraints_unstable_v1_c with a custom command
[34/307] Generating protocol/linux_dmabuf_unstable_v1_server_h with a custom command
[35/307] Generating protocol/linux_dmabuf_unstable_v1_client_h with a custom command
[36/307] Generating protocol/pointer_gestures_unstable_v1_c with a custom command
[37/307] Generating protocol/pointer_constraints_unstable_v1_server_h with a custom command
[38/307] Generating protocol/pointer_gestures_unstable_v1_server_h with a custom command
[39/307] Generating protocol/pointer_gestures_unstable_v1_client_h with a custom command
[40/307] Generating protocol/primary_selection_unstable_v1_c with a custom command
[41/307] Generating protocol/primary_selection_unstable_v1_server_h with a custom command
[42/307] Generating protocol/relative_pointer_unstable_v1_c with a custom command
[43/307] Generating protocol/relative_pointer_unstable_v1_server_h with a custom command
[44/307] Generating protocol/relative_pointer_unstable_v1_client_h with a custom command
[45/307] Generating protocol/tablet_unstable_v2_c with a custom command
[46/307] Generating protocol/tablet_unstable_v2_server_h with a custom command
[47/307] Generating protocol/text_input_unstable_v3_c with a custom command
[48/307] Generating protocol/tablet_unstable_v2_client_h with a custom command
[49/307] Generating protocol/xdg_decoration_unstable_v1_c with a custom command
[50/307] Generating protocol/xdg_decoration_unstable_v1_server_h with a custom command
[51/307] Generating protocol/xdg_decoration_unstable_v1_client_h with a custom command
[52/307] Generating protocol/xdg_foreign_unstable_v1_c with a custom command
[53/307] Generating protocol/text_input_unstable_v3_server_h with a custom command
[54/307] Generating protocol/xdg_foreign_unstable_v1_server_h with a custom command
[55/307] Generating protocol/xdg_foreign_unstable_v2_c with a custom command
[56/307] Generating protocol/xdg_foreign_unstable_v2_server_h with a custom command
[57/307] Generating protocol/xdg_output_unstable_v1_c with a custom command
[58/307] Generating protocol/xdg_output_unstable_v1_server_h with a custom command
[59/307] Generating protocol/drm_c with a custom command
[60/307] Generating protocol/drm_server_h with a custom command
[61/307] Generating protocol/drm_client_h with a custom command
[62/307] Generating protocol/input_method_unstable_v2_c with a custom command
[63/307] Generating protocol/kde_idle_c with a custom command
[64/307] Generating protocol/input_method_unstable_v2_server_h with a custom command
[65/307] Generating protocol/kde_idle_server_h with a custom command
[66/307] Generating protocol/kde_server_decoration_c with a custom command
[67/307] Generating protocol/kde_server_decoration_server_h with a custom command
[68/307] Generating protocol/virtual_keyboard_unstable_v1_c with a custom command
[69/307] Generating protocol/virtual_keyboard_unstable_v1_server_h with a custom command
[70/307] Generating protocol/wlr_data_control_unstable_v1_c with a custom command
[71/307] Generating protocol/wlr_data_control_unstable_v1_server_h with a custom command
[72/307] Generating protocol/wlr_export_dmabuf_unstable_v1_c with a custom command
[73/307] Generating protocol/wlr_export_dmabuf_unstable_v1_server_h with a custom command
[74/307] Generating protocol/wlr_foreign_toplevel_management_unstable_v1_c with a custom command
[75/307] Generating protocol/wlr_foreign_toplevel_management_unstable_v1_server_h with a custom command
[76/307] Generating protocol/wlr_gamma_control_unstable_v1_c with a custom command
[77/307] Generating protocol/wlr_gamma_control_unstable_v1_server_h with a custom command
[78/307] Generating protocol/wlr_input_inhibitor_unstable_v1_c with a custom command
[79/307] Generating protocol/wlr_input_inhibitor_unstable_v1_server_h with a custom command
[80/307] Generating protocol/wlr_layer_shell_unstable_v1_c with a custom command
[81/307] Generating protocol/wlr_layer_shell_unstable_v1_server_h with a custom command
[82/307] Generating protocol/wlr_output_power_management_unstable_v1_c with a custom command
[83/307] Generating protocol/wlr_output_power_management_unstable_v1_server_h with a custom command
[84/307] Generating protocol/wlr_output_management_unstable_v1_c with a custom command
[85/307] Generating protocol/wlr_output_management_unstable_v1_server_h with a custom command
[86/307] Generating protocol/wlr_screencopy_unstable_v1_c with a custom command
[87/307] Generating protocol/wlr_screencopy_unstable_v1_server_h with a custom command
[88/307] Generating protocol/wlr_virtual_pointer_unstable_v1_c with a custom command
[89/307] Generating protocol/wlr_virtual_pointer_unstable_v1_server_h with a custom command
[90/307] Generating render/gles2/shaders/common_vert_src.h with a custom command (wrapped by meson to capture output, to feed input)
[91/307] Generating render/gles2/shaders/tex_rgba_frag_src.h with a custom command (wrapped by meson to capture output, to feed input)
[92/307] Generating render/gles2/shaders/quad_frag_src.h with a custom command (wrapped by meson to capture output, to feed input)
[93/307] Generating render/gles2/shaders/tex_external_frag_src.h with a custom command (wrapped by meson to capture output, to feed input)
[94/307] Generating render/gles2/shaders/tex_rgbx_frag_src.h with a custom command (wrapped by meson to capture output, to feed input)
[95/307] Generating backend/drm/pnpids.c with a custom command (wrapped by meson to capture output, to feed input)
[96/307] Generating render/vulkan/shaders/common.vert_spv with a custom command
[97/307] Generating render/vulkan/shaders/quad.frag_spv with a custom command
[98/307] Generating render/vulkan/shaders/texture.frag_spv with a custom command
[99/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_fractional-scale-v1-protocol.c.o
[100/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_ext-idle-notify-v1-protocol.c.o
[101/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_ext-session-lock-v1-protocol.c.o
[102/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_single-pixel-buffer-v1-protocol.c.o
[103/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_idle-inhibit-unstable-v1-protocol.c.o
[104/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_keyboard-shortcuts-inhibit-unstable-v1-protocol.c.o
[105/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_presentation-time-protocol.c.o
[106/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_xdg-activation-v1-protocol.c.o
[107/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_xwayland-shell-v1-protocol.c.o
[108/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_linux-dmabuf-unstable-v1-protocol.c.o
[109/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_viewporter-protocol.c.o
[110/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_fullscreen-shell-unstable-v1-protocol.c.o
[111/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_xdg-shell-protocol.c.o
[112/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_pointer-constraints-unstable-v1-protocol.c.o
[113/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_content-type-v1-protocol.c.o
[114/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_pointer-gestures-unstable-v1-protocol.c.o
[115/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_relative-pointer-unstable-v1-protocol.c.o
[116/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_text-input-unstable-v3-protocol.c.o
[117/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_xdg-decoration-unstable-v1-protocol.c.o
[118/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_xdg-foreign-unstable-v1-protocol.c.o
[119/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_drm-lease-v1-protocol.c.o
[120/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_xdg-foreign-unstable-v2-protocol.c.o
[121/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_drm-protocol.c.o
[122/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_tablet-unstable-v2-protocol.c.o
[123/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_primary-selection-unstable-v1-protocol.c.o
[124/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_idle-protocol.c.o
[125/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_xdg-output-unstable-v1-protocol.c.o
[126/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_input-method-unstable-v2-protocol.c.o
[127/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_server-decoration-protocol.c.o
[128/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_virtual-keyboard-unstable-v1-protocol.c.o
[129/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_wlr-export-dmabuf-unstable-v1-protocol.c.o
[130/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_wlr-data-control-unstable-v1-protocol.c.o
[131/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_wlr-foreign-toplevel-management-unstable-v1-protocol.c.o
[132/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_wlr-input-inhibitor-unstable-v1-protocol.c.o
[133/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_wlr-gamma-control-unstable-v1-protocol.c.o
[134/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_wlr-layer-shell-unstable-v1-protocol.c.o
[135/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_wlr-output-power-management-unstable-v1-protocol.c.o
[136/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_wlr-output-management-unstable-v1-protocol.c.o
[137/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_wlr-virtual-pointer-unstable-v1-protocol.c.o
[138/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._protocol_wlr-screencopy-unstable-v1-protocol.c.o
[139/307] Compiling C object libwlroots.so.12032.p/render_pixel_format.c.o
[140/307] Compiling C object libwlroots.so.12032.p/render_wlr_texture.c.o
[141/307] Compiling C object libwlroots.so.12032.p/render_dmabuf_linux.c.o
[142/307] Compiling C object libwlroots.so.12032.p/render_dmabuf.c.o
[143/307] Compiling C object libwlroots.so.12032.p/render_swapchain.c.o
[144/307] Compiling C object libwlroots.so.12032.p/render_pixman_pixel_format.c.o
[145/307] Compiling C object libwlroots.so.12032.p/render_gles2_pixel_format.c.o
[146/307] Compiling C object libwlroots.so.12032.p/render_drm_format_set.c.o
[147/307] Compiling C object libwlroots.so.12032.p/render_vulkan_util.c.o
[148/307] Compiling C object libwlroots.so.12032.p/render_gles2_texture.c.o
[149/307] Compiling C object libwlroots.so.12032.p/render_allocator_shm.c.o
[150/307] Compiling C object libwlroots.so.12032.p/render_allocator_allocator.c.o
[151/307] Compiling C object libwlroots.so.12032.p/render_allocator_gbm.c.o
[152/307] Compiling C object libwlroots.so.12032.p/render_wlr_renderer.c.o
[153/307] Compiling C object libwlroots.so.12032.p/render_allocator_drm_dumb.c.o
[154/307] Compiling C object libwlroots.so.12032.p/render_vulkan_pixel_format.c.o
[155/307] Compiling C object libwlroots.so.12032.p/render_pixman_renderer.c.o
[156/307] Compiling C object libwlroots.so.12032.p/backend_backend.c.o
[157/307] Compiling C object libwlroots.so.12032.p/backend_drm_backend.c.o
[158/307] Compiling C object libwlroots.so.12032.p/backend_drm_properties.c.o
[159/307] Compiling C object libwlroots.so.12032.p/render_vulkan_vulkan.c.o
[160/307] Compiling C object libwlroots.so.12032.p/backend_drm_legacy.c.o
[161/307] Compiling C object libwlroots.so.12032.p/backend_drm_monitor.c.o
[162/307] Compiling C object libwlroots.so.12032.p/backend_session_session.c.o
[163/307] Compiling C object libwlroots.so.12032.p/render_gles2_renderer.c.o
[164/307] Compiling C object libwlroots.so.12032.p/render_vulkan_texture.c.o
[165/307] Compiling C object libwlroots.so.12032.p/backend_libinput_keyboard.c.o
[166/307] Compiling C object libwlroots.so.12032.p/backend_libinput_backend.c.o
[167/307] Compiling C object libwlroots.so.12032.p/backend_libinput_switch.c.o
[168/307] Compiling C object libwlroots.so.12032.p/backend_libinput_events.c.o
[169/307] Compiling C object libwlroots.so.12032.p/backend_drm_util.c.o
[170/307] Compiling C object libwlroots.so.12032.p/render_egl.c.o
[171/307] Compiling C object libwlroots.so.12032.p/backend_drm_atomic.c.o
[172/307] Compiling C object libwlroots.so.12032.p/backend_drm_renderer.c.o
[173/307] Compiling C object libwlroots.so.12032.p/backend_libinput_pointer.c.o
[174/307] Compiling C object libwlroots.so.12032.p/backend_libinput_touch.c.o
[175/307] Compiling C object libwlroots.so.12032.p/backend_libinput_tablet_tool.c.o
[176/307] Compiling C object libwlroots.so.12032.p/backend_libinput_tablet_pad.c.o
[177/307] Compiling C object libwlroots.so.12032.p/backend_headless_backend.c.o
[178/307] Compiling C object libwlroots.so.12032.p/backend_drm_libliftoff.c.o
[179/307] Compiling C object libwlroots.so.12032.p/backend_x11_input_device.c.o
[180/307] Compiling C object libwlroots.so.12032.p/backend_multi_backend.c.o
[181/307] Compiling C object libwlroots.so.12032.p/backend_headless_output.c.o
[182/307] Compiling C object libwlroots.so.12032.p/types_data_device_wlr_data_offer.c.o
[183/307] Compiling C object libwlroots.so.12032.p/backend_wayland_seat.c.o
[184/307] Compiling C object libwlroots.so.12032.p/types_data_device_wlr_data_device.c.o
[185/307] Compiling C object libwlroots.so.12032.p/backend_wayland_pointer.c.o
[186/307] Compiling C object libwlroots.so.12032.p/backend_x11_backend.c.o
[187/307] Compiling C object libwlroots.so.12032.p/types_output_state.c.o
[188/307] Compiling C object libwlroots.so.12032.p/types_output_swapchain.c.o
[189/307] Compiling C object libwlroots.so.12032.p/backend_x11_output.c.o
[190/307] Compiling C object libwlroots.so.12032.p/backend_wayland_tablet_v2.c.o
[191/307] Compiling C object libwlroots.so.12032.p/types_data_device_wlr_data_source.c.o
[192/307] Compiling C object libwlroots.so.12032.p/types_output_transform.c.o
[193/307] Compiling C object libwlroots.so.12032.p/backend_wayland_backend.c.o
[194/307] Compiling C object libwlroots.so.12032.p/types_output_render.c.o
[195/307] Compiling C object libwlroots.so.12032.p/render_vulkan_renderer.c.o
[196/307] Compiling C object libwlroots.so.12032.p/types_data_device_wlr_drag.c.o
[197/307] Compiling C object libwlroots.so.12032.p/backend_wayland_output.c.o
[198/307] Compiling C object libwlroots.so.12032.p/types_scene_drag_icon.c.o
[199/307] Compiling C object libwlroots.so.12032.p/types_scene_subsurface_tree.c.o
[200/307] Compiling C object libwlroots.so.12032.p/types_scene_surface.c.o
[201/307] Compiling C object libwlroots.so.12032.p/types_scene_output_layout.c.o
[202/307] Compiling C object libwlroots.so.12032.p/types_scene_xdg_shell.c.o
[203/307] Compiling C object libwlroots.so.12032.p/meson-generated_.._backend_drm_pnpids.c.o
[204/307] Compiling C object libwlroots.so.12032.p/types_scene_layer_shell_v1.c.o
[205/307] Compiling C object libwlroots.so.12032.p/types_output_cursor.c.o
[206/307] Compiling C object libwlroots.so.12032.p/backend_drm_drm.c.o
[207/307] Compiling C object libwlroots.so.12032.p/types_tablet_v2_wlr_tablet_v2_tablet.c.o
[208/307] Compiling C object libwlroots.so.12032.p/types_xdg_shell_wlr_xdg_shell.c.o
[209/307] Compiling C object libwlroots.so.12032.p/types_buffer_client.c.o
[210/307] Compiling C object libwlroots.so.12032.p/types_tablet_v2_wlr_tablet_v2.c.o
[211/307] Compiling C object libwlroots.so.12032.p/types_seat_wlr_seat_keyboard.c.o
[212/307] Compiling C object libwlroots.so.12032.p/types_buffer_buffer.c.o
[213/307] Compiling C object libwlroots.so.12032.p/types_buffer_dmabuf.c.o
[214/307] Compiling C object libwlroots.so.12032.p/types_seat_wlr_seat.c.o
[215/307] Compiling C object libwlroots.so.12032.p/types_buffer_readonly_data.c.o
[216/307] Compiling C object libwlroots.so.12032.p/types_seat_wlr_seat_pointer.c.o
[217/307] Compiling C object libwlroots.so.12032.p/types_output_output.c.o
[218/307] Compiling C object libwlroots.so.12032.p/types_xdg_shell_wlr_xdg_positioner.c.o
[219/307] Compiling C object libwlroots.so.12032.p/types_seat_wlr_seat_touch.c.o
[220/307] Compiling C object libwlroots.so.12032.p/types_buffer_resource.c.o
[221/307] Compiling C object libwlroots.so.12032.p/types_wlr_content_type_v1.c.o
[222/307] Compiling C object libwlroots.so.12032.p/types_tablet_v2_wlr_tablet_v2_pad.c.o
[223/307] Compiling C object libwlroots.so.12032.p/types_xdg_shell_wlr_xdg_popup.c.o
[224/307] Compiling C object libwlroots.so.12032.p/types_wlr_damage_ring.c.o
[225/307] Compiling C object libwlroots.so.12032.p/types_wlr_fullscreen_shell_v1.c.o
[226/307] Compiling C object libwlroots.so.12032.p/types_tablet_v2_wlr_tablet_v2_tool.c.o
[227/307] Compiling C object libwlroots.so.12032.p/types_xdg_shell_wlr_xdg_surface.c.o
[228/307] Compiling C object libwlroots.so.12032.p/types_wlr_input_device.c.o
[229/307] Compiling C object libwlroots.so.12032.p/types_xdg_shell_wlr_xdg_toplevel.c.o
[230/307] Compiling C object libwlroots.so.12032.p/types_wlr_export_dmabuf_v1.c.o
[231/307] Compiling C object libwlroots.so.12032.p/types_wlr_drm.c.o
[232/307] Compiling C object libwlroots.so.12032.p/types_wlr_gamma_control_v1.c.o
[233/307] Compiling C object libwlroots.so.12032.p/types_wlr_idle_inhibit_v1.c.o
[234/307] Compiling C object libwlroots.so.12032.p/types_wlr_input_inhibitor.c.o
[235/307] Compiling C object libwlroots.so.12032.p/types_wlr_idle_notify_v1.c.o
[236/307] Compiling C object libwlroots.so.12032.p/types_wlr_idle.c.o
[237/307] Compiling C object libwlroots.so.12032.p/types_wlr_data_control_v1.c.o
[238/307] Compiling C object libwlroots.so.12032.p/types_wlr_keyboard_shortcuts_inhibit_v1.c.o
[239/307] Compiling C object libwlroots.so.12032.p/types_wlr_output_layer.c.o
[240/307] Compiling C object libwlroots.so.12032.p/types_wlr_matrix.c.o
[241/307] Compiling C object libwlroots.so.12032.p/types_wlr_keyboard.c.o
[242/307] Compiling C object libwlroots.so.12032.p/types_wlr_keyboard_group.c.o
[243/307] Compiling C object libwlroots.so.12032.p/types_wlr_output_damage.c.o
[244/307] Compiling C object libwlroots.so.12032.p/types_wlr_cursor.c.o
[245/307] Compiling C object libwlroots.so.12032.p/types_wlr_pointer.c.o
[246/307] Compiling C object libwlroots.so.12032.p/types_wlr_input_method_v2.c.o
[247/307] Compiling C object libwlroots.so.12032.p/types_wlr_foreign_toplevel_management_v1.c.o
[248/307] Compiling C object libwlroots.so.12032.p/types_wlr_output_power_management_v1.c.o
[249/307] Compiling C object libwlroots.so.12032.p/types_wlr_compositor.c.o
[250/307] Compiling C object libwlroots.so.12032.p/types_wlr_layer_shell_v1.c.o
[251/307] Compiling C object libwlroots.so.12032.p/types_wlr_primary_selection.c.o
[252/307] Compiling C object libwlroots.so.12032.p/types_wlr_region.c.o
[253/307] Compiling C object libwlroots.so.12032.p/types_wlr_presentation_time.c.o
[254/307] Compiling C object libwlroots.so.12032.p/types_wlr_pointer_constraints_v1.c.o
[255/307] Compiling C object libwlroots.so.12032.p/types_wlr_relative_pointer_v1.c.o
[256/307] Compiling C object libwlroots.so.12032.p/types_wlr_server_decoration.c.o
[257/307] Compiling C object libwlroots.so.12032.p/types_wlr_output_layout.c.o
[258/307] Compiling C object libwlroots.so.12032.p/types_wlr_switch.c.o
[259/307] Compiling C object libwlroots.so.12032.p/types_wlr_pointer_gestures_v1.c.o
[260/307] Compiling C object libwlroots.so.12032.p/types_wlr_tablet_pad.c.o
[261/307] Compiling C object libwlroots.so.12032.p/types_wlr_single_pixel_buffer_v1.c.o
[262/307] Compiling C object libwlroots.so.12032.p/types_wlr_tablet_tool.c.o
[263/307] Compiling C object libwlroots.so.12032.p/types_wlr_fractional_scale_v1.c.o
[264/307] Compiling C object libwlroots.so.12032.p/types_wlr_primary_selection_v1.c.o
[265/307] Compiling C object libwlroots.so.12032.p/types_wlr_session_lock_v1.c.o
[266/307] Compiling C object libwlroots.so.12032.p/types_wlr_touch.c.o
[267/307] Compiling C object libwlroots.so.12032.p/types_wlr_xcursor_manager.c.o
[268/307] Compiling C object libwlroots.so.12032.p/types_wlr_screencopy_v1.c.o
[269/307] Compiling C object libwlroots.so.12032.p/types_wlr_virtual_keyboard_v1.c.o
[270/307] Compiling C object libwlroots.so.12032.p/types_wlr_xdg_foreign_registry.c.o
[271/307] Compiling C object libwlroots.so.12032.p/types_wlr_linux_dmabuf_v1.c.o
[272/307] Compiling C object libwlroots.so.12032.p/types_wlr_shm.c.o
[273/307] Compiling C object libwlroots.so.12032.p/types_wlr_viewporter.c.o
[274/307] Compiling C object libwlroots.so.12032.p/types_wlr_text_input_v3.c.o
[275/307] Compiling C object libwlroots.so.12032.p/types_wlr_output_management_v1.c.o
[276/307] Compiling C object libwlroots.so.12032.p/util_env.c.o
[277/307] Compiling C object libwlroots.so.12032.p/util_array.c.o
[278/307] Compiling C object libwlroots.so.12032.p/types_wlr_virtual_pointer_v1.c.o
[279/307] Compiling C object libwlroots.so.12032.p/util_addon.c.o
[280/307] Compiling C object libwlroots.so.12032.p/util_global.c.o
[281/307] Compiling C object libwlroots.so.12032.p/util_set.c.o
[282/307] Compiling C object libwlroots.so.12032.p/types_wlr_xdg_foreign_v2.c.o
[283/307] Compiling C object libwlroots.so.12032.p/util_time.c.o
[284/307] Compiling C object libwlroots.so.12032.p/types_wlr_xdg_activation_v1.c.o
[285/307] Compiling C object libwlroots.so.12032.p/types_wlr_xdg_foreign_v1.c.o
[286/307] Compiling C object libwlroots.so.12032.p/types_wlr_xdg_decoration_v1.c.o
[287/307] Compiling C object libwlroots.so.12032.p/types_wlr_xdg_output_v1.c.o
[288/307] Compiling C object libwlroots.so.12032.p/types_wlr_subcompositor.c.o
[289/307] Compiling C object libwlroots.so.12032.p/util_box.c.o
[290/307] Compiling C object libwlroots.so.12032.p/util_log.c.o
[291/307] Compiling C object libwlroots.so.12032.p/util_shm.c.o
[292/307] Compiling C object libwlroots.so.12032.p/util_token.c.o
[293/307] Compiling C object libwlroots.so.12032.p/xcursor_wlr_xcursor.c.o
[294/307] Compiling C object libwlroots.so.12032.p/xwayland_shell.c.o
[295/307] Compiling C object libwlroots.so.12032.p/util_region.c.o
[296/307] Compiling C object libwlroots.so.12032.p/types_scene_wlr_scene.c.o
[297/307] Compiling C object libwlroots.so.12032.p/xwayland_sockets.c.o
[298/307] Compiling C object libwlroots.so.12032.p/xwayland_xwayland.c.o
[299/307] Compiling C object libwlroots.so.12032.p/types_wlr_drm_lease_v1.c.o
[300/307] Compiling C object libwlroots.so.12032.p/xwayland_selection_dnd.c.o
[301/307] Compiling C object libwlroots.so.12032.p/xwayland_selection_incoming.c.o
[302/307] Compiling C object libwlroots.so.12032.p/xwayland_selection_outgoing.c.o
[303/307] Compiling C object libwlroots.so.12032.p/xwayland_selection_selection.c.o
[304/307] Compiling C object libwlroots.so.12032.p/xcursor_xcursor.c.o
[305/307] Compiling C object libwlroots.so.12032.p/xwayland_server.c.o
[306/307] Compiling C object libwlroots.so.12032.p/xwayland_xwm.c.o
[307/307] Linking target libwlroots.so.12032
ninja -C subprojects/wlroots/build/ install
ninja: Entering directory `subprojects/wlroots/build/'
[0/1] Installing files.
Installing subdir /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr to /usr/local/include/wlr
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/xwayland.h to /usr/local/include/wlr
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/backend.h to /usr/local/include/wlr
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/xcursor.h to /usr/local/include/wlr
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/xwayland/xwayland.h to /usr/local/include/wlr/xwayland
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/xwayland/server.h to /usr/local/include/wlr/xwayland
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/xwayland/shell.h to /usr/local/include/wlr/xwayland
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_switch.h to /usr/local/include/wlr/interfaces
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_keyboard.h to /usr/local/include/wlr/interfaces
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_buffer.h to /usr/local/include/wlr/interfaces
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_touch.h to /usr/local/include/wlr/interfaces
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_output.h to /usr/local/include/wlr/interfaces
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_pointer.h to /usr/local/include/wlr/interfaces
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_tablet_pad.h to /usr/local/include/wlr/interfaces
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_tablet_tool.h to /usr/local/include/wlr/interfaces
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/render/gles2.h to /usr/local/include/wlr/render
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/render/interface.h to /usr/local/include/wlr/render
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/render/egl.h to /usr/local/include/wlr/render
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/render/pixman.h to /usr/local/include/wlr/render
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/render/swapchain.h to /usr/local/include/wlr/render
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/render/drm_format_set.h to /usr/local/include/wlr/render
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/render/wlr_renderer.h to /usr/local/include/wlr/render
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/render/vulkan.h to /usr/local/include/wlr/render
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/render/dmabuf.h to /usr/local/include/wlr/render
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/render/wlr_texture.h to /usr/local/include/wlr/render
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/render/allocator.h to /usr/local/include/wlr/render
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/backend/drm.h to /usr/local/include/wlr/backend
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/backend/interface.h to /usr/local/include/wlr/backend
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/backend/multi.h to /usr/local/include/wlr/backend
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/backend/headless.h to /usr/local/include/wlr/backend
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/backend/libinput.h to /usr/local/include/wlr/backend
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/backend/x11.h to /usr/local/include/wlr/backend
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/backend/session.h to /usr/local/include/wlr/backend
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/backend/wayland.h to /usr/local/include/wlr/backend
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/util/region.h to /usr/local/include/wlr/util
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/util/addon.h to /usr/local/include/wlr/util
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/util/log.h to /usr/local/include/wlr/util
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/util/edges.h to /usr/local/include/wlr/util
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/util/box.h to /usr/local/include/wlr/util
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_damage_ring.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_switch.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_fractional_scale_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_relative_pointer_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_output_layer.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_keyboard.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_layer_shell_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_buffer.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_xcursor_manager.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_single_pixel_buffer_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_input_device.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_xdg_activation_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_xdg_shell.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_xdg_decoration_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_touch.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_output.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_primary_selection.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_session_lock_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_scene.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_fullscreen_shell_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_text_input_v3.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_pointer.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_drm_lease_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_cursor.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_input_inhibitor.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_input_method_v2.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_xdg_foreign_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_shm.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_region.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_data_device.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_keyboard_group.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_tablet_v2.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_xdg_foreign_v2.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_linux_dmabuf_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_export_dmabuf_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_matrix.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_tablet_pad.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_output_layout.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_presentation_time.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_keyboard_shortcuts_inhibit_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_compositor.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_screencopy_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_seat.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_tablet_tool.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_content_type_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_output_management_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_virtual_pointer_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_foreign_toplevel_management_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_idle.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_drm.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_viewporter.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_subcompositor.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_data_control_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_xdg_output_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_output_power_management_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_primary_selection_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_pointer_constraints_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_idle_inhibit_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_pointer_gestures_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_gamma_control_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_xdg_foreign_registry.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_output_damage.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_virtual_keyboard_v1.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_server_decoration.h to /usr/local/include/wlr/types
Installing /home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_idle_notify_v1.h to /usr/local/include/wlr/types
Installing libwlroots.so.12032 to /usr/local/lib
Installing /home/koos/apps/Hyprland/subprojects/wlroots/build/include/wlr/config.h to /usr/local/include/wlr
Installing /home/koos/apps/Hyprland/subprojects/wlroots/build/include/wlr/version.h to /usr/local/include/wlr
Installing /home/koos/apps/Hyprland/subprojects/wlroots/build/meson-private/wlroots.pc to /usr/local/lib/pkgconfig
Installing symlink pointing to libwlroots.so.12032 to /usr/local/lib/libwlroots.so
cd subprojects/udis86 && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build -G Ninja && cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
Not searching for unused variables given on the command line.
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/koos/apps/Hyprland/subprojects/udis86/build
ninja: no work to do.
$> make debug
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -S . -B ./build -G Ninja
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 13.1.1
-- The CXX compiler identification is GNU 13.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Gathering git info
-- Found WaylandScanner at /usr/bin/wayland-scanner
-- Found wayland-protocols at //usr/share/wayland-protocols
-- Configuring Hyprland in Debug with CMake
-- Checking deps...
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
-- Found OpenGL: /usr/lib/libOpenGL.so   
-- Checking for modules 'wayland-server;wayland-client;wayland-cursor;wayland-protocols;cairo;libdrm;xkbcommon;libinput;pango;pangocairo;pixman-1'
--   Found wayland-server, version 1.22.0
--   Found wayland-client, version 1.22.0
--   Found wayland-cursor, version 1.22.0
--   Found wayland-protocols, version 1.31
--   Found cairo, version 1.17.8
--   Found libdrm, version 2.4.115
--   Found xkbcommon, version 1.5.0
--   Found libinput, version 1.23.0
--   Found pango, version 1.50.14
--   Found pangocairo, version 1.50.14
--   Found pixman-1, version 0.42.2
-- Setting debug flags
-- Looking for backtrace in execinfo
-- Looking for backtrace in execinfo - not found
-- XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps...
-- Checking for module 'xcb'
--   Found xcb, version 1.15
-- SYSTEMD support is requested (NO_SYSTEMD not defined) checking deps...
-- Checking for module 'libsystemd'
--   Found libsystemd, version 253
-- Looking for systemd/sd-daemon.h
-- Looking for systemd/sd-daemon.h - found
-- Setting link libraries
-- Configuring done (2.3s)
-- Generating done (0.0s)
-- Build files have been written to: /home/koos/apps/Hyprland/build
cmake --build ./build --config Debug --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
[0/2] Re-checking globbed directories...
[1/80] Building CXX object CMakeFiles/Hyprland.dir/src/helpers/BezierCurve.cpp.o
[2/80] Building CXX object CMakeFiles/Hyprland.dir/src/debug/CrashReporter.cpp.o
[3/80] Building CXX object CMakeFiles/Hyprland.dir/src/helpers/AnimatedVariable.cpp.o
[4/80] Building CXX object CMakeFiles/Hyprland.dir/src/helpers/Color.cpp.o
[5/80] Building CXX object CMakeFiles/Hyprland.dir/src/events/Popups.cpp.o
FAILED: CMakeFiles/Hyprland.dir/src/events/Popups.cpp.o 
/usr/bin/c++ -DGIT_BRANCH=\"main\" -DGIT_COMMIT_HASH=\"3229862dd4cbfa93638a4d16ed86ec2fda5d38a6\" -DGIT_COMMIT_MESSAGE="\"    xwayland: guard monitor validity in xwayland scale overriding\"" -DGIT_DIRTY=\"dirty\" -DGIT_TAG=\"v0.27.0-10-g3229862d\" -DHYPRLAND_DEBUG -DHyprland_EXPORTS -DUSES_SYSTEMD -DWLR_USE_UNSTABLE -I/home/koos/apps/Hyprland/. -I/home/koos/apps/Hyprland/subprojects/wlroots/include -I/home/koos/apps/Hyprland/subprojects/wlroots/build/include -I/home/koos/apps/Hyprland/subprojects/udis86 -I/home/koos/apps/Hyprland/protocols -isystem /usr/include/cairo -isystem /usr/include/libpng16 -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/pixman-1 -isystem /usr/include/libdrm -isystem /usr/include/pango-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -g -std=gnu++23 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -pthread -MD -MT CMakeFiles/Hyprland.dir/src/events/Popups.cpp.o -MF CMakeFiles/Hyprland.dir/src/events/Popups.cpp.o.d -o CMakeFiles/Hyprland.dir/src/events/Popups.cpp.o -c /home/koos/apps/Hyprland/src/events/Popups.cpp
/home/koos/apps/Hyprland/src/events/Popups.cpp: In function ‘void createNewPopup(wlr_xdg_popup*, SXDGPopup*)’:
/home/koos/apps/Hyprland/src/events/Popups.cpp:59:85: error: ‘struct wlr_surface::<unnamed>’ has no member named ‘map’
   59 |     pHyprPopup->hyprListener_mapPopupXDG.initCallback(&popup->base->surface->events.map, &Events::listener_mapPopupXDG, pHyprPopup, "HyprPopup");
      |                                                                                     ^~~
/home/koos/apps/Hyprland/src/events/Popups.cpp:60:87: error: ‘struct wlr_surface::<unnamed>’ has no member named ‘unmap’
   60 |     pHyprPopup->hyprListener_unmapPopupXDG.initCallback(&popup->base->surface->events.unmap, &Events::listener_unmapPopupXDG, pHyprPopup, "HyprPopup");
      |                                                                                       ^~~~~
[6/80] Building CXX object CMakeFiles/Hyprland.dir/src/events/Layers.cpp.o
FAILED: CMakeFiles/Hyprland.dir/src/events/Layers.cpp.o 
/usr/bin/c++ -DGIT_BRANCH=\"main\" -DGIT_COMMIT_HASH=\"3229862dd4cbfa93638a4d16ed86ec2fda5d38a6\" -DGIT_COMMIT_MESSAGE="\"    xwayland: guard monitor validity in xwayland scale overriding\"" -DGIT_DIRTY=\"dirty\" -DGIT_TAG=\"v0.27.0-10-g3229862d\" -DHYPRLAND_DEBUG -DHyprland_EXPORTS -DUSES_SYSTEMD -DWLR_USE_UNSTABLE -I/home/koos/apps/Hyprland/. -I/home/koos/apps/Hyprland/subprojects/wlroots/include -I/home/koos/apps/Hyprland/subprojects/wlroots/build/include -I/home/koos/apps/Hyprland/subprojects/udis86 -I/home/koos/apps/Hyprland/protocols -isystem /usr/include/cairo -isystem /usr/include/libpng16 -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/pixman-1 -isystem /usr/include/libdrm -isystem /usr/include/pango-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -g -std=gnu++23 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -pthread -MD -MT CMakeFiles/Hyprland.dir/src/events/Layers.cpp.o -MF CMakeFiles/Hyprland.dir/src/events/Layers.cpp.o.d -o CMakeFiles/Hyprland.dir/src/events/Layers.cpp.o -c /home/koos/apps/Hyprland/src/events/Layers.cpp
/home/koos/apps/Hyprland/src/events/Layers.cpp: In function ‘void Events::listener_newLayerSurface(wl_listener*, void*)’:
/home/koos/apps/Hyprland/src/events/Layers.cpp:47:95: error: ‘struct wlr_surface::<unnamed>’ has no member named ‘map’
   47 |     layerSurface->hyprListener_mapLayerSurface.initCallback(&WLRLAYERSURFACE->surface->events.map, &Events::listener_mapLayerSurface, layerSurface, "layerSurface");
      |                                                                                               ^~~
/home/koos/apps/Hyprland/src/events/Layers.cpp:48:97: error: ‘struct wlr_surface::<unnamed>’ has no member named ‘unmap’
   48 |     layerSurface->hyprListener_unmapLayerSurface.initCallback(&WLRLAYERSURFACE->surface->events.unmap, &Events::listener_unmapLayerSurface, layerSurface, "layerSurface");
      |                                                                                                 ^~~~~
[7/80] Building CXX object CMakeFiles/Hyprland.dir/src/events/Misc.cpp.o
FAILED: CMakeFiles/Hyprland.dir/src/events/Misc.cpp.o 
/usr/bin/c++ -DGIT_BRANCH=\"main\" -DGIT_COMMIT_HASH=\"3229862dd4cbfa93638a4d16ed86ec2fda5d38a6\" -DGIT_COMMIT_MESSAGE="\"    xwayland: guard monitor validity in xwayland scale overriding\"" -DGIT_DIRTY=\"dirty\" -DGIT_TAG=\"v0.27.0-10-g3229862d\" -DHYPRLAND_DEBUG -DHyprland_EXPORTS -DUSES_SYSTEMD -DWLR_USE_UNSTABLE -I/home/koos/apps/Hyprland/. -I/home/koos/apps/Hyprland/subprojects/wlroots/include -I/home/koos/apps/Hyprland/subprojects/wlroots/build/include -I/home/koos/apps/Hyprland/subprojects/udis86 -I/home/koos/apps/Hyprland/protocols -isystem /usr/include/cairo -isystem /usr/include/libpng16 -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/pixman-1 -isystem /usr/include/libdrm -isystem /usr/include/pango-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -g -std=gnu++23 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -pthread -MD -MT CMakeFiles/Hyprland.dir/src/events/Misc.cpp.o -MF CMakeFiles/Hyprland.dir/src/events/Misc.cpp.o.d -o CMakeFiles/Hyprland.dir/src/events/Misc.cpp.o -c /home/koos/apps/Hyprland/src/events/Misc.cpp
/home/koos/apps/Hyprland/src/events/Misc.cpp: In function ‘void Events::listener_startDrag(wl_listener*, void*)’:
/home/koos/apps/Hyprland/src/events/Misc.cpp:115:100: error: ‘struct wlr_surface::<unnamed>’ has no member named ‘map’
  115 |         g_pInputManager->m_sDrag.hyprListener_mapIcon.initCallback(&wlrDrag->icon->surface->events.map, &Events::listener_mapDragIcon, &g_pInputManager->m_sDrag, "DragIcon");
      |                                                                                                    ^~~
/home/koos/apps/Hyprland/src/events/Misc.cpp:116:102: error: ‘struct wlr_surface::<unnamed>’ has no member named ‘unmap’
  116 |         g_pInputManager->m_sDrag.hyprListener_unmapIcon.initCallback(&wlrDrag->icon->surface->events.unmap, &Events::listener_unmapDragIcon, &g_pInputManager->m_sDrag, "DragIcon");
      |                                                                                                      ^~~~~
/home/koos/apps/Hyprland/src/events/Misc.cpp: In function ‘void Events::listener_setGamma(wl_listener*, void*)’:
/home/koos/apps/Hyprland/src/events/Misc.cpp:223:21: error: ‘wlr_gamma_control_manager_v1_set_gamma_event’ was not declared in this scope; did you mean ‘wlr_gamma_control_manager_v1_create’?
  223 |     const auto E = (wlr_gamma_control_manager_v1_set_gamma_event*)data;
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                     wlr_gamma_control_manager_v1_create
/home/koos/apps/Hyprland/src/events/Misc.cpp:223:66: error: expected primary-expression before ‘)’ token
  223 |     const auto E = (wlr_gamma_control_manager_v1_set_gamma_event*)data;
      |                                                                  ^
[8/80] Building CXX object CMakeFiles/Hyprland.dir/src/Window.cpp.o
FAILED: CMakeFiles/Hyprland.dir/src/Window.cpp.o 
/usr/bin/c++ -DGIT_BRANCH=\"main\" -DGIT_COMMIT_HASH=\"3229862dd4cbfa93638a4d16ed86ec2fda5d38a6\" -DGIT_COMMIT_MESSAGE="\"    xwayland: guard monitor validity in xwayland scale overriding\"" -DGIT_DIRTY=\"dirty\" -DGIT_TAG=\"v0.27.0-10-g3229862d\" -DHYPRLAND_DEBUG -DHyprland_EXPORTS -DUSES_SYSTEMD -DWLR_USE_UNSTABLE -I/home/koos/apps/Hyprland/. -I/home/koos/apps/Hyprland/subprojects/wlroots/include -I/home/koos/apps/Hyprland/subprojects/wlroots/build/include -I/home/koos/apps/Hyprland/subprojects/udis86 -I/home/koos/apps/Hyprland/protocols -isystem /usr/include/cairo -isystem /usr/include/libpng16 -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/pixman-1 -isystem /usr/include/libdrm -isystem /usr/include/pango-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -g -std=gnu++23 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -pthread -MD -MT CMakeFiles/Hyprland.dir/src/Window.cpp.o -MF CMakeFiles/Hyprland.dir/src/Window.cpp.o.d -o CMakeFiles/Hyprland.dir/src/Window.cpp.o -c /home/koos/apps/Hyprland/src/Window.cpp
/home/koos/apps/Hyprland/src/Window.cpp: In member function ‘void CWindow::onMap()’:
/home/koos/apps/Hyprland/src/Window.cpp:430:92: error: ‘struct wlr_surface::<unnamed>’ has no member named ‘unmap’
  430 |     hyprListener_unmapWindow.initCallback(m_bIsX11 ? &m_uSurface.xwayland->surface->events.unmap : &m_uSurface.xdg->surface->events.unmap, &Events::listener_unmapWindow, this,
      |                                                                                            ^~~~~
/home/koos/apps/Hyprland/src/Window.cpp:430:133: error: ‘struct wlr_surface::<unnamed>’ has no member named ‘unmap’
  430 |     hyprListener_unmapWindow.initCallback(m_bIsX11 ? &m_uSurface.xwayland->surface->events.unmap : &m_uSurface.xdg->surface->events.unmap, &Events::listener_unmapWindow, this,
      |                                                                                                                                     ^~~~~
[9/80] Building CXX object CMakeFiles/Hyprland.dir/src/events/Windows.cpp.o
FAILED: CMakeFiles/Hyprland.dir/src/events/Windows.cpp.o 
/usr/bin/c++ -DGIT_BRANCH=\"main\" -DGIT_COMMIT_HASH=\"3229862dd4cbfa93638a4d16ed86ec2fda5d38a6\" -DGIT_COMMIT_MESSAGE="\"    xwayland: guard monitor validity in xwayland scale overriding\"" -DGIT_DIRTY=\"dirty\" -DGIT_TAG=\"v0.27.0-10-g3229862d\" -DHYPRLAND_DEBUG -DHyprland_EXPORTS -DUSES_SYSTEMD -DWLR_USE_UNSTABLE -I/home/koos/apps/Hyprland/. -I/home/koos/apps/Hyprland/subprojects/wlroots/include -I/home/koos/apps/Hyprland/subprojects/wlroots/build/include -I/home/koos/apps/Hyprland/subprojects/udis86 -I/home/koos/apps/Hyprland/protocols -isystem /usr/include/cairo -isystem /usr/include/libpng16 -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/pixman-1 -isystem /usr/include/libdrm -isystem /usr/include/pango-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -g -std=gnu++23 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -pthread -MD -MT CMakeFiles/Hyprland.dir/src/events/Windows.cpp.o -MF CMakeFiles/Hyprland.dir/src/events/Windows.cpp.o.d -o CMakeFiles/Hyprland.dir/src/events/Windows.cpp.o -c /home/koos/apps/Hyprland/src/events/Windows.cpp
/home/koos/apps/Hyprland/src/events/Windows.cpp: In function ‘void Events::listener_fullscreenWindow(void*, void*)’:
/home/koos/apps/Hyprland/src/events/Windows.cpp:871:53: error: ‘struct wlr_surface’ has no member named ‘mapped’
  871 |         if (!PWINDOW->m_uSurface.xwayland->surface->mapped)
      |                                                     ^~~~~~
/home/koos/apps/Hyprland/src/events/Windows.cpp: In function ‘void Events::listener_configureX11(void*, void*)’:
/home/koos/apps/Hyprland/src/events/Windows.cpp:966:91: error: ‘struct wlr_surface’ has no member named ‘mapped’
  966 |     if (!PWINDOW->m_uSurface.xwayland->surface || !PWINDOW->m_uSurface.xwayland->surface->mapped || !PWINDOW->m_bMappedX11) {
      |                                                                                           ^~~~~~
/home/koos/apps/Hyprland/src/events/Windows.cpp: In function ‘void Events::listener_associateX11(void*, void*)’:
/home/koos/apps/Hyprland/src/events/Windows.cpp:1073:97: error: ‘struct wlr_surface::<unnamed>’ has no member named ‘map’
 1073 |     PWINDOW->hyprListener_mapWindow.initCallback(&PWINDOW->m_uSurface.xwayland->surface->events.map, &Events::listener_mapWindow, PWINDOW, "XWayland Window");
      |                                                                                                 ^~~
/home/koos/apps/Hyprland/src/events/Windows.cpp: In function ‘void Events::listener_surfaceXWayland(wl_listener*, void*)’:
/home/koos/apps/Hyprland/src/events/Windows.cpp:1097:75: error: ‘struct wlr_xwayland_surface::<unnamed>’ has no member named ‘associate’
 1097 |     PNEWWINDOW->hyprListener_associateX11.initCallback(&XWSURFACE->events.associate, &Events::listener_associateX11, PNEWWINDOW, "XWayland Window");
      |                                                                           ^~~~~~~~~
/home/koos/apps/Hyprland/src/events/Windows.cpp:1098:76: error: ‘struct wlr_xwayland_surface::<unnamed>’ has no member named ‘dissociate’
 1098 |     PNEWWINDOW->hyprListener_dissociateX11.initCallback(&XWSURFACE->events.dissociate, &Events::listener_dissociateX11, PNEWWINDOW, "XWayland Window");
      |                                                                            ^~~~~~~~~~
/home/koos/apps/Hyprland/src/events/Windows.cpp: In function ‘void Events::listener_newXDGSurface(wl_listener*, void*)’:
/home/koos/apps/Hyprland/src/events/Windows.cpp:1116:82: error: ‘struct wlr_surface::<unnamed>’ has no member named ‘map’
 1116 |     PNEWWINDOW->hyprListener_mapWindow.initCallback(&XDGSURFACE->surface->events.map, &Events::listener_mapWindow, PNEWWINDOW, "XDG Window");
      |                                                                                  ^~~
[10/80] Building CXX object CMakeFiles/Hyprland.dir/src/events/Monitors.cpp.o
[11/80] Building CXX object CMakeFiles/Hyprland.dir/src/debug/Log.cpp.o
[12/80] Building CXX object CMakeFiles/Hyprland.dir/src/Compositor.cpp.o
FAILED: CMakeFiles/Hyprland.dir/src/Compositor.cpp.o 
/usr/bin/c++ -DGIT_BRANCH=\"main\" -DGIT_COMMIT_HASH=\"3229862dd4cbfa93638a4d16ed86ec2fda5d38a6\" -DGIT_COMMIT_MESSAGE="\"    xwayland: guard monitor validity in xwayland scale overriding\"" -DGIT_DIRTY=\"dirty\" -DGIT_TAG=\"v0.27.0-10-g3229862d\" -DHYPRLAND_DEBUG -DHyprland_EXPORTS -DUSES_SYSTEMD -DWLR_USE_UNSTABLE -I/home/koos/apps/Hyprland/. -I/home/koos/apps/Hyprland/subprojects/wlroots/include -I/home/koos/apps/Hyprland/subprojects/wlroots/build/include -I/home/koos/apps/Hyprland/subprojects/udis86 -I/home/koos/apps/Hyprland/protocols -isystem /usr/include/cairo -isystem /usr/include/libpng16 -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/pixman-1 -isystem /usr/include/libdrm -isystem /usr/include/pango-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -g -std=gnu++23 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -pthread -MD -MT CMakeFiles/Hyprland.dir/src/Compositor.cpp.o -MF CMakeFiles/Hyprland.dir/src/Compositor.cpp.o.d -o CMakeFiles/Hyprland.dir/src/Compositor.cpp.o -c /home/koos/apps/Hyprland/src/Compositor.cpp
/home/koos/apps/Hyprland/src/Compositor.cpp: In member function ‘void CCompositor::initServer()’:
/home/koos/apps/Hyprland/src/Compositor.cpp:151:63: error: invalid conversion from ‘int’ to ‘wlr_renderer*’ [-fpermissive]
  151 |     m_sWLRCompositor    = wlr_compositor_create(m_sWLDisplay, 6, m_sWLRRenderer);
      |                                                               ^
      |                                                               |
      |                                                               int
/home/koos/apps/Hyprland/src/Compositor.cpp:151:48: error: too many arguments to function ‘wlr_compositor* wlr_compositor_create(wl_display*, wlr_renderer*)’
  151 |     m_sWLRCompositor    = wlr_compositor_create(m_sWLDisplay, 6, m_sWLRRenderer);
      |                           ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/koos/apps/Hyprland/src/includes.hpp:41,
                 from /home/koos/apps/Hyprland/src/defines.hpp:1,
                 from /home/koos/apps/Hyprland/src/Compositor.hpp:7,
                 from /home/koos/apps/Hyprland/src/Compositor.cpp:1:
/home/koos/apps/Hyprland/subprojects/wlroots/include/wlr/types/wlr_compositor.h:329:24: note: declared here
  329 | struct wlr_compositor *wlr_compositor_create(struct wl_display *display,
      |                        ^~~~~~~~~~~~~~~~~~~~~
/home/koos/apps/Hyprland/src/Compositor.cpp: In member function ‘void CCompositor::initAllSignals()’:
/home/koos/apps/Hyprland/src/Compositor.cpp:300:45: error: ‘struct wlr_gamma_control_manager_v1::<unnamed>’ has no member named ‘set_gamma’
  300 |     addWLSignal(&m_sWLRGammaCtrlMgr->events.set_gamma, &Events::listen_setGamma, m_sWLRGammaCtrlMgr, "GammaCtrlMgr");
      |                                             ^~~~~~~~~
/home/koos/apps/Hyprland/src/Compositor.cpp: In member function ‘wlr_surface* CCompositor::vectorToLayerSurface(const Vector2D&, std::vector<std::unique_ptr<SLayerSurface> >*, Vector2D*, SLayerSurface**)’:
/home/koos/apps/Hyprland/src/Compositor.cpp:1005:100: error: ‘struct wlr_surface’ has no member named ‘mapped’
 1005 |         if (ls->fadingOut || !ls->layerSurface || (ls->layerSurface && !ls->layerSurface->surface->mapped) || ls->alpha.fl() == 0.f)
      |                                                                                                    ^~~~~~
[13/80] Building CXX object CMakeFiles/Hyprland.dir/src/debug/HyprNotificationOverlay.cpp.o
[14/80] Building CXX object CMakeFiles/Hyprland.dir/src/events/Devices.cpp.o
[15/80] Building CXX object CMakeFiles/Hyprland.dir/src/debug/HyprDebugOverlay.cpp.o
[16/80] Building CXX object CMakeFiles/Hyprland.dir/src/debug/HyprCtl.cpp.o
[17/80] Building CXX object CMakeFiles/Hyprland.dir/src/helpers/SubsurfaceTree.cpp.o
FAILED: CMakeFiles/Hyprland.dir/src/helpers/SubsurfaceTree.cpp.o 
/usr/bin/c++ -DGIT_BRANCH=\"main\" -DGIT_COMMIT_HASH=\"3229862dd4cbfa93638a4d16ed86ec2fda5d38a6\" -DGIT_COMMIT_MESSAGE="\"    xwayland: guard monitor validity in xwayland scale overriding\"" -DGIT_DIRTY=\"dirty\" -DGIT_TAG=\"v0.27.0-10-g3229862d\" -DHYPRLAND_DEBUG -DHyprland_EXPORTS -DUSES_SYSTEMD -DWLR_USE_UNSTABLE -I/home/koos/apps/Hyprland/. -I/home/koos/apps/Hyprland/subprojects/wlroots/include -I/home/koos/apps/Hyprland/subprojects/wlroots/build/include -I/home/koos/apps/Hyprland/subprojects/udis86 -I/home/koos/apps/Hyprland/protocols -isystem /usr/include/cairo -isystem /usr/include/libpng16 -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/pixman-1 -isystem /usr/include/libdrm -isystem /usr/include/pango-1.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi -g -std=gnu++23 -Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -pthread -MD -MT CMakeFiles/Hyprland.dir/src/helpers/SubsurfaceTree.cpp.o -MF CMakeFiles/Hyprland.dir/src/helpers/SubsurfaceTree.cpp.o.d -o CMakeFiles/Hyprland.dir/src/helpers/SubsurfaceTree.cpp.o -c /home/koos/apps/Hyprland/src/helpers/SubsurfaceTree.cpp
/home/koos/apps/Hyprland/src/helpers/SubsurfaceTree.cpp: In function ‘void Events::listener_newSubsurfaceNode(void*, void*)’:
/home/koos/apps/Hyprland/src/helpers/SubsurfaceTree.cpp:153:81: error: ‘struct wlr_surface::<unnamed>’ has no member named ‘map’
  153 |     PNEWSUBSURFACE->hyprListener_map.initCallback(&PSUBSURFACE->surface->events.map, &Events::listener_mapSubsurface, PNEWSUBSURFACE, "Subsurface");
      |                                                                                 ^~~
/home/koos/apps/Hyprland/src/helpers/SubsurfaceTree.cpp:154:83: error: ‘struct wlr_surface::<unnamed>’ has no member named ‘unmap’
  154 |     PNEWSUBSURFACE->hyprListener_unmap.initCallback(&PSUBSURFACE->surface->events.unmap, &Events::listener_unmapSubsurface, PNEWSUBSURFACE, "Subsurface");
      |                                                                                   ^~~~~
/home/koos/apps/Hyprland/src/helpers/SubsurfaceTree.cpp:159:31: error: ‘struct wlr_surface’ has no member named ‘mapped’
  159 |     if (PSUBSURFACE->surface->mapped)
      |                               ^~~~~~
[18/80] Building CXX object CMakeFiles/Hyprland.dir/src/helpers/MiscFunctions.cpp.o
[19/80] Building CXX object CMakeFiles/Hyprland.dir/src/helpers/Monitor.cpp.o
[20/80] Building CXX object CMakeFiles/Hyprland.dir/src/config/ConfigManager.cpp.o
ninja: build stopped: subcommand failed.
make: *** [Makefile:17: debug] Error 1
IceDBorn commented 1 year ago

I don't know if this is related to the problem with toggling the fullscreen state of windows while screensharing, but latest git fixed that problem for me and I don't get any crashes at all! NixOS, RX 6600, Mesa 23.1.3

kooskaspers commented 1 year ago

I don't know if this is related to the problem with toggling the fullscreen state of windows while screensharing, but latest git fixed that problem for me and I don't get any crashes at all! NixOS, RX 6600, Mesa 23.1.3

Hmm, I'm kind of having the same impression. No crash so far.

vaxerski commented 1 year ago

@kooskaspers you probably forgot to git submodule update --init, this is a mismatched wlr ver issue

o-dasher commented 1 year ago

Same is happening to me, i tried both screensharing through firefox and obs, both are crashing hyprland.

kooskaspers commented 1 year ago

I don't know if this is related to the problem with toggling the fullscreen state of windows while screensharing, but latest git fixed that problem for me and I don't get any crashes at all! NixOS, RX 6600, Mesa 23.1.3

Hmm, I'm kind of having the same impression. No crash so far.

Nope, still same issue. Will go ahead with the debugging and post back the results.

kooskaspers commented 1 year ago

@kooskaspers you probably forgot to git submodule update --init, this is a mismatched wlr ver issue

Ran that command before make debug, but to no avail:

Not searching for unused variables given on the command line.
-- Gathering git info
-- Found WaylandScanner at /usr/bin/wayland-scanner
-- Found wayland-protocols at //usr/share/wayland-protocols
-- Configuring Hyprland in Debug with CMake
-- Checking deps...
-- Setting debug flags
-- XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps...
-- SYSTEMD support is requested (NO_SYSTEMD not defined) checking deps...
-- Setting link libraries
-- Configuring done (0.1s)
-- Generating done (0.0s)
-- Build files have been written to: /home/koos/apps/Hyprland/build
cmake --build ./build --config Debug --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
[0/2] Re-checking globbed directories...
[1/17] Building C object CMakeFiles/Hyprland.dir/protocols/ext-workspace-unstable-v1-protocol.c.o
[2/17] Building C object CMakeFiles/Hyprland.dir/protocols/wlr-layer-shell-unstable-v1-protocol.c.o
[3/17] Building C object CMakeFiles/Hyprland.dir/protocols/xdg-output-unstable-v1-protocol.c.o
[4/17] Building C object CMakeFiles/Hyprland.dir/protocols/hyprland-toplevel-export-v1-protocol.c.o
[5/17] Building C object CMakeFiles/Hyprland.dir/protocols/wlr-foreign-toplevel-management-unstable-v1-protocol.c.o
[6/17] Building C object CMakeFiles/Hyprland.dir/protocols/pointer-constraints-unstable-v1-protocol.c.o
[7/17] Building C object CMakeFiles/Hyprland.dir/protocols/xdg-shell-protocol.c.o
[8/17] Building C object CMakeFiles/Hyprland.dir/protocols/tablet-unstable-v2-protocol.c.o
[9/17] Building C object CMakeFiles/Hyprland.dir/protocols/wlr-screencopy-unstable-v1-protocol.c.o
[10/17] Building C object CMakeFiles/Hyprland.dir/protocols/idle-protocol.c.o
[11/17] Building C object CMakeFiles/Hyprland.dir/protocols/linux-dmabuf-unstable-v1-protocol.c.o
[12/17] Building C object CMakeFiles/Hyprland.dir/protocols/wlr-output-power-management-unstable-v1-protocol.c.o
[13/17] Building C object CMakeFiles/Hyprland.dir/protocols/hyprland-global-shortcuts-v1-protocol.c.o
[14/17] Building C object CMakeFiles/Hyprland.dir/protocols/text-input-unstable-v1-protocol.c.o
[15/17] Building C object CMakeFiles/Hyprland.dir/protocols/fractional-scale-v1-protocol.c.o
[16/17] Building CXX object CMakeFiles/Hyprland.dir/src/managers/XWaylandManager.cpp.o
[17/17] Linking CXX executable Hyprland
FAILED: Hyprland 
: && /usr/bin/c++ -g -Wl,--export-dynamic -rdynamic  -rdynamic CMakeFiles/Hyprland.dir/src/Compositor.cpp.o CMakeFiles/Hyprland.dir/src/Window.cpp.o CMakeFiles/Hyprland.dir/src/config/ConfigManager.cpp.o CMakeFiles/Hyprland.dir/src/debug/CrashReporter.cpp.o CMakeFiles/Hyprland.dir/src/debug/HyprCtl.cpp.o CMakeFiles/Hyprland.dir/src/debug/HyprDebugOverlay.cpp.o CMakeFiles/Hyprland.dir/src/debug/HyprNotificationOverlay.cpp.o CMakeFiles/Hyprland.dir/src/debug/Log.cpp.o CMakeFiles/Hyprland.dir/src/events/Devices.cpp.o CMakeFiles/Hyprland.dir/src/events/Layers.cpp.o CMakeFiles/Hyprland.dir/src/events/Misc.cpp.o CMakeFiles/Hyprland.dir/src/events/Monitors.cpp.o CMakeFiles/Hyprland.dir/src/events/Popups.cpp.o CMakeFiles/Hyprland.dir/src/events/Windows.cpp.o CMakeFiles/Hyprland.dir/src/helpers/AnimatedVariable.cpp.o CMakeFiles/Hyprland.dir/src/helpers/BezierCurve.cpp.o CMakeFiles/Hyprland.dir/src/helpers/Color.cpp.o CMakeFiles/Hyprland.dir/src/helpers/MiscFunctions.cpp.o CMakeFiles/Hyprland.dir/src/helpers/Monitor.cpp.o CMakeFiles/Hyprland.dir/src/helpers/SubsurfaceTree.cpp.o CMakeFiles/Hyprland.dir/src/helpers/Timer.cpp.o CMakeFiles/Hyprland.dir/src/helpers/Vector2D.cpp.o CMakeFiles/Hyprland.dir/src/helpers/WLClasses.cpp.o CMakeFiles/Hyprland.dir/src/helpers/WLListener.cpp.o CMakeFiles/Hyprland.dir/src/helpers/WLSurface.cpp.o CMakeFiles/Hyprland.dir/src/helpers/Workspace.cpp.o CMakeFiles/Hyprland.dir/src/hyprerror/HyprError.cpp.o CMakeFiles/Hyprland.dir/src/init/initHelpers.cpp.o CMakeFiles/Hyprland.dir/src/layout/DwindleLayout.cpp.o CMakeFiles/Hyprland.dir/src/layout/IHyprLayout.cpp.o CMakeFiles/Hyprland.dir/src/layout/MasterLayout.cpp.o CMakeFiles/Hyprland.dir/src/main.cpp.o CMakeFiles/Hyprland.dir/src/managers/AnimationManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/EventManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/HookSystemManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/KeybindManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/LayoutManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/ProtocolManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/SessionLockManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/ThreadManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/XWaylandManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/input/IdleInhibitor.cpp.o CMakeFiles/Hyprland.dir/src/managers/input/InputManager.cpp.o CMakeFiles/Hyprland.dir/src/managers/input/InputMethodRelay.cpp.o CMakeFiles/Hyprland.dir/src/managers/input/Swipe.cpp.o CMakeFiles/Hyprland.dir/src/managers/input/Tablets.cpp.o CMakeFiles/Hyprland.dir/src/managers/input/Touch.cpp.o CMakeFiles/Hyprland.dir/src/plugins/HookSystem.cpp.o CMakeFiles/Hyprland.dir/src/plugins/PluginAPI.cpp.o CMakeFiles/Hyprland.dir/src/plugins/PluginSystem.cpp.o CMakeFiles/Hyprland.dir/src/protocols/FractionalScale.cpp.o CMakeFiles/Hyprland.dir/src/protocols/GlobalShortcuts.cpp.o CMakeFiles/Hyprland.dir/src/protocols/Screencopy.cpp.o CMakeFiles/Hyprland.dir/src/protocols/TextInputV1.cpp.o CMakeFiles/Hyprland.dir/src/protocols/ToplevelExport.cpp.o CMakeFiles/Hyprland.dir/src/render/Framebuffer.cpp.o CMakeFiles/Hyprland.dir/src/render/OpenGL.cpp.o CMakeFiles/Hyprland.dir/src/render/Renderer.cpp.o CMakeFiles/Hyprland.dir/src/render/Shader.cpp.o CMakeFiles/Hyprland.dir/src/render/Texture.cpp.o CMakeFiles/Hyprland.dir/src/render/decorations/CHyprDropShadowDecoration.cpp.o CMakeFiles/Hyprland.dir/src/render/decorations/CHyprGroupBarDecoration.cpp.o CMakeFiles/Hyprland.dir/src/render/decorations/IHyprWindowDecoration.cpp.o CMakeFiles/Hyprland.dir/src/wlrunstable/wlr_ext_workspace_v1.cpp.o CMakeFiles/Hyprland.dir/protocols/ext-workspace-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/idle-protocol.c.o CMakeFiles/Hyprland.dir/protocols/pointer-constraints-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/tablet-unstable-v2-protocol.c.o CMakeFiles/Hyprland.dir/protocols/wlr-foreign-toplevel-management-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/wlr-layer-shell-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/wlr-output-power-management-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/wlr-screencopy-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/hyprland-global-shortcuts-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/hyprland-toplevel-export-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/xdg-shell-protocol.c.o CMakeFiles/Hyprland.dir/protocols/linux-dmabuf-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/xdg-output-unstable-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/fractional-scale-v1-protocol.c.o CMakeFiles/Hyprland.dir/protocols/text-input-unstable-v1-protocol.c.o -o Hyprland  -Wl,-rpath,/home/koos/apps/Hyprland/subprojects/wlroots/build  -lsystemd  -lrt  /home/koos/apps/Hyprland/subprojects/wlroots/build/libwlroots.so.12032  /usr/lib/libEGL.so  /home/koos/apps/Hyprland/subprojects/udis86/build/libudis86/liblibudis86.a  /usr/lib/libxcb.so  /usr/lib/libwayland-server.so  /usr/lib/libwayland-client.so  /usr/lib/libwayland-cursor.so  /usr/lib/libdrm.so  /usr/lib/libxkbcommon.so  /usr/lib/libinput.so  /usr/lib/libpangocairo-1.0.so  /usr/lib/libpango-1.0.so  /usr/lib/libgobject-2.0.so  /usr/lib/libglib-2.0.so  /usr/lib/libharfbuzz.so  /usr/lib/libcairo.so  /usr/lib/libpixman-1.so  /usr/lib/libGLX.so  /usr/lib/libOpenGL.so && :
/usr/bin/ld: CMakeFiles/Hyprland.dir/src/render/Renderer.cpp.o: in function `CHyprRenderer::renderMonitor(CMonitor*)':
/home/koos/apps/Hyprland/src/render/Renderer.cpp:873: undefined reference to `wlr_gamma_control_manager_v1_get_control'
/usr/bin/ld: /home/koos/apps/Hyprland/src/render/Renderer.cpp:875: undefined reference to `wlr_gamma_control_v1_apply'
/usr/bin/ld: /home/koos/apps/Hyprland/src/render/Renderer.cpp:883: undefined reference to `wlr_gamma_control_v1_send_failed_and_destroy'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ErkSterk commented 1 year ago

I have the same issue, I have noticed it happens when screensharing has been running for a while and seems to trigger when i exit fullscreen or move my mouse over to my other monitor to use another application. I am running 0.27.0-1 on Arch.

vaxerski commented 1 year ago

@ErkSterk build in debug, get the crash, then

coredumpctl

find the pid of the last crash of hyprland (press end to go to the bottom)

coredumpctl debug <pid>

do c if it asks about paging and y if it asks about symbols

when you get to (gdb) do bt -full and post the output here

vaxerski commented 1 year ago

can someone check this on current -git with today's patches?

kooskaspers commented 1 year ago

can someone check this on current -git with today's patches?

For sure, will test on hyprland-git-0.27.0.r24.16fd9084-1.

ErkSterk commented 1 year ago

Installed hyprland-git-0.27.0.r25.08310b4a-1 from aur. Been screensharing for roughly 30 minutes and no crash yet. I will keep you updated and get logs and the requested dumps if i end up crashing later :)

kooskaspers commented 1 year ago

Same experience here. Looks promising @vaxerski.

alba4k commented 1 year ago

Crashing immediatly after selecting what to share for me (0.27.0.r25.08310b4a-1)

vaxerski commented 1 year ago

@alba4k https://github.com/hyprwm/Hyprland/issues/2688#issuecomment-1638936626 then please

alba4k commented 1 year ago
#0  __pthread_kill_implementation
    (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0)
    at pthread_kill.c:44
        tid = <optimized out>
        ret = 0
        pd = <optimized out>
        old_mask = {__val = {3544667369688283184}}
        ret = <optimized out>
#1  0x00007f63217b22d3 in __pthread_kill_internal (signo=6, threadid=<optimized out>)
    at pthread_kill.c:78
#2  0x00007f6321762a08 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
        ret = <optimized out>
#3  0x00007f632174b538 in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x20, sa_sigaction = 0x20}, sa_mask = {__val = {3834028060872880693, 4122262835138213429, 3690192153011957814, 3978426927277290550, 3546356245318744118, 3834591019416367671, 4122825793681700407, 3690755111555444792, 3978989885820777528, 3546919203862231096, 3835153977959854649, 4123388752225187385, 1288490188800, 3, 15191087453199080448, 25769803781}}, sa_flags = 6, sa_restorer = 0x7f632089c980}
#4  0x000055a7f91914ea in  ()
#5  0x00007f6321762ab0 in <signal handler called> () at /usr/lib/libc.so.6
#6  __pthread_kill_implementation
    (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0)
    at pthread_kill.c:44
        tid = <optimized out>
        ret = 0
        pd = <optimized out>
        old_mask = {__val = {94179972100384}}
        ret = <optimized out>
#7  0x00007f63217b22d3 in __pthread_kill_internal (signo=6, threadid=<optimized out>)
    at pthread_kill.c:78
#8  0x00007f6321762a08 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
        ret = <optimized out>
#9  0x00007f632174b538 in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x20, sa_sigaction = 0x20}, sa_mask = {__val = {94179928449720, 3669, 94179928450336, 1969, 85, 94179958996528, 140063749500094, 0, 140063741594584, 94179972049696, 0, 94179960119008, 140063749804862, 94179960119008, 94179977292944, 140727526025824}}, sa_flags = 571292491, sa_restorer = 0x1}
#10 0x00007f6321add3b2 in std::__glibcxx_assert_fail(char const*, int, char const*, char const*)
    (file=<optimized out>, line=<optimized out>, function=<optimized out>, condition=<optimized out>) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/debug.cc:61
#11 0x000055a7f92a8a78 in  ()
#12 0x000055a7f92a96f2 in CScreencopyProtocolManager::shareFrame(SScreencopyFrame*) ()
#13 0x000055a7f92aac3d in CScreencopyProtocolManager::shareAllFrames(CMonitor*, bool) ()
#14 0x000055a7f92ab09a in CScreencopyProtocolManager::onOutputCommit(CMonitor*, wlr_output_event_commit*) ()
#15 0x000055a7f923d980 in handleWrapped(wl_listener*, void*) ()
#16 0x00007f632205301e in wl_signal_emit_mutable
vaxerski commented 1 year ago

Thanks. Could you also apply this patch and give me the log of a crashing session?

patch.txt

alba4k commented 1 year ago

Sorry, would you mind clarifying on how to do that? I'm struggling to find something online

I'm guessing patch src/protocols/Screencopy.cpp patch.txt (inside of the root of the repo)?

Also, I'm experiencing some other weird behaivour where the recording sometimes works, sometimes crashes as soon as I close the xdph dialog, and sometimes just shows a black screen without even opening the xdph dialog (until I manually restart xdp and xdph)

vaxerski commented 1 year ago

patch -p1 < /path/to/patch in the repo clone

Also, I'm experiencing some other weird behaivour where the recording sometimes works, sometimes crashes as soon as I close the xdph dialog, and sometimes just shows a black screen without even opening the xdph dialog (until I manually restart xdp and xdph)

haunted dbus

alba4k commented 1 year ago

give me the log of a crashing session

No sessions seem to crash anymore. Could be luck, or maybe that fixed the issue?

patch also complained a bit, but Screencpy.cpp still got changed

patching file src/protocols/Screencopy.cpp
File subprojects/wlroots is not a regular file -- refusing to patch
1 out of 1 hunk ignored -- saving rejects to file subprojects/wlroots.rej

haunted dbus

dbus-broker, maybe that's the issue? [edit: nope ahah]

vaxerski commented 1 year ago

ignore the wlroots part. The patch only added a few logs. Odd.

alba4k commented 1 year ago

That's weird.

Anyway, removing the files in /usr/local/bin indeed makes Hyprland start crashing again, which seems to suggest that that manually installed patch did indeed fix something

vaxerski commented 1 year ago

I am guessing a race / memory issue then, although unforto ASan for me does not complain. Keep the patch in case it crashes again.

alba4k commented 1 year ago

I would have kept the patch anyway, but I will update this issue in case I ever get a crash.

Incognitux commented 1 year ago

I am having an issue where selecting the screen using slurp (for screenshotting) causes my whole system to freeze and I need to hard reboot to get out of the state. I applied the patch and that seems to have fixed the issue for now.

Incognitux commented 1 year ago

So the issue still seems to be happening when my system memory usage is high (I have observed 50%+ on a system with 4gb ram). Works as expected when memory usage is low.

nimaaskarian commented 1 year ago

I believe that the issue is fixed using this patch. Just normal build procedure, but applied the patch before building. Note that I've just used the patch for just an hour. Since there's a high possibility of a race condition, I think we should call it when its completely stable for like a day? but its been good for me.

JustSimplyKyle commented 1 year ago

FINALLY I have made hyprland crash while using the patch! coredump: https://c-v.sh/aloneshackle.txt hyprlandd.log

vaxerski commented 1 year ago

due to a log from @JustSimplyKyle I have modernized a bit the shm copy (hm)

b8a7b090927de245ce9271d115b5bff459810a1a

new patch for logs if anything crashes after that patch.txt

cluac7 commented 1 year ago

Hi uh I just used this patch since I've been having the same issue of Hyprland instantly crashing whenever screensharing to OBS/Firefox/Discord yet the issue is persisting for me. To be clear I used the manual build instructions from the Hyprland wiki and before sudo make installing I ran patch -p1 < /path/to/patch. After applying the patch, Hyprland now crashes after about 30s.

If it helps here is my Hyprland Crash Report and here is my coredumpctl

vaxerski commented 1 year ago

use the new patch I posted here https://github.com/hyprwm/Hyprland/issues/2688#issuecomment-1641830658 and give me the crash report pls thanks

cluac7 commented 1 year ago

Thanks I just patched, sudo make installed and rebooted. Here's the coredumpctl OBS still crashes when i add the "Screen Capture (Pipewire)" video source, but I noticed a new one "Wayland Output(dmabuf)" showed up and that one works completely fine (at least for the few minutes I tested). Maybe a pipewire issue then?

Also btw webcord now just shows a blank black square and the change window button just stops the screenshare (though I guess thats an XWaylandvideobridge/discord using Xorg issue).

JustSimplyKyle commented 1 year ago

crash report: https://c-v.sh/clanklessrater.txt log: https://c-v.sh/houseboundwielders.txt coredumpctl: https://c-v.sh/terbicalmug.txt

vaxerski commented 1 year ago

patch.txt

huh, try this patch then, might fix it

edit: wait nvm, sec

patch.txt fixed patch, please try this one

cluac7 commented 1 year ago

Hmm that patch just fails entirely for me:

Hyprland  main 🞈 patch -p1 < ~/Downloads/patch\(4\).txt
patching file src/protocols/Screencopy.cpp
Hunk #1 FAILED at 405.
1 out of 1 hunk FAILED -- saving rejects to file src/protocols/Screencopy.cpp.rej
vaxerski commented 1 year ago

make sure you are on latest git

vaxerski commented 1 year ago

check the patch, committed to main: aac75ddcbf34513df06ba06b71b512fc86e45eda

cluac7 commented 1 year ago

So I can just update the Hyprland-git package now and it will update over the top of the patched ones I sudo make installed just then?

vaxerski commented 1 year ago

it should.

vaxerski commented 1 year ago

based on 2 testimonies, I am closing this as fixed :) aac75ddcbf34513df06ba06b71b512fc86e45eda