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

M1 version please #172

Open
Bellavene opened this issue Jan 14, 2022 · 28 comments
Open

M1 version please #172

Bellavene opened this issue Jan 14, 2022 · 28 comments

Comments

@Bellavene
Copy link

Please somebody compile an M1 version. Memory leaks by windowserver with the intel version.

@alexzielenski
Copy link
Owner

alexzielenski commented Jan 20, 2022

I'm not sure compiling for M1 would solve any memory leaks. Unfortunately I have no such machine to test with 😢 .

Would accept community contribution which addresses this.

@VisualisationExpo
Copy link

Can an Intel Mac build from source and produce a M1 build? Then I can try building (within the last two days I've downloaded both the latest source looked into the requirements for building for arm - something to do with arm64e and arm64 being present in the build config)

@Bellavene
Copy link
Author

Bellavene commented Jan 20, 2022

As I know you can build for any platform, but I don't know how.

alexzielenski I can test it for you

@VisualisationExpo
Copy link

VisualisationExpo commented Jan 20, 2022

I've just built Mousecape locally and it shows up as being Universal, however the Sparkle framework doesn't come with.

Mousecape works and installing the Mousecape Helper also works.

I wonder why that is. For now it's 3,3 MB vs 6,something MB previously. Probably due to the missing Sparkle framework?!

edit:
I see that the Sparkle framework isn't even included in the Mousecape-master folder.. Perhaps I can borrow from the Mousecape release version... I'll try that

From Appletoolbox.com

Universal. You’ll only see this label if you’re running a non-M1 Mac. It means that an app has been optimized for ARM, but since you aren’t running the M1 chip, it’s running “universally” on Intel.

@VisualisationExpo
Copy link

Update.. re-built again, but no success on having Check for Updates working .. I've included the Sparkle framework from the 1813 release version, but the mechanism won't take.

I saw some issues in one place that I will see to - it's probably what's the matter.

@Bellavene
Copy link
Author

Bellavene commented Jan 20, 2022

Thank you for trying! I believe that the framework may also needed to be universal

@fnankivell
Copy link

Any news on the M1 effort? Thank you!

@VisualisationExpo
Copy link

VisualisationExpo commented May 14, 2022

Note. I built this Mousecape version for macOS 12 and up
I hope that it works.. I built it while selecting to build for Intel and Apple Silicon on my Intel Mac with Xcode 13.3.1

Here's an Apple Silicon and Intel version of Mousecape - version 1815 without the Sparkle framework.
Sparkle framework doesn't like me. And I have no idea on how to make it work.
Mousecape.zip

@Bellavene
Copy link
Author

Thank you

@Dnilo
Copy link

Dnilo commented May 18, 2022

Note. I built this Mousecape version for macOS 12 and up I hope that it works.. I built it while selecting to build for Intel and Apple Silicon on my Intel Mac with Xcode 13.3.1

Here's an Apple Silicon and Intel version of Mousecape - version 1815 without the Sparkle framework. Sparkle framework doesn't like me. And I have no idea on how to make it work. Mousecape.zip

I will be testing this in a couple of days when I get my mew mac with m1, in the meantime it shows as it can't run on my current intel mac. I'm still running Mouscape 0.0.6 (1714).

@VisualisationExpo
Copy link

Note. I built this Mousecape version for macOS 12 and up I hope that it works.. I built it while selecting to build for Intel and Apple Silicon on my Intel Mac with Xcode 13.3.1
Here's an Apple Silicon and Intel version of Mousecape - version 1815 without the Sparkle framework. Sparkle framework doesn't like me. And I have no idea on how to make it work. Mousecape.zip

I will be testing this in a couple of days when I get my mew mac with m1, in the meantime it shows as it can't run on my current intel mac. I'm still running Mouscape 0.0.6 (1714).

Is it impossible for you to even get the official 1813 release of Mousecape going on your Intel Mac?
What model Mac is it, and how far back are you with macOS releases? Mojave?

@VisualisationExpo
Copy link

VisualisationExpo commented May 18, 2022

Thank you

You're welcome. How is it working for you?

note that I'm working in the dark with regards to Apple Silicon processors I just thought it would be great to finally put actions to my earlier words

@Dnilo
Copy link

Dnilo commented May 18, 2022

Note. I built this Mousecape version for macOS 12 and up I hope that it works.. I built it while selecting to build for Intel and Apple Silicon on my Intel Mac with Xcode 13.3.1
Here's an Apple Silicon and Intel version of Mousecape - version 1815 without the Sparkle framework. Sparkle framework doesn't like me. And I have no idea on how to make it work. Mousecape.zip

I will be testing this in a couple of days when I get my mew mac with m1, in the meantime it shows as it can't run on my current intel mac. I'm still running Mouscape 0.0.6 (1714).

Is it impossible for you to even get the official 1813 release of Mousecape going on your Intel Mac? What model Mac is it, and how far back are you with macOS releases? Mojave?

It's not impossible, but I haven't had the need to check for any updates for Mousecape, I just noticed there was a new version hehe. I came back to the github looking for M1 experiences and to know what to prepare for.

I have a Mac Mini late 2014 with Big Sur.

@Bellavene
Copy link
Author

It is working quite well

@VisualisationExpo
Copy link

VisualisationExpo commented May 24, 2022

That's lovely.. Perhaps I should just fork the project properly.. I'll have to ask the author, Alex, about the issue with Sparkle and if I can fork and then exclude that framework

@Dnilo
Copy link

Dnilo commented May 24, 2022

I can also confirm it's working flawlessly on m1, thank you.

@VisualisationExpo
Copy link

VisualisationExpo commented May 24, 2022

So, just to ask in broader terms. The Windowserver issue leaking memory has been eliminated when using an Apple Silicon Mac and the Mousecape build I uploaded to this thread? 😬

Asking because as you know, I'm on an Intel Mac still and I can read that the author of Mousecape in #172 (comment) doesn't think that re-compiling for M1 helps.

It's only good if it has helped. That will surely help moving forward. 👍🏻

@Bellavene
Copy link
Author

The window server issue was mostly managed about two minor macos updates ago. Thank you very much, this was the last non-native app I had in last 6 months. I don't know for what is "sparkle" for, everything works. Definitely it can be released in this state.

@Mammadbayli
Copy link

is 1815 safe to use on M1?

@VisualisationExpo
Copy link

is 1815 safe to use on M1?

There honestly shouldn't be an issue with it. :) Virus Total results if those matter.
https://www.virustotal.com/gui/file/197a9457ecc7435351df8206a329e3468d3e9a69140792deffe17e5775488a9a?nocache=1

@VisualisationExpo
Copy link

The window server issue was mostly managed about two minor macos updates ago. Thank you very much, this was the last non-native app I had in last 6 months. I don't know for what is "sparkle" for, everything works. Definitely it can be released in this state.

Sparkle handles the update to a newer version via an easy to use interface that you've probably seen in many other apps - this particular build is without that framework because I am not smart enough to include it in a way that @alexzielenski can for instance.
And because the Sparkle framework would have to be built for M1 too - I got stuck right there - choosing to exclude it from the build and hoping that an official build of Mousecape comes out is what I thought was The Right Thing™ at the time

@Dnilo
Copy link

Dnilo commented May 27, 2022

Had to come back to inform that while it works, it's animating the cursors with the wrong frame duration (very slow in my case). I reverted to the 1813 version, it's not native but it makes zero impact on my cpu usage, specially since I apply the cape and close mousecape afterwards.

I don't know what process keeps the cursor applied and animating but besides all the processes I usually run there's no other process that uses more than 0.1% of CPU when it's applied vs default Mac cursor.

I'm on a Mac Mini M1.

@Bellavene
Copy link
Author

It is possible, I don't have any custom animated cursor set up

@VisualisationExpo
Copy link

@Dnilo I guess there's then no real reason to keep my build up. I so wish I had an M1 Mac of sorts to be with all the cool guys.
It really was just a test, if you will, to see it it would bear fruit to compile for M1. It might also be that there's a more specific setting or build process in Xcode that would help eliminate the issue you are seeing.

@elipongr
Copy link

Hey @VisualisationExpo i installed 1815 but the cursor works only until i make one click, what have i done wrong?

@VisualisationExpo
Copy link

Hey @VisualisationExpo i installed 1815 but the cursor works only until i make one click, what have i done wrong?

I doubt you've done anything wrong.. best to try and install the Helper tool if you haven't already?

The issue comes and goes with me too - also with the official 1813

@Dnilo
Copy link

Dnilo commented Jun 30, 2022

@Dnilo I guess there's then no real reason to keep my build up. I so wish I had an M1 Mac of sorts to be with all the cool guys. It really was just a test, if you will, to see it it would bear fruit to compile for M1. It might also be that there's a more specific setting or build process in Xcode that would help eliminate the issue you are seeing.

@alexzielenski @VisualisationExpo How can I help to make a build on Apple silicon?

@ryenus
Copy link

ryenus commented Jul 14, 2022

Maybe use GitHub Actions for the M1 build?

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

No branches or pull requests

8 participants