Re: Tragic State of FreeBSD Audio/Sound
Kevin Bowling <[email protected]> Tue, 21 Jul 2026 11:13:59 -0700
| Newsgroups | gmane.os.freebsd.devel.hackers,gmane.os.freebsd.current,gmane.os.freebsd.stable |
|---|---|
| Message-ID | <CAK7dMtC5MOfHw9+6LVchGBnSVEF_AN4WabsVsM+PgXNLBm17uQ@mail.gmail.com> |
On Tue, Jul 21, 2026 at 11:02=E2=80=AFAM Kevin Bowling <kevin.bowling@kev00= 9.com> wrote: > > On Tue, Jul 21, 2026 at 3:13=E2=80=AFAM Gleb Popov <[email protected]> w= rote: > > > > On Tue, Jul 21, 2026 at 12:57=E2=80=AFPM Kevin Bowling <kevin.bowling@k= ev009.com> wrote: > > > > > > Only major outstanding work is pipewire/pipewire-pulse don't know how= to > > > elevate their priority on FreeBSD and they really should be RT. > > > > What's needed for that? > > There are multiple issues: > > 1) Either a fix for the priority in PipeWire (SCHED_FIFO, don't set a > negative nice.level =3D -11 as a normal user) or something to make RTKit > work > 2) Use the process ID, _gettid(). Meant to say _not_ thread ID, for setpriority. But users still cant -11. > 3) kldload mac_priority and user in realtime group > > > > Disable the stock PulseAudio autostart. > > > > Why, what's wrong with it? > > Try killing it with KDE running and see what happens. > > > > if [ -z "$XDG_RUNTIME_DIR" ]; then > > > export XDG_RUNTIME_DIR=3D"/var/run/user/$(id -u)" > > > mkdir -p "$XDG_RUNTIME_DIR" > > > chmod 700 "$XDG_RUNTIME_DIR" > > > fi > > > > This is done by pam_xdg, you shouldn't do that yourself.