From owner-freebsd-virtualization@freebsd.org Tue Sep 29 02:28:13 2020 Return-Path: Delivered-To: freebsd-virtualization@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 DBE663F2E65 for ; Tue, 29 Sep 2020 02:28:13 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from vito-vars.onthenet.com.au (vito-vars.OntheNet.com.au [203.13.68.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C0jws1VtHz4CB5 for ; Tue, 29 Sep 2020 02:28:12 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto2.onthenet.com.au [203.13.68.14]) by vito-vars.onthenet.com.au (Postfix) with ESMTPS id 9B1DD2083941 for ; Tue, 29 Sep 2020 12:28:02 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 83F2320AE981 for ; Tue, 29 Sep 2020 12:28:02 +1000 (AEST) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 7B8CF209C020 for ; Tue, 29 Sep 2020 12:28:02 +1000 (AEST) Received: from iredmail.onthenet.com.au ([127.0.0.1]) by iredmail.onthenet.com.au (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id yKe5DfVh4JtL for ; Tue, 29 Sep 2020 12:28:02 +1000 (AEST) Received: from MacBook-Air-4.local (unknown [165.228.147.229]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id EB0A7209C01E; Tue, 29 Sep 2020 12:28:01 +1000 (AEST) Subject: Re: HD audio problem on FreeBSD 12.1 bhyve VM To: Ali Abdallah Cc: freebsd-virtualization@freebsd.org References: <20200922154021.4kes7nyv2tadgofx@frix230> <20200923151552.d7xe2fngbvqb5alr@frix230> <20200924142223.txf474z3p42twuby@frix230> From: Peter Grehan Message-ID: Date: Tue, 29 Sep 2020 12:28:00 +1000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200924142223.txf474z3p42twuby@frix230> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=bM+N3M2Z c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=uEqkPYdlazG1x4TZ3K/H5w==:17 a=IkcTkHD0fZMA:10 a=reM5J-MqmosA:10 a=9tzJjT8WucKBcDV8KjcA:9 a=QEXdDO2ut3YA:10 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=LtAJNkVc c=1 sm=1 tr=0 a=eF5wA05EhuPcU0j7PNT2Vg==:117 a=uEqkPYdlazG1x4TZ3K/H5w==:17 a=IkcTkHD0fZMA:10 a=reM5J-MqmosA:10 a=9tzJjT8WucKBcDV8KjcA:9 a=QEXdDO2ut3YA:10 X-Rspamd-Queue-Id: 4C0jws1VtHz4CB5 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:9313, ipnet:203.13.68.0/23, country:AU] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2020 02:28:13 -0000 Hi Ali, > It doesn't work for me... See below. ... > I'm booting with the following script. > > VM=freebsd12.1 > ifconfig tap1 up > bhyve -AHP -s 0:0,hostbridge -s 1:0,lpc \ > -s 2:0,virtio-net,tap1 -s 3:0,virtio-blk,./disk.img \ > -c 1 -m 4096M \ > -s 19,xhci,tablet \ > -s 11,fbuf,tcp=0.0.0.0:5920,w=1280,h=1024,wait \ > -s 20,hda,play=/dev/dsp0,rec=/dev/dsp0 \ > -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \ > $VM > bhyvectl --destroy --vm=$VM Does removing the 'rec=/dev/dsp0' make any difference ? >> Audio on the Thinkpad host is: >> >> grehan@carbon-usb:/images $ cat /dev/sndstat >> Installed devices: >> pcm0: (play/rec) default >> pcm1: (rec) >> pcm2: (play) >> > > I have the issue on my daily driver, a Thinkpad T430. But also tested on > my x220, same issue, only noise. However, sound works perfectly fine > on OpenSUSE guest. What does 'cat /dev/sndstat' show on your 430/x220 ? later, Peter.