Hi. Temat: Re: Tragic State of FreeBSD Audio/Sound Data: 2026-07-28 11:12 Nadawca: "Tomoaki AOKI" <[email protected]> Adresat: "Adrian Chadd" <[email protected]>; DW: "Nuno Teixeira" <[email protected]>; "Sulev-Madis Silber" <[email protected]>; [email protected];
> > > On Mon, 27 Jul 2026 20:24:09 -0700 > Adrian Chadd wrote: > >> On Mon, 27 Jul 2026 at 15:09, Nuno Teixeira wrote: >> > >> > >> >> If you're experiencing "buzz" like I think you are then it's the same >> >> frame being queued >> >> over and over again to the DAC. Typically I've only seen that happen here when I >> >> have the kernel panic (we're not stopping audio DMA at this point, and >> >> I don't know >> >> why it's looping over.) >> >> >> >> >> >> >> >> Even in the year of our lord "LLMs are available" there's only so much >> >> one can do >> >> in long email threads; at some point bugs need reproducing, PRs need filing and >> >> developer / user time needs to happen. Let's be methodical about it to help out >> >> the sound folks in figuring it out. >> >> >> >> >> >> >> >> -adrian >> >> >> > >> > Hello, >> > >> > I usually linten to youtube when doing poudriere builds. Music helps the process and poudriere build better. >> > >> > I use an usb dac with: >> > >> > hw.snd.latency=10 >> > hw.usb.uaudio.buffer_ms=8 >> > >> > IMHO it helps a little. >> >> neat. again, if you can reproduce this then please file a bug, include >> information about your hardware >> and what you're doing on it to elicit the terrible behviour. >> >> >> >> >> -adrian > > In my case, the issue rarely (about once per several months, including > "stop playing" cases) happens, thus, hard to reproduce. > > Possibly (too wild guess, though) race conditions between > *I/O pressures by heavy poudriere builds > *timing to send payload to USB audio > *timing to send/receive I/O from/to USB peripherals > *reading audiofile (in my case, mostly FLAC) > *processing audio data to send to USB audio > > In some cases, buzz sounds. In some other cases, sound stops, > but audacious thinks it's sanely playing (slider moves, > spectrum moves). I think the "sound stops" case would be > PCM payload to USB audio is clamped to zero, instead of > random value for buzz cases. > > Creating reproducer may be... too hard for me. > > Regards. > > -- > Tomoaki AOKI My ideas to 'stress' system to make it happen - fire up all of these at once: # glmark2 # unixbench # sysbench cpu --threads=$( nproc ) run # blogbench # stress-ng # make buildworld Should help ... Regards, vermaden
