From nobody Thu Jul 23 13:02:04 2026 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4h5Wf80G9rz6ln8Z for ; Thu, 23 Jul 2026 13:08:48 +0000 (UTC) (envelope-from christos@freebsd.org) Received: from margiolis.net (mail.margiolis.net [95.179.159.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4h5Wf72wjZz46CJ for ; Thu, 23 Jul 2026 13:08:47 +0000 (UTC) (envelope-from christos@freebsd.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=margiolis.net header.s=default header.b=ZtLQqJoi; spf=softfail (mx1.freebsd.org: 95.179.159.8 is neither permitted nor denied by domain of christos@freebsd.org) smtp.mailfrom=christos@freebsd.org; dmarc=fail reason="No valid SPF, DKIM not aligned (relaxed)" header.from=freebsd.org (policy=none) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; bh=hNIPUew0igRa mzbfc79l/7jeGeTwqUgGdarUaSlLdRs=; h=in-reply-to:references:to:from: subject:cc:date; d=margiolis.net; b=ZtLQqJoi7hNBdzj2qD2zo2U4JVKKTjpG/h E6OE+mq3+0ryGXFvTyx6BgdPUJ+SVeaH1I2jRBK6pRWmGNQ1TUYfGTfQ/S0PtCVo+CoBM2 sahsME4M5F64l+ON5ksyXka1tgf0Tr/cc0fbYwdNAt5aTBa3UzXhhLEHq3G7Z5SU7q0= Received: from localhost (static077069000228.dsl.hol.gr [77.69.0.228]) by margiolis.net (OpenSMTPD) with ESMTPSA id 0cdbac38 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 23 Jul 2026 07:02:05 -0600 (MDT) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 23 Jul 2026 16:02:04 +0300 Message-Id: Cc: "freebsd-hackers@FreeBSD.org" Subject: Re: Tragic State of FreeBSD Audio/Sound From: "Christos Margiolis" To: "Shawn Webb" X-Mailer: aerc 0.21.0 References: In-Reply-To: X-Spamd-Result: default: False [2.30 / 15.00]; SPAM_FLAG(5.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[margiolis.net:s=default]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : No valid SPF, DKIM not aligned (relaxed),none]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_ALL(0.00)[]; RECEIVED_HELO_LOCALHOST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; GREYLIST(0.00)[pass,body]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[margiolis.net:+]; RCVD_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[christos]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-hackers@FreeBSD.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:20473, ipnet:95.179.144.0/20, country:US]; TO_DN_SOME(0.00)[] X-Rspamd-Queue-Id: 4h5Wf72wjZz46CJ X-Spamd-Bar: ++ On Wed Jul 22, 2026 at 2:05 AM EEST, Shawn Webb wrote: > On Wed, Jul 22, 2026 at 01:26:17AM +0300, Christos Margiolis wrote: >> On Mon Jul 20, 2026 at 4:59 PM EEST, Shawn Webb wrote: >> > I've been experiencing audio issues as well since the recent work >> > started a little while ago (a year? two years? my chronological memory >> > isn't the best.) >> > >> > It's broken bad enough that I now don't use audio on my systems at >> > all. I haven't filed any bug reports, though, because it just hasn't >> > been a priority for me. I've got tons of other systems where audio >> > works fine and it's not really a bother to use those instead of my >> > fbsd/hbsd systems. >>=20 >> Can you mention one example of "bad enough"? I've been lurking this >> thread to find concrete problems to work on and I only see stuff like >> this. > > LibreWolf just does not play audio at all now. When I open > pavucontrol with a video/audio tab open and playing, LibreWolf isn't > even listed in the "Playback" tab. It used to prior to the sound > system overhaul. I daily-drive LibreWolf without any issues. I can listen play sound and video call normally. But I use native OSS as the audio backend, not pulseaudio or anything else. You can try setting media.cubeb.backend =3D oss in about:config. > Audio recording device issues as well. No matter what, I cannot get my > wireless (via non-BT USB wireless dongle) headphone's microphone to > work with video conferencing websites (in LibreWolf). I haven't tried > anything with Chromium, though I suppose I could add that to the list > of things to try. Please feel free to open a PR about this and we can look into it. I don't do BT work, but I suppose yours is a USB audio device, which handles BT on its own. > With me having zero experience in the audio stack, I'm not entirely > sure where to start debugging--especially given the number of moving > components. Is this a PulseAudio problem? Is this a kernel problem? Is > this because we've hardened certain interfaces in HardenedBSD, and the > audio stack could be impacted (unintentionally, of course)? > > I don't feel comfortable asking others to do that initial debugging > work (since I don't feel entitled to dictate other's priorities and > time). I don't know how well my issue can be reproduced. The zfs > datasets for this laptop date back to 2013-ish, so my issues could > also be due to mysterious old cruft surviving 13 years across multiple > laptops. > > If I can find some spare time, I'll try to dig in. What would be > helpful is some sort of "get started debugging the audio stack(s)" > sort of guide. I remember seeing the audio stack receiving some > coverage in the FreeBSD Journal, perhaps that could be my starting > point. Yes, the Journal article did mention how to file reports with sufficient (as a first step) information. > Thanks, Christos