Proper guide on how to use sys-audio (AudioVM) must be created

Original forum link
https://forum.qubes-os.org/t/16851
Original poster
https://github.com/jamke
Editors
deeplow, Sven
Created at
2023-02-16 00:37:09
Last wiki edit
2023-09-07 08:30:31
Revisions
3 revisions
Posts count
21
Likes count
23

UPDATED (TL;DR):

The best currently existing Guide about how to create and use audio qube (sys-audio) is made by @neowutran and available here: https://forum.qubes-os.org/t/audio-qube/20685


Problem

Currently no proper guide exists on how to create and use sys-audio (AudioVM) in R4.1/R4.2.

Consequences

So many people are trying to create sys-audio qube to listen to Bluetooth headphones and almost nothing helps or guides them except several forum topics which are mess: full of different information combined with useless, outdated or random messages on different topics. Almost nobody can set sys-audio to work properly in full.

Solution proposal

So, I am asking people who is savvy enough or/and have a properly working sys-audio to: 1) Provide a detailed, up-to-date step-by-step guide how to create and set a sys-audio qube for having sound in it from the very beginning. Majority of steps should have an explanation of what (and why) is happening and how to test that the result of the step is right (check with aplay, reboot and check processes, look for something in pavucontrol and etc). 2) Explain how exactly the sound data should be moved by qubes tools by design for future Qubes OS versions that will include sys-audio be default similar to how sys-usb is used nowadays. 3) Provide a guide how to use Bluetooth headphones in this sys-audio qube to play sound in headphones. 4) Provide a guide how to make the sound work in Windows qubes too (currently this topic is even messier, some patches of qemu and etc).

Let's hope that someone (or multiple users) will try to do this important job for the greater good of others. It will be very appreciated. I can make such guides myself but currently I am not able to set sys-audio for myself, facing multiple issues and lack of straight-forward information on the topic.

Links to information on the topic that I think can be useful

Uses, who supposingly has expertise or/and experience on the topic is bellow.

All these users are especially encouraged to participate within this topic.

https://forum.qubes-os.org/u/enmus https://forum.qubes-os.org/u/dom0 https://forum.qubes-os.org/u/hamenarin https://forum.qubes-os.org/u/marmarek https://forum.qubes-os.org/u/fepitre https://forum.qubes-os.org/u/kef https://forum.qubes-os.org/u/dpr https://forum.qubes-os.org/u/augsch https://forum.qubes-os.org/u/disp584 https://forum.qubes-os.org/u/logoerthiner