Closed v1deodrome closed 5 months ago
can't repro, does it happen with both server-side cursors (eg. qt apps) and client-side (eg. gtk/ff)?
nah, this is exclusive to nvidia (hardware cursors only)
Apologies, I didn't notice WLR_NO_HARDWARE_CURSORS
was depreciated, setting cursor:no_hardware_cursors
to true fixed the issue. You might want to include setting this variable in the NVIDIA documentation, since it seems to still be important.
can you make a MR to the wiki?
Bug or Regression?
Regression
System Info and Version
System/Version info
```sh Hyprland, built from branch at commit ea2501d4556f84d3de86a4ae2f4b22a474555b9f (props: bump version to 0.41.0). Date: Mon Jun 10 14:23:06 2024 Tag: v0.41.0, commits: 4794 flags: (if any) System Information: System name: Linux Node name: FEEDBACKER Release: 6.9.3-zen1-1-zen Version: #1 ZEN SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:26 +0000 GPU information: 0b:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3070 Ti] [10de:2207] (rev a1) (prog-if 00 [VGA controller]) os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo plugins: ======Config-Start====== Config File: /home/jimbo/.config/hypr/hyprland.conf: Read Succeeded # AUTOGENERATED HYPR CONFIG. # PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, # OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. # # Please note not all available settings / options are set here. # For a full list, see the wiki # # Configure monitors # https://wiki.hyprland.org/Configuring/Monitors/ monitor=HDMI-A-1,1920x1080@120,0x0,1 monitor=HDMI-A-2,1920x1080@100,-1920x0,1 # Change background exec = swaybg -o HDMI-A-1 -i '$HOME/Pictures/Wallpapers/RNNA Jill_2.jpg' exec = swaybg -o HDMI-A-2 -i '$HOME/Pictures/Wallpapers/nagato_glasses.jpeg' # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf # Set programs that you use $terminal = kitty $fileManager = dolphin $menu = rofi -show drun # Env vars necessary for running on an NVIDIA GPU. env = XCURSOR_SIZE,24 env = LIBVA_DRIVER_NAME,nvidia env = XDG_SESSION_TYPE,wayland env = GBM_BACKEND,nvidia-drm env = __GLX_VENDOR_LIBRARY_NAME,nvidia env = WLR_NO_HARDWARE_CURSORS,1 # Env vars necessary for QT theming env = QT_QPA_PLATFORMTHEME,qt5ct # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = us kb_variant = kb_model = kb_options = kb_rules = touchpad { natural_scroll = no } sensitivity = 0 # -1.0 - 1.0, 0 means no modification. # Mouse focus will not switch to the hovered window unless the mouse crosses a window boundary follow_mouse = 1 mouse_refocus = false } general { # See https://wiki.hyprland.org/Configuring/Variables/ for more gaps_in = 5 gaps_out = 5 border_size = 2 col.active_border = rgba(caa6f7ee) rgba(f38ba8ee) 60deg col.inactive_border = rgba(595959aa) layout = dwindle # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on allow_tearing = false } decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more rounding = 0 blur { enabled = true size = 3 passes = 1 } drop_shadow = no shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) } animations { enabled = yes # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more bezier = myBezier, 0.05, 0.9, 0.1, 1.05 animation = windows, 1, 7, myBezier animation = windowsOut, 1, 7, default, popin 80% animation = border, 1, 10, default animation = borderangle, 1, 8, default animation = fade, 1, 7, default animation = workspaces, 1, 6, default } dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = yes # you probably want this no_gaps_when_only = 1 } master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more new_is_master = true no_gaps_when_only = 1 } gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more workspace_swipe = off } group { col.border_active = rgba(caa6f7ee) rgba(f38ba8ee) 45deg col.border_inactive = rgba(595959aa) groupbar { enabled = false } } misc { # See https://wiki.hyprland.org/Configuring/Variables/ for more enable_swallow = true swallow_regex = ^(kitty)$ } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#executing for more device { name = epic-mouse-v1 sensitivity = -0.5 } # Example windowrule v1 # windowrule = float, ^(kitty)$ # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Return, exec, $terminal bind = $mainMod, Q, killactive, # this is a nasty way to close Hyprland but for some reason it refuses to do so otherwise bind = $mainMod, M, exec, $HOME/scripts/./hyprland-close bind = $mainMod, V, togglefloating, bind = $mainMod, D, exec, $menu bind = $mainMod, F, fullscreen, bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d # Change tab bind = $mainMod, Tab, changegroupactive, f # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 bind = $mainMod, 4, workspace, 4 bind = $mainMod, 5, workspace, 5 bind = $mainMod, 6, workspace, 6 bind = $mainMod, 7, workspace, 7 bind = $mainMod, 8, workspace, 8 bind = $mainMod, 9, workspace, 9 bind = $mainMod, 0, workspace, 10 # Move active window to a workspace with mainMod + SHIFT + [0-9] bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 4, movetoworkspace, 4 bind = $mainMod SHIFT, 5, movetoworkspace, 5 bind = $mainMod SHIFT, 6, movetoworkspace, 6 bind = $mainMod SHIFT, 7, movetoworkspace, 7 bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Example special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Move windows with mainMod + arrow keys bind = $mainMod SHIFT,up,movewindow,u bind = $mainMod SHIFT,down,movewindow,d bind = $mainMod SHIFT,left,movewindow,l bind = $mainMod SHIFT,right,movewindow,r # Resize mode submap bind = $mainMod,R,submap,resize submap = resize binde = ,right,resizeactive,100 0 binde = ,left,resizeactive,-100 0 binde = ,up,resizeactive,0 -100 binde = ,down,resizeactive,0 100 bind = $mainMod,R,submap,reset submap = reset # Monitor rules for workspaces workspace=1,monitor:HDMI-A-1 workspace=2,monitor:HDMI-A-1 workspace=3,monitor:HDMI-A-1 workspace=4,monitor:HDMI-A-1 workspace=5,monitor:HDMI-A-1 workspace=6,monitor:HDMI-A-2 workspace=7,monitor:HDMI-A-2 workspace=8,monitor:HDMI-A-2 workspace=9,monitor:HDMI-A-2 workspace=10,monitor:HDMI-A-2 # Screenshot util bind = ,Print,exec,grim -g "$(slurp -d -b 0000007F -c 00000000)" - | swappy -f - # Get required envvars for screensharing on startup exec-once = /home/jimbo/scripts/./hyprland-screenshare # Float steam popup windows windowrulev2 = float,class:^(steam)$,title:^(?!Steam$) windowrulev2 = float,class:^pavucontrol$ # Special Rules for Steam to get the drop-down and lower right “Add Game” menus to work right. windowrulev2 = stayfocused, title:^()$,class:^(steam)$ windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$ # Waybar exec-once = waybar ======Config-End======== ```Description
On Hyprland 0.41, the framerate stutters whenever the cursor changes sprite (e.g: when hovering text, links, etc). Seems to happen on both native Wayland and XWayland applications.
Running a screen recorder in the background seems to be a workaround, (tested both OBS and a Vesktop screenshare) unfortunately this comes at the cost of me not being able to record a video of reproducing this issue. Which is kind of funny, but also really inconvenient.
How to reproduce
Open a browser window containing a lot of text and scroll down with your mouse hovering over the text. Compare with scrolling down on a blank area of the page.
Crash reports, logs, images, videos
hyprland.log Here I just opened a Wikipedia page and scrolled up and down, first with my mouse on the text area and second on a blank area of the page.