#
✕ nick:dsharshakov
#asahi-dev · 2023-06-18 07:49
dsharshakovwe can now develop that in online mode. what's next? should we polish up what's present without hiding the nodes (that's certainly not upstreamable because of being racy)?
#asahi-dev · 2023-06-18 07:47
dsharshakovHello chadmed! WP filter-chain management is on my list now
#asahi-dev · 2023-05-28 07:03
dsharshakovPW is available on matrix as well
#asahi-dev · 2023-05-28 07:02
dsharshakovWe can switch to oftc-pipewire if you'd like, since we're pretty far from hw specials anyway
#asahi-dev · 2023-05-28 07:02
dsharshakovthat didn't repro for me. Anyway, better keep that topic in https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2969 since that's not hw specific
#asahi-dev · 2023-05-28 07:00
dsharshakovThat (as described) is a solid reproducer
#asahi-dev · 2023-05-28 07:00
dsharshakovEven if you try to pause, wait and play a 96k track in Elisa?
#asahi-dev · 2023-05-28 06:59
dsharshakovwell, weird. my system is a typical AMD laptop, no hardware specifics (Bluetooth also seems to be affected)
#asahi-dev · 2023-05-28 06:58
dsharshakov`44, 48, 96, 192` <-- switching from 48k to 96k is affected in some cases. Let's stick to 48000 as a balanced option for non-pro tasks and then attempt to squash the bug. It lies somewhere in the graph management
#asahi-dev · 2023-05-28 06:57
dsharshakovFor dev setup I checkout PW, run meson and it pulls WP and builds it. Then I can change wireplumber subproject (e.g. roll its git rev) and re-run ninja in PW dir
#asahi-dev · 2023-05-28 06:56
dsharshakovBut you can probably use your ordinary opts as you install WP on Gentoo, but give my branch as a source
#asahi-dev · 2023-05-28 06:55
dsharshakovI build WP together with PW
#asahi-dev · 2023-05-28 06:55
dsharshakovWhat did you ask multirate convolver for?
#asahi-dev · 2023-05-28 06:55
dsharshakovIn some weeks I might be able to dedicate time to that
#asahi-dev · 2023-05-28 06:54
dsharshakovWim said that didn't reproduce for him, but described method leads to clicks (audio interleaved with 0s) in almost 100% for me
#asahi-dev · 2023-05-28 06:53
dsharshakovYes, and I wasn't able to deduce the reason for filter chain rate switch bug (#2969 iirc) However, there's a reliable reproducer at the issue now. Please don't add more allowed rates or make the speaker output only support 48000 using PW props for now.
#asahi-dev · 2023-05-28 06:18
dsharshakovSPA JSON (the permissive type PW uses)s is fine, just remove newlines
#asahi-dev · 2023-05-28 05:58
dsharshakovPing me if you need help with PW/WP, I am watching the IRC logs. May be busy, but will try to help as I can
#asahi-dev · 2023-05-28 05:57
dsharshakoverr, https://tpaste.us/a16o
#asahi-dev · 2023-05-28 05:56
dsharshakovleave this essentially: table.insert (dsp_policy.policy.rules, { matches = { { { "media.class", "matches", "*/Sink" }, { "node.name", "=", "alsa_output.pci-0000_03_00.6.analog-stereo" } }, }, device_matches = { { { "device.name", "=", "alsa_card.pci-0000_03_00.6" } }, }, filter_chain = '{"media.name":"My DSP Speakers 2", "capture.props":{"node.virtual":false, "audio.channels":2,
#asahi-dev · 2023-05-28 05:56
dsharshakovDrop `-- Used to hide streams` section, however, shouldn't do anything bad
#asahi-dev · 2023-05-28 05:55
dsharshakovyes, then change matchers and insert an inlined FC description
#asahi-dev · 2023-05-28 05:55
dsharshakovpaste example from descr
#asahi-dev · 2023-05-28 05:54
dsharshakovI suppose I gave you an appropriately formatted config for J314, but that probably changed
#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:47
dsharshakovyes, please do. I know they're busy, but 0.5 work is being really slow...
#asahi-dev · 2023-05-28 05:47
dsharshakovyes
#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
dsharshakovoh, no way. session manager exists for that)
#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: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
dsharshakovBut I'm mainly developing on PipeWire (DSP libs, modules etc), WirePlumber is a bit hard to me
#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: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
dsharshakovHowever, I'm thinking of doing a simple "Load and route chain once device is discovered"
#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

plus ›