#
✕ nick:chadmed
#asahi-dev · 2022-03-18 11:20
chadmedbtw the asahi-audio repo actually, err.. works now...
#asahi-dev · 2022-03-18 11:12
chadmedwow that was surprisingly painless
#asahi-dev · 2022-03-18 11:05
chadmedsoon perhaps
#asahi-dev · 2022-03-18 11:05
chadmedi wish i had all these devices to do more sound testing :(
#asahi-dev · 2022-03-18 11:04
chadmedyeah ik that part, just been out of the loop for a couple of days and needed to reorient myself with the new tooling and changes
#asahi-dev · 2022-03-18 11:02
chadmedawesome
#asahi-dev · 2022-03-18 11:02
chadmedwhere it drops out all the time?
#asahi-dev · 2022-03-18 10:58
chadmedi exploded my 1TR at some point doing silly stuff so i needed to start fresh and it was a good opportunity to test the new installer
#asahi-dev · 2022-03-18 10:57
chadmedbeauty
#asahi-dev · 2022-03-18 10:57
chadmedand then i assume we just build a new second stage m1n1 with the new dt?
#asahi-dev · 2022-03-18 10:56
chadmedoh beautiful thanks :)
#asahi-dev · 2022-03-18 10:56
chadmeddo i need to patch out one of the drivers to circumvent this
#asahi-dev · 2022-03-18 10:55
chadmedyeah i just managed to get back into my machine after nuking it with apple configurator so im on the new kernel etc
#asahi-dev · 2022-03-18 10:55
chadmedpovik, marcan: is audio deliberately nonfunctioning on the latest asahi kernel? i can see the sound card in the dt via sysfs but loading the modules does not bring it up
#asahi-dev · 2022-03-17 06:04
chadmedpay no mind to the fact that most of the articles are actually about how much progress is being made here
#asahi-dev · 2022-03-17 06:03
chadmedmichael's articles are alright, but there are a few people who comment on every single apple article like "wow these machines look amazing but i hate them anyway because apple hates open source"
#asahi-dev · 2022-03-17 05:20
chadmedok buddy seems like we will be waiting a long time for that!
#asahi-dev · 2022-03-17 05:20
chadmedand here i was reading phoronix article comments this morning from the usual naysayers over there with their "apples just luring you in so they can lock you out just you wait and see"
#asahi-dev · 2022-03-16 08:31
chadmedive got a few hours to kill too
#asahi-dev · 2022-03-16 06:47
chadmedpushed some changes to asahi-audio, should sound better than it did before now. FIRs are also installed to the directory i proposed in the feature request
#asahi-dev · 2022-03-16 06:19
chadmedGlanzmann: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2210
#asahi-dev · 2022-03-16 06:09
chadmedalso just for the record turns out i didnt need to play with the amp gain settings, we should definitely leave them at zero and hide them from the user. my problem was just that i am incredibly stupid and was applying the wrong FIRs. i shipped the wrong ones too
#asahi-dev · 2022-03-16 06:09
chadmedive submitted a feature request to pipewire for all this. it will fix many many many issues with userspace audio handling in linux on literally thousands of devices
#asahi-dev · 2022-03-16 00:39
chadmedpovik: how safe do you reckon the amp gain sliders are? id like to play around a bit this afternoon, but i cant afford to blow the machine up right now since its the only computer i have powerful enough to view CTs and MRIs :P
#asahi-dev · 2022-03-15 12:12
chadmedyeah malloc is quite slow apparently, its why games almost invariably ship with tcalloc
#asahi-dev · 2022-03-15 12:05
chadmedhttps://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2210 and we're off
#asahi-dev · 2022-03-15 11:54
chadmedpovik: that doesnt solve the problem for other machines. like marcan said, this is a problem that goes beyond just macs and its really about time someone got the ball rolling on standardising this stuff. and all it took was a trillion dollar company's attempt at a paradigm shift in desktop computing
#asahi-dev · 2022-03-15 11:40
chadmedpovik: pipewire treats them as independent nodes. what we'd be "hiding" is a pipewire node, not the entire hardware device
#asahi-dev · 2022-03-15 11:26
chadmedyep broken with waypipe too :/
#asahi-dev · 2022-03-15 11:17
chadmedyeah it stopped working for me on 98. updated to 98.0.1 today and still doesnt work
#asahi-dev · 2022-03-15 11:15
chadmedmust be a firefox thing
#asahi-dev · 2022-03-15 11:15
chadmednope ive been running on povik's branch because linux-asahi wont build with clang now (something about movz/q)
#asahi-dev · 2022-03-15 11:14
chadmeddoesnt work with x11 or wayland
#asahi-dev · 2022-03-15 11:14
chadmedbroke for me with the second-to-last update
#asahi-dev · 2022-03-15 11:11
chadmedoh yeah thats a good idea
#asahi-dev · 2022-03-15 11:08
chadmedmarcan, povik: https://gist.github.com/chadmed/51428670bb7fda92a2ef9c879ac1c678 <- a first draft of a feature request for PipeWire, do you think anything should change from what ive described?
#asahi-dev · 2022-03-15 09:53
chadmedi guess we could put together a feature request and see what happens?
#asahi-dev · 2022-03-15 09:49
chadmedyeah thats true, but cups has the logic to do that
#asahi-dev · 2022-03-15 09:48
chadmedand at that point your only issue would be hiding access to the "real" sink for cases where it's warranted, like ours
#asahi-dev · 2022-03-15 09:48
chadmedthat part all happens seamlessly for the user
#asahi-dev · 2022-03-15 09:47
chadmedwhen you select your device in the utility it would shift the related config fragment over to /etc/pipewire/pipewire.conf.d/ or even the user's local one (could be a toggle) and then restart pipewire
#asahi-dev · 2022-03-15 09:47
chadmedwell youd ship precomposed pipewire config fragments in the database corresponding with those IRs, similar to how ive done it in my github repo
#asahi-dev · 2022-03-15 09:44
chadmedi kind of like the printer driver model just because it doesnt burden pipewire with the maintenance of a huge database of IRs and configurations for random niche sound devices, distros can package these databases up just like they do with PPDs
#asahi-dev · 2022-03-15 09:44
chadmedbut yeah i think just with the way pw/wp have been designed, it would be pretty infeasible to ship IRs for every single machine with them and implement some sort of matching logic in either
#asahi-dev · 2022-03-15 09:42
chadmedyeah i struggle to see who would want to listen to the real sink when the quality is roughly adjacent to Alexander Graham Bell's first telephone conversation
#asahi-dev · 2022-03-15 09:40
chadmedand the only way to get it back is reloading the pipewire config by killing pipewire
#asahi-dev · 2022-03-15 09:40
chadmeddepending on how a user has {mis}configured their DE, you can make it swap to the hardware device by default, which signals the pipewire session manager to tear down the filter chain's link to the hardware
#asahi-dev · 2022-03-15 09:40
chadmedits not necessary sure, but i think it would be pretty essential to a seamless desktop experience
#asahi-dev · 2022-03-15 09:39
chadmedwell three issues, we cant hide the "real" sink from the user
#asahi-dev · 2022-03-15 09:37
chadmedand even still, the user has to select it themselves via their DE. wireplumber is only responsible for sending the virtual sink's output to the hardware device. it wont transparently select that virtual sink as the user's default

plus ›