Re: Tragic State of FreeBSD Audio/Sound

From: Gleb Popov <arrowd_at_freebsd.org>
Date: Tue, 21 Jul 2026 10:13:11 UTC
On Tue, Jul 21, 2026 at 12:57 PM Kevin Bowling <kevin.bowling@kev009.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?

> Disable the stock PulseAudio autostart.

Why, what's wrong with it?

>    if [ -z "$XDG_RUNTIME_DIR" ]; then
>        export XDG_RUNTIME_DIR="/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.