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.65k stars 830 forks source link

Whole hyprland environment stutters when gpu does intensive task? [NVIDIA] #7643

Closed Edgars-Cirulis closed 1 week ago

Edgars-Cirulis commented 1 week ago

Regression?

No

System Info and Version

Date: Wed Aug 7 19:17:10 2024
Tag: v0.42.0, commits: 5069

flags: (if any)

System Information:
System name: Linux
Node name: arch
Release: 6.10.7-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Thu, 29 Aug 2024 16:48:57 +0000

GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] [10de:2520] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  560.35.03  Fri Aug 16 21:39:15 UTC 2024

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

config file:

https://katb.in/yewuxutilim

Description

Hyprland stutters when the GPU is under an intensive task. Even when I'm in fullscreen mode, the mouse also stutters.

How to reproduce

https://github.com/user-attachments/assets/32f96b4d-442f-49d5-917d-bffe93582510

Crash reports, logs, images, videos

No response

Edgars-Cirulis commented 1 week ago

Tried with or without hardware cursor / enabled or disabled explicit sync, no luck.

Sway/KDE has no issues like that.

Aqa-Ib commented 1 week ago

What is the intensive task running in the background ?

Edgars-Cirulis commented 1 week ago

What is the intensive task running in the background ?

Glmark2

Edgars-Cirulis commented 1 week ago

What is the intensive task running in the background ?

So basically, when I turn on vsync on minecraft hyprland dosnt lag because gpu is not much in use, whenever i untoggle vsync in game hyprand goes brr..

https://github.com/user-attachments/assets/4b1294b0-1a13-4844-ae38-a2af9d1fef2d

https://github.com/user-attachments/assets/6f901ac5-3ca2-4c01-a04e-350b7ae3ef25

Aqa-Ib commented 1 week ago

Can you try with aquamarine-git and hyprland-git?

Edgars-Cirulis commented 1 week ago

no point of aquamarine-git because 0.4.0 got released, also ive tried hyprland-git same issue.

System64fumo commented 1 week ago

I'm facing a slightly different issue at the moment, Highlighting text in my text editor of choice causes hyprland to start lagging. It only happens like 25% of the time tho.

Won't lag if i max out my GPU or CPU (Or both at the same time)

Vaxry please fix :+1:

Edgars-Cirulis commented 1 week ago

Heh, atleast he could provide debugging guide for that.