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.54k stars 819 forks source link

Performance issue on games #6747

Open jules-timmerman opened 2 months ago

jules-timmerman commented 2 months ago

Regression?

Yes

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit addd3e7f1aeb670dd91d26005aaeccce3efb1ae7 (xwayland: move to hyprland impl (6086)). Date: Sat May 25 22:43:51 2024 Tag: v0.40.0-136-gaddd3e7f, commits: 4742 flags: (if any) System Information: System name: Linux Node name: Circe Release: 6.9.7-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:50 +0000 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06) (prog-if 00 [VGA controller]) 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] [10de:1c20] (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: ```

Description

I experience performance issues on multiple games (tried Honkai: Star Rail and FFXIV, both are run through XWayland and Wine / Proton). I also experienced the issue with 0.41.2 and origin/main. The system info is from the first bad commit. My GPU seems to be working as nvidia-smi shows energy consumption and all.

How to reproduce

Crash reports, logs, images, videos

enk-it commented 2 months ago

Have you tried running games using another DE's besides hyprland? I just think that this is not hyrpland-specific issue. There are lots of posts with performance issues on nvidia cards all over the linux community . You can check hyprland wiki and try to use these fixes, but i m not quite sure that they can help you

https://wiki.hyprland.org/Nvidia/

vaxerski commented 2 months ago

perhaps #6359 ?

jules-timmerman commented 2 months ago

perhaps #6359 ?

Downgrading xorg-xwayland didn't solve the issue.

Have you tried running games using another DE's besides hyprland?

I'll try with sway and keep you updated.

jules-timmerman commented 2 months ago

@enk-it It worked with Sway, even when the proprietary drivers of NVidia are marked as unsupported.

Ciflire commented 2 months ago

Same issue here I'm running on a laptop with secondary screen, there are less performance issues when browser is not offloaded on gpu and when not on screen (switching desktop sometimes helps) Can sometimes make the entire laptop crash and need reboot I'll add logs next time i have the issue