prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland
GNU General Public License v3.0
6.27k stars 746 forks source link

[Bug]: Low FPS When Gamemode Off #702

Open TZProgrammer opened 8 months ago

TZProgrammer commented 8 months ago

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.,

Additional Information

This happens both with nvidia_anti_flicker = false or true.

kRHYME7 commented 7 months ago

Steps you can try to see which in the game mode fixes the refresh rate: (This is how gamemode.sh is written)

hyprctl keyword animations:enabled 0

hyprctl keyword decoration:drop_shadow 0

hyprctl keyword decoration:blur:enabled 0

hyprctl keyword general:gaps_in 0

hyprctl keyword general:gaps_out 0

hyprctl keyword general:border_size 1

hyprctl keyword decoration:rounding 0



This way we can find out which fixes the refresh rate and might help us understand the behaviour. 
kRHYME7 commented 5 months ago

Hello is the issue still relevant?

Here's the posible culprit

641

WantDead commented 2 months ago

For me helped this

hyprctl keyword decoration:blur:enabled 0