Closed AmitGolden closed 1 year ago
@AmitGolden the log shows this[ERR] Cannot mirror self!
this monitor=,preferred,auto,1,mirror,eDP-1
should be monitor=,preferred,auto,1
@AmitGolden the log shows this
[ERR] Cannot mirror self!
thismonitor=,preferred,auto,1,mirror,eDP-1
should bemonitor=,preferred,auto,1
monitor=,preferred,auto,1,mirror,DP-1
This is taken directly from the wiki: https://wiki.hyprland.org/Configuring/Monitors/
@AmitGolden yeah but I don't know if you noticed but there are 3 displays mentioned DP-1, DP-2, and DP-3
[ERR] Cannot mirror self!
pretty self-explanatory.
I don't get it. If so how could I mirror eDP-1 on HDMI-A-2?
@AmitGolden
I don't get it.
monitor=DP-3,1920x1080@60,0x0,1,mirror,DP-2
means: mirror the display content from DP-2 on DP-3
monitor=,preferred,auto,1,mirror,DP-1
means: mirror the display content of DP-1 on the main monitor
@AmitGolden
If so how could I mirror eDP-1 on HDMI-A-2?
try this and see...😀
monitor=HDMI-A-2,preferred,auto,1,mirror,eDP-1
monitor=,preferred,auto,1
Wait
I tried doing the opposite - monitor=eDP-1,preferred,auto,1,mirror,HDMI-A-2
But it still didn't work.
But if monitor=,preferred,auto,1,mirror,DP-1
really does mirror a screen onto itself, why is it trying to achieve? Why is it on the wiki?
@AmitGolden try this and see...😀
monitor=HDMI-A-2,preferred,auto,1,mirror,eDP-1 monitor=,preferred,auto,1
Ohhhhhh Ill try! Thank you!
@AmitGolden yw!! 😁
@AmitGolden
If so how could I mirror eDP-1 on HDMI-A-2?
try this and see...😀
monitor=HDMI-A-2,preferred,auto,1,mirror,eDP-1 monitor=,preferred,auto,1
Well sadly this still doesn't work...
@AmitGolden
Well sadly this still doesn't work...
uh ok....and did it crash again?
@AmitGolden
Well sadly this still doesn't work...
uh ok....and did it crash again?
Yeah, exactly as before
@AmitGolden does v0.15.2beta work?
@AmitGolden does v0.15.2beta work?
Nope... Crashes same as before :(
But I was able to get some more logs:
00:00:00.033 [INFO] [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
00:00:00.033 [INFO] [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
00:00:00.045 [INFO] [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind'
00:00:00.045 [INFO] [backend/session/session.c:109] Successfully loaded libseat session
00:00:00.050 [INFO] [backend/backend.c:220] Found 1 GPUs
00:00:00.050 [INFO] [backend/drm/backend.c:202] Initializing DRM backend for /dev/dri/card1 (i915)
00:00:00.050 [INFO] [backend/drm/drm.c:253] Found 3 DRM CRTCs
00:00:00.050 [INFO] [backend/drm/drm.c:180] Found 9 DRM planes
00:00:00.060 [INFO] [render/egl.c:192] Supported EGL client extensions: EGL_EXT_platform_base EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_KHR_platform_x11 EGL_EXT_platform_x11 EGL_EXT_platform_device EGL_KHR_platform_wayland EGL_EXT_platform_wayland EGL_KHR_platform_gbm EGL_MESA_platform_gbm EGL_EXT_platform_xcb EGL_MESA_platform_surfaceless
00:00:00.110 [INFO] [render/egl.c:338] Using EGL 1.5
00:00:00.110 [INFO] [render/egl.c:339] Supported EGL display extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display
00:00:00.110 [INFO] [render/egl.c:341] Supported EGL device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node
00:00:00.110 [INFO] [render/egl.c:343] EGL vendor: Mesa Project
00:00:00.114 [INFO] [render/gles2/renderer.c:717] Creating GLES2 renderer
00:00:00.114 [INFO] [render/gles2/renderer.c:718] Using OpenGL ES 3.2 Mesa 22.2.1
00:00:00.114 [INFO] [render/gles2/renderer.c:719] GL vendor: Intel
00:00:00.114 [INFO] [render/gles2/renderer.c:720] GL renderer: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
00:00:00.114 [INFO] [render/gles2/renderer.c:721] Supported GLES2 extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_INTEL_conservative_rasterization GL_INTEL_performance_query GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_buffer_storage GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_shader_samples_identical GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_NV_fragment_shader_interlock GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render GL_MESA_framebuffer_flip_y GL_NV_compute_shader_derivatives GL_EXT_demote_to_helper_invocation GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra
00:00:00.179 [ERROR] [xwayland/sockets.c:63] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
00:00:00.434 [INFO] [backend/drm/drm.c:1127] Scanning DRM connectors on /dev/dri/card1
00:00:00.435 [INFO] [backend/drm/drm.c:1198] Found connector 'eDP-1'
00:00:00.435 [INFO] [backend/drm/drm.c:1234] 'eDP-1' connected
00:00:00.435 [INFO] [backend/drm/drm.c:1245] Physical size: 310x170
00:00:00.435 [INFO] [backend/drm/drm.c:1315] Detected modes:
00:00:00.435 [INFO] [backend/drm/drm.c:1343] 1920x1080@60012 (preferred)
00:00:00.435 [INFO] [backend/drm/drm.c:1198] Found connector 'DP-1'
00:00:00.585 [INFO] [backend/drm/drm.c:1198] Found connector 'HDMI-A-1'
00:00:00.613 [INFO] [backend/drm/drm.c:1198] Found connector 'HDMI-A-2'
00:00:00.613 [INFO] [backend/drm/drm.c:1234] 'HDMI-A-2' connected
00:00:00.613 [INFO] [backend/drm/drm.c:1245] Physical size: 1600x900
00:00:00.613 [INFO] [backend/drm/drm.c:1315] Detected modes:
00:00:00.613 [INFO] [backend/drm/drm.c:1343] 4096x2160@30000
00:00:00.613 [INFO] [backend/drm/drm.c:1343] 4096x2160@29970
00:00:00.613 [INFO] [backend/drm/drm.c:1343] 4096x2160@25000
00:00:00.613 [INFO] [backend/drm/drm.c:1343] 4096x2160@24000
00:00:00.613 [INFO] [backend/drm/drm.c:1343] 4096x2160@23976
00:00:00.613 [INFO] [backend/drm/drm.c:1343] 3840x2160@30000
00:00:00.613 [INFO] [backend/drm/drm.c:1343] 3840x2160@29970
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 3840x2160@25000
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 3840x2160@24000
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 3840x2160@23976
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 1920x1080@60000
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 1920x1080@60000
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 1920x1080@59940
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 1920x1080@50000
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 1920x1080@30000
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 1920x1080@29970
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 1920x1080@25000
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 1920x1080@24000
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 1920x1080@23976
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 1280x1024@60020
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 1360x768@60015
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 1280x720@60000
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 1280x720@59940
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 1280x720@50000
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 1024x768@60004
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 800x600@60317
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 720x576@50000
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 720x480@60000
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 720x480@60000
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 720x480@59940
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 720x480@59940
00:00:00.614 [INFO] [backend/drm/drm.c:1343] 640x480@60000
00:00:00.615 [INFO] [backend/drm/drm.c:1343] 640x480@59940
00:00:00.615 [INFO] [backend/drm/drm.c:1343] 640x480@59940
00:00:00.615 [INFO] [backend/drm/drm.c:1343] 720x400@70082
00:00:00.615 [INFO] [backend/drm/drm.c:1398] connector eDP-1: Requesting modeset
00:00:00.666 [INFO] [backend/drm/drm.c:1398] connector HDMI-A-2: Requesting modeset
WARNING: Setting notification_height in section global doesn't exist
registry: adding output 41
calculated sun trajectory: dawn 07:00, sunrise 07:00, sunset 19:30, dusk 19:30
setting temperature to 4000 K
2022-10-16 01:44:50 - [swaybg-1.1.1/main.c:340] Found config * for output eDP-1 (BOE 0x0718)
WARNING: couldn't set idle timeout
** (waybar:12426): WARNING **: 01:44:51.173: gtk-layer-shell v0.7.0 may not work on GTK v3.24.34. If you experience crashes, check https://github.com/wmww/gtk-layer-shell/blob/master/compatibility.md
blueman-applet 01.44.51 WARNING PluginManager:94 load_plugin: Failed to start plugin GameControllerWakelock: Only X11 platform is supported
blueman-applet 01.44.51 WARNING PluginManager:151 __load_plugin: Not loading DhcpClient because its conflict has higher priority
blueman-applet 01.44.51 WARNING PluginManager:151 __load_plugin: Not loading PPPSupport because its conflict has higher priority
blueman-applet 01.44.51 WARNING TransferService:213 _make_share_path: Failed to get Download dir from XDG
** (waybar:12426): WARNING **: 01:44:52.041: Status Notifier Item with bus name ':1.89' and object path '/org/blueman/sni' is already registered
[289 01:44:59.093997] [glfw error 65544]: process_desktop_settings: failed with error: [org.freedesktop.DBus.Error.UnknownMethod] No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
registry: adding output 43
setting temperature to 4000 K
setting temperature to 4000 K
2022-10-16 01:45:08 - [swaybg-1.1.1/main.c:340] Found config * for output HDMI-A-2 (LG Electronics LG TV 0x00000101)
(waybar:12426): Gtk-CRITICAL **: 01:45:08.639: gtk_box_reorder_child: assertion 'old_link != NULL' failed
(waybar:12426): Gtk-CRITICAL **: 01:45:09.616: gtk_box_reorder_child: assertion 'old_link != NULL' failed
[289 01:45:13.892410] [glfw error 65544]: Wayland: fatal display error: Connection reset by peer
Gdk-Message: 01:45:13.892: Error reading events from display: Broken pipe
Gdk-Message: 01:45:13.892: Error reading events from display: Broken pipe
Gdk-Message: 01:45:13.892: Error reading events from display: Connection reset by peer
Gdk-Message: 01:45:13.892: Error reading events from display: Broken pipe
wc: write error
The config was reloaded near the end, which caused the crash.
I uncommented the monitor=HDMI-A-2,preferred,auto,1,mirror,eDP-1
line.
Also got a segfault:
This bug's still here even after the v0.16.0beta update. Am I the only one with this problem?
yes
yes
Well, so what am I supposed to do about it?
not set a mirror for the only monitor you have.
Seems he has two monitors though vaxry. HDMI-A-2 and eDP-1
I have 2 monitors too. My guess is the monitor he's trying to mirror is initialized second, and the mirror is initialized first (on the backend)
Can you check with a dynamic rule instead? Set normal rules, open hyprland, then make the mirror rule.
Seems he has two monitors though vaxry. HDMI-A-2 and eDP-1
Yeah that's it
I have 2 monitors too. My guess is the monitor he's trying to mirror is initialized second, and the mirror is initialized first (on the backend)
Can you check with a dynamic rule instead? Set normal rules, open hyprland, then make the mirror rule.
Tried disabling the monitor rules in my config, then ran
$ hyprctl keyword monitor HDMI-A-2,preferred,auto,1,mirror,eDP-1
$ hyprctl keyword monitor ,preferred,auto,1
But sadly I got exactly the same results...
Have I gotten it wrong?
dunno seems alr. Mirroring is generally buggy from my testing for now.
I am getting the same issue and tried everything mentioned here.. and the result is same as always..
All issues are fixed for me with recent commits. Please verify.
Yes.. it works!! Thank you..
waiting for @AmitGolden to report back.
Finally got an HDMI cable to test and as such managed to repro and fix :-)
waiting for @AmitGolden to report back.
Finally got an HDMI cable to test and as such managed to repro and fix :-)
First of all I really appreciate your big help! But sadly it still doesn't work quite right...
It mirrors the screen, but with a really big lag, the cursor doesn't work, two bars are shown (waybar), and it still crashes if I change the settings while it runs...
It IS an improvement it's not quite there :)
Well something is better than nothing.. i m sure they will fix that.. and if u give them bug report then they will fix it quickly
really big lag
You mean delay or low framerate?
cursor doesn't work
The cursor will appear only on the parent, due to the fact it's hardware rendered.
and it still crashes if I change the settings while it runs
what settings? Doesn't for me
You mean delay or low framerate?
Hard to tell, it just updates the screen once in like 20 seconds, then freezes
what settings? Doesn't for me
If I'll comment then uncomment the monitor=,preferred,auto,1,mirror,eDP-1 monitor rule it'll crash
I can't repro either, but check the second with the latest commit. Fixed a different issue that was happening in that exact scenario.
Tested it, but still same issue... Is there anything I could share to help?
coredump
coredump
PID: 8644 (Hyprland)
UID: 1000 (amitgold)
GID: 1000 (amitgold)
Signal: 11 (SEGV)
Timestamp: Sat 2022-11-19 23:47:38 IST (1min 7s ago)
Command Line: Hyprland
Executable: /usr/bin/Hyprland
Control Group: /user.slice/user-1000.slice/session-10.scope
Unit: session-10.scope
Slice: user-1000.slice
Session: 10
Owner UID: 1000 (amitgold)
Boot ID: ad482bc4c0964f9a81394f7d51f9b932
Machine ID: 44c5c93e03c74975baeea4f7bfa7977c
Hostname: archlinux
Storage: /var/lib/systemd/coredump/core.Hyprland.1000.ad482bc4c0964f9a81394f7d51f9b932.8644.1668894458000000.zst (present)
Size on Disk: 4.2M
Message: Process 8644 (Hyprland) of user 1000 dumped core.
Stack trace of thread 8644:
#0 0x000055977e0c6fa0 _ZN17CAnimationManager4tickEv (Hyprland + 0xd1fa0)
#1 0x000055977e095300 _ZN6Events21listener_monitorFrameEPvS0_ (Hyprland + 0xa0300)
#2 0x000055977e0b117c _Z13handleWrappedP11wl_listenerPv (Hyprland + 0xbc17c)
#3 0x00007f2af9452f6e wl_signal_emit_mutable (libwayland-server.so.0 + 0x9f6e)
#4 0x00007f2af9454923 wl_event_loop_dispatch_idle (libwayland-server.so.0 + 0xb923)
#5 0x00007f2af9454a3d wl_event_loop_dispatch (libwayland-server.so.0 + 0xba3d)
#6 0x00007f2af9455197 wl_display_run (libwayland-server.so.0 + 0xc197)
#7 0x000055977e025dc1 main (Hyprland + 0x30dc1)
#8 0x00007f2af8a1c290 n/a (libc.so.6 + 0x23290)
#9 0x00007f2af8a1c34a __libc_start_main (libc.so.6 + 0x2334a)
#10 0x000055977e02dbe5 _start (Hyprland + 0x38be5)
Stack trace of thread 8656:
#0 0x00007f2af8a7c4b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f2af8a7ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f2af2d0799e n/a (iris_dri.so + 0x10799e)
#3 0x00007f2af2cbaf8c n/a (iris_dri.so + 0xbaf8c)
#4 0x00007f2af2d078cc n/a (iris_dri.so + 0x1078cc)
#5 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 8654:
#0 0x00007f2af8a7c4b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f2af8a7ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f2af2d0799e n/a (iris_dri.so + 0x10799e)
#3 0x00007f2af2cbaf8c n/a (iris_dri.so + 0xbaf8c)
#4 0x00007f2af2d078cc n/a (iris_dri.so + 0x1078cc)
#5 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 8653:
#0 0x00007f2af8a7c4b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f2af8a7ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f2af2d0799e n/a (iris_dri.so + 0x10799e)
#3 0x00007f2af2cbaf8c n/a (iris_dri.so + 0xbaf8c)
#4 0x00007f2af2d078cc n/a (iris_dri.so + 0x1078cc)
#5 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 8664:
#0 0x00007f2af8a7c4b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f2af8a7ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f2af2d0799e n/a (iris_dri.so + 0x10799e)
#3 0x00007f2af2cbaf8c n/a (iris_dri.so + 0xbaf8c)
#4 0x00007f2af2d078cc n/a (iris_dri.so + 0x1078cc)
#5 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 8655:
#0 0x00007f2af8a7c4b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f2af8a7ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f2af2d0799e n/a (iris_dri.so + 0x10799e)
#3 0x00007f2af2cbaf8c n/a (iris_dri.so + 0xbaf8c)
#4 0x00007f2af2d078cc n/a (iris_dri.so + 0x1078cc)
#5 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 8662:
#0 0x00007f2af8a7c4b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f2af8a7ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f2af2d0799e n/a (iris_dri.so + 0x10799e)
#3 0x00007f2af2cbaf8c n/a (iris_dri.so + 0xbaf8c)
#4 0x00007f2af2d078cc n/a (iris_dri.so + 0x1078cc)
#5 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 8658:
#0 0x00007f2af8a7c4b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f2af8a7ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f2af2d0799e n/a (iris_dri.so + 0x10799e)
#3 0x00007f2af2cbaf8c n/a (iris_dri.so + 0xbaf8c)
#4 0x00007f2af2d078cc n/a (iris_dri.so + 0x1078cc)
#5 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 8659:
#0 0x00007f2af8a7c4b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f2af8a7ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f2af2d0799e n/a (iris_dri.so + 0x10799e)
#3 0x00007f2af2cbaf8c n/a (iris_dri.so + 0xbaf8c)
#4 0x00007f2af2d078cc n/a (iris_dri.so + 0x1078cc)
#5 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 8663:
#0 0x00007f2af8a7c4b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f2af8a7ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f2af2d0799e n/a (iris_dri.so + 0x10799e)
#3 0x00007f2af2cbaf8c n/a (iris_dri.so + 0xbaf8c)
#4 0x00007f2af2d078cc n/a (iris_dri.so + 0x1078cc)
#5 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 8657:
#0 0x00007f2af8a7c4b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f2af8a7ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f2af2d0799e n/a (iris_dri.so + 0x10799e)
#3 0x00007f2af2cbaf8c n/a (iris_dri.so + 0xbaf8c)
#4 0x00007f2af2d078cc n/a (iris_dri.so + 0x1078cc)
#5 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 8665:
#0 0x00007f2af8a7c4b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f2af8a7ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f2af2d0799e n/a (iris_dri.so + 0x10799e)
#3 0x00007f2af2cbaf8c n/a (iris_dri.so + 0xbaf8c)
#4 0x00007f2af2d078cc n/a (iris_dri.so + 0x1078cc)
#5 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 8667:
#0 0x00007f2af8a7c4b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f2af8a7ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f2af2d0799e n/a (iris_dri.so + 0x10799e)
#3 0x00007f2af2cbaf8c n/a (iris_dri.so + 0xbaf8c)
#4 0x00007f2af2d078cc n/a (iris_dri.so + 0x1078cc)
#5 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 9767:
#0 0x00007f2af8a7f7e2 n/a (libc.so.6 + 0x867e2)
#1 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 8666:
#0 0x00007f2af8a7c4b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f2af8a7ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f2af2d0799e n/a (iris_dri.so + 0x10799e)
#3 0x00007f2af2cbaf8c n/a (iris_dri.so + 0xbaf8c)
#4 0x00007f2af2d078cc n/a (iris_dri.so + 0x1078cc)
#5 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 8660:
#0 0x00007f2af8a7c4b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f2af8a7ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f2af2d0799e n/a (iris_dri.so + 0x10799e)
#3 0x00007f2af2cbaf8c n/a (iris_dri.so + 0xbaf8c)
#4 0x00007f2af2d078cc n/a (iris_dri.so + 0x1078cc)
#5 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 8661:
#0 0x00007f2af8a7c4b6 n/a (libc.so.6 + 0x834b6)
#1 0x00007f2af8a7ecd0 pthread_cond_wait (libc.so.6 + 0x85cd0)
#2 0x00007f2af2d0799e n/a (iris_dri.so + 0x10799e)
#3 0x00007f2af2cbaf8c n/a (iris_dri.so + 0xbaf8c)
#4 0x00007f2af2d078cc n/a (iris_dri.so + 0x1078cc)
#5 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#6 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
Stack trace of thread 8668:
#0 0x00007f2af8b028af accept (libc.so.6 + 0x1098af)
#1 0x000055977e0ca283 _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN13CEventManager11startThreadEvEUlvE_EEEEE6_M_runEv (Hyprland + 0xd5283)
#2 0x00007f2af8cd62f3 execute_native_thread_routine (libstdc++.so.6 + 0xd62f3)
#3 0x00007f2af8a7f8fd n/a (libc.so.6 + 0x868fd)
#4 0x00007f2af8b01a60 n/a (libc.so.6 + 0x108a60)
ELF object binary architecture: AMD x86-64
what in the name of fuck
could you do a debug one? See docs/ISSUE_GUIDELINES.md
I'm out for a week, I'll upload later
I cloned the repo and installed the deps, but when I go to build I get an error:
[main] Building folder: Hyprland
[build] Starting build
[proc] Executing command: /usr/bin/cmake --build /home/amitgold/Hyprland/build --config Debug --target all --
[build] ninja: error: '/home/amitgold/Hyprland/subprojects/wlroots/build/libwlroots.so.12032', needed by 'Hyprland', missing and no known rule to make it
[proc] The command: /usr/bin/cmake --build /home/amitgold/Hyprland/build --config Debug --target all -- exited with code: 1 and signal: null
[build] Build finished with exit code 1
But I can't find how to compile wlroots How should I do it?
I should sudo make install
it then?
What do you expect me to say? "No the wiki is for idiots, everything there is wrong"??????????
❯ env DEBUGINFOD_URLS="https://debuginfod.archlinux.org/" coredumpctl debug 5817
PID: 5817 (Hyprland)
UID: 1000 (amitgold)
GID: 1000 (amitgold)
Signal: 11 (SEGV)
Timestamp: Sat 2022-11-26 23:59:44 IST (8min ago)
Command Line: Hyprland
Executable: /usr/local/bin/Hyprland
Control Group: /user.slice/user-1000.slice/session-6.scope
Unit: session-6.scope
Slice: user-1000.slice
Session: 6
Owner UID: 1000 (amitgold)
Boot ID: 59d8d7e99e0b4f37aaa53a1be0ba51aa
Machine ID: 44c5c93e03c74975baeea4f7bfa7977c
Hostname: archlinux
Storage: /var/lib/systemd/coredump/core.Hyprland.1000.59d8d7e99e0b4f37aaa53a1be0ba51aa.5817.1669499984000000.zst (present)
Size on Disk: 4.1M
Message: Process 5817 (Hyprland) of user 1000 dumped core.
Stack trace of thread 5817:
#0 0x00007f7cd9a50e50 n/a (/home/amitgold/Hyprland/subprojects/wlroots/build/libwlroots.so.12032 + 0x78e50)
#1 0x54a909207fc7e600 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
GNU gdb (GDB) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
/usr/local/bin/Hyprland: No such file or directory.
warning: Can't open file /usr/local/bin/Hyprland during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file /memfd:gdk-wayland (deleted) during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file /dev/shm/wayland.mozilla.ipc.3 (deleted) during file-backed mapping note processing
warning: Can't open file /dev/shm/wayland.mozilla.ipc.2 (deleted) during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file /run/user/1000/wayland-cursor-shared-0uW3LH (deleted) during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing
[New LWP 5817]
[New LWP 5829]
[New LWP 5826]
[New LWP 5828]
[New LWP 5827]
[New LWP 5836]
[New LWP 5833]
[New LWP 5831]
[New LWP 5835]
[New LWP 5830]
[New LWP 5834]
[New LWP 5838]
[New LWP 5837]
[New LWP 5839]
[New LWP 5840]
[New LWP 5841]
[New LWP 5832]
This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.archlinux.org/
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Download failed: No route to host. Continuing without debug info for system-supplied DSO at 0x7ffeab152000.
Core was generated by `Hyprland'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f7cd9a50e50 in ?? ()
[Current thread is 1 (LWP 5817)]
(gdb) bt -full
#0 0x00007f7cd9a50e50 in ?? ()
No symbol table info available.
#1 0x00007f7cd47aaa80 in ?? ()
No symbol table info available.
#2 0x00007ffeab1026bc in ?? ()
No symbol table info available.
#3 0x00007ffeab1026b8 in ?? ()
No symbol table info available.
#4 0x0000556b4a2cb7ed in ?? ()
No symbol table info available.
#5 0x0000556b4b239fe0 in ?? ()
No symbol table info available.
#6 0x54a909207fc7e600 in ?? ()
No symbol table info available.
#7 0x0000556b4bd9c220 in ?? ()
No symbol table info available.
#8 0x54a909207fc7e600 in ?? ()
No symbol table info available.
#9 0x00007ffeab102720 in ?? ()
No symbol table info available.
#10 0x0000556b4bd9c220 in ?? ()
No symbol table info available.
#11 0x00007ffeab102740 in ?? ()
No symbol table info available.
#12 0x0000556b4a2e2323 in ?? ()
No symbol table info available.
#13 0x0000000000000019 in ?? ()
No symbol table info available.
#14 0x0000000000000000 in ?? ()
No symbol table info available.
Couldn't get Hyprland to crash again, but still got this debug coredump. BTW the screens look like this (this is while they're supposed to be mirroring, and the tv is frozen):
garbled coredump, won't help. Probably outdated.
I assume that when you remove the mirror rule the TV goes back to normal, right?
odd. No clue really what could be causing this. You can try making very detailed instructions on how to repro and posting your config, but I doubt I'll repro this. I've tested mirroring a lot and works on both my pcs
@AmitGolden can this issue be closed?
I haven't really used Hyprland recently so probably yes
@vaxerski thx
I tried to mirror my laptop's screen:
monitor=,preferred,auto,1,mirror,eDP-1
, but when I connected another monitor Hyprland showed like it was in between two workspaces, then it completely crashed.If I connect another monitor before starting Hyprland the other monitor is just grey, with a cursor at the center, which doesn't move.
Tried this with the latest release (0.15.3beta) and the
hyprland-git
AUR package (g02fbb3a). Also tried with Intel integrated GPU and Nvidia GPU. Tried to do a manual mirrorring:monitor=HDMI-A-2,preferred,auto,1,mirror,eDP-1
.All of these didn't work. Log:
coredump:
What could be done?