Lightpack icon indicating copy to clipboard operation
Lightpack copied to clipboard

Apple Silicon.

Open PatricioooAG opened this issue 5 years ago • 90 comments

Hello, Im Patricio and Im using this app in MacOS, its perfect. And ¿ Is in the way a Silicon update ? Thanks so much.

PatricioooAG avatar Nov 11 '20 16:11 PatricioooAG

well they brag about how fast Rosetta 2 is, so you'll have that the project compiles on random arm64 chip, so there's that, no idea if and how it runs we'll see

zomfg avatar Nov 11 '20 19:11 zomfg

Sure. Sorry. You know. Was only a wish. I appreciate too much the app.

PatricioooAG avatar Nov 12 '20 13:11 PatricioooAG

At least on my M1 Mac mini, Prismatik immediately crashes after launch.

/Applications/Prismatik.app/Contents/MacOS/main.conf
Unportable version
Application directory: /Users/melvin/.Prismatik
[1]    1228 illegal hardware instruction  /Applications/Prismatik.app/Contents/MacOS/Prismatik

melgu avatar Dec 08 '20 17:12 melgu

Here's an apple arm64 build (non-universal, arm only), no clue if runs and FYI:

  • project depends on Qt
  • Qt does not officially support Big Sur and/or M1 yet (which could explain the error since Qt uses AVX etc internally)
  • it should be partially supported with 6.1
  • and fully (enough for Prismatik) with 6.2 in late 2021
  • current LTS 5.15 is affected but I haven't seen anything planned for it

so short term does not look good also can you run sysctl -a | grep -F hw.opt in a terminal

zomfg avatar Dec 13 '20 23:12 zomfg

That build works (after manually removing the quarantine attribute). Thanks! Looking forward to the official release 👍

Here's the output, if you still need it:

hw.optional.floatingpoint: 1
hw.optional.watchpoint: 4
hw.optional.breakpoint: 6
hw.optional.neon: 1
hw.optional.neon_hpfp: 1
hw.optional.neon_fp16: 1
hw.optional.armv8_1_atomics: 1
hw.optional.armv8_crc32: 1
hw.optional.armv8_2_fhm: 1
hw.optional.armv8_2_sha512: 1
hw.optional.armv8_2_sha3: 1
hw.optional.amx_version: 2
hw.optional.ucnormal_mem: 1
hw.optional.arm64: 1

melgu avatar Dec 13 '20 23:12 melgu

Sorry my English isn't enough. I do the installs of the release here in Mac mini m1. The app is working, but the led Adalight don't work. I don't know where is the problem. I have qt 5.15.2 in Homebrew. Thanks so much. Sorry.

Edit: I change again the USB port, and now is working perfect. Thanks so much. ¡ WoW !

PatricioooAG avatar Dec 14 '20 16:12 PatricioooAG

could you try this universal app

also how's the CPU usage on M1 compared to your old ones?

zomfg avatar Dec 14 '20 18:12 zomfg

With the other : Mood lamp 1.8% Grabber 50ms 18% With this one: Mood lamp 2.1% Grabber 50ms 35% ( this one is better with the grabbing but no perferct, i dont know if is my config problem ) My screen is 1152p retina 2160p.

PatricioooAG avatar Dec 14 '20 18:12 PatricioooAG

"the other" you mean cpu or the build? I meant M1 vs Intel otherwise both builds should run the same, unless universal binaries are somehow worse in this case (they shouldn't be, or at least not by that much)

zomfg avatar Dec 14 '20 19:12 zomfg

Sorry, no no, the other build in this post, both builds running in m1.

PatricioooAG avatar Dec 14 '20 19:12 PatricioooAG

Hey. I have Adalight WS2812B with Arduino cheaper one from CN and I updated it with Fastled because it have problems with original firmware. Now the Arm version is working full on all modes with mini M1. Thanks so much.

PatricioooAG avatar Dec 21 '20 17:12 PatricioooAG

I need someone to run this on M1, basically it's a little benchmark to see if some optimizations work: just run ./run.sh in a terminal and post the resulting run.log It'll take couple of minutes and ideally, please avoid running moderate/heavy loads on the side to not influence the results (as you would do with any benchmark) 👍 thank you

zomfg avatar Dec 28 '20 23:12 zomfg

run.log Welcome.

PatricioooAG avatar Dec 29 '20 16:12 PatricioooAG

M1 Mac mini. Pretty much the only thing running in the background was Homebridge. run.log

melgu avatar Dec 29 '20 17:12 melgu

awesome! those things look faaast ... I'd like you to test both of these builds:

and see if both have the same CPU usage and if it's any better than the older builds you were using, if you can give CPU% for each, that would be great thanks!

zomfg avatar Dec 29 '20 20:12 zomfg

I tried three versions with the same video. Here is the average CPU usage for each version: Previous (rev bc6879bf): 9.7-10 % M1 only: 8.7-9.0 % Universal: 8.5-8.7 %

By the way, I'm impressed by the speed at which you are developing new versions.

melgu avatar Dec 29 '20 21:12 melgu

Firts M1 app 37% avrg M1 today 33.5% avrg Universal today 35% avrg ( grabber 180 leds full screen 60ms ) ( The universal is working without open quarantine )

PatricioooAG avatar Dec 29 '20 22:12 PatricioooAG

ha, interesting.. a bit underwhelming compared to the little benchmark is this one any different? (ah good to know about universal)

zomfg avatar Dec 29 '20 22:12 zomfg

7,8 - 8,5 % with the same video as in my previous post.

melgu avatar Jan 03 '21 17:01 melgu

Sorry. Here we're in holidays. Give me 2/3 days and I test. Thanks.

PatricioooAG avatar Jan 04 '21 08:01 PatricioooAG

With Neon 2 cpu is lower. Around 30% with grabber same config than the other day. But is working really well. I can't see lag changing colors. I'm in 4k.

PatricioooAG avatar Jan 08 '21 18:01 PatricioooAG

Thanks very much.

PatricioooAG avatar Jan 08 '21 18:01 PatricioooAG

thanks to both of you

zomfg avatar Jan 12 '21 09:01 zomfg

could you try this universal app

also how's the CPU usage on M1 compared to your old ones?

The app’s working for me but Lights don’t turn on ... :(

franz67fw avatar Feb 26 '21 21:02 franz67fw

check this https://github.com/psieg/Lightpack/issues/390#issuecomment-690270503

zomfg avatar Feb 28 '21 11:02 zomfg

That’s what I already tried but when I launch that app (the 6.0), it appears to enable the screen functions in my settings , but I can’t find it app opened anywhere ! Le 28 févr. 2021 à 12:00, Sergio [email protected] a écrit :

check this #390 (comment) https://github.com/psieg/Lightpack/issues/390#issuecomment-690270503 — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/psieg/Lightpack/issues/406#issuecomment-787433726, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATAGQCS3XYAHPQOE6BQ6GTTTBIO4PANCNFSM4TSHKRFA.

franz67fw avatar Feb 28 '21 21:02 franz67fw

the 6.0 (or anything above 5.2.xx) isn't from here so I can't say much about those the first time you launch, you go through configuration, in the end you should get a new icon near the clock (no windows, or icons in dock) which you right click and control stuff from there if you have all that, just no lights, try moodlamp mode, if still no lights you need to make sure (any) software can talk to your serial port and that you picked the right one and with the right baud rate if moodlamp works but not screen capture, check the screen capture permissions from the comment above, make sure prismatik is checked, restart it if you went through configuration and have no icon in the end, then I don't know, check system logs if dmg or app won't open, you can try to make your gatekeeper to accept apps "from anywhere"

zomfg avatar Feb 28 '21 22:02 zomfg

help plz !!! the Prismatik universal application works fine on my Macbook Air under OS Big Sur 11.2.2 but the LEDs do not light up even when I program them according to my USB port ... Anyone have an idea or anything ?? thank you in advance !

franz67fw avatar Mar 02 '21 18:03 franz67fw

still not working with 5....27 or 6.0 :'( help plz !!!

franz67fw avatar Mar 06 '21 09:03 franz67fw

any working version for my Macbook Air 13" from 2013 under Os Big Sur plz ? I bought my lightpack device 2month ago but I still can´t use it ! :´(

franz67fw avatar Mar 20 '21 14:03 franz67fw