public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Stefan Reiter <s.reiter@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: Re: [pve-devel] [PATCH docs] qm: update section about audio devices
Date: Tue, 12 Jan 2021 14:56:29 +0100	[thread overview]
Message-ID: <41bcd201-f6af-c449-5f6b-92f24fbb498a@proxmox.com> (raw)
In-Reply-To: <20210112133958.12191-1-a.lauterer@proxmox.com>

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 <a.lauterer@proxmox.com>
> ---
>   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
> 




  parent reply	other threads:[~2021-01-12 13:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-12 13:39 Aaron Lauterer
2021-01-12 13:39 ` [pve-devel] [PATCH manager] ui: qemu/audio: enable help button Aaron Lauterer
2021-01-12 13:56 ` Stefan Reiter [this message]
2021-01-28 16:37 ` [pve-devel] applied: [PATCH docs] qm: update section about audio devices Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41bcd201-f6af-c449-5f6b-92f24fbb498a@proxmox.com \
    --to=s.reiter@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal