Skip to content
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

Making my M3 Pro scream for Air #61

Closed
benneknudsen opened this issue Jan 20, 2025 · 19 comments
Closed

Making my M3 Pro scream for Air #61

benneknudsen opened this issue Jan 20, 2025 · 19 comments
Labels
bug Issues reporting wrong behavior
Milestone

Comments

@benneknudsen
Copy link

Problem

Image

Alcove is using a lot of the CPU and Ram, which made my MacBooks fans spin (First time it happened for me)

There might be a leak, or something else that makes my Macbook run like if I played Crysis back in the day.

Steps to reproduce

Open Alcove
Leave Mac on snooze for a few days.
Open it back up, and noticed the performance of Alcove

Expected behavior

Shouldn't use that much

Menu bar affecting apps

No response

Alcove version

1.2.1

Mac/MacBook model

Macbook Pro M3 Pro

macOS version

15.2

@benneknudsen benneknudsen added the bug Issues reporting wrong behavior label Jan 20, 2025
@henrikruscon
Copy link
Owner

This is an edge case bug caused by the Focus mode feature, I'm still working on finding the reason. If you disable Focus in settings, this will not happen. I understand this is not ideal but works as a temporary fix. Albeit so far it seems people run into it once and then not again, so you're probably safe to continue using it.

@henrikruscon henrikruscon added this to the v1.2.2 milestone Jan 20, 2025
@henrikruscon henrikruscon marked this as a duplicate of #72 Feb 2, 2025
@mirth
Copy link

mirth commented Feb 4, 2025

I've disabled the focus mode and restarted the app. It worked fine for about a day, and right now it again 100% cpu utilization (note: it loads single core so maybe it another case).

@henrikruscon
Copy link
Owner

@mirth When you say you disabled focus mode, can you elaborate?

@mirth
Copy link

mirth commented Feb 9, 2025

@henrikruscon I've disabled such option in an app. Also I don't use focus mode in macOS.
Image

@henrikruscon
Copy link
Owner

@mirth And you still got 100% CPU? Interesting. This suggests a second bug. Next time this happens, could you do a sample process of Alcove in Activity Monitor? Would really help to figure out what caused it.

@henrikruscon henrikruscon modified the milestones: v1.2.2, v1.3 Feb 9, 2025
@valaises
Copy link

Same issue
No focus mode enabled
Image

@henrikruscon
Copy link
Owner

henrikruscon commented Feb 10, 2025

I need a sample process of when this happens to figure it out, otherwise I don't know what the cause is. Please take one next time it happens.

@mirth
Copy link

mirth commented Feb 11, 2025

Please take one next time it happens.

"Unfortunately" It works fine since new version 1.2.2 :)

@Shadowlight5
Copy link

I am experiencing this issue as well, where my Alcove is pegged at 100% CPU. I have Focus Mode off currently, and I restarted Alcove, but I am still seeing the same behavior. I have attached a sample process to this. Hopefully you'll find it helpful!

sampleProcess.txt

@henrikruscon
Copy link
Owner

This seems to be related to album art being very heavy to process. It would really help if someone could share which album art was causing this at the time so that I can reproduce it.

@henrikruscon
Copy link
Owner

@Shadowlight5 your issue is 100% related to focus mode, I just checked the sample. When you say you have focus mode disabled, do you mean on your Mac, or in the actual Alcove settings? Because if focus mode is on/off on your Mac is completely irrelevant, the issue is with the logic in Alcove that checks for focus mode, so that's what needs to be disabled.

@Shadowlight5
Copy link

@Shadowlight5 your issue is 100% related to focus mode, I just checked the sample. When you say you have focus mode disabled, do you mean on your Mac, or in the actual Alcove settings? Because if focus mode is on/off on your Mac is completely irrelevant, the issue is with the logic in Alcove that checks for focus mode, so that's what needs to be disabled.

Total misunderstanding on my part. I had disabled focus mode on the Mac, not in the Alcove settings. Disabling it inside of Alcove did fix the high cpu. Thank you!

@mirth
Copy link

mirth commented Feb 13, 2025

Here is process sample when it 100% cpu for me.

Sample of Alcove.txt

@henrikruscon henrikruscon modified the milestones: v1.3, v1.2.3 Feb 13, 2025
@henrikruscon
Copy link
Owner

@mirth Your issue is album art too, not focus. I haven't found the reason for this yet. Any idea what you were playing when it happened? would be really helpful to have the album art that caused this.

@mirth
Copy link

mirth commented Feb 13, 2025

@henrikruscon To be clear, the first appearing of bad cover "infests" the process to have cpu 100% for any other cover later?
Cause when I'm switching the track the cpu it still loaded.

@henrikruscon
Copy link
Owner

@mirth Could you elaborate? Does it only use 100% CPU after changing track momentarily and then goes down? Or do you mean the 100% CPU remains no matter which track?

Since I haven't found the actual bug yet I'm assuming one bad album art is affecting the logic to loop forever or nearly forever on it, so in theory it should remain 100% until you close Alcove. So finding the original album art that can reproduce this issue on demand would be ideal, then I could patch it very fast and easily.

@mirth
Copy link

mirth commented Feb 13, 2025

@henrikruscon 100% CPU remains no matter which track.

@henrikruscon
Copy link
Owner

@mirth that confirms the running theory then, we need to find the original album art causing the issue

@henrikruscon
Copy link
Owner

Ok I found the issue, this will be patched in next release as well (album art bug). Thanks for all your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues reporting wrong behavior
Projects
None yet
Development

No branches or pull requests

5 participants