Comments (10)
What Mac model is it and what features are being used? The CPU consumption should be negligible normally as the app generally just runs in the background waiting for some keyboard shortcut or user activity.
from betterdisplay.
Thanks, I have seen the behavior on Apple Silicon with these CPUs: M1, M2, M2 Max.
It seems that it occurs after the following steps:
- Installation (via Homebrew)
- first start
- activation of the license
- activation of keyboard shortcuts (accessibility)
- then restart via interface in settings
from betterdisplay.
After another restart, it seems to be "fixed".
from betterdisplay.
It is running in the same cycle again.
macOS then created a report.
BetterDisplay_2023-10-28-232724_Martins-MacBook-Pro.wakeups_resource.txt
BetterDisplay_2023-10-29-020445_Martins-MacBook-Pro.wakeups_resource.txt
from betterdisplay.
Does it happen only with the v2.0.11 version? Are the configs you had this issue similar in terms of software (a clones of each other or set up similarly - same third party apps, utilities, settings etc)? What does it mean "it is running in the same cycle again"?
Based on what you sent it seems it's something SwiftUI related, macOS seems to be preoccupied with some layout things. You get the high CPU usage even without opening the menu or Settings (not that the app should have any consumption when these are open - CPU usage should be around 0.1% normally, or at least that's what I get).
from betterdisplay.
If what the pwoerstats indicates is a constant thing, it seems like some kind of event is constantly "tickling" the app causing the UI to respond and redraw. By the abundant amount of SwiftUI and NSView things it must be stimulating the app menu or Settings somehow which makes no sense unless any of these are open. Is this a vanilla macOS installation or are there maybe some third party window management, menubar altering apps or any other general macOS UI/experience altering/improvement apps or utilities running concurrently with BetterDisplay which might somehow do such a thing? If not then I have no idea why this is. Did not receive any reports like this so far, but it might be that nobody noticed it. I certainly could not reproduce the issue so far.
You say the issue only arises with the v2.0.11 version and v2.0.10 or earlier is fine? If so, I can quickly go through the changes/differences, but as far as I remember I did not make any change in the way the UI itself behaves.
from betterdisplay.
It is a fresh installed macOS 14.1, without any extensions or some system changing 3rd party software.
Yes, didn't do anything, just keep BetterDisplay in the menu bar. No open windows and no flickering somewhere.
I didn't started with the 2.0.11 version, didn't able to test the 2.0.10 before.
from betterdisplay.
I see. What does "It is running in the same cycle again" mean exactly? After how long does the app start doing this? Can you share a bit more info on the configuration? Are there external displays and how are they connected?
from betterdisplay.
Thought after couple of restarts, it was fixed by itself, but after couple of minutes (without rendering the menu via menubar or a window from BetterDisplay), it was running in the same cycle again with ~20% cpu usage again visible in the Activity Monitor app.
May it took couple of seconds but less than minutes.
My setup is:
- Thunderbolt docking station
- LG Monitor connected to the docking station
But I tried to disconnect the docking station and saw the same behavior.
from betterdisplay.
I am sorry, I have no explanation for this issue and can't seem to be able to reproduce it. :( I'll move this to discussions and see if anybody else experiences the same. Generally 20% UI activity related CPU usage is all right when the app is in the process of actively rendering something or doing UI animations (using SwiftUI) but it should be brief and momentary for the time the animation or the activity is happening, otherwise the app should just stay at 0%-0.1% CPU usage when dormant. I don't understand why and what does constantly cause the UI to work on your Mac. If the macOS installation is totally fresh, no settings altered and BetterDisplay is the only app running and freshly installed, it is even more of a conundrum (and the fact that I can't reproduce it is even more baffling). I am very sorry for the issue you are experiencing.
Do you have a similar issue if you install v1.4.x or one of the earlier v2.x betas that still did not have the SwiftUI app menu (try https://github.com/waydabber/BetterDisplay/releases/tag/v2.0.3-pre-release)?
from betterdisplay.
Related Issues (20)
- Permanently enable Night shift HOT 1
- Add CLI option to configure screen mirroring HOT 1
- Add CLI features to configure screen streaming HOT 1
- Add CLI features to configure Picture in Picture HOT 1
- CLI for relative display placement ("Move Display") feature (alongside the existing placement CLI) HOT 1
- CLI for display config protection (protect current or turn protection off) HOT 1
- Spelling error in Application -> Notification and Dock section of menu. 'turend' HOT 1
- Combined brightness-contrast control
- DDC Control needs to be reconfigured after each monitor sleep HOT 1
- Option to show Menu Bar icon only when specific displays are connected
- Feature Request: Time-Based Dimming / Enhanced Night Mode HOT 2
- Mac Mini Intel 2018 - Internal HDMI DDC not working HOT 1
- Honor "Reduce Motion" accessibility settings and remove menu animations if it is enabled
- How to reset brightness to what it was HOT 1
- Mirror Virtual Display to Blackmagic / Aja Output Cards
- Crash: rare "attempting to set illegal NSView geometry: x is NaN" when using resolution slider
- Paid but application hangs when trying to activate HOT 2
- Main display keeps switching HOT 1
- Apple Studio Display black screen 3200 x 1800 unsupported HOT 1
- Mouse pointer outline fades when brightness is not high HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from betterdisplay.