#asahi-dev · 2023-05-28 11:45
jannauprobably not what I was seeing with my thunderbolt hub. 2 displays only worked when one of them was a downstream thunderbolt display. for any combination of 2 hdmi/dp/usb-c downstream displays it always used DP MST#asahi-dev · 2023-05-28 11:41
jannauI'm not sure#asahi-dev · 2023-05-28 11:40
marcanis tb+altmode a thing? like 2 lanes for TB 2 for DP?#asahi-dev · 2023-05-28 11:40
marcanyeah, could be#asahi-dev · 2023-05-28 11:39
jannauthinking of it it could be simply some cleanup of how they handle dual displays over thunderbolt and/or thunderbolt+dp-altmode#asahi-dev · 2023-05-28 11:38
jannauI think I say it in some messages mentioned with HDMI#asahi-dev · 2023-05-28 11:32
marcanah not on the MBPs at least, but then I wonder how that works over a single ATC...#asahi-dev · 2023-05-28 11:31
marcanjannau: strings suggest the peering stuff is for atc, HDMI should be on lpdp no?#asahi-dev · 2023-05-28 11:26
jannauno 8k or hdmi 2.1 display here so I haven't tried#asahi-dev · 2023-05-28 11:25
marcan13.2 actually, but yeah that also makes sense#asahi-dev · 2023-05-28 11:25
jannausearch for mainUFP / peerUFP#asahi-dev · 2023-05-28 11:23
jannauwhat do you mean by latest firmware? 13.3 or 13.4? I suspect based on strings in the 13.3 kext (and on how apple advertises the feature) that 8k hdmi mode might need 2 dcp(ext)s#asahi-dev · 2023-05-28 10:21
marcanwild guess though, it could also just be a tiling thing (but I thought we decided that was done with a single dispext)#asahi-dev · 2023-05-28 10:20
marcanit would make sense that dispext is in charge of the DP protocol so MST is implemented with a side channel with another dispext, while the dual pipe thing is for Thunderbolt only which uses discrete DP tunneled SST streams for multimonitor use cases.#asahi-dev · 2023-05-28 10:19
marcanthat wasn't there before... DisplayPort MST support ganging up two dispexts (at a layer above the crossbar)?#asahi-dev · 2023-05-28 10:19
marcansven, jannau: from latest DCP firmware ^^#asahi-dev · 2023-05-28 10:19
marcanGot peer ID %d#asahi-dev · 2023-05-28 10:19
marcandispext%d: peer pipe dispext%d, max pixel width %d, max pixel rate %d#asahi-dev · 2023-05-28 10:19
marcanpeer-pipe-cfg#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
chadmedyeah its all fine, going between 48k firefox and 96k other media #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:59
chadmedfwiw i have not noticed that ever on this machine#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
chadmedwe have multiple rates because the resampling produced low quality, i have no intention to add more rates than we currently have (44, 48, 96, 192) because nothing else matters for desktop audio#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
chadmedanyway what do i need to do to get this to install correctly? the only options i added were -Dlibdir and -Dprefix because gentoo #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:55
chadmedi have no intention to add more rates so thats fine #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:45
chadmedhave i built wp wrong or something? #asahi-dev · 2023-05-28 06:45
chadmed[string "99-asahi.lua"]:1: attempt to index a nil value (global 'dsp_policy')#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 06:11
chadmedack, just wrangling the filter chain into json right now#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
chadmedbeautiful #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