hyprdots icon indicating copy to clipboard operation
hyprdots copied to clipboard

[Bug]: Low FPS When Gamemode Off

Open TZProgrammer opened this issue 6 months ago • 2 comments

Bug Report

Description

I get low FPS on my system even with no intensive application running (Discord at 6% CPU, Hyprland at 1%, everything else negligible). As soon as gamemode is turned on, the fps reaches my monitor refresh rate.

I find this strange since, if Hyprland was being so intense that the fps had to be halved, it would be consuming more of the GPU.

Steps to Reproduce

  1. Gamemode Off
  2. Run glxgears to check framerate

Expected Behavior

I expected either one of two things. Normal FPS, or low FPS with high CPU usage. On my monitor, the expected FPS would be 144.

Actual Behavior

FPS hovers between 60fps and 90fps.

Screenshots

Framerate before gamemode, and after gamemode (sudden jump in fps at the end): image

Consumption of resources at the time: image

(The Hyprland utilization is unusually high at this moment, it usually is at 1 or 2%, unsure what is happening here but it seems to be unrelated to the bug).

Environment

e.g.,

  • Linux Distro: ArchLinux
  • Linux Version: Linux tzeger 6.6.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:01:01 +0000 x86_64 GNU/Linux
  • Hyprland Version: Hyprland, built from branch main at commit e5eb11ad0423bfdfd4056964ef868e26b2d3c846 dirty (Nix: wrap with gcc). Date: Wed Dec 27 13:27:55 2023 Tag: v0.33.1-101-ge5eb11ad
  • Installation Environment: Main Environment, Nvidia dedicated GPU, intel dedicated CPU
  • Laptop: ASUS ROG G15.
  • Other info: Laptop monitor at 144 Hz, 1920x1080. External monitor at 144 Hz, 1920x1080.

Additional Information

This happens both with nvidia_anti_flicker = false or true.

TZProgrammer avatar Dec 29 '23 06:12 TZProgrammer