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
19.71k stars 837 forks source link

hw cursor orientation #6962

Closed Colt-M16A1 closed 2 months ago

Colt-M16A1 commented 2 months ago

Regression?

No

System Info and Version

System/Version info ```sh Hyprland, built from branch main at commit cbaac6deafb857662d630efbca8b0ebac0f11b44 (xwm: drop invalid case for clearing X focus). Date: Sun Jul 21 21:02:48 2024 Tag: v0.41.2-60-gcbaac6de, commits: 4946 flags: (if any) System Information: System name: Linux Node name: ARTIX Release: 6.10.0-3-cachyos Version: #1 SMP PREEMPT_DYNAMIC Fri, 19 Jul 2024 06:55:15 +0000 GPU information: 09:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116 [GeForce GTX 1660 Ti] [10de:2182] (rev a1) (prog-if 00 [VGA controller]) NVRM version: NVIDIA UNIX x86_64 Kernel Module 555.58.02 Tue Jun 25 01:39:15 UTC 2024 os-release: NAME="Artix Linux" PRETTY_NAME="Artix Linux" ID=artix BUILD_ID=rolling ANSI_COLOR="0;36" HOME_URL="https://www.artixlinux.org/" DOCUMENTATION_URL="https://wiki.artixlinux.org/" SUPPORT_URL="https://forum.artixlinux.org/" BUG_REPORT_URL="https://bugs.artixlinux.org/" PRIVACY_POLICY_URL="https://terms.artixlinux.org/docs/privacy-policy/" LOGO=artixlinux-logo plugins: split-monitor-workspaces by Duckonaut ver 1.1.0 ======Config-Start====== Config File: /home/colt/.config/hypr/hyprland.conf: Read Succeeded $terminal = alacritty msg create-window $terminal2 = st $browser = chromium $browser2 = librewolf $filemgr = dolphin $filemgr2 = thunar $music = $terminal -e ncmpcpp --host 127.0.0.1 $term = Alacritty source = ~/.config/hypr/config.d/input.conf source = ~/.config/hypr/config.d/outputs.conf source = ~/.config/hypr/config.d/keys.conf source = ~/.config/hypr/config.d/startup.conf source = ~/.config/hypr/config.d/settings.conf source = ~/.config/hypr/config.d/env.conf Config File: /home/colt/.config/hypr/config.d/input.conf: Read Succeeded input { kb_layout=tr numlock_by_default=true accel_profile=flat force_no_accel=false follow_mouse=1 sensitivity = -0.88 } Config File: /home/colt/.config/hypr/config.d/outputs.conf: Read Succeeded monitor=DP-1, 1920x1080@74.97, 1050x600, 1 monitor=HDMI-A-1, 1680x1050@59.95, 0x0, 1, transform, 1 exec-once = xrandr --output DP-1 --primary Config File: /home/colt/.config/hypr/config.d/keys.conf: Read Succeeded bindm=SUPER,mouse:272,movewindow bindm=SUPER,mouse:273,resizewindow bind=SUPERSHIFT,F2,exec,hyprctl reload bind=SUPERSHIFT,Q,exit bind = SUPER, 1, split-workspace, 1 bind = SUPER, 2, split-workspace, 2 bind = SUPER, 3, split-workspace, 3 bind = SUPER, 4, split-workspace, 4 bind = SUPER, 5, split-workspace, 5 bind = SUPER, 6, split-workspace, 6 bind = SUPER, 7, split-workspace, 7 bind = SUPER, 8, split-workspace, 8 bind = SUPER, 9, split-workspace, 9 bind = SUPERSHIFT, 1, split-movetoworkspacesilent, 1 bind = SUPERSHIFT, 2, split-movetoworkspacesilent, 2 bind = SUPERSHIFT, 3, split-movetoworkspacesilent, 3 bind = SUPERSHIFT, 4, split-movetoworkspacesilent, 4 bind = SUPERSHIFT, 5, split-movetoworkspacesilent, 5 bind = SUPERSHIFT, 6, split-movetoworkspacesilent, 6 bind = SUPERSHIFT, 7, split-movetoworkspacesilent, 7 bind = SUPERSHIFT, 8, split-movetoworkspacesilent, 8 bind = SUPERSHIFT, 9, split-movetoworkspacesilent, 9 #default amogus bind=SUPER,Q,killactive, bind=SUPER,RETURN,exec,$terminal bind=SUPERSHIFT,RETURN,exec,$terminal2 bind=SUPER,W,exec,$browser bind=SUPERSHIFT,W,exec,$browser2 bind=SUPER,R,exec,$filemgr bind=SUPERSHIFT,R,exec,$filemgr2 bind=SUPER,backspace,exec,~/.config/sway/scripts.d/powermenu.sh bind=,print,exec,flameshot gui -r | wl-copy bind=shift,print,exec,flameshot full bind=ALT,SPACE,exec,rofi -modes combi -combi-modi drun,run -show combi bind=SUPER,X,exec,swaylock -l -L -e -c 000000FF --indicator-idle-visible --show-failed-attempts bind=SUPER,C,exec,cliphist list | rofi -dmenu | cliphist decode | wl-copy bind=SUPERSHIFT,C,exec,cliphist wipe #XF86 bind=,XF86AudioRaiseVolume,exec,wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+ bind=,XF86AudioLowerVolume,exec,wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%- bind=,XF86AudioMute,exec,wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bind=,XF86AudioMedia,exec,$music bind=,XF86AudioPlay,exec,playerctl play-pause bind=,XF86AudioNext,exec,playerctl next bind=,XF86AudioPrev,exec,playerctl previous bind=,XF86MonBrightnessUp,exec,xbacklight -inc 5 bind=,XF86MonBrightnessDown,exec,xbacklight -dec 5 bind=,XF86Calculator,exec,kcalc bind=,XF86WWW,exec,$browser bind=,XF86HomePage,exec,tor-browser bind=,XF86Display,exec,wdisplays bind=,XF86Battery,exec,toggle-tlp #music gaming (mpd) bind=SUPER,N,exec,$music bind=SUPER,D,exec,mpc --host 127.0.0.1 -q toggle bind=SUPER,A,exec,mpc --host 127.0.0.1 -q prev bind=SUPER,S,exec,mpc --host 127.0.0.1 -q next bind=SUPERSHIFT,A,exec,mpc --host 127.0.0.1 -q volume -5 bind=SUPERSHIFT,S,exec,mpc --host 127.0.0.1 -q volume +5 bind=SUPER,left,movefocus,l bind=SUPER,down,movefocus,d bind=SUPER,up,movefocus,u bind=SUPER,right,movefocus,r bind=SUPERSHIFT,left,movewindow,l bind=SUPERSHIFT,down,movewindow,d bind=SUPERSHIFT,up,movewindow,u bind=SUPERSHIFT,right,movewindow,r bind=SUPERALT,H,movewindow,l bind=SUPERALT,J,movewindow,d bind=SUPERALT,K,movewindow,u bind=SUPERALT,L,movewindow,r bind=SUPER,H,movefocus,l bind=SUPER,J,movefocus,d bind=SUPER,K,movefocus,u bind=SUPER,L,movefocus,r bind=SUPERSHIFT,H,resizeactive, -10 0 bind=SUPERSHIFT,J,resizeactive, 0 10 bind=SUPERSHIFT,K,resizeactive, 0 -10 bind=SUPERSHIFT,L,resizeactive, 10 0 bind=SUPERALT,left,resizeactive, -10 0 bind=SUPERALT,down,resizeactive, 0 10 bind=SUPERALT,up,resizeactive, 0 -10 bind=SUPERALT,right,resizeactive, 10 0 bind=SUPER,0,exec,rofi -terminal '$term' -modes window -show window bind=SUPER,F,fullscreen, bind=SUPER,V,togglefloating, bind=SUPER,M,fullscreen,1 bind=SUPER,Z,pin, bind = SUPER, B, workspace, special bind = SUPERSHIFT, B, movetoworkspace, special bind=SUPER,P,pseudo, Config File: /home/colt/.config/hypr/config.d/startup.conf: Read Succeeded exec-once = wpctl set-mute @DEFAULT_AUDIO_SINK@ 0 exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = /usr/lib/kdeconnectd exec-once = nm-applet exec-once = kdeconnect-indicator exec-once = mpdris2-rs --host 127.0.0.1 exec-once = dunst exec-once = flameshot exec-once = syncthing --no-browser exec-once = wl-paste --watch cliphist store exec-once = wl-paste --type image --watch cliphist store exec-once = wl-clip-persist --clipboard regular exec-once = wl-paste -p --watch wl-copy -pc exec-once = alacritty -t daemonmodealacritty exec-once = hyprpm reload -n exec-once = hyprpaper exec-once = hypridle exec-once = dbus-update-activation-environment --all --no-startup-id Config File: /home/colt/.config/hypr/config.d/settings.conf: Read Succeeded general { gaps_in = 4 gaps_out = 10 border_size = 2 col.active_border = rgb(7aa2f7) col.inactive_border = rgb(1a1b26) } decoration { blur { enabled = false } drop_shadow = false } animations { enabled = true bezier=easeOutBack,0.34, 1.3, 0.64, 1 bezier=easeOutExpo,0.16, 1, 0.3, 1 bezier=linear,0, 0, 1, 1 animation=windowsOut, 1, 3, easeOutExpo, popin 80% animation=workspaces, 1, 8, easeOutExpo, slide animation=windows, 1, 4, easeOutBack, slide animation=border, 1, 1, linear animation=borderangle, 1, 30, linear, loop } misc { animate_manual_resizes=true animate_mouse_windowdragging=true mouse_move_enables_dpms=true key_press_enables_dpms=true disable_hyprland_logo=true disable_splash_rendering=true disable_autoreload=true no_direct_scanout=true # render_ahead_of_time=true # render_ahead_safezone=2 # middle_click_paste=false enable_swallow=true swallow_regex = ^($term)$ swallow_exception_regex = ^(blender)$ vfr=true vrr=0 } plugin { split-monitor-workspaces { count = 9 keep_focused = 0 enable_notifications = 0 } } # bar exec-once = waybar cursor { no_hardware_cursors = false allow_dumb_copy = true inactive_timeout = 5 default_monitor = DP-1 # no_warps = true } experimental { explicit_sync = true } debug { overlay=false } exec-once=hyprctl setcursor Bibata-Modern-Classic 22 exec-once=gsettings set org.gnome.desktop.interface cursor-theme Bibata-Modern-Classic exec-once=gsettings set org.gnome.desktop.interface cursor-size 22 windowrule = workspace 19 silent,^(steam)$ windowrule = workspace special silent,^(daemonmodealacritty)$ windowrulev2 = workspace 19 silent,class:(steam) windowrulev2 = workspace special silent,title:^(daemonmodealacritty) windowrulev2 = float,title:^(daemonmodealacritty) windowrulev2=float,title:^(flameshot) windowrulev2=move 0 0,title:^(flameshot) windowrulev2=suppressevent fullscreen,title:^(flameshot) Config File: /home/colt/.config/hypr/config.d/env.conf: Read Succeeded env = SDL_VIDEODRIVER,wayland env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland env = QT_QPA_PLATFORM,wayland;xcb env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = GDK_BACKEND,wayland,x11,* env = MOZ_ENABLE_WAYLAND,1 env = MOZ_USE_XINPUT2,1 env = GBM_BACKEND=nvidia-drm env = __GL_SYNC_DISPLAY_DEVICE,DP-1 env = __GL_GSYNC_ALLOWED,0 env = __GL_VRR_ALLOWED,0 env = __GL_SYNC_TO_VBLANK,0 #env = __GLX_VENDOR_LIBRARY_NAME,nvidia env = QT_QPA_PLATFORMTHEME,qt6ct env = XCURSOR_SIZE,22 env = HYPRCURSOR_SIZE,22 env = HYPRCURSOR_THEME,Bibata-Modern-Classic ======Config-End======== ```

Description

wrong cursor orientation on transformed monitor

How to reproduce

cursor:no_hardware_cursors = false cursor:allow_dumb_copy = true

Crash reports, logs, images, videos

https://github.com/user-attachments/assets/5b33606e-3859-4352-8f8f-8db8c04cde70

vaxerski commented 2 months ago

disable hw cursors. Not much we can do for nvidia atm.