Open j0of opened 3 months ago
reported
have you tried disabling cursor warps?
have you tried disabling cursor warps?
I have fully identified the problem: I have an NVIDIA 1650 Ti and an Intel Core i7 with an integrated Intel GPU that is directly connected to the laptop’s internal display. In my Hyprland configuration, I set the parameter env = AQ_DRM_DEVICES, /dev/dri/card0:/dev/dri/card1 for the iGPU. This means that the system uses NVIDIA, and if it can’t use it, it falls back to Intel. With these settings, the external monitor displays a smooth picture since it is using NVIDIA, but the internal monitor doesn’t show anything because it is directly connected to Intel.
Now, the most important question is: how do I configure this so that the internal monitor uses Intel to display the picture, the external monitor uses NVIDIA, and all complex processes are also handled by NVIDIA?
you can't, we don't support that.
and all complex processes are also handled by NVIDIA?
you can launch your games with the dgpu, but hyprland has to be run on only one.
NVIDIA backfeeding (dgpu -> igpu-driven display) is not possible due to how nvidia's cards are designed physically.
Closing, we don't support split rendering, and neither does anyone else afaik.
if you wanna get rid of the igpu completely, you might have some luck in the bios if your laptop has a MUX switch
you can't, we don't support that.
and all complex processes are also handled by NVIDIA?
you can launch your games with the dgpu, but hyprland has to be run on only one.
NVIDIA backfeeding (dgpu -> igpu-driven display) is not possible due to how nvidia's cards are designed physically.
Closing, we don't support split rendering, and neither does anyone else afaik.
if you wanna get rid of the igpu completely, you might have some luck in the bios if your laptop has a MUX switch
okay got you, so how can I handle it then? Like there is no way to make it work right? how it's work on others OS then, i do have nice fps on Windows as example
you can't, we don't support that.
and all complex processes are also handled by NVIDIA?
you can launch your games with the dgpu, but hyprland has to be run on only one.
NVIDIA backfeeding (dgpu -> igpu-driven display) is not possible due to how nvidia's cards are designed physically.
Closing, we don't support split rendering, and neither does anyone else afaik.
if you wanna get rid of the igpu completely, you might have some luck in the bios if your laptop has a MUX switch like if there is way disable it not in BIOS, because i simply don't have this option
you can't, we don't support that.
and all complex processes are also handled by NVIDIA?
you can launch your games with the dgpu, but hyprland has to be run on only one.
NVIDIA backfeeding (dgpu -> igpu-driven display) is not possible due to how nvidia's cards are designed physically.
Closing, we don't support split rendering, and neither does anyone else afaik.
if you wanna get rid of the igpu completely, you might have some luck in the bios if your laptop has a MUX switch
I replayed you on wrong conversations by mistake, you closed the wrong one
Like there is no way to make it work right?
Correct. I'm not sure how KDE or Gnome handle their rendering, but neither wlroots nor aq/hyprland support split rendering. You might try KDE and Gnome and see if they have better performance.
how it's work on others OS then
they are closed source, we don't know. Likely split rendering.
oh yeah right, opening this closing the other.
Like there is no way to make it work right?
Correct. I'm not sure how KDE or Gnome handle their rendering, but neither wlroots nor aq/hyprland support split rendering. You might try KDE and Gnome and see if they have better performance.
how it's work on others OS then
they are closed source, we don't know. Likely split rendering.
omg, I am gonna try disable iGPU in bios when i'll be at home
have you tried disabling cursor warps?
This didn't resolve the issue, unfortunately. I'm going to try disabling the touchpad for a bit and see if the issue is actually hardware related, then report back here later. Thanks for your response.
Disabling the trackpad didn't to seem make much of a difference. Albeit, I've noticed the snapping happen less frequently, but not exactly because of the config changes.
can you try latest git from today
Sure. Should I follow the steps from the website for manual build? Also, I installed through archinstaller, so I don't know which method was used for the initial hyprland installation.
if you are on arch you can use aur's hyprland-git
Hello, apologies for the delayed response. I have reinstalled hyprland using the command yay -S hyprland-git
without making any changes to my own config, and I have not noticed any changes in the behaviour. The problem seems to be persisting.
Regression?
No
System Info and Version
System/Version info
```sh Hyprland, built from branch at commit 9a09eac79b85c846e3a865a9078a3f8ff65a9259 (props: bump version to 0.42.0). Date: Wed Aug 7 19:17:10 2024 Tag: v0.42.0, commits: 5069 flags: (if any) System Information: System name: Linux Node name: archlinux Release: 6.10.6-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000 GPU information: 0000:00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (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/joof/.config/hypr/hyprland.conf: Read Succeeded # This is an example Hyprland config file. # Refer to the wiki for more information. # https://wiki.hyprland.org/Configuring/Configuring-Hyprland/ # Please note not all available settings / options are set here. # For a full list, see the wiki # You can split this configuration into multiple files # Create your files separately and then link them to this file like this: # source = ~/.config/hypr/myColors.conf # exec-once = waybar exec-once = hyprpaper env = HYPRCURSOR_THEME,rose-pine-hyprcursor bind = SUPER SHIFT, H, movewindow, l bind = SUPER SHIFT, L, movewindow, r bind = SUPER SHIFT, K, movewindow, u bind = SUPER SHIFT, J, movewindow, d bind = SUPER SHIFT, right, resizeactive, 10 0 bind = SUPER SHIFT, left, resizeactive, -10 0 bind = SUPER SHIFT, up, resizeactive, 0 -10 bind = SUPER SHIFT, down, resizeactive, 0 10 bind = ,XF86AudioLowerVolume, exec, pactl -- set-sink-volume 0 -10% bind = ,XF86AudioRaiseVolume, exec, pactl -- set-sink-volume 0 +10% bind = ,XF86AudioMute, exec, pactl -- set-sink-mute 0 toggle bind = ,XF86AudioMicMute, exec, pactl -- set-source-mute 0 toggle bind = ,XF86MonBrightnessDown, exec, brightnessctl s 10%- bind = ,XF86MonBrightnessUp, exec, brightnessctl s +10% ################ ### MONITORS ### ################ # See https://wiki.hyprland.org/Configuring/Monitors/ # monitor=,1920x1080@60,auto,auto monitor=,1920x1080@60,auto,auto ################### ### MY PROGRAMS ### ################### # See https://wiki.hyprland.org/Configuring/Keywords/ # Set programs that you use $terminal = kitty $fileManager = dolphin $menu = wofi --show drun ################# ### AUTOSTART ### ################# # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: # exec-once = $terminal # exec-once = nm-applet & # exec-once = waybar & hyprpaper & firefox ############################# ### ENVIRONMENT VARIABLES ### ############################# # See https://wiki.hyprland.org/Configuring/Environment-variables/ env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 ##################### ### LOOK AND FEEL ### ##################### # Refer to https://wiki.hyprland.org/Configuring/Variables/ # https://wiki.hyprland.org/Configuring/Variables/#general general { gaps_in = 5 gaps_out = 10 border_size = 2 # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors col.active_border = rgba(ffffffff) col.inactive_border = rgba(595959aa) # Set to true enable resizing windows by clicking and dragging on borders and gaps resize_on_border = false # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on allow_tearing = false layout = dwindle } # https://wiki.hyprland.org/Configuring/Variables/#decoration decoration { rounding = 10 # Change transparency of focused and unfocused windows active_opacity = 1.0 inactive_opacity = 0.8 drop_shadow = true shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) # https://wiki.hyprland.org/Configuring/Variables/#blur blur { enabled = true size = 3 passes = 1 vibrancy = 0.1696 } } # https://wiki.hyprland.org/Configuring/Variables/#animations animations { enabled = true # 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 } # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more dwindle { pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # You probably want this } # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more master { new_status = master } # https://wiki.hyprland.org/Configuring/Variables/#misc misc { force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( } ############# ### INPUT ### ############# # https://wiki.hyprland.org/Configuring/Variables/#input input { left_handed = true kb_layout = us follow_mouse = 1 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. force_no_accel = false accel_profile = "adaptive" #flat natural_scroll = false scroll_method = "edge" touchpad { disable_while_typing = true } } device { name = elan2514:00-04f3:2b05-touchscreen enabled = false } device { name = syna32af:00-06cb:ce17-touchpad enabled = false } # https://wiki.hyprland.org/Configuring/Variables/#gestures gestures { workspace_swipe = true } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more device { name = epic-mouse-v1 sensitivity = -0.5 } ################### ### KEYBINDINGS ### ################### # See https://wiki.hyprland.org/Configuring/Keywords/ $mainMod = SUPER # Sets "Windows" key as main modifier # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, $terminal bind = $mainMod, C, killactive, bind = $mainMod, M, exit, bind = $mainMod, E, exec, $fileManager bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, $menu 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 # 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 ┌ ⠀ bash⠀ archlinuxjoof⠀ 124ms · 28/08/24 11:01 └[ ] ❯ hyprctl deviecs unknown request ┌ ⠀ bash⠀ archlinuxjoof⠀ 120ms · 28/08/24 11:01 └[ ] ❯ hyprctl devices mice: Mouse at 5aea11d2cd00: syna32af:00-06cb:ce17-mouse default speed: 0.00000 Keyboards: Keyboard at 5aea11aa0bb0: power-button rules: r "", m "", l "us", v "", o "" active keymap: English (US) main: no Keyboard at 5aea118bfc60: video-bus rules: r "", m "", l "us", v "", o "" active keymap: English (US) main: no Keyboard at 5aea112e72a0: power-button-1 rules: r "", m "", l "us", v "", o "" active keymap: English (US) main: no Keyboard at 5aea1174ebb0: intel-hid-events rules: r "", m "", l "us", v "", o "" active keymap: English (US) main: no Keyboard at 5aea114a1ac0: intel-hid-5-button-array rules: r "", m "", l "us", v "", o "" active keymap: English (US) main: no Keyboard at 5aea114f7ac0: at-translated-set-2-keyboard rules: r "", m "", l "us", v "", o "" active keymap: English (US) main: yes ┌ ⠀ bash⠀ archlinuxjoof⠀ 131ms · 28/08/24 11:10 └[ ] ❯ hyprctl systeminfo -c Hyprland, built from branch at commit 9a09eac79b85c846e3a865a9078a3f8ff65a9259 (props: bump version to 0.42.0). Date: Wed Aug 7 19:17:10 2024 Tag: v0.42.0, commits: 5069 flags: (if any) System Information: System name: Linux Node name: archlinux Release: 6.10.6-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000 GPU information: 0000:00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (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/joof/.config/hypr/hyprland.conf: Read Succeeded # This is an example Hyprland config file. # Refer to the wiki for more information. # https://wiki.hyprland.org/Configuring/Configuring-Hyprland/ # Please note not all available settings / options are set here. # For a full list, see the wiki # You can split this configuration into multiple files # Create your files separately and then link them to this file like this: # source = ~/.config/hypr/myColors.conf # exec-once = waybar exec-once = hyprpaper env = HYPRCURSOR_THEME,rose-pine-hyprcursor bind = SUPER, TAB, workspace, e+1 bind = SUPER SHIFT, TAB, workspace, e-1 bind = SUPER SHIFT, H, movewindow, l bind = SUPER SHIFT, L, movewindow, r bind = SUPER SHIFT, K, movewindow, u bind = SUPER SHIFT, J, movewindow, d bind = SUPER SHIFT, right, resizeactive, 10 0 bind = SUPER SHIFT, left, resizeactive, -10 0 bind = SUPER SHIFT, up, resizeactive, 0 -10 bind = SUPER SHIFT, down, resizeactive, 0 10 bind = ,XF86AudioLowerVolume, exec, pactl -- set-sink-volume 0 -10% bind = ,XF86AudioRaiseVolume, exec, pactl -- set-sink-volume 0 +10% bind = ,XF86AudioMute, exec, pactl -- set-sink-mute 0 toggle bind = ,XF86AudioMicMute, exec, pactl -- set-source-mute 0 toggle bind = ,XF86MonBrightnessDown, exec, brightnessctl s 10%- bind = ,XF86MonBrightnessUp, exec, brightnessctl s +10% ################ ### MONITORS ### ################ # See https://wiki.hyprland.org/Configuring/Monitors/ # monitor=,1920x1080@60,auto,auto monitor=,1920x1080@60,auto,auto ################### ### MY PROGRAMS ### ################### # See https://wiki.hyprland.org/Configuring/Keywords/ # Set programs that you use $terminal = kitty $fileManager = dolphin $menu = wofi --show drun ################# ### AUTOSTART ### ################# # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: # exec-once = $terminal # exec-once = nm-applet & # exec-once = waybar & hyprpaper & firefox ############################# ### ENVIRONMENT VARIABLES ### ############################# # See https://wiki.hyprland.org/Configuring/Environment-variables/ env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 ##################### ### LOOK AND FEEL ### ##################### # Refer to https://wiki.hyprland.org/Configuring/Variables/ # https://wiki.hyprland.org/Configuring/Variables/#general general { gaps_in = 5 gaps_out = 10 border_size = 2 # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors col.active_border = rgba(ffffffff) col.inactive_border = rgba(595959aa) # Set to true enable resizing windows by clicking and dragging on borders and gaps resize_on_border = false # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on allow_tearing = false layout = dwindle } # https://wiki.hyprland.org/Configuring/Variables/#decoration decoration { rounding = 10 # Change transparency of focused and unfocused windows active_opacity = 1.0 inactive_opacity = 0.8 drop_shadow = true shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) # https://wiki.hyprland.org/Configuring/Variables/#blur blur { enabled = true size = 3 passes = 1 vibrancy = 0.1696 } } # https://wiki.hyprland.org/Configuring/Variables/#animations animations { enabled = true # 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 } # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more dwindle { pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # You probably want this } # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more master { new_status = master } # https://wiki.hyprland.org/Configuring/Variables/#misc misc { force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( } ############# ### INPUT ### ############# # https://wiki.hyprland.org/Configuring/Variables/#input input { left_handed = true kb_layout = us follow_mouse = 1 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. force_no_accel = false accel_profile = "adaptive" #flat natural_scroll = false scroll_method = "edge" touchpad { disable_while_typing = true } } device { name = elan2514:00-04f3:2b05-touchscreen enabled = false } device { name = elan2514:00-04f3:2b05-stylus enabled = false } # https://wiki.hyprland.org/Configuring/Variables/#gestures gestures { workspace_swipe = true } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more device { name = epic-mouse-v1 sensitivity = -0.5 } ################### ### KEYBINDINGS ### ################### # See https://wiki.hyprland.org/Configuring/Keywords/ $mainMod = SUPER # Sets "Windows" key as main modifier # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, $terminal bind = $mainMod, C, killactive, bind = $mainMod, M, exit, bind = $mainMod, E, exec, $fileManager bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, $menu 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 # 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 ############################## ### WINDOWS AND WORKSPACES ### ############################## # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules # Example windowrule v1 # windowrule = float, ^(kitty)$ # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. ======Config-End======== ```Description
From time to time, my cursor will randomly snap to a specific position(s?) near the bottom of my screen. I suspect this is due to the touchscreen, as I am running on a touchscreen laptop which has had a crack in it for some time. I have also experienced this issue in the past on Windows 11, and I believe I was able to fix it by uninstalling the touchscreen device drivers, although I'm not entirely sure. I have attempted to do this in hyprland as well via per-device input config, but it didn't work for me. This is the output of
hyprctl devices
:I think it's also worth noting that when I attempted to disable the touchpad using the device name
syna32af:00-06cb:ce17-touchpad
, it didn't work. However, it did work when I disabledsyna32af:00-06cb:ce17-mouse
. I have not tested whether or not the issue persists when the touchpad is disabled, but I don't believe that this would be the case, as it doesn't happen on Windows 11.How to reproduce
Steps to reproduce? Use hyprland on a touchscreen laptop with a cracked screen. I dunno.
Crash reports, logs, images, videos
No response