From nobody Sat Sep 28 16:55:51 2024 X-Original-To: freebsd-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 4XGD4C1cBwz5XbDw for ; Sat, 28 Sep 2024 16:55:55 +0000 (UTC) (envelope-from christos@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XGD4C16MXz4qyN; Sat, 28 Sep 2024 16:55:55 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727542555; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HzX/FRwm5YATo+dR3rd23ca7bpSJ5MSLGjmi8PUMLGc=; b=S4nb2kxzGvfM14E9l1wvtIvrA54nSvHK2wbusxoabCtcrdGN1cTGUB4WOpufiqooDTgLlo b4XPvsUL6UsgN1TmGjZG7vERJirkAtG6w2X+pAGd+w4De9FjDd8IUafU4pzjQ23hXpdnMh 9I2DoGm8MUkQXmowXOwAvUYqk5WvxOk82dExvh57AHckRKEbT8+Zoym96CPf24B+FIfVdR QuW0Gy8WiFdGjbRYCw5k2aXOAsiEmfWBRWIdNKXGjbCRWESc6doLhWFT/Uo8FvYapRJeTt fxO1gfsg1YSwJ/YjYhHH43zY6MkUO29XdDZH5YC7wyg6D2TL/ceHXT6Wb0FiXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727542555; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=HzX/FRwm5YATo+dR3rd23ca7bpSJ5MSLGjmi8PUMLGc=; b=iFbOUBHu27rijAhVAzigAnU8iPo4pZ8P4X220yjsHR7zTZ+fHWs+U5CZo/1XfJ/6Pp4pyc kbda/5lh3RKjM1t6PRL4jQOno2h07CfiKd9aMJjjhx5C6VWS0G7h308aYfRC1Yw04ktgtd 3e8mNdYbN6yb52K33lXNeYo4HSNFMhZ4qAWoeAbjZgYXqm5FbUE7JnVuGrZjDxfSKL87IE JYeTUcVE5cPPQTvIYzNoV5WO5QtN+ILkLPAGsf9tFUKVABYz1GQNCi0V2O+wx0UXhaCimA 6b2Mf1Jwkqfo8dOFIHDz0rGr0bQ65QgN+/R2iMO2OsH81iAREamiYK0YDw+byQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727542555; a=rsa-sha256; cv=none; b=TURg+qrB5KFcSOkdEimZ3GFll0WVAogI3F0ff1k/JJdOrsU07QFoO8+GRL+gPtz2EIeawJ 0KNR5tgx7WrJxqB5kAQm8/dsWswNbo4XQIm/g4pfE6PS8awS7Xx8jZG4EdL89JWfNUkhJk E36OuHTMuWHokS39D2yqLjptFNNgErSFQmmTG0vxo1xsKbYDvRiDVV93ecNPcoERGhU4Qh LKJxeywyVKKW2NFuTYamWKN0rJ7CKnmO8RQoqkXPeonRjS2L1eX6Gp9nHgX38+e/tojKoi f8D16BmlainRJ35MQCRbzJNb8530fdGhKBXR3QZehHYBGU+UAJDb9WvmDFFDmA== Received: from margiolis.net (mail.margiolis.net [95.179.159.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) (Authenticated sender: christos/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XGD4B4v40zNFl; Sat, 28 Sep 2024 16:55:54 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=mail; bh=b/3oURMGW6+LoWH WkD7aWXPIUXFUlm+kgQFosawxUjM=; h=in-reply-to:references:subject:cc:to: from:date; d=margiolis.net; b=WCOBLrczedTpZx4SKaPGaykcDeMfb+kSJEpW/y1z gzsgMks9AcSWfKdxuL8aoAF7RAROOWFq9OJzaMaHYt2lb7mO4QQxwL/BIy4JLArk3iBary EvYw3XK37bvLkh5mxNFz7LRZrfRkxEs0nJdbqaRDRCS3mKOZRN2ppvfdcOmrI= Received: from tpad (31-217-175-193.cgn.acro.cosmote.net [31.217.175.193]) by margiolis.net (OpenSMTPD) with ESMTPSA id 7699626c (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 28 Sep 2024 16:55:52 +0000 (UTC) Date: Sat, 28 Sep 2024 19:55:51 +0300 From: Christos Margiolis To: Joe B Cc: Kevin Zheng , "freebsd-multimedia@FreeBSD.org" Subject: Re: Getting sound to work Message-ID: <6lepe4wlezchjll2zow772u3zf275b2ewmovowjvz3pn3z4jsv@ks74dnbggyj5> References: 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: > On Monday, September 16th, 2024 at 11:31 AM, Christos Margiolis > > With hw.snd.verbose=2. > > > > Also the output of mixer(8) would be useful. > > Thanks for the reply > > root@freebsd1:~ # sysctl hw.snd.verbose=2 > hw.snd.verbose: 0 -> 2 > root@freebsd1:~ # cat /dev/sndstat > FreeBSD Audio Driver (64bit 2009061500/amd64) > Installed devices: > pcm0: on hdaa0 (1p:1v/0r:0v) default > snddev flags=0x2e7 > [pcm0:play:dsp0.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=0x6100 > {userland} -> feeder_mixer(0x00200010) -> {hardware} > pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 8000, fmt 0x00100008, flags 0x10000000, 0x00000000 > interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0] > channel flags=0x10000000 > {userland} -> feeder_root(0x00000000) -> {hardware} > > root@freebsd1:~ # mixer > pcm0:mixer: on hdaa0 (play) (default) > vol = 1.00:1.00 pbk > pcm = 1.00:1.00 pbk This looks reasonable. I am afraid your sound card might one of those that nice SOF support, which is not ported to FreeBSD yet, although I am planning to work on it at some point. Just to make sure, since I guess you're trying to play sound from HDMI, are your video drivers up to date and correctly configured? Christos