I think I might have found the issue
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-5.13/+bug/1966066
On 04/12/2022 12:11, mario buoninfante wrote:
Hi,
Here's a bit more info and some updates.
I'm running Xubuntu 22.04.1 with Ubuntu Studio (everything installed).
I'm using a Focusrite Clarett 8pre USB as audio device running at
96kHz sample rate, 256 sample buffer size and 3 JACK period.
I'm fully up-to-date and the kernel is Linux 5.15.0-56-lowlatency
x86_64 (I think the kernel got updated in the last round of updates).
In the last 2 days I unsuccessfully tried to do the following (in
non-particular order):
*
uninstall pipewire - too many dependencies, so I gave up on that
*
the combo
o
systemctl --user stop pipewire.socket && systemctl --user stop
pipewire.service
o
systemctl --user mask pipewire.service
*
re-install pulse audio
* in /etc/pulse/default.pa I added "tsched=0" to the line containing
"load-module module-udev-detect"
*
edit the files in /etc/pipewire/media-session.d adding:
o
session.suspend-timeout-seconds = 0
*
install pipewire-pulse
*
replace pipewire-session-manager with wireplumber
*
re-install pipewire-session-manager and remove wireplumber (this
is actually the last thing I tried, so now I don't have
wireplumber anymore)
Nothing helped.
Then, after using:
*
systemctl --user status pipewire pipewire-session-manager
I realised I was getting 2 errors:
*
mod.rt: could not set nice-level to -11: Permission denied
*
spa.v4l2: '/dev/video0' VIDIOC_QUERYCTRL: Input/output error
I fixed the former adding
|@audio - nice -20|
to /etc/security/limits.d/audio.conf
I didn't manage to address the latter though.
The situation seems to have improved, not so much with streamed
audio/video, but with audio only (eg audacious) - it might be too
early to assess this though, since it was a late night move.
I went from "totally unusable - glitches, pops and crackles 80% of the
played audio", to "getting pops and crackles sporadically".
Still makes my system unusable, since I mainly record/mix/produce
music on my computer, but all improvements are welcome!
With audio/video from the internet though (mainly YouTube via
Firefox), I'm still getting terrible performance out of this.
Cheers,
Mario
On 02/12/2022 21:09, mario buoninfante wrote:
Hi,
Recently I started having issues with the audio performance of my
system (Ubuntu 22.04.1 LTS).
It seemed to have started after my last update.
Simply running "top" I noticed I have "pipewire" running and I was
wondering if that could be the problem.
I don't know if that has always been installed as I never checked
before today, but I found online that several people are having
similar issues both on Ubuntu and Fedora.
Any feedback/recommendation is welcome :)
Cheers,
Mario
--
---
musician, QA engineer, mental health first aider MHFA England
https://isoneph.bandcamp.com/
https://vdof.bandcamp.com/
http://mbuoninfante.tumblr.com
https://vimeo.com/creativecodingsalerno
https://github.com/mariobuoninfante
--
ubuntu-studio-users mailing list
ubuntu-studio-users@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users