2023-01-18
00:00amarioguy has quit [Remote host closed the connection]
00:01amarioguy has joined #asahi-dev
00:09eiln has quit [Remote host closed the connection]
00:27seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:27seeeath has joined #asahi-dev
00:43seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:45nate8_ has joined #asahi-dev
00:45seeeath has joined #asahi-dev
00:47seeeath has quit []
00:52nate8 has quit [Ping timeout: 480 seconds]
00:54nate8_ has quit []
01:46stipa has joined #asahi-dev
02:13capta1nt0ad has joined #asahi-dev
03:37nicolas17 has quit [Quit: Konversation terminated!]
03:44hiramthehero has joined #asahi-dev
04:07greguu has quit [Ping timeout: 480 seconds]
04:18hiramthehero has quit []
04:24hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:25greguu has joined #asahi-dev
04:27zzywysm has quit [Ping timeout: 480 seconds]
04:27zzywysm has joined #asahi-dev
04:40zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:55capta1nt0ad has quit [Ping timeout: 480 seconds]
05:26hertz has joined #asahi-dev
05:39hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:44hertz has joined #asahi-dev
06:15DarkShadow4444 has quit [Quit: ZNC - https://znc.in]
06:16DarkShadow44 has joined #asahi-dev
06:16DarkShadow44 has quit []
06:22DarkShadow44 has joined #asahi-dev
06:26cylm has quit [Ping timeout: 480 seconds]
06:33hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:33stipa is now known as Guest1698
06:33stipa has joined #asahi-dev
06:39Guest1698 has quit [Ping timeout: 480 seconds]
08:22chadmedthe logic is sound - if youre buying a mini you probably arent after max tier performance
08:23chadmedim real happy that theyve shaved 20 bucks off the rrp of the minis in australia though, and my student discount still works so its actually about 250 bucks >:)
08:25chadmedpovik: have you got an idea of how you want to expose V/ISENSE? it would be nice to hide them as valid inputs from pipewire et al but idk how we do that while still getting data out of them via alsa-lib
08:26jannaucooling might be an issue with the max assuming keeping it silent (compared to intel mac minis) is a goal
08:39dsharshakov has joined #asahi-dev
08:40dsharshakovchadmed: maybe just hide those visense pcm ins via ucm?
08:41dsharshakovThey're by logic PCM, so no need to create a new bicycle. If kernel doesn't allow marking that as a "not an input", just block using UCM (or ACP profiles in PipeWire)
08:42chadmedbecause if we have the pcm open in the safety daemon, pipewire trying to open it at the same time is gonna cause problems
08:44dsharshakovI can't. I don't have hardware lol. Dream of getting it
08:44dsharshakovHowever in PW channel you'll be welcomed and someone can definitely help you with profiles
08:45dsharshakovVIsense can be exposed as a new soundcard
08:45povikmarcan: not really. this must be more than a quantization noise, it's above the level of quanta, but it's all in accord with the noise figures from datasheet -- i just drove a weak signal to the speaker when i captured the trace
08:46chadmedbut it just occurred to me today that we might want to stop people from trying to use it as a microphone
08:46povikas dsharshakov points out, if we don't describe it in UCM it won't show up as a microphone in user interfaces
08:47dsharshakov has quit [Remote host closed the connection]
08:48chadmedhttps://github.com/chadmed/speakersafetyd/ i wrote a janky little proof of concept when i had some spare time
08:49chadmedthere might not be any real way around that, good thing is if we do safety right then users accidentally selecting it shouldnt ruin anything (except the quality heh)
08:49chadmedpart of the feature proposal i put forward in pw was to have some flag somewhere either in pw or wp to "hide" a node
08:50povikor we can *not* describe the speakers in UCM, making that woofer baseline unavailable by default
08:57dsharshakov has joined #asahi-dev
08:58dsharshakovpovik: I'm working on hiding those via WirePlumber. Nodlt hiding though
08:58dsharshakovchadmed: you better not allow switching rates yet, lock at 48k.i
08:59dsharshakovI found and filed a Pw bug which causes crackling due to accidental rate mismatch
09:00dsharshakovIt's hard to catch
09:01pg12_ has quit []
09:01pg12 has joined #asahi-dev
09:02dsharshakov* dsharshakov should finish old branches instead of creating new projects...
09:03dsharshakovI need to finish at least wireplumber.hide prop as the first step
09:03dsharshakovActually loading the filter by rules causes debates due to config structure
09:04leitao has joined #asahi-dev
09:04dsharshakovWell, node hiding should be enough for our use cases. Not enough to store the config universally in repos yet
09:05dsharshakovWe should not bikeshed about that config format, don't let it be another cpuidle. Rule matching should suffice, UCM2 does the same
09:08dsharshakovAnd anyway, you mustn't rely on WirePlumber to prevent users from accessing speakers. They should be able to safely push DC bias, square waves and whatever they want, kernel + speakersafetyd should prevent frying the machine. PipeWire is there to ease and enrich, not to protect
09:09dsharshakovUCM2 as well
09:09chadmedand like i said the other day, people who are still clinging on to a no-pipewire alsa-only setup will just have to accept a lower qol/ux
09:10dsharshakovI answered to povik's "hide speakers to be safe"
09:10dsharshakovYou can also make PW DSP glitch by setting low quantum etc
09:10chadmedyeah once the safety daemon is up and running and that functionality is wired in then using the speakers as a raw device wont be able to break anything
09:11dsharshakovSo expect userspace to be harsh, users are quite eager to make everything glitch
09:11dsharshakovUX: yeah, will get covered. As I said, I just need to get to it...
09:12chadmedto quote cave johnson, we're not shipping anything until we're damn sure its good and ready
09:13dsharshakovAlright. Thanks guys for speaker protection studies: maybe we can enable those in some 2-3 months
09:13chadmedthe remaining work on the daemon can be done in a weekend once the kernel driver has the interfaces we need
09:13dsharshakovYes. Nice to know markan adheres to such a philosophy to make users safe :)
09:14dsharshakovAnd basically everyone else here
09:14chadmedits to cover our own arses as well. if we start letting the magic smoke out of folks' machines and apple sees an uptick in returns theyre liable to take our toys away
09:14chadmed"do not under any circumstances poison the macos container" can be generalised to "dont make us look bad"
09:15dsharshakov has quit [Remote host closed the connection]
09:15dsharshakov has joined #asahi-dev
09:16dsharshakovbtw, what's the proper way of naming a person without mentioning them on IRC?
09:16dsharshakovI've seen misspells and spaces being used
09:17dsharshakovAlright
09:17dsharshakov has quit [Remote host closed the connection]
09:18chadmedwould be nice if clients could agree on some informal standard for deciding what and what isnt supposed to be a bing
09:19leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:23ChaosPrincessinsert a zwnj in the space
09:23ChaosPrincesss/space/name/
09:40leitao has joined #asahi-dev
09:51MajorBiscuit has joined #asahi-dev
10:09bluetail has quit [Quit: The Lounge - https://thelounge.chat]
10:09leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:12bluetail has joined #asahi-dev
10:22povik has quit [Ping timeout: 480 seconds]
10:24bluetail has quit [Quit: The Lounge - https://thelounge.chat]
10:27bluetail has joined #asahi-dev
10:40MajorBiscuit has quit [Ping timeout: 480 seconds]
10:45jluthra has quit [Remote host closed the connection]
10:45jluthra has joined #asahi-dev
11:00povik has joined #asahi-dev
11:01adryzz has joined #asahi-dev
11:07chadmed_ has joined #asahi-dev
12:01svenso apparently Apple considers setting PCI_EXP_SLTCAP_HPC for the thunderbolt pcie ports optional *sigh*
12:02svenwhich explains why there just wasn't enough bus space available once new devices appeared out of nowhere
12:16leah2 has quit [Ping timeout: 480 seconds]
12:19leah2 has joined #asahi-dev
12:30svenand I think I can make this work without an out-of-band tunnel state notification with this "tunnel error" interrupt
12:31svenlooks like I could just disable the tunnel reset, trigger pcie link training and then just wait for the port up interrupt and then rescan the bus
12:32svenand then whenever I get a "tunnel error" just enable the tunnel reset, rescan the bus to remove all devices, disable tunnel reset and trigger link training again
12:33sventhat may even be what macos does, that's a bit hard to confirm with just MMIO traces though
12:39bluetail0 has joined #asahi-dev
12:45MajorBiscuit has joined #asahi-dev
12:46bluetail has quit [Ping timeout: 480 seconds]
12:46bluetail0 is now known as bluetail
12:46leitao has joined #asahi-dev
12:46leitao has quit [Remote host closed the connection]
12:57jannaudcp on 13.2 beta looks not terrible but certainly annoying. there are not too many renumbered calls/callbacks. most of that can be probably fixed up from logs alone
12:58os4 has quit [Quit: The Lounge - https://thelounge.chat]
12:59os has joined #asahi-dev
13:05leitao has joined #asahi-dev
13:11leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:16ChaosPrincessfeel free to update macos, asahi uses separate firmware from your macos install
13:20hightower2 has quit [Ping timeout: 480 seconds]
13:23Core4675 has joined #asahi-dev
13:23adryzz has quit [Read error: Connection reset by peer]
13:24leitao has joined #asahi-dev
13:26adryzz has joined #asahi-dev
13:31Core4675 has quit [Ping timeout: 480 seconds]
13:32leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:39leitao has joined #asahi-dev
13:43leitao has quit []
13:45leitao has joined #asahi-dev
14:05kettenis_IIRC from my analysis the tunables for the "normal" PCIe ports did fix up some stuff in the PCI Express Capability Structure
14:14leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:15hightower2 has joined #asahi-dev
14:17leitao has joined #asahi-dev
14:36seeeath has joined #asahi-dev
14:40chadmed_ has quit [Ping timeout: 480 seconds]
14:40bluetail has quit [Quit: The Lounge - https://thelounge.chat]
15:15bluetail has joined #asahi-dev
15:24leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:50leitao has joined #asahi-dev
15:50bisko has joined #asahi-dev
15:50MajorBiscuit has quit [Quit: WeeChat 3.6]
15:57bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:58bisko has joined #asahi-dev
15:59___nick___ has joined #asahi-dev
16:01___nick___ has joined #asahi-dev
16:05seeeath_ has joined #asahi-dev
16:10seeeath has quit [Ping timeout: 480 seconds]
16:11chengsun_ has quit [Ping timeout: 480 seconds]
16:21hiramthehero has joined #asahi-dev
16:21hiramthehero has quit [Remote host closed the connection]
16:22hiramthehero has joined #asahi-dev
16:22hiramthehero has quit [Remote host closed the connection]
16:29svennow let me apply those tunables and see if that fixes the capabilities. Then only that small dart issue is left to make dma work
16:30leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:32zzywysm has joined #asahi-dev
16:32leitao has joined #asahi-dev
16:32zzywysm has quit []
16:37zzywysm has joined #asahi-dev
16:38nicolas17 has joined #asahi-dev
16:38bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:40bisko has joined #asahi-dev
16:41leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:42cylm has joined #asahi-dev
16:45leitao has joined #asahi-dev
16:48leitao has quit []
16:50leitao has joined #asahi-dev
16:59chengsun has joined #asahi-dev
17:01seeeath_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:06bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:08leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:10leitao has joined #asahi-dev
17:13bisko has joined #asahi-dev
17:19bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:20bisko has joined #asahi-dev
17:22seeeath has joined #asahi-dev
17:30alyssa has joined #asahi-dev
17:30alyssajannau: " 12:59 <jannau> but annoyingly the swap surfaces call data increase from less than 3k to over 6k bytes "
17:32bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:33bisko has joined #asahi-dev
17:58bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:59bisko has joined #asahi-dev
18:00hiramthehero has joined #asahi-dev
18:01bisko has quit []
18:04lawrence has quit [Quit: The Lounge - https://thelounge.chat]
18:07hiramthehero has quit []
18:15bisko has joined #asahi-dev
18:18bisko has quit []
18:20nicolas17https://updates.cdn-apple.com/2023WinterFCS/fullrestores/032-35688/0350BB21-2B4B-4850-BF77-70B830283B28/UniversalMac_13.2_22D49_Restore.ipsw
18:29bcrumb has joined #asahi-dev
18:39bcrumb has quit [Ping timeout: 480 seconds]
18:40nicolas17J473 is mini M2, J474 is mini M2 Pro, J414 is MBP 14", J416 is MBP 16", I don't know c/s <-> Pro/Max
18:40leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:42bcrumb has joined #asahi-dev
18:51bcrumb has quit [Quit: WeeChat 3.8]
18:58bcrumb has joined #asahi-dev
18:58bcrumb has quit []
19:04bcrumb has joined #asahi-dev
19:14aaadyyy has joined #asahi-dev
19:28bcrumb has quit [Quit: WeeChat 3.8]
19:29bcrumb has joined #asahi-dev
19:36aaadyyy has quit [Remote host closed the connection]
19:46bcrumb has quit [Quit: WeeChat 3.8]
20:15nicolas17 has quit [Ping timeout: 480 seconds]
20:41adryzz has quit [Remote host closed the connection]
20:52bisko has joined #asahi-dev
21:01bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:02bisko has joined #asahi-dev
21:03chadmed_ has joined #asahi-dev
21:07___nick___ has quit [Ping timeout: 480 seconds]
21:20hertz has joined #asahi-dev
21:20bisko has quit [Ping timeout: 480 seconds]
21:20hightower3 has joined #asahi-dev
21:22elvishjerricco has quit [Ping timeout: 480 seconds]
21:26bcrumb has joined #asahi-dev
21:27hightower2 has quit [Ping timeout: 480 seconds]
21:31bisko has joined #asahi-dev
21:36bcrumb has quit [Quit: WeeChat 3.8]
21:37seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:45seeeath has joined #asahi-dev
21:50bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:54seeeath has quit [Ping timeout: 480 seconds]
22:01seeeath has joined #asahi-dev
22:04bisko has joined #asahi-dev
22:35bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:45bisko has joined #asahi-dev
22:48bisko has quit []
22:52bisko has joined #asahi-dev
22:55bisko has quit []
22:56bisko has joined #asahi-dev
23:10bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:22seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:32derzahl has joined #asahi-dev
23:37nicolas17 has joined #asahi-dev