-
-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Low FPS on higher refresh rate on desktop (only in Hyprland) #9029
Comments
Same here |
I also have this issue with an nvidia gpu, except I have two monitors and have fps issues on both if one of them is set to 144 Hz |
if you re on git this might be hyprwm/aquamarine#132 |
I don't know if this was what you meant but I have the same issue with either the git version from yay, the github one or the pacman one. But yeah same issue, everything is ok if I cap every monitor at 60 fps, more than that and I have awful drops when moving windows, inputting keystrokes in game etc. |
Same issue here I'm using hyprland-git and aquamarine-git on amd gpu. Update |
I'm happy for you guys! Me myself I'm using |
Same issue. bisect 830350a. My monitor doesn't support HDR. @UjinT34 |
Did you try to downgrade the aquamarine and hyprland package? |
For me the issue happened quite some time ago, I wouldn't wanna try downgrading like to a much older version, I guess. Plus, I really don't remember the exact date when it happened, so it would be quite difficult to guess the version I should downgrade to :( |
#9014 should have fixed this issue. |
Still present for me, after boot up i have some minutes where everything is working as intended (desired refresh rate and performance). After about 5-10 minutes it goes back to it's previous state (using glxgears about 30-40 fps).
|
I noticed fps drops in some games, while moving the mouse, it bricks the game to 45 fps. |
Does this only happen when in fullscreen? Switching glxgears from fullscreen to windowed mode solves it in my case. |
It doesn't happened windowed, I guess it's still an option while waiting a fix but for now I play on Sway in a 2nd tty. |
Same issue here! Despite the FPS drop, both GPU and CPU usage remain low. Package Details (both not the -git one):
|
This is still present on the latest commit
Here are my versions:
If needed i can try and get the drm log, the hyprland log mainly shows:
This is regarding my second monitor, on my second monitor glxgears runs at an 'appropriate frame rate' algrough not matching my refresh rate on the monitor, while hyprland animations feel sluggish, like running below 60 fps. Moving glx gears to my primary monitor it shows ~30 fps Let me know if i can provide more information |
Probably not related to this issue. Should be fixed in #9090. |
Brief testing for about 5-10 minutes i don't see any performance drops and the desired frame rate is maintained. |
I don't think this fixes the issue. It has nothing to do with HDR nor fullscreen |
Did you try the latest commit? Edit: typo, branch -> commit |
AUR's So now: ❯ hyprland --version
Hyprland 0.46.0 built from branch main at commit 8dd2cd41fb4c5a5eb6886cc190419b36084cabfa (core: move to inotify for monitoring the config files).
Date: Sun Jan 19 16:11:12 2025
Tag: v0.46.0-134-g8dd2cd41, commits: 5689
built against:
aquamarine 0.7.1
hyprlang 0.6.0
hyprutils 0.3.3
hyprcursor 0.1.11
hyprgraphics 0.1.1
no flags were set But still: ❯ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
115 frames in 5.0 seconds = 22.963 FPS
111 frames in 5.0 seconds = 22.153 FPS
[...] (at 144Hz, at 60Hz, there's 60 FPS) |
I think you misunderstand how the AUR works. The PKGBUILD pulls the latest version from git, meaning that you only have to rebuild it to have the latest commits. This doesn't help your issue, but it might make it more convenient for you when rebuilding using a helper. |
Same here. I still have the same issue even with the latest commit. The issue also happens immediately for me and not after some time. |
Yes, same for me |
I am wondering if this is the same as my unsolved problem |
Please keep in mind that glxgears might not be a good testcase if you are on nvidia. See https://gitlab.freedesktop.org/mesa/demos/-/issues/43 |
Looks similar, yeah
AMD here, as some of the other guys from this issue as well, unfortunately. I also tested via Hyprland debug overlay - same thing |
This issue is very broad and could use additional hardware info. (Most people in this issue had a different problem I think) Are you also using thunderbolt like in #8662? |
Yes. The display is connected via DP to the docking station and docking station -> TB -> laptop |
can you try setting AQ_NO_MODIFIERS=1? |
Sure. Set it in Hyprland conf (env = AQ_NO_MODIFIERS,1) and in terminal before launching Hyprland from TTY (for good measure I guess). Same result |
You need to set it in the environment Hyprland starts in so Edit: I think you need to? not sure, but try it for good measure. |
Yep, that's what I did |
What do you need so that I can provide? In my case I posted exactly the laptop model. |
Already reported ? *
Regression?
Not a regression - it's an old bug
System Info and Hyprland Version
System/Version info
Description
I think over half a year ago I've updated my system (
pacman -Syu
), which probably also updated Hyprland, rebooted and noticed horrible lags when just browsing the web or even typing in a terminal. The only thing that removed the stutter/lags was to decrease the refresh rate of my external monitor (viahyprctl
) to 60Hz (it was running on 144Hz). After doing so - no more lags, but, well, 60Hz.At that time I was doing something important and decided to leave it like this for the time being. I had to disable the animations because they really bugged me at 60Hz. This is just to say that this isn't a new thing, it's been happening for quite some time.
This is a display that I'm using for work, so it wasn't the end of the world, but I will be swapping it to a 240Hz one (to match my main one that I use with my private PC). Now, it would really suck to be stuck at 60Hz on a good 240Hz monitor. I'm not talking about gaming here, just scrolling down a website or looking at animations.
I've had multiple attempts of trying to fix it. Browsed the internet, saw people having issues like not seeing their max refresh rate under hyprctl, but that's not me. I've obviously tried setting the 144Hz again, but it's still laggy as hell. When running
glxgears
I see 20-22FPS:, the Hyprland debug overlay shows 20FPS flat. So this happens when I set the refresh rate to 144Hz. Now, on 60Hz I get 60 FPS. When I set it to 70Hz I get 70FPS. That's strange.
I have FreeSync disabled, tried various configurations with vrr on/off (same for vfr) - nothing helps. I've reinstalled Hyprland, ran it with a default config - no luck.
The most important thing here is - it works on
i3
! Easy 144FPS inglxgears
, no problem. I've usedamdgpu_top
to see if maybe the GPU is struggling in Hyprland, but no, literally no usage, like 0-3%. Same ini3
. This is really strange. Basically, for me, it seems like Hyprland is the culprit here somehow. My setup (in terms of cables, peripherals) didn't change, the only thing that seems to have changed was Hyprland. I know that this was after a full system upgrade, but I guess if that broke something, it wouldn't work ini3
either, but it does.Does anyone know what may be the problem? I really don't want to go back to
i3
just because of this. The only thing I didn't try is to format my laptop and set it up again, but it's a painful process considering how much stuff I would have to configure for work purposes. Not sure it would be a solution eitherHow to reproduce
NA
Attach not paste
Checklist of files to include below
hyprctl systeminfo -c
(always include)Additional info & File uploads
Hyprland config (hyprctl systeminfo -c )
The text was updated successfully, but these errors were encountered: