#
#asahi-dev · 2023-01-14 11:23
svenor, well, actually their root switch I guess
#asahi-dev · 2023-01-14 11:21
svenalso, lol, apple calls their thunderbolt domain “iOS” on the m1 :D
#asahi-dev · 2023-01-14 11:20
mpschadmed: fine, when you have it please post url also to me, I'm ready to test patch
#asahi-dev · 2023-01-14 11:19
chadmedi should submit v2 of that upstream (minus the shared gpio fix)...
#asahi-dev · 2023-01-14 11:19
chadmedmy PR against asahi-wip fixes that for tas2764 but supposedly still doesnt work for tas2770
#asahi-dev · 2023-01-14 11:19
mpsaha
#asahi-dev · 2023-01-14 11:19
jannauno, tas2764 is the speaker codec
#asahi-dev · 2023-01-14 11:19
chadmedmps: no thats the speaker codecs not suspending properly because of shared gpio nonsense
#asahi-dev · 2023-01-14 11:18
mpschadmed: could this in dmesg output be related: 'tas2764 3-003c: Unable to sync registers 0x1-0x4. -6'
#asahi-dev · 2023-01-14 11:18
jannauthe only signigficant difference I see with cs42l84 codec tracing is that PLL_LOCK_STATUS changes from 0x10 to 0x30
#asahi-dev · 2023-01-14 11:17
chadmedyeah
#asahi-dev · 2023-01-14 11:17
marcanwhich is what makes it sound thick without the fundamental
#asahi-dev · 2023-01-14 11:17
chadmedmps: yeah the problem is definitely in the kernel. wouldnt surprise me if its asoc doing something silly with the frontend channels and their relationship to tdm slots in the backend
#asahi-dev · 2023-01-14 11:17
marcanchadmed: right, after saturation
#asahi-dev · 2023-01-14 11:17
jannauok, that means we have to do the reset in suspend anyway to shut rtkit down cleanly
#asahi-dev · 2023-01-14 11:16
chadmedmarcan: sounds (and feels) like they cut down the fundamentals. its what youd normally do with such tiny speakers to stop precisely the issue we're having
#asahi-dev · 2023-01-14 11:16
mpsmarcan: ah, thanks
#asahi-dev · 2023-01-14 11:16
sven*older
#asahi-dev · 2023-01-14 11:16
sveniirc also for old m1n1 or uboot that kept nvme alive before jumping to Linux
#asahi-dev · 2023-01-14 11:16
marcanmps: https://joeysturgistones.com/blogs/learn/the-beginners-guide-to-multi-band-processing
#asahi-dev · 2023-01-14 11:15
mpsmarcan: what is multiband? in sound file?
#asahi-dev · 2023-01-14 11:15
svenyeah
#asahi-dev · 2023-01-14 11:15
marcanit's for the "we are alive -> reset" path
#asahi-dev · 2023-01-14 11:15
svenjannau: to cleanly shut down rtkit i think
#asahi-dev · 2023-01-14 11:15
mpschadmed: I don't use pulseaudio nor pipewire
#asahi-dev · 2023-01-14 11:14
marcanprobably multiband to some extent
#asahi-dev · 2023-01-14 11:14
mpschadmed: interesting thing found: with kernel 6.2-rc3 and playing sounds on jack, with alsamixer when switching in headphone playback mux to secondary and back to primary sound distortion disappears
#asahi-dev · 2023-01-14 11:14
marcanchadmed: AIUI the bass enhancer stuff just adds harmonics, effectively. so, saturation.
#asahi-dev · 2023-01-14 11:13
svenhrm, let me check
#asahi-dev · 2023-01-14 10:55
jannausven: is there a reason why the nvme_disable in apple_nvme_reset_work() is done before (re-)starting rtkit?
#asahi-dev · 2023-01-14 10:45
dsharshakov:+1: thanks
#asahi-dev · 2023-01-14 10:45
chadmedon it right now
#asahi-dev · 2023-01-14 10:44
dsharshakovchadmed: when possible, please respond to pv on the PipeWire issue about IR resampling quality: maybe some fix could be done there as well (for other use cases)
#asahi-dev · 2023-01-14 10:44
chadmedi dont really want to introduce any more runtime dependencies tbqh. im more than happy with the sound quality without the fake bass (in fact, it sounds better than macos right now), its just the cpu use that kinda blows
#asahi-dev · 2023-01-14 10:43
dsharshakovNot at PC rn, will explore later
#asahi-dev · 2023-01-14 10:42
dsharshakovMaybe Calf Studio bass enhancer would help?
#asahi-dev · 2023-01-14 10:42
dsharshakovI would for sure
#asahi-dev · 2023-01-14 10:42
chadmedso i have no idea how id capture what the AUs are doing, ive done all this by ear :P
#asahi-dev · 2023-01-14 10:42
chadmedwould you believe me if i said i have done this without any macos RE, i just know vaguely what it does :P
#asahi-dev · 2023-01-14 10:41
sveneach reboot changes that entangling ofc so that you can't just grab the key once and keep using it forever
#asahi-dev · 2023-01-14 10:41
chadmedtheres a commercial version of it called MAXXBASS or something
#asahi-dev · 2023-01-14 10:41
sventpw_rules: / marcan: ANS can take a aes-xts key for each read/write command in that TCB structure. that key can (must? didn'ttest yet) be entangled by SEP. so you essentially send the encrypted keybag to SEP, SEP authenticates it and then gives you back the entangled volume key that you pass to ANS
#asahi-dev · 2023-01-14 10:41
dsharshakovWhat does the psycoacoustic bass thing really do? Maybe capture its in/out somehow to understand what is the synonym for it
#asahi-dev · 2023-01-14 10:40
chadmedi imagine it would be the plugin itself rather than the host, its just a very costly operation especially with lookahead
#asahi-dev · 2023-01-14 10:40
sveneiln: nice work!
#asahi-dev · 2023-01-14 10:40
dsharshakovI might take a look at lv2 host and module loading, maybe something to optimize there or inside lsp itself
#asahi-dev · 2023-01-14 10:39
chadmedbut the multiband nonsense im doing now uses... a bit more :P
#asahi-dev · 2023-01-14 10:39
chadmedwhen i use just a normal blanket compressor to limit the volume for clipping/safety reasons, the cpu cost is about identical to macos
#asahi-dev · 2023-01-14 10:39
dsharshakovWell
#asahi-dev · 2023-01-14 10:39
dsharshakovUnderstood the compressor thing

plus ›