Hi Gmaq, no worries at all =)
AVLinux is the gold standard for a production grade audio production system so the reasoning behind why PW isn't suitable for it are totally valid.
My system is experimental, it's hardly production grade. Some of the audio packages on it aren't working 100% reliably for reasons that aren't totally clear. Could be coincidence, could be bugs in the applications, could be a particular soundcard, could be a particular soundcard settings.... things crash from time to time, it's still very much in the "getting things to work" phase.
But for those with a spare machine lying around or who want to gamble, for better or worse, those settings seem to be working for me to varying degrees, depending on the soundcard. Some seem to work better, some worse. Is it the card, is it the configuration.... who knows at this point.
With one card it seemed to work really really well to the point that it wasn't even necessary to set the CPUfreq to performance. Will this be repeatable, will this behaviour remain consistent, again, who knows.
On some of the other cards I wasn't so lucky and had to switch it to "Performance" to avoid xrunning. Perhaps the secret sauce parameters for the other cards aren't quite right yet, who knows.
Will I be able to do a repeat build and achieve similar results on an identical laptop? Theoretically yes but who knows.
But yeah, for those who are interested and who have similar hardware and OS, those Pipewire tweaks are easy to implement and roll-back later if required without complications so if a user's current latency with PW is sub-optimal it's worth trying. Hopefully others have additional tweaks, tips and tricks. (My real reason for making this thread.)
Obviously the usual audio optimisations still need to be implemented as well, the tweaks in this thread only cover a small part of Pipewire.
All the best
GMaq wrote: ↑Sat Mar 18, 2023 4:26 pm@asbak
Thanks for sharing your info and settings that's very helpful especially for those who already have PW on the system or are installing Mint or other popular systems renowned to be excellent general Linux Desktop systems. Actually my apologies for popping up with an opinion post that really derailed your initial useful intentions, I didn't really think it through..