Closed SMGttv closed 4 days ago
why not use pipewire screen capture? also Hyprland is moving away from wlroots so this might be completely broken in the future
why not use pipewire screen capture? also Hyprland is moving away from wlroots so this might be completely broken in the future
I just have found the wlrobs to be more efficient in capturing the desktop in my experiance. I may have to fall back on the pipewire screen capture if moving away from wlroots does break this.
post WAYLAND_DEBUG=1 logs of obs when it crashes
uuuh wlr-export-dmabuf-unstable-v1 isn't registered on git and thats what wlrobs-hg uses
[3393879.672] wl_display#1.get_registry(new id wl_registry#2)
[3393879.683] -> wl_registry#2.global(1, "wl_seat", 9)
[3393879.686] -> wl_registry#2.global(2, "wl_data_device_manager", 3)
[3393879.689] -> wl_registry#2.global(3, "wl_compositor", 6)
[3393879.690] -> wl_registry#2.global(4, "wl_subcompositor", 1)
[3393879.692] -> wl_registry#2.global(5, "wl_shm", 1)
[3393879.694] -> wl_registry#2.global(6, "wp_viewporter", 1)
[3393879.696] -> wl_registry#2.global(7, "wp_tearing_control_manager_v1", 1)
[3393879.698] -> wl_registry#2.global(8, "wp_fractional_scale_manager_v1", 1)
[3393879.699] -> wl_registry#2.global(9, "zxdg_output_manager_v1", 3)
[3393879.701] -> wl_registry#2.global(10, "wp_cursor_shape_manager_v1", 1)
[3393879.703] -> wl_registry#2.global(11, "zwp_idle_inhibit_manager_v1", 1)
[3393879.705] -> wl_registry#2.global(12, "zwp_relative_pointer_manager_v1", 1)
[3393879.707] -> wl_registry#2.global(13, "zxdg_decoration_manager_v1", 1)
[3393879.708] -> wl_registry#2.global(14, "wp_alpha_modifier_v1", 1)
[3393879.710] -> wl_registry#2.global(15, "zwlr_gamma_control_manager_v1", 1)
[3393879.712] -> wl_registry#2.global(16, "ext_foreign_toplevel_list_v1", 1)
[3393879.714] -> wl_registry#2.global(17, "zwp_pointer_gestures_v1", 3)
[3393879.716] -> wl_registry#2.global(18, "zwlr_foreign_toplevel_manager_v1", 3)
[3393879.718] -> wl_registry#2.global(19, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[3393879.719] -> wl_registry#2.global(20, "zwp_text_input_manager_v3", 1)
[3393879.721] -> wl_registry#2.global(21, "zwp_pointer_constraints_v1", 1)
[3393879.723] -> wl_registry#2.global(22, "zwlr_output_power_manager_v1", 1)
[3393879.724] -> wl_registry#2.global(23, "xdg_activation_v1", 1)
[3393879.726] -> wl_registry#2.global(24, "ext_idle_notifier_v1", 1)
[3393879.728] -> wl_registry#2.global(25, "ext_session_lock_manager_v1", 1)
[3393879.730] -> wl_registry#2.global(26, "zwp_input_method_manager_v2", 1)
[3393879.731] -> wl_registry#2.global(27, "zwp_virtual_keyboard_manager_v1", 1)
[3393879.733] -> wl_registry#2.global(28, "zwlr_virtual_pointer_manager_v1", 2)
[3393879.735] -> wl_registry#2.global(29, "zwlr_output_manager_v1", 4)
[3393879.737] -> wl_registry#2.global(30, "org_kde_kwin_server_decoration_manager", 1)
[3393879.739] -> wl_registry#2.global(31, "hyprland_focus_grab_manager_v1", 1)
[3393879.741] -> wl_registry#2.global(32, "zwp_tablet_manager_v2", 1)
[3393879.742] -> wl_registry#2.global(33, "zwlr_layer_shell_v1", 5)
[3393879.744] -> wl_registry#2.global(34, "wp_presentation", 1)
[3393879.746] -> wl_registry#2.global(35, "xdg_wm_base", 6)
[3393879.748] -> wl_registry#2.global(36, "zwlr_data_control_manager_v1", 2)
[3393879.750] -> wl_registry#2.global(37, "zwp_primary_selection_device_manager_v1", 1)
[3393879.751] -> wl_registry#2.global(38, "xwayland_shell_v1", 1)
[3393879.753] -> wl_registry#2.global(39, "wl_drm", 2)
[3393879.755] -> wl_registry#2.global(40, "zwp_linux_dmabuf_v1", 5)
[3393879.757] -> wl_registry#2.global(41, "hyprland_toplevel_export_manager_v1", 2)
[3393879.759] -> wl_registry#2.global(42, "zwp_text_input_manager_v1", 1)
[3393879.760] -> wl_registry#2.global(43, "hyprland_global_shortcuts_manager_v1", 1)
[3393879.762] -> wl_registry#2.global(44, "zwlr_screencopy_manager_v1", 3)
[3393879.764] -> wl_registry#2.global(45, "wp_drm_lease_device_v1", 1)
[3393879.766] -> wl_registry#2.global(46, "wl_output", 4)
[3393879.767] -> wl_registry#2.global(47, "wl_output", 4)
unlucky
Regression?
Yes
System Info and Version
System/Version info
```shDescription
After updating to the latest version of hyprland from 0.40, OBS crashes when trying to use a scene with the wlrobs-hg source in it. wlrobs-hg is an obs studio plugin that allows you to screen capture on wlroots-based Wayland compositors. I was working in 0.40 and now OBS crashes after updating.
How to reproduce
Crash reports, logs, images, videos
Terminal entry on crash:
Segmentation fault (core dumped)