From nobody Tue Jul 21 22:12:16 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 4h4Wxt2515z6mXMT for ; Tue, 21 Jul 2026 22:18:58 +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 4h4Wxs60qnz3lC1 for ; Tue, 21 Jul 2026 22:18:57 +0000 (UTC) (envelope-from christos@freebsd.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=margiolis.net header.s=default header.b=U1pJozmf; 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=ZCdjiFmSGouS YBaMqd02+x7d2i/oRoZhCa6zdCK9flc=; h=in-reply-to:references:subject:to: cc:from:date; d=margiolis.net; b=U1pJozmfESqe5dFlf0ilZY7RM0+rYG7GYnC7p GSECoQxzzH84SXMeraoKwEbr8BAShEIkGmMtL/S+21i8LYSnJJ1nx+49zq5a/q7/Tbw70X QUbc8ESwPdbRkrnhkd8oPF68PGxjgDRsFh0lO1rmnJhF2Ut7ne/rRYKjQ+uvULlM= Received: from localhost (31-217-161-51.cgn.athe.cosmote.net [31.217.161.51]) by margiolis.net (OpenSMTPD) with ESMTPSA id 371af672 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 21 Jul 2026 16:12:17 -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: Wed, 22 Jul 2026 01:12:16 +0300 Message-Id: From: "Christos Margiolis" Cc: "Rozhuk Ivan" , "freebsd-hackers@FreeBSD.org" To: "vermaden" Subject: Re: Tragic State of FreeBSD Audio/Sound X-Mailer: aerc 0.21.0 References: <20260720202746.45869b21@rimwks.local> In-Reply-To: X-Spamd-Result: default: False [2.30 / 15.00]; SPAM_FLAG(5.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[margiolis.net:s=default]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : No valid SPF, DKIM not aligned (relaxed),none]; FREEMAIL_CC(0.00)[gmail.com,FreeBSD.org]; RCVD_TLS_ALL(0.00)[]; RECEIVED_HELO_LOCALHOST(0.00)[]; FROM_HAS_DN(0.00)[]; GREYLIST(0.00)[pass,body]; FREEMAIL_TO(0.00)[interia.pl]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[margiolis.net:+]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@FreeBSD.org]; R_SPF_SOFTFAIL(0.00)[~all:c]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TAGGED_RCPT(0.00)[]; FREEFALL_USER(0.00)[christos]; ASN(0.00)[asn:20473, ipnet:95.179.144.0/20, country:US]; TO_DN_SOME(0.00)[] X-Rspamd-Queue-Id: 4h4Wxs60qnz3lC1 X-Spamd-Bar: ++ On Mon Jul 20, 2026 at 8:38 PM EEST, vermaden wrote: >> > I will not even start about PITA syntax of mixer(1) which went into >> > this: >> >=20 >> > % mixer -f ${DEV} vol.volume=3D+0.05 >>=20 >> Just use gtk-mixer, avail in ports. >>=20 >> In recent years, I haven't noticed any bugs >> in the operation of the OSS. > > I do it by scripts anyway ... but I needed to rewrite all my scripts beca= use of these changes ... and this change in syntax was bad from at least th= ree perspectives: > > 1. It happened in 'point' release (like from .2 to .3) - not in new major= release - breaking stuff for EVERYONE. A quick look at mixer(8)'s man page would suggest otherwise... The rewrite was introduced in 14.0, and was never MFC'd to 13.*. > 2. It happened without any reason - the tool could do the same with old s= yntax underneath - the new syntax does not introduce anything new - it just= has different syntax. This is wrong in all aspects. The tool does introduce something new: muting and unmuting. And you could not do the same with the old syntax, because the old syntax assumed that the only mixer functions are *just* volume and recording source setting, but in an inconsistent way also. The new syntax is uniform, and can support *any* function that we might want to add. For now the new function is muting, but it could also be anything else: panning, effect selectors, for instance. How exactly would you do that with the old syntax? > 3. As FreeBSD (at least up to some time ago) cherished the POLA > principle WHY the old syntax could not been also kept and accepted? I do not understand the obsession with POLA sometimes. There has to be common sense also. mixer(8) is a simple enough program (and also somewhat niche) that we can afford to improve an obviously limited design. At the moment I am the only consistent sound developer on FreeBSD, and there are a few more people who occasionally contribute code, so resources are naturally scarce. Instead of ranting on MLs about how "tragic" sound is, you could spend that time to file a bug report so that we can try to address your issues. This whole thread is entirely pointless, not only because it is pure complaining, but it is complaining without substance. You mention laptop buzzing sounds, but you don't know if it is sound(4)'s fault, the driver's fault, pulseaudio's fault, some other program's fault, faulty hardware, some scheduler setting, etc. It is fine to not know, but at least help us figure it out. You haven't even mentioned which driver or sound card you run. On top of that, you talk about how tragic sound is, how new changes break everything, but haven't mentioned anything else apart from the buzzing which clearly does not affect everyone. What else makes sound so tragic? I genuinely want to know so I can work on it. Christos