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
20.23k stars 859 forks source link

Broken stylus input on Dell Latitude 7320 Detachable #6251

Closed jacekpoz closed 2 months ago

jacekpoz commented 4 months ago

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit 553232a3e4c112c8511309e6b685cb614895e714 (). Date: 2024-05-25 Tag: , commits: flags: (if any) System Information: System name: Linux Node name: niks Release: 6.8.9-xanmod1 Version: #1-NixOS SMP PREEMPT_DYNAMIC Tue Jan 1 00:00:00 UTC 1980 GPU information: 08:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c7) (prog-if 00 [VGA controller]) os-release: ANSI_COLOR="1;34" BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.05.20240521.5710852" DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos IMAGE_ID="" IMAGE_VERSION="" LOGO="nix-snowflake" NAME=NixOS PRETTY_NAME="NixOS 24.05 (Uakari)" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.05 (Uakari)" VERSION_CODENAME=uakari VERSION_ID="24.05" plugins: split-monitor-workspaces by Duckonaut ver 1.1.0 ======Config-Start====== Config File: /home/jacek/.config/hypr/hyprland.conf: Read Succeeded exec-once = /nix/store/bnipzdfv788l7yvgn7k7s7gp76sd1zpz-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target plugin=/nix/store/c5f7ph347iwlsik6pkdh5rxpsycc5y17-split-monitor-workspaces-0.1/lib/libsplit-monitor-workspaces.so $mainMod=SUPER bezier=dupa, 0.1, 0.9, 0.1, 1.05 animations { animation=windows, 1, 4, dupa, popin animation=windowsOut, 1, 7, dupa, slide animation=border, 1, 15, default animation=fade, 1, 10, default animation=workspaces, 1, 5, dupa, slidevert enabled=true } binds { movefocus_cycles_fullscreen=false pass_mouse_when_bound=false } decoration { blur { enabled=true passes=2 size=3 } col.shadow=0xAF1E1E2E drop_shadow=1 rounding=10 shadow_ignore_window=1 shadow_offset=2 4 shadow_range=15 shadow_render_power=2 shadow_scale=1 } dwindle { no_gaps_when_only=true } general { apply_sens_to_raw=0 border_size=2 col.active_border=0xFFF5C2E7 col.inactive_border=0xFF45475A gaps_in=5 gaps_out=5 sensitivity=1.000000 } gestures { workspace_swipe=1 workspace_swipe_cancel_ratio=0.500000 workspace_swipe_distance=200 workspace_swipe_invert=1 workspace_swipe_min_speed_to_force=20 } input { tablet { output=eDP-1 } touchdevice { output=eDP-1 } touchpad { disable_while_typing=false } follow_mouse=true kb_layout=pl,ru kb_model= kb_options= kb_rules= kb_variant= repeat_delay=250 repeat_rate=50 } misc { animate_manual_resizes=false animate_mouse_windowdragging=false enable_swallow=false focus_on_activate=true force_default_wallpaper=0 swallow_regex=foot vfr=true vrr=1 } plugin { csgo-vulkan-fix { res_h=1440 res_w=2560 } split-monitor-workspaces { count=10 keep_focused=true } } bind=$mainMod, RETURN, exec, /nix/store/lgifzd1z3y1yiirc0yrz94m1shg0dlyr-foot-3a7ea1f44b5cac16c4d67cddb75c02638d59c55c/bin/foot bind=$mainMod, Q, killactive bind=$mainMod, F, fullscreen, 0 bind=$mainMod, M, fullscreen, 1 bind=$mainMod, D, exec, /nix/store/mxaj225llhfvpya3619x72n8wnlx55ny-procps-3.3.17/bin/pkill anyrun || /nix/store/9ar7nj9vl7q5bn1fi43vw77a7zgy05c9-anyrun-0.1.0/bin/anyrun bind=$mainMod, SPACE, togglefloating, active bind=$mainMod SHIFT, C, centerwindow bind=$mainMod CONTROL, R, bringactivetotop bind=$mainMod SHIFT, P, pin bind=$mainMod, 1, split-workspace, 1 bind=$mainMod, 2, split-workspace, 2 bind=$mainMod, 3, split-workspace, 3 bind=$mainMod, 4, split-workspace, 4 bind=$mainMod, 5, split-workspace, 5 bind=$mainMod, 6, split-workspace, 6 bind=$mainMod, 7, split-workspace, 7 bind=$mainMod, 8, split-workspace, 8 bind=$mainMod, 9, split-workspace, 9 bind=$mainMod, 0, split-workspace, 10 bind=$mainMod SHIFT, 1, split-movetoworkspacesilent, 1 bind=$mainMod SHIFT, 2, split-movetoworkspacesilent, 2 bind=$mainMod SHIFT, 3, split-movetoworkspacesilent, 3 bind=$mainMod SHIFT, 4, split-movetoworkspacesilent, 4 bind=$mainMod SHIFT, 5, split-movetoworkspacesilent, 5 bind=$mainMod SHIFT, 6, split-movetoworkspacesilent, 6 bind=$mainMod SHIFT, 7, split-movetoworkspacesilent, 7 bind=$mainMod SHIFT, 8, split-movetoworkspacesilent, 8 bind=$mainMod SHIFT, 9, split-movetoworkspacesilent, 9 bind=$mainMod SHIFT, 0, split-movetoworkspacesilent, 10 bind=$mainMod, S, exec, /nix/store/3rr72j7yi1fqqdjk29jwhrhnmrb9f0nv-grimblast-0.1/bin/grimblast save area - | /nix/store/k00cc6mbl072mnrad9wrq30mb2dcna2n-coreutils-full-9.5/bin/tee "$(/nix/store/pidsasdzj2h661fqcimwinpp1qfwrnnn-xdg-user-dirs-0.18/bin/xdg-user-dir PICTURES)/Screenshots/$(date +'screenshot-%Y%m%d%H%M%S.png')" | /nix/store/3ms38y6fkq3zg12y03mp6sdvc9s6vccx-wl-clipboard-+4f20741/bin/wl-copy && /nix/store/ssq1sh0jhjlnmfic15lqy97953qhlfyh-libnotify-0.8.3/bin/notify-send "Screenshot taken" bind=$mainMod SHIFT, S, exec, /nix/store/3rr72j7yi1fqqdjk29jwhrhnmrb9f0nv-grimblast-0.1/bin/grimblast save area - | /nix/store/3xyymhh0055qwmfqvim6p77l8gwl82km-shadower-0.1.4/bin/shadower | /nix/store/k00cc6mbl072mnrad9wrq30mb2dcna2n-coreutils-full-9.5/bin/tee "$(/nix/store/pidsasdzj2h661fqcimwinpp1qfwrnnn-xdg-user-dirs-0.18/bin/xdg-user-dir PICTURES)/Screenshots/$(date +'screenshot-%Y%m%d%H%M%S.png')" | /nix/store/3ms38y6fkq3zg12y03mp6sdvc9s6vccx-wl-clipboard-+4f20741/bin/wl-copy && /nix/store/ssq1sh0jhjlnmfic15lqy97953qhlfyh-libnotify-0.8.3/bin/notify-send "Screenshot taken (shadower)" bind=$mainMod CONTROL, S, exec, /nix/store/3rr72j7yi1fqqdjk29jwhrhnmrb9f0nv-grimblast-0.1/bin/grimblast save area - | /nix/store/3ajp2xr31s09dc9lil18vbbj4i3rljsm-swappy-1.5.1/bin/swappy -f - -o - | /nix/store/k00cc6mbl072mnrad9wrq30mb2dcna2n-coreutils-full-9.5/bin/tee "$(/nix/store/pidsasdzj2h661fqcimwinpp1qfwrnnn-xdg-user-dirs-0.18/bin/xdg-user-dir PICTURES)/Screenshots/$(date +'screenshot-%Y%m%d%H%M%S.png')" | /nix/store/3ms38y6fkq3zg12y03mp6sdvc9s6vccx-wl-clipboard-+4f20741/bin/wl-copy && /nix/store/ssq1sh0jhjlnmfic15lqy97953qhlfyh-libnotify-0.8.3/bin/notify-send "Screenshot taken" bind=$mainMod SHIFT CONTROL, S, exec, /nix/store/3rr72j7yi1fqqdjk29jwhrhnmrb9f0nv-grimblast-0.1/bin/grimblast save area - | /nix/store/3ajp2xr31s09dc9lil18vbbj4i3rljsm-swappy-1.5.1/bin/swappy -f - -o - | /nix/store/3xyymhh0055qwmfqvim6p77l8gwl82km-shadower-0.1.4/bin/shadower | /nix/store/k00cc6mbl072mnrad9wrq30mb2dcna2n-coreutils-full-9.5/bin/tee "$(/nix/store/pidsasdzj2h661fqcimwinpp1qfwrnnn-xdg-user-dirs-0.18/bin/xdg-user-dir PICTURES)/Screenshots/$(date +'screenshot-%Y%m%d%H%M%S.png')" | /nix/store/3ms38y6fkq3zg12y03mp6sdvc9s6vccx-wl-clipboard-+4f20741/bin/wl-copy && /nix/store/ssq1sh0jhjlnmfic15lqy97953qhlfyh-libnotify-0.8.3/bin/notify-send "Screenshot taken (shadower)" bind=$mainMod SHIFT, R, exec, /nix/store/ik7mkkfp7d1g7i645lw4pp1ig8ag4lz3-hyprland-0.40.0+date=2024-05-25_553232a/bin/hyprctl reload bind=, XF86Launch3, exec, /nix/store/j9xl40s15q7lhx1kv8yd2f77b9j20046-asusctl-6.0.9/bin/asusctl led-mode -n bind=, XF86Launch4, exec, /nix/store/j9xl40s15q7lhx1kv8yd2f77b9j20046-asusctl-6.0.9/bin/asusctl profile -n bind=, XF86TouchpadToggle, exec, bind=$mainMod, T, exec, grim -g "$(slurp)" -t ppm - | tesseract -l pol - - | wl-copy && /nix/store/ssq1sh0jhjlnmfic15lqy97953qhlfyh-libnotify-0.8.3/bin/notify-send "Copied text: " "\"$(wl-paste)\"" bind=$mainMod, SEMICOLON, exec, ~/.config/rofi/powermenu/type-2/powermenu.sh bind=$mainMod, G, togglegroup bind=$mainMod CONTROL, K, exec, /nix/store/xjiifrz7ha6s29gp0p0j3w0155phxmia-systemd-255.6/bin/systemctl --user restart xdg-desktop-portal-hyprland bind=$mainMod SHIFT, K, exec, /nix/store/ik7mkkfp7d1g7i645lw4pp1ig8ag4lz3-hyprland-0.40.0+date=2024-05-25_553232a/bin/hyprctl kill bind=$mainMod, B, togglespecialworkspace, btop bind=$mainMod, A, togglespecialworkspace, amdgpu_top bind=$mainMod, V, togglespecialworkspace, pipewire bind=$mainMod, N, togglespecialworkspace, nixos bind=, XF86Launch1, togglespecialworkspace, rog bind=$mainMod, R, togglespecialworkspace, rog bind=$mainMod, X, togglespecialworkspace, keepassxc bind=$mainMod, C, exec, /nix/store/hvsv3b51fjsd9lv8kvnjw6wl44ws2kbz-hyprlock-0.pre+date=2024-05-04_c87af3a/bin/hyprlock bind=$mainMod CONTROL, B, exec, /nix/store/mxaj225llhfvpya3619x72n8wnlx55ny-procps-3.3.17/bin/pkill waybar || /nix/store/72bai3w0xndawvbzdgfygyv6bbyyhx40-waybar-0.10.3+date=2024-05-07_2ead1bb/bin/waybar bind=$mainMod CONTROL, minus, exec, /nix/store/ik7mkkfp7d1g7i645lw4pp1ig8ag4lz3-hyprland-0.40.0+date=2024-05-25_553232a/bin/hyprctl keyword misc:cursor_zoom_factor 2 bind=$mainMod CONTROL, apostrophe, exec, /nix/store/ik7mkkfp7d1g7i645lw4pp1ig8ag4lz3-hyprland-0.40.0+date=2024-05-25_553232a/bin/hyprctl keyword misc:cursor_zoom_factor 1 bind=$mainMod ALT CONTROL SHIFT, L, exec, /nix/store/6a6205zvzyqgmad3a43j6mlyh0kwkac1-xdg-utils-1.2.1/bin/xdg-open https://www.linkedin.com/ binde=$mainMod, J, movefocus, d binde=$mainMod, K, movefocus, u binde=$mainMod, H, focusmonitor, l binde=$mainMod, L, focusmonitor, r binde=, XF86KbdBrightnessUp, exec, /nix/store/j9xl40s15q7lhx1kv8yd2f77b9j20046-asusctl-6.0.9/bin/asusctl -n binde=, XF86KbdBrightnessDown, exec, /nix/store/j9xl40s15q7lhx1kv8yd2f77b9j20046-asusctl-6.0.9/bin/asusctl -p binde=$mainMod SHIFT, G, changegroupactive, f binde=$mainMod CONTROL, G, changegroupactive, b binde=$mainMod, minus, exec, /nix/store/ik7mkkfp7d1g7i645lw4pp1ig8ag4lz3-hyprland-0.40.0+date=2024-05-25_553232a/bin/hyprctl keyword misc:cursor_zoom_factor "$(/nix/store/ik7mkkfp7d1g7i645lw4pp1ig8ag4lz3-hyprland-0.40.0+date=2024-05-25_553232a/bin/hyprctl getoption misc:cursor_zoom_factor | rg float | awk '{print $2 + 0.05}')" binde=$mainMod, apostrophe, exec, /nix/store/ik7mkkfp7d1g7i645lw4pp1ig8ag4lz3-hyprland-0.40.0+date=2024-05-25_553232a/bin/hyprctl keyword misc:cursor_zoom_factor "$(/nix/store/ik7mkkfp7d1g7i645lw4pp1ig8ag4lz3-hyprland-0.40.0+date=2024-05-25_553232a/bin/hyprctl getoption misc:cursor_zoom_factor | rg float | awk '{if($2 != 1) {print $2 - 0.05}}')" bindl=, XF86AudioMedia, exec, /nix/store/j4acvhph976klq6ga71zpb5lb2mmz3ja-playerctl-2.4.1/bin/playerctl play-pause bindl=, XF86AudioPlay, exec, /nix/store/j4acvhph976klq6ga71zpb5lb2mmz3ja-playerctl-2.4.1/bin/playerctl play-pause bindl=$mainMod, Y, exec, /nix/store/j4acvhph976klq6ga71zpb5lb2mmz3ja-playerctl-2.4.1/bin/playerctl play-pause bindl=, XF86AudioStop, exec, /nix/store/j4acvhph976klq6ga71zpb5lb2mmz3ja-playerctl-2.4.1/bin/playerctl stop bindl=$mainMod, U, exec, /nix/store/j4acvhph976klq6ga71zpb5lb2mmz3ja-playerctl-2.4.1/bin/playerctl stop bindl=, XF86AudioPrev, exec, /nix/store/j4acvhph976klq6ga71zpb5lb2mmz3ja-playerctl-2.4.1/bin/playerctl previous bindl=$mainMod, I, exec, /nix/store/j4acvhph976klq6ga71zpb5lb2mmz3ja-playerctl-2.4.1/bin/playerctl previous bindl=, XF86AudioNext, exec, /nix/store/j4acvhph976klq6ga71zpb5lb2mmz3ja-playerctl-2.4.1/bin/playerctl next bindl=$mainMod, O, exec, /nix/store/j4acvhph976klq6ga71zpb5lb2mmz3ja-playerctl-2.4.1/bin/playerctl next bindl=, XF86AudioMute, exec, /nix/store/14sqzylwq65cylfb6l6lbg584zqd5fnd-pamixer-1.6/bin/pamixer --toggle-mute bindl=$mainMod, P, exec, /nix/store/14sqzylwq65cylfb6l6lbg584zqd5fnd-pamixer-1.6/bin/pamixer --toggle-mute bindle=, XF86MonBrightnessUp, exec, /nix/store/81id03dynf716msd4js4z6gj6xy2gqkb-brightnessctl-0.5.1/bin/brightnessctl set +5% bindle=$mainMod SHIFT, Z, exec, /nix/store/81id03dynf716msd4js4z6gj6xy2gqkb-brightnessctl-0.5.1/bin/brightnessctl set +5% bindle=, XF86MonBrightnessDown, exec, /nix/store/81id03dynf716msd4js4z6gj6xy2gqkb-brightnessctl-0.5.1/bin/brightnessctl set 5%- bindle=$mainMod SHIFT, X, exec, /nix/store/81id03dynf716msd4js4z6gj6xy2gqkb-brightnessctl-0.5.1/bin/brightnessctl set 5%- bindle=, XF86AudioRaiseVolume, exec, /nix/store/14sqzylwq65cylfb6l6lbg584zqd5fnd-pamixer-1.6/bin/pamixer -ui 5 bindle=$mainMod SHIFT, C, exec, /nix/store/14sqzylwq65cylfb6l6lbg584zqd5fnd-pamixer-1.6/bin/pamixer -ui 5 bindle=, XF86AudioLowerVolume, exec, /nix/store/14sqzylwq65cylfb6l6lbg584zqd5fnd-pamixer-1.6/bin/pamixer -ud 5 bindle=$mainMod SHIFT, V, exec, /nix/store/14sqzylwq65cylfb6l6lbg584zqd5fnd-pamixer-1.6/bin/pamixer -ud 5 bindm=$mainMod, mouse:272, movewindow bindm=$mainMod, mouse:273, resizewindow exec=/nix/store/mxaj225llhfvpya3619x72n8wnlx55ny-procps-3.3.17/bin/pkill btop exec=/nix/store/mxaj225llhfvpya3619x72n8wnlx55ny-procps-3.3.17/bin/pkill amdgpu_top exec=/nix/store/mxaj225llhfvpya3619x72n8wnlx55ny-procps-3.3.17/bin/pkill helvum exec=/nix/store/mxaj225llhfvpya3619x72n8wnlx55ny-procps-3.3.17/bin/pkill pavucontrol exec=[workspace special:btop silent;tile] /nix/store/lgifzd1z3y1yiirc0yrz94m1shg0dlyr-foot-3a7ea1f44b5cac16c4d67cddb75c02638d59c55c/bin/foot -e /nix/store/xdc1fmw0mzbr73g94qichqa43xhfn5lw-btop-1.3.2/bin/btop exec=[workspace special:amdgpu_top silent;tile] /nix/store/lgifzd1z3y1yiirc0yrz94m1shg0dlyr-foot-3a7ea1f44b5cac16c4d67cddb75c02638d59c55c/bin/foot -e /nix/store/iqwn63wb1xpqbp9bzl792wa6vg4cv9yx-amdgpu_top-0.8.2/bin/amdgpu_top -i 0 exec=[workspace special:amdgpu_top silent;tile] /nix/store/lgifzd1z3y1yiirc0yrz94m1shg0dlyr-foot-3a7ea1f44b5cac16c4d67cddb75c02638d59c55c/bin/foot -e /nix/store/iqwn63wb1xpqbp9bzl792wa6vg4cv9yx-amdgpu_top-0.8.2/bin/amdgpu_top -i 1 exec=[workspace special:pipewire silent;tile] /nix/store/ayw7cxsciccx3b5zi6p007hwy3mfqz1b-helvum-0.5.1/bin/helvum exec=[workspace special:pipewire silent;tile] /nix/store/i7v48x9qskd4nf8krv0pgi438j2lsdrq-pavucontrol-5.0/bin/pavucontrol exec=/nix/store/5y3h2wr5w7g0kylkpb1ymp6hxx4a9n31-network-manager-applet-1.36.0/bin/nm-applet --indicator exec=/nix/store/3q6vwm5b9y5iqkm5wps7iw38h988aj50-blueman-2.4.1/bin/blueman-applet exec=sleep 0.5 && /nix/store/fvbjfs7jjzijsc7q8xhyqd1k7g3ww1ki-swww-+9733f3e/bin/swww img -o eDP-1 /nix/store/69s2357qzi5fa4zl47x050v276czpi8p-catppuccin-wall0.png exec=sleep 0.5 && /nix/store/fvbjfs7jjzijsc7q8xhyqd1k7g3ww1ki-swww-+9733f3e/bin/swww img -o HDMI-A-1 /nix/store/cbshd0pcl81n9f9lz4ns0vmbc706q4sh-catppuccin-wall1.png exec-once=/nix/store/72bai3w0xndawvbzdgfygyv6bbyyhx40-waybar-0.10.3+date=2024-05-07_2ead1bb/bin/waybar exec-once=[workspace special:nixos silent;tile] cd ~/niksos; /nix/store/lgifzd1z3y1yiirc0yrz94m1shg0dlyr-foot-3a7ea1f44b5cac16c4d67cddb75c02638d59c55c/bin/foot exec-once=[workspace special:rog silent;tile] /nix/store/j9xl40s15q7lhx1kv8yd2f77b9j20046-asusctl-6.0.9/bin/rog-control-center exec-once=[workspace special:keepassxc silent;tile] /nix/store/636kirq5njx0650rxc2hb09sy0kkn31b-keepassxc-2.7.7/bin/keepassxc exec-once=; exec-once=/nix/store/ik7mkkfp7d1g7i645lw4pp1ig8ag4lz3-hyprland-0.40.0+date=2024-05-25_553232a/bin/hyprctl setcursor Bibata-Modern-Classic 24 exec-once=/nix/store/fvbjfs7jjzijsc7q8xhyqd1k7g3ww1ki-swww-+9733f3e/bin/swww init exec-once=/nix/store/yijb957dbhrmaa5302v1ky8nlpzi994c-wlsunset-+634c8eb/bin/wlsunset -S 06:00 -s 20:00 exec-once=/nix/store/xjiifrz7ha6s29gp0p0j3w0155phxmia-systemd-255.6/bin/systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once=/nix/store/bnipzdfv788l7yvgn7k7s7gp76sd1zpz-dbus-1.14.10/bin/dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=$XDG_CURRENT_DESKTOP exec-once=/nix/store/39lb91wjdahiv8r6sdqaifvjq7lxikn1-handle_hyprland_events/bin/handle_hyprland_events layerrule=noanim, ^(selection)$ layerrule=blur, ^(waybar)$ layerrule=blur, ^(eww)$ layerrule=blur, ^(anyrun)$ monitor=HDMI-A-1,2560x1440@144,2560x0,1.000000 monitor=eDP-1,2560x1440@165,0x0,1.000000 windowrulev2=float, class:^(Tor Browser)$ windowrulev2=float, class:^(Mullvad Browser)$ windowrulev2=float, class:^(foot)$ windowrulev2=float, class:^(mpv)$ windowrulev2=float, class:^(imv)$ windowrulev2=float, class:^(Vieb)$ windowrulev2=float, title:^(Picture-in-Picture)$ windowrulev2=float, title:^(.*)(Choose User Profile)(.*)$ windowrulev2=float, title:^(blob:null/)(.*)$ windowrulev2=float, class:^(xdg-desktop-portal-gtk)$ windowrulev2=float, class:^(code), title: ^(Open*) windowrulev2=size 70% 70%, class:^(code), title: ^(Open*) windowrulev2=center, class: ^(code), title: ^(Open*) windowrulev2=float, class:^(org.keepassxc.KeePassXC)$ windowrulev2=size 960 670, title:^(ROG Control Center)$ workspace=1, monitor:eDP-1, default:true workspace=2, monitor:eDP-1 workspace=3, monitor:eDP-1 workspace=4, monitor:eDP-1 workspace=5, monitor:eDP-1 workspace=6, monitor:eDP-1 workspace=7, monitor:eDP-1 workspace=8, monitor:eDP-1 workspace=9, monitor:eDP-1 workspace=10, monitor:eDP-1 workspace=11, monitor:HDMI-A-1, default:true workspace=12, monitor:HDMI-A-1 workspace=13, monitor:HDMI-A-1 workspace=14, monitor:HDMI-A-1 workspace=15, monitor:HDMI-A-1 workspace=16, monitor:HDMI-A-1 workspace=17, monitor:HDMI-A-1 workspace=18, monitor:HDMI-A-1 workspace=19, monitor:HDMI-A-1 workspace=20, monitor:HDMI-A-1 workspace=special:btop, decorate:false workspace=special:amdgpu_top, decorate:false workspace=special:pipewire, decorate:false workspace=special:nixos, decorate:false workspace=special:rog, decorate:false workspace=special:keepassxc, decorate:false bind=$mainMod, W, exec, firefox-devedition --name firefox-schizo -P schizo bind=$mainMod SHIFT, W, exec, firefox-devedition --name firefox-sane -P unschizo exec-once=/nix/store/8w3gfvv51hcxbr5xnrh9aihhxld0l815-mpv-with-scripts-0.37.0/bin/mpv --no-video --volume=100 /home/jacek/.local/share/hypr/startup_sound ======Config-End======== ```

Bug or Regression?

Regression

Description

Most likely due to the tablet rewrite the stylus input has been a bit more laggy but (as seen on the video below) the strokes come out blocky and (at least in Rnote) certain regions of the screen don't register anything at all.

How to reproduce

Install a fairly recent commit of hyprland on a laptop with stylus input, try drawing anything in any note-taking or drawing program.

I'm actually not sure what commit this started at, I can't build anything around the tablet rewrite anymore for some reason but before it stylus input worked perfectly.

Crash reports, logs, images, videos

https://f.jacekpoz.pl/bugs/hyprland/VID_20240526_164610.mp4

jacekpoz commented 4 months ago

no effect on a graphics tablet on my main laptop with OpenTabletDriver, running the same config and version

Agent00Ming commented 4 months ago

get a log from WAYLAND_DEBUG=1 rnote > stylus_rnote.log 2>&1 on hyprland and sway, I'll see if there's a noticeable difference

jacekpoz commented 4 months ago

seems that I hit a sway moment since rnote refuses to launch - no gui appears, the command hangs indefinitely

either way, here's the logs: stylus_rnote_sway.log stylus_rnote_hyprland.log

Agent00Ming commented 4 months ago

what about xournal++?

jacekpoz commented 4 months ago

seems that I hit a sway moment since rnote refuses to launch - no gui appears, the command hangs indefinitely

either way, here's the logs: stylus_rnote_sway.log stylus_rnote_hyprland.log

in hyprland after launching I drew (hehe) on the screen a bit, then closed it without doing anything else

jacekpoz commented 4 months ago

what about xournal++?

let me try that

jacekpoz commented 4 months ago

same thing as before except this time there's no logs from xournal++, here's the hyprland logs stylus_xournalpp_hyprland.log again opened it, drew some scribbles on the screen and closed it notably, xournal++ was way worse than rnote, almost nothing registered

Agent00Ming commented 4 months ago

that is so strange... what about getting one with your graphics tablet to compare against stylus? and does it also not work on sway..?

jacekpoz commented 4 months ago

well... this is weird - the detachable doesn't detect the tablet so I got the logs from my main machine - all fine in hyprland, absolutely no issues with the tablet but sway had the same behaviour as on the detachable tablet_rnote_hyprland.log tablet_rnote_sway.log tablet_xournalpp_hyprland.log

jacekpoz commented 4 months ago

tried 0.40.0-unstable-2024-05-12 from nixpkgs (commit 2ccd45a84475fab46c6fecd2fe226d3173104743), no changes

jacekpoz commented 4 months ago

updated to 9994b73ad0af5c9ba5fc4058234cea77d0a1ddb1, now the cursor only moves when the stylus isn't touching the screen - if it is nothing happens

touch input (finger) has no issues, I don't recall it ever having any

@Agent00Ming can you check if my config is correct? maybe something changed and it's actually my config that's broken?

Agent00Ming commented 4 months ago

At a glance, nothing looks terribly wrong in your config. Can you bisect the commit that changed the behaviour?

jacekpoz commented 3 months ago

building 9994b73ad0af5c9ba5fc4058234cea77d0a1ddb1 and older is out of the question now: hyprland-build.log

I'll try fixing the build issues somehow when I have time (~2 weeks), if anyone has a solution for this let me know I'll try it again

fufexan commented 3 months ago

@jacekpoz not sure how you built, but make sure you have the submodules cloned and the build command is nix build '.?submodules=1'.

jacekpoz commented 3 months ago

https://git.jacekpoz.pl/jacekpoz/niksos/src/branch/master/flake.nix#L18-L22 + nix flake lock --override-input hyprland github:hyprwm/Hyprland/commithash

fufexan commented 3 months ago

Then do nix flake lock --override-input hyprland 'git+https://github.com/hyprwm/Hyprland?rev=commithash&submodules=1'.

jacekpoz commented 3 months ago

I have no idea where to go from now - I built the last commit of 2023 (46997a764304366d772456c20b1c719960927aa7) and the stylus behaviour is the same

the stylus worked for a long time since 2024 started

at this point I'm not sure if this is an issue with the hardware or something about my hyprland / related config?

jacekpoz commented 2 months ago

I tested the stylus on another laptop, exact same model - my stylus behaved the same, while the other one worked flawlessly (it had windows installed) so it's most likely not hyprland but the stylus

will reopen if it turns out to be false