Re: Tragic State of FreeBSD Audio/Sound

Andre Albsmeier <[email protected]> Mon, 27 Jul 2026 07:11:57 +0200
Newsgroups gmane.os.freebsd.stable
Message-ID <[email protected]>
On Sun, 26-Jul-2026 at 09:11:31 +0200, vermaden wrote:
> ...
> I will not quote the earlier messages as I found new way to generate this buzzing sound (for debugging).
> 
> Works both for 14.4-RELEASE (I downgraded to that for less sound issues) and latest 15.1-RELEASE.

I am no hardcore audio user -- just playin video and audio files in the
background and I never had a buzzing sound (currently on 14.4-STABLE).

Only avidemux adds an about 200 ms long buzzing sound at the very beginning
of each video it encodes. This has been for years and is probably an avidemux
bug and has nothing to do with your problem.

But out of curiosity I tried this:

> Start playing some MP3 with 'audio/deadbeef' player - I tried both PulseAudio and OSS backends - same behavior - You need to compile Deadbeef from ports if You want to have PulseAudio backend.

I compiled deadbeef w/o PulseAudio (so its using OSS) and w/o some fancy
codecs I didn't have here already.

> 
> Next install 'benchmarks/glmark2' and run it without any other parameters with 'glmark2' command.

Done.

> 
> First benchmark is 'rotating horse', second is 'rotating crate box' - buzzing will start at the end of 'horse' and will continue on the 'box' and rest of the benchmarks.

No buzzing here. The benchmark itself is stuttering slightly sometimes
but thats all.

> 
> Setting these change nothing:
> # sysctl hw.snd.timeout=0

Can't use 0 here:

~>sysctl hw.snd.timeout=0
hw.snd.timeout: 5
sysctl: hw.snd.timeout=0: Invalid argument
~>sysctl hw.snd.timeout=1
hw.snd.timeout: 5 -> 1

> # sysctl hw.snd.latency=0

~>sysctl hw.snd.latency=0
hw.snd.latency: 2 -> 0

Both didn't change anything here (no buzzing).

	-Andre