From nobody Thu May 25 08:00:28 2023 X-Original-To: multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QRgTT3Kxdz4Cpjl for ; Thu, 25 May 2023 08:00:29 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QRgTT1BsYz3JX7 for ; Thu, 25 May 2023 08:00:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685001629; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w7+s157NmfImdwP1H1tfEeo8PZDspXkz5D/z4vV2VIM=; b=pUdf3TVXpPnzTY4q1cWl5LvCoaLe9pgYStRuKCFA24KnAgrL7hTMgOJ9kDEwFgXowJUUwH 2BAst8+7fKD6zDKc9thpAXzoVC6wamgJ3uf62gOu6jQgkpNTh5ZkAxrV8QPAIWUMxCx8Kk vjuiG1INtcWE6/buDTYba3HpgTeA9E99vFwYnYAXeRa1cLVLT2lPOeVbw5LRZmGSczKWZ8 4S/ulf6my+kzV4MGEyUGQUN3l1UyAZ7KAp5dASoK/Su9g3QXhc3Ktqc10ZfF3a9Ta9jEuA SHzeEm4sW1bybF17k8eI3MrVKgscdmrLkbO4ThTMFWZC6AveZJ5yG70Py6g7ug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685001629; a=rsa-sha256; cv=none; b=NOO53x5puevmxB4pqC/IvOS0p3VEhLSmUjd9y5Kq1DMcGs1zLEd4rG5SYBU2qR2g13ZwDj X3V9NlNslSQaWSStM3fRUXGE18b2YUNte4hNoxp/zpMvkbatZLhGQMvW0nx7Q2ZkGEv/y4 PTRG8xC3bajX3Chld4XLA88VxMwcCPtmN4JNq9hbOoKOvDu1i3jWpucjkOvaOJFxiWWIq1 MgOU3pJj9nzBYRLgOGF9RkETToDKkYXK9EJLMf/FPLIOQNglTyrnoFMM8sNf349s9kGnd/ niwZ73KNdO+ofHSIh3HoPXRO8364g4DJz/pAy1Kia888n0bXhbncr3oUOHOzyQ== 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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QRgTT00mfzGy9 for ; Thu, 25 May 2023 08:00:29 +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 34P80Sit035776 for ; Thu, 25 May 2023 08:00:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34P80S3P035775 for multimedia@FreeBSD.org; Thu, 25 May 2023 08:00:28 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 271559] [sound] [snd_uaudio] Creative Katana V2X garbled audio Date: Thu, 25 May 2023 08:00:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ehaupt@FreeBSD.org 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 List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271559 --- Comment #11 from Emanuel Haupt --- Thank you both for the excellent analysis. I was playing around with the settings you provided and had some success. I found that the following *sometimes* works: sysctl dev.pcm.8.play.vchanformat=3Ds32le:2.0 mpv --audio-format=3Ds32 file.mp3 Executing the mpv command repeatedly every once in a while the song plays normal and /dev/sndstat looks like so: pcm8: at ? kld snd_uaudio (1p:2v/1r:1v) default snddev flags=3D0x2e2 [pcm8:play:dsp8.p0]: spd 48000, fmt 0x00201000/0x08610000, flags 0x00002108, 0x00000046 interrupts 13021, underruns 0, feed 130200, ready 0 [b:13824/6912/2|bs:8192/4096/2] channel flags=3D0x2108 {userland} -> feeder_mixer(0x00201000) -> feeder_matrix(2.0 -> 5.1)= -> feeder_format(0x08601000 -> 0x08610000) -> {hardware} pcm8:play:dsp8.p0[pcm8:virtual:dsp8.vp0]: spd 44100/48000, fmt 0x00201000, flags 0x1000010c, 0x00000029, pid 13804 (mpv) interrupts 0, underruns 0, feed 125666, ready 16384 [b:0/0/0|bs:16384/2048/8] channel flags=3D0x1000010c {userland} -> feeder_root(0x00201000) -> feeder_volume(0x00201000) = -> feeder_rate(0x00201000 q:1 44100 -> 48000) -> {hardware} pcm8:play:dsp8.p0[pcm8:virtual:dsp8.vp1]: spd 44100/48000, fmt 0x00200010/0x00201000, flags 0x10000000, 0x0000002b interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:8192/1024/8] channel flags=3D0x10000000 {userland} -> feeder_root(0x00200010) -> feeder_format(0x00200010 -> 0x00201000) -> feeder_volume(0x00201000) -> feeder_rate(0x00201000 q:1 4410= 0 -> 48000) -> {hardware} [pcm8:record:dsp8.r0]: spd 48000, fmt 0x00200010/0x00210000, flags 0x00002100, 0x00000007 interrupts 624, overruns 0, feed 1872, hfree 4608, sfree 4096 [b:4608/2304/2|bs:4096/2048/2] channel flags=3D0x2100 {hardware} -> feeder_root(0x00210000) -> feeder_format(0x00210000 -> 0x00200010) -> feeder_mixer(0x00200010) -> {userland} pcm8:record:dsp8.r0[pcm8:virtual:dsp8.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} I'll use the weekend to look into virtual_oss. --=20 You are receiving this mail because: You are the assignee for the bug.=