Catalina: High CPU usage of WindowServer process after latest security update 2022-004 #255
Labels
No labels
2230
2243
App version
Apple OS errata
Apple SDK
bug
bugsnag
build
dlt
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: chris/Cog#255
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe
I'm running the macOS Catalina and after installing the latest security update (2022-004 https://support.apple.com/en-us/HT213255 - 10.15.7 19H1922) I noticed a high CPU usage of the WindowServer process when running Cog.
It doesn't seem to occur when other apps are in use or at least I haven't found any other one that would cause this.
I tried to update the Cog to the latest build (2169-gbf54c452 from https://cog.losno.co/download) to see if that makes any difference, but unfortunately it doesn't.
Removing the Spectrum item from the toolbar partially helps, however it doesn't fully remedy the issue (and still the issue didn't previously occur even with Spectrum active).
Minimizing the Cog window helps even more (and maybe brings things back to normal, though I can't compare it directly).
I'm fully aware it could be likely an OS rather than Cog related issue, however it doesn't really appear to affect other apps so there could be something to do about it in the Cog.
The machine is an old 2012 MacBook Air 11", 2 CPU cores, 4 threads, so such things are pretty visible there with fan kicking in shortly after the issue start to occur.
Typical CPU usage examples:
If there's anything I can help with in order to diagnose this please let me know.
Version information:*
Additional context
Started to occur after installing the macOS Catalina Security Update 2022-004 https://support.apple.com/en-us/HT213255
It's doing that even on an M1 running Monterey. I think the only choice is to either reimplement the entire visualizer using Metal, or turn it off entirely.
This has been fixed by
dc103ac546
which also disables visualizations when they're not visible. Prior releases, the visualization would still process audio, even if it's not drawing. In your case, it's also the visualizer drawing. Remove the visualizer from the toolbar to disable it. I'll have to consider disabling it by default.