Hyprland: Perfomance is bad when animations are running with iGPU
Hyprland Version
Hyprland, built from branch at commit 3fe6162af1904f15fc5526c179c06a48265bdbff (). Tag: flags: (if any) debug
Bug or Regression?
Bug
Description
When there is any kind of animation playing, whether it is video playing or animations inside an application (like steam for example) switching between workspaces is not smooth at all.
I have tried many things and none worked. I have set CPU and GPU to performance mode, I have set GPU to Hybrid mode, I have enabled vrr and disabled it and same with vfr. Disabled scaling too.
What I have noticed is that the load on my iGPU and dGPU is just unreasonable. With vrr disabled my iGPU is at around 50% (that’s fine) but the performance is bad. With vrr on iGPU is at 100% load and the performance is just a little bit better. The only time I am able to make Hyprland go fully smooth is when I use my dGPU as primary one and iGPU as secondary on Hyprland which seems unreasonable for me, considering that for other people iGPU is just enough for smooth experience, even on 4K monitors.
I have RX 6800M GPU and Ryzen 9 5980HX CPU with iGPU. My monitor is 2560x1440 with 165hz. Below I will send pictures of my tests while some kind of animation is playing (in this case video playing). I will gladly provide more info if needed. All of the tests were made in performance mode btw.
iGPU with vrr set to 1 and vfr set to true
iGPU with vrr set to 1 and vfr set to false
iGPU with vrr set to 0 and vfr set to true
iGPU with vrr set to 0 and vfr set to false
dGPU (main) and iGPU (secondary) with vrr set to 1 and vfr set to true
dGPU (main) and iGPU (secondary) with vrr set to 1 and vfr set to false
dGPU (main) and iGPU (secondary) with vrr set to 0 and vfr set to true
dGPU (main) and iGPU (secondary) with vrr set to 0 and vfr set to false
Each of these tests were done after session restart.
One thing to note is that iGPU sometimes jumps to 2100mHz according to nvtop while dGPU is the main one. I would do tests with purely dGPU enabled but Hyprland refuses to launch when this is the case. A person who has literally the same machine as me reports that Hyprland goes smoothly for them with iGPU only while they have two monitors. I am certain that the behavior my session is showing is not normal at all. One could say that maybe something is wrong in my machine but I have checked everything so many times that I am starting to doubt that the issue is on my part.
Like mentioned before, I will gladly provide more information if needed. I just want Hyprland to run smoothly with iGPU only without my fans going crazy as if I were playing AAA games. Especially when it is possible for others.
How to reproduce
- Install Hyprland.
- Use iGPU only.
- Try running a video on firefox in workspace 1 for example.
- Run steam on main page in workspace 2.
- Try switching between them.
- The issue should be hopefully visible.
Crash reports, logs, images, videos
No response
About this issue
- Original URL
- State: closed
- Created 7 months ago
- Comments: 31 (13 by maintainers)
After more testing I found out what the issue was. My normal config has set scaling to
1.5. I set it to1and everything goes fine, even the youtube video. I assume that was also a difference between other people’s config and mine.The problem is that I have 2K monitor and I can’t see the text very well with scaling set to
1. Furthermore, on KDE I have scaling set to 150% which is the equivalent to1.5in Hyprland, that’s why I had such scaling in the first place.Why does it happen though? On KDE the scaling works fine but not on Hyprland? Is there a way to mitigate or fix this problem? My eyes kinda hurt trying to read the text and all of that stuff when it’s too small.