Comments (9)
Well I'm not on Arch anymore but we can close this if you say it's fixed now!
from hyprgrass.
How did you get Hyprland (e.g. built from source/ from which distro's repo) and how did you compile this plugin?
I've seen this bug happen when I mix between fedora/copr hyprland and plugin built with nix, but I'm not too sure why.
from hyprgrass.
I am on vanilla Arch Linux and I tried both extra/hyprland and hyprland-git
I compiled the plugin from source with
meson build
meson compile -C build
from hyprgrass.
I've tried building Hyprland in different ways with different versions, but it always made the same error. Here are the logs when I crash :
Logs
00:00:00.000 [INFO] [libseat] [libseat/libseat.c:73] Seat opened with backend 'seatd'
00:00:00.000 [INFO] [libseat] [libseat/backend/seatd.c:212] Enabling seat
00:00:00.000 [INFO] [backend/session/session.c:109] Successfully loaded libseat session
00:00:00.001 [INFO] [backend/backend.c:219] Found 1 GPUs
00:00:00.001 [INFO] [backend/drm/backend.c:201] Initializing DRM backend for /dev/dri/card0 (amdgpu)
00:00:00.001 [INFO] [backend/drm/drm.c:249] Found 4 DRM CRTCs
00:00:00.001 [INFO] [backend/drm/drm.c:207] Found 9 DRM planes
00:00:00.002 [INFO] [render/egl.c:206] Supported EGL client extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
00:00:00.030 [INFO] [render/egl.c:355] Using EGL 1.5
00:00:00.030 [INFO] [render/egl.c:356] 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_EXT_protected_surface 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.030 [INFO] [render/egl.c:358] Supported EGL device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node
00:00:00.030 [INFO] [render/egl.c:360] EGL vendor: Mesa Project
amdgpu: amdgpu_cs_ctx_create2 failed. (-13)
00:00:00.032 [INFO] [render/gles2/renderer.c:746] Creating GLES2 renderer
00:00:00.032 [INFO] [render/gles2/renderer.c:747] Using OpenGL ES 3.2 Mesa 23.1.1
00:00:00.032 [INFO] [render/gles2/renderer.c:748] GL vendor: AMD
00:00:00.032 [INFO] [render/gles2/renderer.c:749] GL renderer: AMD Radeon Graphics (renoir, LLVM 15.0.7, DRM 3.52, 6.3.5-x64v1-xanmod1-1)
00:00:00.032 [INFO] [render/gles2/renderer.c:750] 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_instanced_arrays GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_generate_mipmap_sRGB 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_debug_label GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects 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_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_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_NV_shader_noperspective_interpolation 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_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_EXT_window_rectangles 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_NV_alpha_to_coverage_dither_control GL_AMD_framebuffer_multisample_advanced GL_EXT_EGL_image_storage 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.042 [INFO] [backend/headless/backend.c:68] Creating headless backend
00:00:00.042 [ERROR] [xwayland/sockets.c:63] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
00:00:00.322 [INFO] [backend/drm/drm.c:1512] Scanning DRM connectors on /dev/dri/card0
00:00:00.326 [INFO] [backend/drm/drm.c:1563] Found connector 'eDP-1'
00:00:00.326 [INFO] [backend/drm/drm.c:1588] 'eDP-1' connected
00:00:00.326 [INFO] [backend/drm/drm.c:1398] Physical size: 290x180
00:00:00.326 [INFO] [backend/drm/drm.c:1460] Detected modes:
00:00:00.326 [INFO] [backend/drm/drm.c:1488] 1920x1200 @ 60.003 Hz (preferred)
00:00:00.326 [INFO] [backend/drm/drm.c:1488] 1920x1200 @ 48.003 Hz
00:00:00.326 [INFO] [backend/drm/drm.c:1488] 1920x1080 @ 60.003 Hz
00:00:00.326 [INFO] [backend/drm/drm.c:1488] 1600x1200 @ 60.003 Hz
00:00:00.326 [INFO] [backend/drm/drm.c:1488] 1680x1050 @ 60.003 Hz
00:00:00.326 [INFO] [backend/drm/drm.c:1488] 1280x1024 @ 60.003 Hz
00:00:00.326 [INFO] [backend/drm/drm.c:1488] 1440x900 @ 60.003 Hz
00:00:00.326 [INFO] [backend/drm/drm.c:1488] 1280x800 @ 60.003 Hz
00:00:00.326 [INFO] [backend/drm/drm.c:1488] 1280x720 @ 60.003 Hz
00:00:00.326 [INFO] [backend/drm/drm.c:1488] 1024x768 @ 60.003 Hz
00:00:00.326 [INFO] [backend/drm/drm.c:1488] 800x600 @ 60.003 Hz
00:00:00.326 [INFO] [backend/drm/drm.c:1488] 640x480 @ 60.003 Hz
00:00:00.326 [INFO] [backend/drm/drm.c:1563] Found connector 'HDMI-A-1'
00:00:00.326 [INFO] [backend/drm/drm.c:1563] Found connector 'DP-1'
00:00:00.326 [INFO] [backend/drm/drm.c:1563] Found connector 'DP-2'
00:00:00.326 [INFO] [backend/drm/drm.c:1624] connector eDP-1: Requesting modeset
00:00:00.330 [INFO] [backend/drm/drm.c:747] connector eDP-1: Modesetting with 1920x1200 @ 60.003 Hz
00:00:00.360 [INFO] [backend/headless/backend.c:16] Starting headless backend
discover_other_daemon: 1GNOME_KEYRING_CONTROL=/run/user/1000/keyring
00:00:00.419 [INFO] [backend/drm/drm.c:747] connector eDP-1: Modesetting with 1920x1200 @ 60.003 Hz
KXMessages used on non-X11 platform! This is an application bug.
New PolkitAgentListener 0x555be8821d60
Adding new listener PolkitQt1::Agent::Listener(0x555be88204f0) for 0x555be8821d60
Listener online
Authentication agent result: true
[2023-06-08 22:22:04.783] [info] Using configuration file /home/matt/.config/waybar/config
[2023-06-08 22:22:04.783] [info] Using CSS file /home/matt/.config/waybar/style.css
(waybar:141697): Gtk-WARNING **: 22:22:04.784: Theme parsing error: style.css:33:14: Not using units is deprecated. Assuming 'px'.
(waybar:141697): Gtk-WARNING **: 22:22:04.784: Theme parsing error: style.css:33:17: Not using units is deprecated. Assuming 'px'.
[2023-06-08 22:22:04.807] [info] Hyprland IPC starting
** Message: 22:22:04.818: factory.vala:42: Loading widget: inhibitors
** Message: 22:22:04.818: factory.vala:42: Loading widget: title
** Message: 22:22:04.818: factory.vala:42: Loading widget: dnd
[2023-06-08 22:22:04.836] [warning] Requested height: 20 is less than the minimum height: 47 required by the modules
[2023-06-08 22:22:04.836] [info] Bar configured (width: 1910, height: 47) for output: eDP-1
wl_display_dispatch: Broken pipe
The Wayland connection broke. Did the Wayland compositor die?
Gdk-Message: 22:22:12.008: Error reading events from display: Connection reset by peer
Gdk-Message: 22:22:12.008: Error reading events from display: Broken pipe
[LOG] Welcome to hyprpaper!
built from commit 64d0ebd66652a5614b645b1ffb4d592ba50d532a (?)
[LOG] Cleaned old hyprpaper preloads (1), removing 9.2MB
[LOG] Preloaded target /home/matt/Pictures/BG/bonzai.jpg in 69.55ms -> Pixel size: [1920, 1200]
[LOG] hyprpaper socket started at /tmp/hypr/7f753cab9a8044651753524da1725d4fbe2555a7_1686277324/.hyprpaper.sock (fd: 4)
[LOG] Buffer created for target /home/matt/Pictures/BG/bonzai.jpg, Shared Memory usage: 9.2MB
[LOG] Total SM usage for all buffers: 9.2MB
[LOG] configure for eDP-1
[LOG] handlePreferredScale: 1.00 for 55ce0cfd3a50
[LOG] handlePreferredScale: 1.00 for 55ce0cfd3a50
[LOG] Image data for eDP-1: /home/matt/Pictures/BG/bonzai.jpg at [-0.00, 0.00], scale: 1.00 (original image size: [1920, 1200])
[LOG] Submitting viewport dest size 1920x1200 for cfd3a50
[LOG] configure for eDP-1
[LOG] handlePreferredScale: 1.00 for 55ce0cfd3a50
[LOG] handlePreferredScale: 1.00 for 55ce0cfd3a50
[LOG] Image data for eDP-1: /home/matt/Pictures/BG/bonzai.jpg at [-0.00, 0.00], scale: 1.00 (original image size: [1920, 1200])
[LOG] Submitting viewport dest size 1920x1200 for cfd3a50
[LOG] configure for eDP-1
[LOG] configure for eDP-1
[LOG] Image data for eDP-1: /home/matt/Pictures/BG/bonzai.jpg at [-0.00, 0.00], scale: 1.00 (original image size: [1920, 1200])
[LOG] Submitting viewport dest size 1920x1200 for cfd3a50
[LOG] handlePreferredScale: 1.00 for 55ce0cfd3a50
[LOG] handlePreferredScale: 1.00 for 55ce0cfd3a50
[LOG] configure for eDP-1
[LOG] Image data for eDP-1: /home/matt/Pictures/BG/bonzai.jpg at [-0.00, 0.00], scale: 1.00 (original image size: [1920, 1200])
[LOG] Submitting viewport dest size 1920x1200 for cfd3a50
[LOG] handlePreferredScale: 1.00 for 55ce0cfd3a50
[LOG] configure for eDP-1
[LOG] configure for eDP-1
[LOG] Image data for eDP-1: /home/matt/Pictures/BG/bonzai.jpg at [-0.00, 0.00], scale: 1.00 (original image size: [1920, 1200])
[LOG] Submitting viewport dest size 1920x1200 for cfd3a50
[LOG] handlePreferredScale: 1.00 for 55ce0cfd3a50
[LOG] configure for eDP-1
[LOG] Image data for eDP-1: /home/matt/Pictures/BG/bonzai.jpg at [-0.00, 0.00], scale: 1.00 (original image size: [1920, 1200])
[LOG] Submitting viewport dest size 1920x1200 for cfd3a50
[LOG] handlePreferredScale: 1.00 for 55ce0cfd3a50
[LOG] configure for eDP-1
[LOG] Image data for eDP-1: /home/matt/Pictures/BG/bonzai.jpg at [-0.00, 0.00], scale: 1.00 (original image size: [1920, 1200])
[LOG] Submitting viewport dest size 1920x1200 for cfd3a50
[LOG] handlePreferredScale: 1.00 for 55ce0cfd3a50
Gdk-Message: 22:22:12.008: Error reading events from display: Broken pipe
warning: queue 0x7f2ddc000ca0 destroyed while proxies still attached:
zwp_primary_selection_device_v1@26 still attached
zwp_primary_selection_device_manager_v1@22 still attached
wl_data_device@25 still attached
wl_seat@24 still attached
wl_data_device_manager@23 still attached
wl_registry@21 still attached
warning: queue 0x5560446971b0 destroyed while proxies still attached:
wl_buffer@46 still attached
wl_shm_pool@30 still attached
xdg_wm_base@35 still attached
wl_output@15 still attached
wp_fractional_scale_manager_v1@14 still attached
xdg_activation_v1@13 still attached
zwp_text_input_manager_v3@12 still attached
zwp_relative_pointer_manager_v1@11 still attached
zwp_pointer_constraints_v1@10 still attached
zxdg_decoration_manager_v1@9 still attached
wl_seat@8 still attached
wp_viewporter@7 still attached
wl_subcompositor@6 still attached
wl_compositor@5 still attached
wl_shm@4 still attached
wl_registry@2 still attached
warning: queue 0x5560446a9130 destroyed while proxies still attached:
wl_surface@32 still attached
Error: "Event loop terminated with code: 1"
from hyprgrass.
The original issue is most likely due to onTouchUp
hook not registering properly for whatever reason, the crash doesn't say anything related to the plugin tho so I can't use that.
I'll start investigating once fedora toolbox stops refusing to work with me...
from hyprgrass.
I'm experiencing a similar issue wherein after loading the plugin my touch device stops working once I perform a three finger swipe. If I do not attempt to trigger any plugin actions (such as three finger swipe) the touch device continues working even while the plugin is loaded.
The touch devices functionality is restored by unloading the plugin.
Arch Linux, commit e35f613
from hyprgrass.
Yeah, for some reason this plugin only works on NixOS.
from hyprgrass.
That's an odd bug. I'll post my results with Hyprland in debug mode though I imagine my logs will be the same as yours. Happy to help the author as necessary.
from hyprgrass.
I can no longer reproduce this issue when running non mismatching versions of hyprland and hyprgrass.
from hyprgrass.
Related Issues (20)
- Touch Gestures are not be Working HOT 2
- workspace_swipe_edge = d is completely broken HOT 2
- possible to make it play nice with hyprexpo? HOT 2
- Build fails HOT 3
- hyprpm failed to build HOT 1
- Plugin doesn't work HOT 5
- Workspace swipe rework
- config: Move to hyprlang keywords
- Is this plugin only for the git version of Hyprland? HOT 2
- compile failed for nixos HOT 5
- Plugin isn't correctly loading HOT 11
- hyprgrass failing to build (GestureManager.cpp) HOT 6
- Misaligned mouse gestures HOT 13
- Swiping up from bottom edge not working HOT 1
- incorrect position mapping with multiple touch screens HOT 13
- Hyprgrass fails to build HOT 2
- Compilation error building from flake. HOT 3
- Unable to get any functionality out of hyprgrass 0.7, hyprland 0.41.1 HOT 2
- Increase touch margins HOT 4
- testing gestures HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyprgrass.