From owner-freebsd-multimedia@freebsd.org Mon Apr 6 19:56:58 2020 Return-Path: Delivered-To: freebsd-multimedia@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 35057279ABE for ; Mon, 6 Apr 2020 19:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48x1XB0jz8z4WyD for ; Mon, 6 Apr 2020 19:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 16B07279ABC; Mon, 6 Apr 2020 19:56:58 +0000 (UTC) Delivered-To: multimedia@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1673A279ABB for ; Mon, 6 Apr 2020 19:56:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48x1X96v4sz4WyB for ; Mon, 6 Apr 2020 19:56:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E7C0C2D630 for ; Mon, 6 Apr 2020 19:56:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 036JuvQZ033009 for ; Mon, 6 Apr 2020 19:56:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 036Juvwn033008 for multimedia@FreeBSD.org; Mon, 6 Apr 2020 19:56:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 244074] snd_hda stops working after some time Date: Mon, 06 Apr 2020 19:56:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bobf@mrp3.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: multimedia@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2020 19:56:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244074 --- Comment #3 from Bob Frazier --- had it happen again, this time running mplayer via OpenAL [for some reason, mplayer with the newest kernel started stuttering OSS audio, but openAL wor= ks ok until THIS BUG happened again) initial symptoms of audio crashing sounded like rapidly repeating 1 buffer's worth of audio, a kind of buzzing noise. Shutting off mplayer stopped the audio, but left the driver in a 'locked up' state. following audio lock-up I captured some things: /dev/sndstat FreeBSD Audio Driver (64bit 2009061500/amd64) Installed devices: pcm0: on hdaa0 (1p:1v/0r:0v) snddev flags=3D0x2e7 [pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010, flags 0x00006100, 0x00000004 interrupts 45, underruns 0, feed 45, ready 0 [b:2048/1024/2|bs:2048/1024/2] channel flags=3D0x6100 {userland} -> feeder_mixer(0x00200010) -> {hardware} pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 44100/48000, fmt 0x00200010, flags 0x10000000, 0x00000029 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:8192/1024/8] channel flags=3D0x10000000 {userland} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) = -> feeder_rate(0x00200010 q:1 44100 -> 48000) -> {hardware} pcm1: on hdaa0 (1p:1v/0r:0v) snddev flags=3D0x2e7 [pcm1:play:dsp1.p0]: spd 48000, fmt 0x00200010, flags 0x00006100, 0x00000004 interrupts 23, underruns 0, feed 23, ready 0 [b:2048/1024/2|bs:2048/1024/2] channel flags=3D0x6100 {userland} -> feeder_mixer(0x00200010) -> {hardware} pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp0]: spd 44100/48000, fmt 0x00200010, flags 0x10000000, 0x00000029 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:8192/1024/8] channel flags=3D0x10000000 {userland} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) = -> feeder_rate(0x00200010 q:1 44100 -> 48000) -> {hardware} pcm2: on hdaa1 (1p:2v/1r:1v) default snddev flags=3D0x2e2 [pcm2:play:dsp2.p0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000004 interrupts 0, underruns 0, feed 0, ready 0 [b:2048/1024/2|bs:2048/1024/2] channel flags=3D0x2100 {userland} -> feeder_mixer(0x00200010) -> {hardware} pcm2:play:dsp2.p0[pcm2:virtual:dsp2.vp0]: spd 44100/48000, fmt 0x00200010, flags 0x10000000, 0x00000029 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:8192/1024/8] channel flags=3D0x10000000 {userland} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) = -> feeder_rate(0x00200010 q:1 44100 -> 48000) -> {hardware} pcm2:play:dsp2.p0[pcm2:virtual:dsp2.vp1]: spd 44100/48000, fmt 0x00200010, flags 0x10000000, 0x00000029 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:8192/1024/8] channel flags=3D0x10000000 {userland} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) = -> feeder_rate(0x00200010 q:1 44100 -> 48000) -> {hardware} [pcm2:record:dsp2.r0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000005 interrupts 0, overruns 0, feed 0, hfree 512, sfree 512 [b:512/256/2|bs:512/256/2] channel flags=3D0x2100 {hardware} -> feeder_root(0x00200010) -> feeder_mixer(0x00200010) -> {userland} pcm2:record:dsp2.r0[pcm2:virtual:dsp2.vr0]: spd 44100/48000, fmt 0x00200010, flags 0x10000000, 0x00000029 interrupts 0, overruns 0, feed 0, hfree 0, sfree 32768 [b:0/0/0|bs:32768/256/128] channel flags=3D0x10000000 {hardware} -> feeder_root(0x00200010) -> feeder_rate(0x00200010 q:1 48000 -> 44100) -> feeder_volume(0x00200010) -> {userland} pcm3: on hdaa1 (1p:1v/1r:1v) snddev flags=3D0x2e2 [pcm3:play:dsp3.p0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000004 interrupts 0, underruns 0, feed 0, ready 0 [b:2048/1024/2|bs:2048/1024/2] channel flags=3D0x2100 {userland} -> feeder_mixer(0x00200010) -> {hardware} pcm3:play:dsp3.p0[pcm3:virtual:dsp3.vp0]: spd 44100/48000, fmt 0x00200010, flags 0x10000000, 0x00000029 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:8192/1024/8] channel flags=3D0x10000000 {userland} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) = -> feeder_rate(0x00200010 q:1 44100 -> 48000) -> {hardware} [pcm3:record:dsp3.r0]: spd 48000, fmt 0x00200010, flags 0x00002100, 0x00000005 interrupts 0, overruns 0, feed 0, hfree 512, sfree 512 [b:512/256/2|bs:512/256/2] channel flags=3D0x2100 {hardware} -> feeder_root(0x00200010) -> feeder_mixer(0x00200010) -> {userland} pcm3:record:dsp3.r0[pcm3:virtual:dsp3.vr0]: spd 44100/48000, fmt 0x00200010, flags 0x10000000, 0x00000029 interrupts 0, overruns 0, feed 0, hfree 0, sfree 32768 [b:0/0/0|bs:32768/256/128] channel flags=3D0x10000000 {hardware} -> feeder_root(0x00200010) -> feeder_rate(0x00200010 q:1 48000 -> 44100) -> feeder_volume(0x00200010) -> {userland} pcm4: on hdaa1 (1p:1v/0r:0v) snddev flags=3D0x2e7 [pcm4:play:dsp4.p0]: spd 48000, fmt 0x00200010, flags 0x00006100, 0x00000004 interrupts 0, underruns 0, feed 0, ready 0 [b:2048/1024/2|bs:2048/1024/2] channel flags=3D0x6100 {userland} -> feeder_mixer(0x00200010) -> {hardware} pcm4:play:dsp4.p0[pcm4:virtual:dsp4.vp0]: spd 44100/48000, fmt 0x00200010, flags 0x10000000, 0x00000029 interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:8192/1024/8] channel flags=3D0x10000000 {userland} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) = -> feeder_rate(0x00200010 q:1 44100 -> 48000) -> {hardware} No devices installed from userspace. sysctl hw.snd hw.snd.maxautovchans: 16 hw.snd.default_unit: 2 hw.snd.version: 2009061500/amd64 hw.snd.default_auto: 1 hw.snd.verbose: 2 hw.snd.vpc_mixer_bypass: 1 hw.snd.feeder_rate_quality: 1 hw.snd.feeder_rate_round: 25 hw.snd.feeder_rate_max: 2016000 hw.snd.feeder_rate_min: 1 hw.snd.feeder_rate_polyphase_max: 183040 hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97 hw.snd.feeder_eq_exact_rate: 0 hw.snd.feeder_eq_presets: PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000 hw.snd.basename_clone: 1 hw.snd.compat_linux_mmap: 0 hw.snd.syncdelay: -1 hw.snd.usefrags: 0 hw.snd.vpc_reset: 0 hw.snd.vpc_0db: 45 hw.snd.vpc_autoreset: 1 hw.snd.timeout: 5 hw.snd.latency_profile: 1 hw.snd.latency: 2 hw.snd.report_soft_matrix: 1 hw.snd.report_soft_formats: 1 kldstat Id Refs Address Size Name 1 56 0xffffffff80200000 226f260 kernel 2 1 0xffffffff82470000 3ad5d8 zfs.ko 3 2 0xffffffff8281e000 a430 opensolaris.ko 4 1 0xffffffff82b21000 1480 amdtemp.ko 5 1 0xffffffff82b23000 818 amdsmn.ko 6 2 0xffffffff82b24000 c42988 nvidia.ko 7 2 0xffffffff83767000 3d620 linux.ko 8 4 0xffffffff837a5000 3148 linux_common.ko 9 1 0xffffffff837a9000 f4ef0 nvidia-modeset.ko 10 1 0xffffffff8389e000 2658 intpm.ko 11 1 0xffffffff838a1000 b60 smbus.ko 12 1 0xffffffff838a2000 1880 uhid.ko 13 1 0xffffffff838a4000 2968 ums.ko 14 3 0xffffffff838a7000 520e0 vboxdrv.ko 15 2 0xffffffff838fa000 2ce0 vboxnetflt.ko 16 2 0xffffffff838fd000 9be0 netgraph.ko 17 1 0xffffffff83907000 16e0 ng_ether.ko 18 1 0xffffffff83909000 3f20 vboxnetadp.ko 19 1 0xffffffff8390d000 35490 linux64.ko 20 1 0xffffffff83943000 acf mac_ntpd.ko relevant 'dmesg' output (not network related) pcm2: chn_write(): pcm2:virtual:dsp2.vp0: play interrupt timeout, channel d= ead Apr 6 12:43:40 slash pulseaudio[68850]: [(null)] pid.c: Daemon already running. Apr 6 12:43:40 slash pulseaudio[68852]: [(null)] pid.c: Daemon already running. pcm2: chn_write(): pcm2:virtual:dsp2.vp1: play interrupt timeout, channel d= ead pcm2: chn_write(): pcm2:virtual:dsp2.vp0: play interrupt timeout, channel d= ead (apparently OpenAL invokes pulseaudio and tried to re-start it?) will attempt to repro with some kind of newer pulseaudio port... --=20 You are receiving this mail because: You are the assignee for the bug.=