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.61k stars 827 forks source link

Swapping keyboard inputs causes lag #7217

Open V2XOCt6RQuKHBqk2NlbZrLZbequr7TG3xF9db2m opened 1 month ago

V2XOCt6RQuKHBqk2NlbZrLZbequr7TG3xF9db2m commented 1 month ago

Regression?

No

System Info and Version

Hyprland, built from branch at commit dirty (). Date: Tag: , commits:

flags: (if any)

System Information: System name: Linux Node name: nixos Release: 6.6.32 Version: #1-NixOS SMP PREEMPT_DYNAMIC Sat May 25 14:22:56 UTC 2024

GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [1002:744c] (rev c8) (prog-if 00 [VGA controller]) 12:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c1) (prog-if 00 [VGA controller])

os-release: ANSI_COLOR="1;34" BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.05.1135.9b5328b7f761" 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_END="2024-12-31" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.05 (Uakari)" VERSION_CODENAME=uakari VERSION_ID="24.05"

plugins:

Description

When you use another keyboard input at the same time as your original one, it causes stutters / freezes. I found this out by using Mangohud and playing with keyboard keys bound to my mouse. I then tested pressing 2 keyboards (roughly) at the same time and it still happens. I originally thought it was a problem with Piper because other people were having the same issue but after testing 2 keyboard inputs without any software, it still happens. Similar problem: https://www.reddit.com/r/linux_gaming/comments/qaxz3m/comment/hqankhn/

How to reproduce

Use more than one keyboard input (real or virtual) and press then both in quick succession.

Crash reports, logs, images, videos

No response

vaxerski commented 1 month ago

@fufexan how do I know what version this even is when nixos strips it

fufexan commented 1 month ago

@V2XOCt6RQuKHBqk2NlbZrLZbequr7TG3xF9db2m can you do realpath $(which Hyprland)?

@vaxerski nix no longer does this, it must be an old ver (<= 0.41.1)

V2XOCt6RQuKHBqk2NlbZrLZbequr7TG3xF9db2m commented 1 month ago

Because you were asking about versions, i updated everything. Still happens. /nix/store/f6v5nm08sz8bsvb87696yj7g7n39dw96-hyprland-0.41.2/bin/Hyprland

Hyprland, built from branch main at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update). Date: 2024-06-25 Tag: v0.41.2, commits: 918d8340afd652b011b937d29d5eea0be08467f5

flags: (if any)

System Information: System name: Linux Node name: nixos Release: 6.6.44 Version: #1-NixOS SMP PREEMPT_DYNAMIC Sat Aug 3 06:54:42 UTC 2024

GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [1002:744c] (rev c8) (prog-if 00 [VGA controller]) 12:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c1) (prog-if 00 [VGA controller])

os-release: ANSI_COLOR="1;34" BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.05.3642.883180e6550c" 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_END="2024-12-31" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.05 (Uakari)" VERSION_CODENAME=uakari VERSION_ID="24.05"

plugins:

vaxerski commented 1 month ago

0.41.2 is old, check 0.42.0