#
#asahi-dev · 2023-08-04 14:34
ketteniswith "lowest pstate" you mean the lowest state advertised in the app tables in the DT isn't it?
#asahi-dev · 2023-08-04 14:31
kettenisbut I do the read in the SMC power button event handler that wakes up the machine
#asahi-dev · 2023-08-04 14:30
kettenisof course when I read the SMC one of the E-cores isn't idle
#asahi-dev · 2023-08-04 14:29
kettenisI *think* it is working, and when I actually suspend clock interrupts are completely disabled
#asahi-dev · 2023-08-04 14:27
marcankettenis: also you need to make sure the CPUfreq is set to the lowest pstate when going idle
#asahi-dev · 2023-08-04 14:25
marcanare you sure it's working? and dynticks and all that kind of stuff? the CPUs need to go idle and stay idle
#asahi-dev · 2023-08-04 13:57
kettenisI do
#asahi-dev · 2023-08-04 13:54
marcando you have the deep idle stuff hooked up?
#asahi-dev · 2023-08-04 13:54
marcanI think I remember <0.5W on Linux for that?
#asahi-dev · 2023-08-04 13:49
kettenisthat is still 1.2 W in the lowest idle state it seems
#asahi-dev · 2023-08-04 13:47
kettenisso that seems to be the power consumed by the cores?
#asahi-dev · 2023-08-04 13:46
kettenison the M2 air PMVC seems to track the CPU clock frequency
#asahi-dev · 2023-08-04 13:43
ketteniscurrently in OpenBSD I'm still above 2 W (according to PSTR) in suspend :(
#asahi-dev · 2023-08-04 13:30
marcankettenis: definitely not off by a factor of 10, that would be too much.
#asahi-dev · 2023-08-04 13:30
chadmedi just have to change where we add the compensatory gain, ill just tweak the dynamics processor to deal with it
#asahi-dev · 2023-08-04 13:29
chadmeddont sweat it if its not, i can deal with it now that i have something to work with
#asahi-dev · 2023-08-04 13:24
dsharshakovunsure if it will be reproducible with typical hw, but will try
#asahi-dev · 2023-08-04 13:18
chadmedyeah im just rocking main atm
#asahi-dev · 2023-08-04 13:17
dsharshakovis it with bankstown in?
#asahi-dev · 2023-08-04 13:17
dsharshakovwhich branch of the dsp repo do you use?
#asahi-dev · 2023-08-04 12:56
chadmedif thats the case ill need to rethink the dynamics processing
#asahi-dev · 2023-08-04 12:55
chadmed(probably some gain level in the IR pushing that component of the input to saturation)
#asahi-dev · 2023-08-04 12:55
chadmedive already bypassed the bass thing and the compressor and it just gets worse so im thinking its something in the convolver
#asahi-dev · 2023-08-04 12:54
chadmedso we're either saturating the convolvers somehow (even though the volume isnt indicating anywhere near 0 dBFS anywhere) or something deeper is up
#asahi-dev · 2023-08-04 12:52
chadmedim not going to run the unconstrained raw output for long because its not pay week this week, but it doesnt _seem_ to happen via the raw output even up to 100%
#asahi-dev · 2023-08-04 12:50
chadmedit _might_ be pipewire
#asahi-dev · 2023-08-04 12:50
chadmedoh oh oh
#asahi-dev · 2023-08-04 12:50
chadmedOH
#asahi-dev · 2023-08-04 12:48
chadmedthey have it on the DVC too but we dont touch that
#asahi-dev · 2023-08-04 12:48
chadmedbut it evidently sucks at it
#asahi-dev · 2023-08-04 12:48
chadmedthe chip tries to do it itself to "minimise audible artefacts"
#asahi-dev · 2023-08-04 12:47
chadmedoh its in the datasheet right there
#asahi-dev · 2023-08-04 12:47
chadmedi cant remember where i saw it
#asahi-dev · 2023-08-04 12:46
dsharshakovI meant some writeup re volume changes. Is it in datasheet or an article by ti?
#asahi-dev · 2023-08-04 12:46
chadmedhttps://www.ti.com/lit/ds/symlink/tas2764.pdf?ts=1691153095843
#asahi-dev · 2023-08-04 12:46
chadmedanyway re confidentiality, the codecs are just TAS2764 with a different name lasered on to the top
#asahi-dev · 2023-08-04 12:45
chadmedits a cirrus hda thing, the driver is an out-of-tree monstrosity but it works ~the same as ours does (raw access to the individual drivers)
#asahi-dev · 2023-08-04 12:43
dsharshakov13" Intel Pro uses an HDA codec or something T2-related?
#asahi-dev · 2023-08-04 12:42
dsharshakovtry to make a recording of the noise as well and put that on PW Matrix
#asahi-dev · 2023-08-04 12:41
dsharshakovmaybe it's a D/A side thing, why would TI write else? btw is their doc not confidential?
#asahi-dev · 2023-08-04 12:41
chadmedim there :)
#asahi-dev · 2023-08-04 12:41
dsharshakovwe can move to #pipewire, maybe there are some people who could help
#asahi-dev · 2023-08-04 12:40
chadmedi can crank absolutely heinous volumes through those and get some very obvious overexcursion but none of this digital-sounding popping noise
#asahi-dev · 2023-08-04 12:40
chadmednow that ive started testing on a 13" with different codecs but the same woofers, im leaning towards this being some limitation in the digital side of the codecs
#asahi-dev · 2023-08-04 12:38
dsharshakovwell, it's certainly not just zero latency, but probably rt-friendly if supposedly used in any scenario
#asahi-dev · 2023-08-04 12:38
chadmedthe bass hits cause the popping above ~70% volume
#asahi-dev · 2023-08-04 12:38
chadmedgood example is town.mid (the microsoft one) played through fluidsynth
#asahi-dev · 2023-08-04 12:37
dsharshakovdoes EE (easyeffects) autogain give similar results when you drag the slider after the expected volume change? which content causes this?
#asahi-dev · 2023-08-04 12:37
chadmedeverything ive done has been by ear
#asahi-dev · 2023-08-04 12:37
chadmedand i would assume it adds _some_ latency of course but i havent benched or RE-ed any of the coreaudio stack beyond reading strings in plists

plus ›