#
#asahi-dev · 2023-01-16 12:05
chadmedthe smc's meters are pretty accurate but not THAT accurate
#asahi-dev · 2023-01-16 12:04
ChaosPrincesssven: schematic says that there is a spmi link between aop and wifi chip. could that be the 'backchannel'?
#asahi-dev · 2023-01-16 12:04
chadmedfalls into noise since the pcores freewheeling are using most of the measurable power
#asahi-dev · 2023-01-16 12:04
dsharshakovwhat's the net power difference when removing the mb compressor?
#asahi-dev · 2023-01-16 12:03
dsharshakovProbably when WirePlumber loads that filter it should be run within one wakeup (sound from pw-pulse -> *WKUP* -> filter in in wp -> ALSA plugin in WP -> *switch to kernel*
#asahi-dev · 2023-01-16 12:01
dsharshakovyes. However, let it sit in our thoughts, maybe I or you can figure out a newer option
#asahi-dev · 2023-01-16 11:59
chadmedits not that big of a deal at the end of the day, there are bigger targets to attack for power savings
#asahi-dev · 2023-01-16 11:59
chadmedin my testing the core power use is less than 4 W playing music through vlc with the dsp active, and this is without cpuidle so the pcores are still freewheeling
#asahi-dev · 2023-01-16 11:59
svenlike, the sane way to do this is to have the AP pre-program the find my beacons in the BT chip and then put the BT chip to sleep. and then either BT has a timer to wake itself up or AOP wakes it up periodically to send those beacons
#asahi-dev · 2023-01-16 11:58
chadmedyeah that seems sus and would ruin lookahead
#asahi-dev · 2023-01-16 11:57
dsharshakovMaybe make compressor only kick in when loudness is higher than x? Might be clicky in that case...
#asahi-dev · 2023-01-16 11:57
svenI could maybe see AOP doing some power Management but I’d be very surprised if it did more than that for bt
#asahi-dev · 2023-01-16 11:57
povikthere's the backchannel?
#asahi-dev · 2023-01-16 11:56
svenChaosPrincess: that’s… very odd
#asahi-dev · 2023-01-16 11:56
dsharshakoveither the core capacity for icestorm is lower or it still lacks some opt on AArch64
#asahi-dev · 2023-01-16 11:56
chadmedyeah, the headers in include are the assembly
#asahi-dev · 2023-01-16 11:55
ChaosPrincesssven: apparently it does on iphones
#asahi-dev · 2023-01-16 11:55
dsharshakovchadmed: ASIMD support is there: https://github.com/lsp-plugins/lsp-dsp-lib/blob/master/src/main/aarch64/asimd.cpp
#asahi-dev · 2023-01-16 11:50
chadmedhttps://github.com/lsp-plugins/lsp-dsp-lib/
#asahi-dev · 2023-01-16 11:50
chadmeddsharshakov: on mb compressor optimisation, all the dsp paths in lsp-plugins are written in assembly
#asahi-dev · 2023-01-16 11:47
poviki will leave it be for now
#asahi-dev · 2023-01-16 11:47
povikhm, not sure how this stuff is exposed internally in the kernel or to userspace
#asahi-dev · 2023-01-16 11:41
poviknothing obvious so far
#asahi-dev · 2023-01-16 11:38
poviklooks for a binding we may get away with filling it in
#asahi-dev · 2023-01-16 11:37
chadmedjust like my old northwood p4 machine :P
#asahi-dev · 2023-01-16 11:37
chadmedthe smc has the hid event for the lid closing/opening but hid events seem to get suspended and the only way to wake the thing is with the hard power button
#asahi-dev · 2023-01-16 11:36
povikah, i can give the gpio we need to wake on :p
#asahi-dev · 2023-01-16 11:36
chadmednot under linux no
#asahi-dev · 2023-01-16 11:34
poviknot sure if wake-on-lid-open doesn't work already
#asahi-dev · 2023-01-16 11:33
povikwhich might be good enough for all our purpouses
#asahi-dev · 2023-01-16 11:33
povikbut then there's a gpio line on gpio-aop which reports opened/closed lid
#asahi-dev · 2023-01-16 11:32
povikthat's at least on j316 i am experimenting on
#asahi-dev · 2023-01-16 11:32
povikdsharshakov: well, as to the other features of AOP: the only thing that comes to mind is that it reports the lid angle to the OS
#asahi-dev · 2023-01-16 11:31
svenhrm, that sounds weird because then AOP would need a backchannel to the bt module
#asahi-dev · 2023-01-16 11:31
dsharshakovAOP somehow sets configs and gives keys as well
#asahi-dev · 2023-01-16 11:30
dsharshakovsven: I've read it's shared between AOP and BT. Likely they be beaconing 100% independently from the OS
#asahi-dev · 2023-01-16 11:30
svenAirTag stuff might also be mostly implemented inside the Bluetooth firmware
#asahi-dev · 2023-01-16 11:29
povikthat then wakes up AOP which confirms the detection
#asahi-dev · 2023-01-16 11:29
povikmy guess is that it gives some initial low-confidence signal
#asahi-dev · 2023-01-16 11:29
povikyeah, i am curious to what degree is "hey siri" implemented on LEAP
#asahi-dev · 2023-01-16 11:28
dsharshakovairtag-like functionality is likely to live on its own broadcasting everytime
#asahi-dev · 2023-01-16 11:28
chadmedand probably airtag-like functionality for Find My (also useless)
#asahi-dev · 2023-01-16 11:28
dsharshakovsince if it will be needed later, its introduction will duplicate the works and block us from access to LEAP
#asahi-dev · 2023-01-16 11:27
chadmed"hey siri" functionality (useless)
#asahi-dev · 2023-01-16 11:27
dsharshakovare other AOP nice features useful for us? AFAIK it can wake the system up on some events, what else?
#asahi-dev · 2023-01-16 11:26
chadmedcould LEAP do multiband compression :P
#asahi-dev · 2023-01-16 11:26
povikand then there's the option of inserting more processing onto LEAP
#asahi-dev · 2023-01-16 11:25
povikanyway, re (2), we can at least disable some of the channels, if a single mic is all userspace can cope with
#asahi-dev · 2023-01-16 11:25
povikso it's not so clearcut
#asahi-dev · 2023-01-16 11:25
povikand a counterargument is that the apple's firmware might abstract away a hardware difference on future models

plus ›