From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 39A876761B for ; Tue, 12 Jan 2021 14:57:01 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 26CB526848 for ; Tue, 12 Jan 2021 14:56:31 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id A4E8A266DD for ; Tue, 12 Jan 2021 14:56:30 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 695E6453BC for ; Tue, 12 Jan 2021 14:56:30 +0100 (CET) To: pve-devel@lists.proxmox.com References: <20210112133958.12191-1-a.lauterer@proxmox.com> From: Stefan Reiter Message-ID: <41bcd201-f6af-c449-5f6b-92f24fbb498a@proxmox.com> Date: Tue, 12 Jan 2021 14:56:29 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20210112133958.12191-1-a.lauterer@proxmox.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.039 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -0.001 Looks like a legit reply (A) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [PATCH docs] qm: update section about audio devices X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 13:57:01 -0000 On 12/01/2021 14:39, Aaron Lauterer wrote: > With the ability to configure the `none` backend, the audio section > needs an update. > > Signed-off-by: Aaron Lauterer > --- > qm.adoc | 17 ++++++++++++----- > 1 file changed, 12 insertions(+), 5 deletions(-) > > diff --git a/qm.adoc b/qm.adoc > index 9c54903..d72798c 100644 > --- a/qm.adoc > +++ b/qm.adoc > @@ -796,11 +796,18 @@ Supported audio devices are: > * `intel-hda`: Intel HD Audio Controller, emulates ICH6 > * `AC97`: Audio Codec '97, useful for older operating systems like Windows XP > > -NOTE: The audio device works only in combination with SPICE. Remote protocols > -like Microsoft's RDP have options to play sound. To use the physical audio > -device of the host use device passthrough (see > -xref:qm_pci_passthrough[PCI Passthrough] and > -xref:qm_usb_passthrough[USB Passthrough]). > +There are two backends available: > + > +* 'spice' > +* 'none' > + > +The 'spice' backend can be used in combination with xref:qm_display[SPICE] while > +the 'none' backend can be useful if an audio device is needed in the VM for some > +software to work. To use the physical audio device of the host use device > +passthrough (see xref:qm_pci_passthrough[PCI Passthrough] and > +xref:qm_usb_passthrough[USB Passthrough]). Remote protocols like Microsoft’s RDP > +have options to play sound. > + I know it wasn't added in this patch, but from personal experience, USB Passthrough for Audio will most likely give bad results. Even a pretty standard DAC at 16 bit stereo 48KHz results in bad crackling on my workstation. PCI Passthrough (of sound cards or USB controllers) works fine, as it omits going through user space (I suspect it's latency that kills it). > > [[qm_virtio_rng]] > VirtIO RNG >