[Bug 297059] Audio Buzzing Sound
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 26 Jul 2026 22:37:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297059
--- Comment #3 from Slawomir Wojciech Wojtczak <vermaden@interia.pl> ---
Hi.
this is how it looks on my system:
https://mediafire.com/file/fxs5vih28uk9p7v/freebsd-tragic-audio-sound-more.mp4/file
Here are the output(s) of commands You asked for.
# ls -l /dev/mixer*
crw-rw-rw- root wheel 0 B 2026/07/20 22:02 /dev/mixer0
crw-rw-rw- root wheel 0 B 2026/07/20 22:02 /dev/mixer1
crw-rw-rw- root wheel 0 B 2026/07/20 22:02 /dev/mixer2
crw-rw-rw- root wheel 0 B 2026/07/26 22:01 /dev/mixer3
# mixer -f /dev/mixer0
pcm0:mixer: <Realtek ALC257 (Analog 2.0+HP/2.0)> on hdaa0 (play/rec) (default)
vol = 0.95:0.95 pbk
pcm = 1.00:1.00 pbk
speaker = 0.00:0.00 pbk
rec = 0.85:0.85 pbk
ogain = 1.00:1.00 pbk
monitor = 0.00:0.00 rec src
# mixer -f /dev/mixer1
pcm1:mixer: <Realtek ALC257 (Right Analog Mic)> on hdaa0 (rec)
speaker = 0.00:0.00 rec
mic = 0.36:0.36 rec src
rec = 0.37:0.37 pbk
# mixer -f /dev/mixer2
pcm2:mixer: <Intel Kaby Lake (HDMI/DP 8ch)> on hdaa1 (play)
vol = 1.00:1.00 pbk
pcm = 1.00:1.00 pbk
# mixer -f /dev/mixer3
pcm3:mixer: <MACROSILICON V-Z632> on uaudio0 (rec)
# sndctl -v
pcm0: <Realtek ALC257 (Analog 2.0+HP/2.0)> on hdaa0 (play/rec)
name = pcm0
desc = Realtek ALC257 (Analog 2.0+HP/2.0)
status = on hdaa0
devnode = dsp0
from_user = 0
unit = 0
caps = INPUT,MMAP,OUTPUT,REALTIME,TRIGGER,VIRTUAL
bitperfect = 0
autoconv = 1
realtime = 0
play.format = s16le:2.0
play.rate = 48000
play.vchans = 1
play.min_rate = 1
play.max_rate = 2016000
play.min_chans = 2
play.max_chans = 2
play.formats = s16le,s32le
rec.rate = 48000
rec.format = s16le:2.0
rec.vchans = 1
rec.min_rate = 1
rec.max_rate = 2016000
rec.min_chans = 2
rec.max_chans = 2
rec.formats = s16le,s32le
dsp0.play.0
parentchan =
unit = 0
caps = MMAP,OUTPUT,REALTIME,TRIGGER
latency = 2
rate = 48000
format = s16le:2.0
pid = -1
proc = <UNUSED>
interrupts = 10417881
xruns = 0
feedcount = 10417876
volume = 0.45:0.45
hwbuf.format = s16le:2.0
hwbuf.rate = 48000
hwbuf.size_bytes = 2048
hwbuf.size_frames = 512
hwbuf.blksz = 1024
hwbuf.blkcnt = 2
hwbuf.free = 0
hwbuf.ready = 2048
swbuf.format = s16le:2.0
swbuf.rate = 48000
swbuf.size_bytes = 2048
swbuf.size_frames = 512
swbuf.blksz = 1024
swbuf.blkcnt = 2
swbuf.free = 2048
swbuf.ready = 0
feederchain = [userland -> feeder_mixer(s16le:2.0) -> hardware]
dsp0.virtual_play.0
parentchan = dsp0.play.0
unit = 1
caps = MMAP,OUTPUT,REALTIME,TRIGGER,VIRTUAL
latency = 2
rate = 44100
format = s16le:2.0
pid = 7512
proc = deadbeef
interrupts = 0
xruns = 1118441
feedcount = 11021393
volume = 0.32:0.32
hwbuf.format = s16le:2.0
hwbuf.rate = 48000
hwbuf.size_bytes = 0
hwbuf.size_frames = 0
hwbuf.blksz = 0
hwbuf.blkcnt = 0
hwbuf.free = 0
hwbuf.ready = 0
swbuf.format = s16le:2.0
swbuf.rate = 44100
swbuf.size_bytes = 8192
swbuf.size_frames = 2048
swbuf.blksz = 1024
swbuf.blkcnt = 8
swbuf.free = 0
swbuf.ready = 8192
feederchain = [userland -> feeder_root(s16le:2.0) ->
feeder_volume(s16le:2.0) -> feeder_rate(44100 -> 48000) -> dsp0.play.0]
dsp0.record.0
parentchan =
unit = 2
caps = INPUT,MMAP,REALTIME,TRIGGER
latency = 0
rate = 48000
format = s16le:2.0
pid = -1
proc = <UNUSED>
interrupts = 0
xruns = 0
feedcount = 0
volume = 0.45:0.45
hwbuf.format = s16le:2.0
hwbuf.rate = 48000
hwbuf.size_bytes = 256
hwbuf.size_frames = 64
hwbuf.blksz = 128
hwbuf.blkcnt = 2
hwbuf.free = 256
hwbuf.ready = 0
swbuf.format = s16le:2.0
swbuf.rate = 48000
swbuf.size_bytes = 32768
swbuf.size_frames = 8192
swbuf.blksz = 64
swbuf.blkcnt = 512
swbuf.free = 32768
swbuf.ready = 0
feederchain = [hardware -> feeder_root(s16le:2.0) ->
feeder_volume(s16le:2.0) -> userland]
# sysctl hw.snd.verbose=4
(some time later after many 'buzzing' sounds)
# dmesg
pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=1792, old=1792
delta=0 amt=0 ready=2048 free=0
pcm0: WARNING: PCMDIR_PLAY DMA completion too fast/slow ! hwptr=768, old=768
delta=0 amt=0 ready=2048 free=0
hdaa0: Setting amplifier nid=2 index=0 out mute=0/0 vol=78/78
hdaa0: Setting amplifier nid=20 index=0 out mute=1/1 vol=0/0
hdaa0: Setting amplifier nid=33 index=0 out mute=0/0 vol=0/0
hdaa0: Setting amplifier nid=20 index=0 out mute=1/1 vol=0/0
hdaa0: Setting amplifier nid=2 index=0 out mute=0/0 vol=83/83
hdaa0: Setting amplifier nid=33 index=0 out mute=0/0 vol=0/0
hdaa0: Setting amplifier nid=2 index=0 out mute=0/0 vol=83/83
hdaa0: Setting amplifier nid=2 index=0 out mute=0/0 vol=83/83
hdaa0: Setting amplifier nid=20 index=0 out mute=1/1 vol=0/0
hdaa0: Setting amplifier nid=33 index=0 out mute=0/0 vol=0/0
hdaa0: Setting amplifier nid=20 index=0 out mute=1/1 vol=0/0
hdaa0: Setting amplifier nid=2 index=0 out mute=0/0 vol=78/78
hdaa0: Setting amplifier nid=33 index=0 out mute=0/0 vol=0/0
hdaa0: Setting amplifier nid=2 index=0 out mute=0/0 vol=78/78
hdaa0: Setting amplifier nid=2 index=0 out mute=0/0 vol=78/78
hdaa0: Setting amplifier nid=20 index=0 out mute=1/1 vol=0/0
hdaa0: Setting amplifier nid=33 index=0 out mute=0/0 vol=0/0
hdaa0: Setting amplifier nid=20 index=0 out mute=1/1 vol=0/0
hdaa0: Setting amplifier nid=2 index=0 out mute=0/0 vol=83/83
hdaa0: Setting amplifier nid=33 index=0 out mute=0/0 vol=0/0
hdaa0: Setting amplifier nid=2 index=0 out mute=0/0 vol=83/
Some additional commands I think that can be useful below.
# cat /dev/sndstat
FreeBSD Audio Driver
Installed devices:
pcm0: <Realtek ALC257 (Analog 2.0+HP/2.0)> on hdaa0 (1p:1v/1r:0v) default
snddev flags=0x30b8<BUSY,MPSAFE,REGISTERED,VPC,PVCHANS,RVCHANS>
[dsp0.play.0]: spd 48000, fmt 0x00200010, flags 0x00002108, 0x00000004
interrupts 10496741, underruns 0, feed 10496736, ready 0
[b:2048/1024/2|bs:2048/1024/2]
channel flags=0x2108<TRIGGERED,BUSY,HAS_VCHAN>
{userland} -> feeder_mixer(0x00200010) -> {hardware}
dsp0.play.0[dsp0.virtual_play.0]: spd 44100/48000, fmt 0x00200010,
flags 0x1000010c, 0x00000029, pid 7512 (deadbeef)
interrupts 0, underruns 1161349, feed 11104821, ready 0
[b:0/0/0|bs:8192/1024/8]
channel flags=0x1000010c<RUNNING,TRIGGERED,BUSY,VIRTUAL>
{userland} -> feeder_root(0x00200010) ->
feeder_volume(0x00200010) -> feeder_rate(0x00200010 q:3 44100 -> 48000) ->
{dsp0.play.0}
[dsp0.record.0]: spd 48000, fmt 0x00200010, flags 0x00000000,
0x00000021
interrupts 0, overruns 0, feed 0, hfree 256, sfree 32768
[b:256/128/2|bs:32768/64/512]
channel flags=0x0
{hardware} -> feeder_root(0x00200010) ->
feeder_volume(0x00200010) -> {userland}
pcm1: <Realtek ALC257 (Right Analog Mic)> on hdaa0 (0p:0v/1r:0v)
snddev flags=0x20b9<SIMPLEX,BUSY,MPSAFE,REGISTERED,VPC,RVCHANS>
[dsp1.record.0]: spd 48000, fmt 0x00200010, flags 0x00000000,
0x00000021
interrupts 0, overruns 0, feed 0, hfree 256, sfree 32768
[b:256/128/2|bs:32768/64/512]
channel flags=0x0
{hardware} -> feeder_root(0x00200010) ->
feeder_volume(0x00200010) -> {userland}
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> on hdaa1 (1p:0v/0r:0v)
snddev
flags=0x10bd<SIMPLEX,SOFTPCMVOL,BUSY,MPSAFE,REGISTERED,VPC,PVCHANS>
[dsp2.play.0]: spd 48000, fmt 0x00200010, flags 0x00004000, 0x00000021
interrupts 0, underruns 0, feed 0, ready 0
[b:2048/1024/2|bs:2048/1024/2]
channel flags=0x4000<VCHAN_PASSTHROUGH>
{userland} -> feeder_root(0x00200010) ->
feeder_volume(0x00200010) -> {hardware}
pcm3: <MACROSILICON V-Z632> on uaudio0 (0p:0v/1r:0v)
snddev flags=0x20b9<SIMPLEX,BUSY,MPSAFE,REGISTERED,VPC,RVCHANS>
[dsp3.record.0]: spd 48000, fmt 0x00200010, flags 0x00000000,
0x00000021
interrupts 0, overruns 0, feed 0, hfree 768, sfree 32768
[b:768/384/2|bs:32768/64/512]
channel flags=0x0
{hardware} -> feeder_root(0x00200010) ->
feeder_volume(0x00200010) -> {userland}
No devices installed from userspace.
# sysctl -a | grep unit | grep snd
hw.snd.default_unit: 0
Regards,
vermaden
--
You are receiving this mail because:
You are the assignee for the bug.