Weird CPU overloading with external monitor on mid-2015 15" Macbook Pro
In Mainstage 3, when using a level meter widget of any kind, CPU usage will slowly (30s to 3m, depending on various factors) begin to rise until there is only a few percent of CPU left. Mainstage itself, is not directly responsible, because unplugging the monitor will immediately reduce CPU usage to a few percent. Leaving out the level indicator widget will prevent the odd behavior. The process that is hogging CPU time is "kernal_task", which suggests that this is an operating system problem.
Recently, I will sometimes see the same problem, with the same strange slow rise in CPU usage, until even the stream I'm watching will start stuttering and even stop for seconds at a time. Pulling the external monitor cable or restarting the browser will both fix the problem.
What is so weird about this to me is that if it's a resource issue, why does it take so long to occur (minutes, in some cases)? It looks like kernel processes are being created, over and over, without any of them being stopped. BTW, GPU usage remains light in all cases - under 20%. Again, weird, because according to my diagnostic tool, the only thing using the GPU is the external monitor port! Seems like a sloppy use of resources but ok, the real problem is whatever kernel task is going rouge and sucking up all the
CPU cycles.
This would be a great point to hear from Apple...
MacBook Pro 15″, macOS 12.6