#asahi-dev · 2023-08-04 12:36
dsharshakovso it's likely to be that this AU doesn't have huge buffer#asahi-dev · 2023-08-04 12:36
chadmedand you cant call it up from anywhere in macos#asahi-dev · 2023-08-04 12:36
chadmedtheres a coreaudio preset which gives "raw" access to the output but i would wager this never, ever, ever gets used#asahi-dev · 2023-08-04 12:35
dsharshakovdoes it add latency? is there a way to know whether it's used when RT apps like DAWs do their output with latency-critical params?#asahi-dev · 2023-08-04 12:35
chadmed(i actually even managed to get macos to pop once)#asahi-dev · 2023-08-04 12:35
chadmedand then reading about popping and sudden changes in volumes in the asoc and TI documentation and put the pieces of the puzzle together#asahi-dev · 2023-08-04 12:35
chadmedall i remember is kinda speculating as to how it works based on some strings in the obfuscated plists#asahi-dev · 2023-08-04 12:34
chadmedits just a coreaudio plugin (audio unit) #asahi-dev · 2023-08-04 12:34
chadmedits inserted into the dsp chain in macos just like our filter chain works#asahi-dev · 2023-08-04 12:34
dsharshakovlookahead? Does it work with anything other than files? Or it just buffers some time ahead?#asahi-dev · 2023-08-04 12:33
chadmedbut it doesnt#asahi-dev · 2023-08-04 12:33
chadmedfor all i know it could actually just be overexcursion but if that were the case then it would appear with my 0 dBFS sine wave #asahi-dev · 2023-08-04 12:33
dsharshakovlibebur128 + some modification like EE's one but with inertia (not just holding the level, but ramping it to the new level)#asahi-dev · 2023-08-04 12:32
chadmedim not really entirely sure how it works and its been over a year since i even looked at coreaudio's graph #asahi-dev · 2023-08-04 12:32
chadmedyeah its a bit more than that though, its a lookahead delay with a ramping feature#asahi-dev · 2023-08-04 12:31
dsharshakovDoes macOS feature some sort of autogain + compressor for that?#asahi-dev · 2023-08-04 12:31
dsharshakovPW has some stuff for volume ramping currently: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1579 . It's not yet wired up to pulse-server#asahi-dev · 2023-08-04 12:30
chadmeddsharshakov: only when the content changes, pipewire's volume knob is silent#asahi-dev · 2023-08-04 12:30
dsharshakovwell, a click effect is sort of expected once volume premultiplier jumps, and unlikely that's going to hurt HW (unsure)#asahi-dev · 2023-08-04 12:29
dsharshakovchadmed: do you hear the popping while adjusting the volume or when content volume changes rapidly?#asahi-dev · 2023-08-04 12:17
kettenismarcan: are you sure about those PSTR values? Sounds like you're off by a factor 10 to me#asahi-dev · 2023-08-04 11:16
povikthey are upstreaming a driver before they even have it listed on their website#asahi-dev · 2023-08-04 11:16
povikbut it's not ~cs42l84#asahi-dev · 2023-08-04 11:15
povikthere are one or two similarities to cs42l84 in the register interface#asahi-dev · 2023-08-04 11:15
povikhttps://lore.kernel.org/all/20230804104602.395892-1-ckeepax@opensource.cirrus.com/#asahi-dev · 2023-08-04 11:15
povikbabe wake up, new cirrus codec just dropped#asahi-dev · 2023-08-04 11:02
chadmedrapid volume changes below ~400hz cause popping which i have been thinking all this time is the result of overexcursion #asahi-dev · 2023-08-04 10:59
chadmedok im starting to think that funky volume-ramping thing macos does might actually be required#asahi-dev · 2023-08-04 10:39
marcaneiln: very nice!#asahi-dev · 2023-08-04 09:52
eilnjannau: thank you :) kernel dev is too hard#asahi-dev · 2023-08-04 09:37
_jannau__eiln: congrats#asahi-dev · 2023-08-04 09:34
eiln[ 27.563717] apple-isp: frame 63: meta_iova: 0x3a48000 luma_iova: 0x3a50000 chroma_iova: 0x3b34000#asahi-dev · 2023-08-04 09:34
eiln[ 27.304247] apple-isp: frame 62: meta_iova: 0x3a40000 luma_iova: 0x3d00000 chroma_iova: 0x3de4000#asahi-dev · 2023-08-04 09:34
eilnOk it streams (v4l2 compliant) now#asahi-dev · 2023-08-04 09:34
eilnfucking hell why did that nearly explode my brain#asahi-dev · 2023-08-04 09:34
eilnSo I can pass on the doorbell until the queue accumulates#asahi-dev · 2023-08-04 09:34
eilnThe index of the last dequeued buffer is re-queued#asahi-dev · 2023-08-04 09:34
eilnmarcan: Ohhh#asahi-dev · 2023-08-04 08:49
chadmeddoing those glmark2 runs ages ago really made some of those keys seem like nonsense#asahi-dev · 2023-08-04 08:48
chadmedah ok#asahi-dev · 2023-08-04 08:47
marcanthat's how I found that 80% battery charge limiter#asahi-dev · 2023-08-04 08:47
marcanbut the keys for 13.0beta1 or something got posted#asahi-dev · 2023-08-04 08:47
marcanit is#asahi-dev · 2023-08-04 08:47
chadmedoh right its not encrypted#asahi-dev · 2023-08-04 08:46
marcanwe can find out exactly how all this stuff is calculated#asahi-dev · 2023-08-04 08:46
marcanI mean we have schematics for some of these things, and plaintext SMC firmware for all the M1s :p#asahi-dev · 2023-08-04 08:46
chadmedtime to scratch up some power planes >:)#asahi-dev · 2023-08-04 08:45
marcanand >1W going elsewhere doesn't make any sense#asahi-dev · 2023-08-04 08:45
marcanI'm not sure what PSTR means in relation to PHPC#asahi-dev · 2023-08-04 08:45
marcanhonestly those numbers are kinda weird