FreeBSD Free_BSD_13 13.0-CURRENT FreeBSD 13.0-CURRENT #115 r352114: Mon Sep 9 22:42:31 EDT 2019 root@Free_BSD_13:/usr/obj/usr/src/amd64.amd64/sys/MYKERNEL amd64 1300047 dmesg | grep pcm pcm0: <NVIDIA (0x0051) (HDMI/DP 8ch)> at nid 4 on hdaa0 pcm1: <NVIDIA (0x0051) (HDMI/DP 8ch)> at nid 5 on hdaa0 pcm2: <Realtek ALC892 (Rear Analog 7.1/2.0)> at nid 20,22,21,23 and 24,26 on hdaa1 pcm3: <Realtek ALC892 (Front Analog)> at nid 27 and 25 on hdaa1 # dmesg | grep hdac hdac0: <NVIDIA (0x0e0f) HDA Controller> mem 0xf7080000-0xf7083fff irq 33 at device 0.1 on pci6 hdac1: <AMD (0x1457) HDA Controller> mem 0xf7800000-0xf7807fff irq 43 at device 0.3 on pci8 hdacc0: <NVIDIA (0x0051) HDA CODEC> at cad 0 on hdac0 hdaa0: <NVIDIA (0x0051) Audio Function Group> at nid 1 on hdacc0 hdacc1: <Realtek ALC892 HDA CODEC> at cad 0 on hdac1 hdaa1: <Realtek ALC892 Audio Function Group> at nid 1 on hdacc1 Log file: Sep 9 22:16:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp0: play interrupt timeout, channel dead Sep 9 22:17:33 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp1: play interrupt timeout, channel dead Sep 9 22:17:33 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp2: play interrupt timeout, channel dead Sep 9 22:17:33 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp3: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp1: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp2: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp3: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp4: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp5: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp6: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp7: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp8: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp9: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp10: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp11: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp12: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp13: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp14: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp1: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp2: play interrupt timeout, channel dead Sep 9 22:17:50 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp3: play interrupt timeout, channel dead Sep 9 22:18:02 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp1: play interrupt timeout, channel dead Sep 9 22:18:02 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp2: play interrupt timeout, channel dead Sep 9 22:18:02 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp3: play interrupt timeout, channel dead Sep 9 22:18:02 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp4: play interrupt timeout, channel dead Sep 9 22:18:02 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp5: play interrupt timeout, channel dead Sep 9 22:18:02 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp6: play interrupt timeout, channel dead Sep 9 22:18:02 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp7: play interrupt timeout, channel dead Sep 9 22:18:02 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp8: play interrupt timeout, channel dead Sep 9 22:18:02 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp9: play interrupt timeout, channel dead Sep 9 22:18:02 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp10: play interrupt timeout, channel dead Sep 9 22:18:02 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp11: play interrupt timeout, channel dead Sep 9 22:18:02 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp12: play interrupt timeout, channel dead Sep 9 22:18:02 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp13: play interrupt timeout, channel dead Sep 9 22:18:02 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp14: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp1: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp2: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp3: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp4: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp5: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp6: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp7: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp8: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp9: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp10: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp11: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp12: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp13: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp14: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: pcm2: chn_write(): pcm2:virtual:dsp2.vp15: play interrupt timeout, channel dead Sep 9 22:18:14 Free_BSD_13 kernel: feeder_init(0xfffff80006928b00) on feeder_matrix returned 22 Sep 9 22:18:14 Free_BSD_13 kernel: pcm0: feeder_build_matrix(): can't add feeder_matrix Sep 9 22:18:14 Free_BSD_13 kernel: feeder_init(0xfffff80006928980) on feeder_matrix returned 22 Sep 9 22:18:14 Free_BSD_13 kernel: pcm1: feeder_build_matrix(): can't add feeder_matrix Installed devices: pcm0: <NVIDIA (0x0051) (HDMI/DP 8ch)> (play) pcm1: <NVIDIA (0x0051) (HDMI/DP 8ch)> (play) pcm2: <Realtek ALC892 (Rear Analog 7.1/2.0)> (play/rec) default pcm3: <Realtek ALC892 (Front Analog)> (play/rec) No devices installed from userspace. Audio stops and requires reboot/restart to recover sound.
Thank you for the report Andy You mention it takes a reboot to recover sound. Can you describe how/when sound fails after booting, and describe the environment details within which you are testing/using audio. Also, is this a regression from a previous version after updating to CURRENT? If so, what were the previous version(s) which sound worked without this issue Can you please also include: - /var/run/dmesg.boot (as an attachment) - MYKERNEL kernel config (as an attachment) - pkg version -v (as an attachment)
Is this a regression issue?
Created attachment 207362 [details] /var/run/dmesg.boot
Created attachment 207363 [details] MYKERNEL kernel config
Created attachment 207364 [details] pkg version -v
(In reply to Hans Petter Selasky from comment #2) Hi HPS: Not really sure how to answer that, depends on your definition of regression. I can say, I have been using CURRENT as my only desktop for many years and I have seen this before. It is possible I saw it when 12 was CURRENT but I can not say for sure. I have definitely seen it before now on 13-CURRENT. I failed to report it before, but yes I have seen this behavior previously in 13-CURRENT. Mostly it happened when I was running VBOX as host with a VM guest OS running and the guest OS would be playing a web video and the sound would stop. But this time the problem occurred while playing audio in VLC media player on the host, no VBOX running.
(In reply to Kubilay Kocak from comment #1) I am using CURRENT with the MATE desktop environment. I was listening to audio using VLC. When the problem happens the normal sound stops and you hear a loud fast "buzzing" noise for about 20-30 seconds and then the noise stops. At that point, everything on the machine is still working except for sound. It requires a reboot for sound to work normally again. Unfortunately, it is not possible to reliably reproduce this problem. It can take weeks or months to show up. I have seen this occur previously, at that time I was running VBOX as a host and the sound would stop in the guest VM.
I've the same problem on FreeBSD 12.1-STABLE r363647 amd64. I was listening to audio using gmplayer. When the problem happens the normal sound stops. [root@ak /home/ak]# dmesg | grep pcm pcm0: <NVIDIA (0x0051) (HDMI/DP 8ch)> at nid 4 on hdaa0 pcm1: <NVIDIA (0x0051) (HDMI/DP 8ch)> at nid 5 on hdaa0 pcm2: <Realtek ALC892 (Rear Analog)> at nid 20 and 24,26 on hdaa1 pcm3: <Realtek ALC892 (Front Analog)> at nid 27 and 25 on hdaa1 pcm2: chn_write(): pcm2:virtual:dsp2.vp0: play interrupt timeout, channel dead pcm2: chn_write(): pcm2:virtual:dsp2.vp0: play interrupt timeout, channel dead pcm2: chn_write(): pcm2:virtual:dsp2.vp0: play interrupt timeout, channel dead pcm2: chn_write(): pcm2:virtual:dsp2.vp0: play interrupt timeout, channel dead
Created attachment 216837 [details] cat /dev/sndstat