#asahi-dev · 2023-05-28 05:54
chadmedso when i install i just take that policy lua and copy the filter chain into it and fix the match statement? #asahi-dev · 2023-05-28 05:53
dsharshakovUse description from https://gitlab.freedesktop.org/pipewire/wireplumber/-/merge_requests/412 to get started on configs. I'm unsure whether all of that is up to date enough...#asahi-dev · 2023-05-28 05:53
dsharshakovnot tested at all, busy rn#asahi-dev · 2023-05-28 05:53
dsharshakovchadmed: here you are https://gitlab.freedesktop.org/d3dx12.xx/wireplumber/-/commits/dsp-monitor-may-23#asahi-dev · 2023-05-28 05:52
dsharshakov`everything's been slow lately on most fronts everywhere` <-- why so? Seems everyone in Asahi is also busy#asahi-dev · 2023-05-28 05:48
chadmedill ping upstream at some point this week maybe and see whats going on #asahi-dev · 2023-05-28 05:48
chadmedeverything's been slow lately on most fronts everywhere#asahi-dev · 2023-05-28 05:47
dsharshakovyes, please do. I know they're busy, but 0.5 work is being really slow...#asahi-dev · 2023-05-28 05:47
chadmedits a nice UX thing tho so we should absolutely revisit it at some point#asahi-dev · 2023-05-28 05:47
dsharshakovyes#asahi-dev · 2023-05-28 05:47
chadmedso if the user wants to select the wrong sink then at least its not going to explode the machine#asahi-dev · 2023-05-28 05:46
chadmedi think for now we just progress without the permissions stuff since we have the daemon set up in a way that should make all safety concerns go away #asahi-dev · 2023-05-28 05:45
dsharshakovyes, PW is just a framework session manager assembles into the desired config#asahi-dev · 2023-05-28 05:45
chadmedyeah i just wanted to see what would happen#asahi-dev · 2023-05-28 05:45
dsharshakovoh, no way. session manager exists for that)#asahi-dev · 2023-05-28 05:45
chadmedwhich is evidently not the right place to do it #asahi-dev · 2023-05-28 05:44
chadmedyeah but from WP, i was trying to do this in pw_impl_node_register#asahi-dev · 2023-05-28 05:44
dsharshakovMaybe you or m_arcan can contact gkiagia (at Collabora, doing most WirePlumber work) to review and help with my permissions WIP to make a proper solution move forward#asahi-dev · 2023-05-28 05:43
dsharshakovWe can't read files from Lua, at least in 0.4#asahi-dev · 2023-05-28 05:43
dsharshakovah, I load the config at startup anyway, yes#asahi-dev · 2023-05-28 05:43
dsharshakovWell, my WIP does the same I believe?#asahi-dev · 2023-05-28 05:42
chadmedand i have no desire to try and rearchitect the entire startup process :P #asahi-dev · 2023-05-28 05:42
chadmedbut it doesnt like loading configs before all nodes have been registered and the context loaded#asahi-dev · 2023-05-28 05:41
chadmedmy idea today was to try load a config fragment when the node is registered, using alsa.driver_name and alsa.card_name as the keys to find the right config file #asahi-dev · 2023-05-28 05:41
chadmedoh no i dont mean to do that#asahi-dev · 2023-05-28 05:40
dsharshakovYes, we shouldn't hack a filter into ALSA plugin (the thing PW uses to output to ALSA). No other way other than module-filter-chain#asahi-dev · 2023-05-28 05:39
dsharshakovwe can start with !412 rebased since it should be safe to mess with PW in any way, yes?#asahi-dev · 2023-05-28 05:39
chadmedyeah i was trying to avoid WP today but it seems like thats where they really want this stuff to go #asahi-dev · 2023-05-28 05:39
chadmedbut like i said we can simply not release speaker support until all this stuff is in a healthy place#asahi-dev · 2023-05-28 05:39
dsharshakovBut I'm mainly developing on PipeWire (DSP libs, modules etc), WirePlumber is a bit hard to me#asahi-dev · 2023-05-28 05:39
chadmedif it comes to it we carry some trivial patches downstream until 0.5 is released#asahi-dev · 2023-05-28 05:38
dsharshakovIt should be loading fine once I toss out permissions#asahi-dev · 2023-05-28 05:38
dsharshakovWP people tell me to do that for 0.5 but unsure when is that released#asahi-dev · 2023-05-28 05:38
chadmedwe have the benefit of being able to simply not release anything until its actually ready #asahi-dev · 2023-05-28 05:37
chadmedi dont think theres any particular rush (at least not on my end) so if upstream needs more time then thats no big deal#asahi-dev · 2023-05-28 05:37
dsharshakovwill rebase and push to a sideways branch#asahi-dev · 2023-05-28 05:37
dsharshakovhttps://gitlab.freedesktop.org/pipewire/wireplumber/-/merge_requests/412#asahi-dev · 2023-05-28 05:37
dsharshakovLet me open g.fd.o, I have a draft branch I can remove permissions stuff (racy) from and rebase to some commit fresher than 1yr ago#asahi-dev · 2023-05-28 05:36
dsharshakovWell, we want it for WP 0.4 probably, yea? Not waiting for 0.5#asahi-dev · 2023-05-28 05:35
dsharshakovYeah, now we have lower layers as an idiot protection, thus ones picking wrong sink wont make machine go boom boom#asahi-dev · 2023-05-28 05:35
chadmedi was going to test the rest of your patches today but i went down a config parsing rabbit hole that led nowhere instead :P #asahi-dev · 2023-05-28 05:35
dsharshakovHowever, I'm thinking of doing a simple "Load and route chain once device is discovered"#asahi-dev · 2023-05-28 05:35
chadmedyeah i noticed that, i think thats the least important thing in the scheme of things #asahi-dev · 2023-05-28 05:34
dsharshakovHello chadmed! Yes, I've submitted a draft for permissions refactor, but it's utterly broken and WirePlumber masters don't have time to fix that#asahi-dev · 2023-05-28 05:34
dsharshakovsorry#asahi-dev · 2023-05-28 05:34
dsharshakovIDENTIFY#asahi-dev · 2023-05-28 00:11
chadmedtime to hack up a concept #asahi-dev · 2023-05-28 00:11
chadmedok so theres been zero real progress excellent#asahi-dev · 2023-05-28 00:01
chadmedotherwise its going to be a nightmare to package up all the userspace audio stuff#asahi-dev · 2023-05-28 00:01
chadmed i should check in on the pipewire situation re auto-selecting appropriate configurations