-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Intensive GPU usage with background blur #78
Comments
I will have a look at this but ultimately, borders is not using the GPU itself. The WindowServer uses it for compositing the windows, should there really be excessive GPU usage for the blur feature, it probably needs to be removed. What is your methodology for measuring the GPU usage? |
Clearly something is wrong with the implementation. It shouldn't spam GPU like that. I watch the usage through iStat Menus, it shows GPU load under the CPU usage menu. I've noticed the slow down only after a while, when I started an application depended on GPU, the frame rate was unusually low, unusable. |
The „implementation" is literally only one line: Line 290 in db682e7
So if anything goes wrong it is likely not in the borders code. Apart from that I dont think your testing methodology is robust enough to draw conclusions. I will try to come up with something more sophisticated when I investigate this. What I would advise is to disable the blur feature for now. |
So I removed the blur feature, as I was easily able to reproduce your findings (It is indeed GPU usage of WindowServer that gets out of hand, not the borders process). A more robust blur feature would likely need to be implemented using a CALayer backed solution. |
Why fully remove it when it causes issues only for some people? I have barely any GPU usage change with this feature. It should receive a warning or be deprecated in any other way, but not removed until there's a better solution. |
"Some people" I doubt it, it was eating GPU resources like crazy for no acceptable reason. |
Well, it isn't for everyone. So even if it's only a few that can use it without issues, why take this very essential feature away from them, when you can just make it very clear that it can cause issues and no support is given for any issues or something like this. |
It was for everyone, if you personally don't see an issue, doesn't mean it does not exist. |
I can literally see my GPU usage... With blur on, it was at like 15% maximum. That's totally fine. |
Even 15% non-stop for a static blur effect — is a huge issue. Needless to say, it was much more. |
I think you are misunderstanding what I am saying. |
For some reason, I have non-stop GPU usage if I turn blur background on and a window is open. If the window is a fullscreen browser window, GPU usage goes crazy at full throttle.
M1, macos 14.0
The text was updated successfully, but these errors were encountered: