aboutsummaryrefslogtreecommitdiff
path: root/IDEAS.md
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-12-29 00:34:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-12-29 00:34:18 -0300
commitfdca032d9aff7e8baf7805fad83b9bdd06cbbf87 (patch)
tree5624996a89487f6f0c9fbb7c751affdaffbe8e7e /IDEAS.md
parentad56fb9e35d6192270ba6cbb9ac17228bd9466e3 (diff)
downloadkvmx-fdca032d9aff7e8baf7805fad83b9bdd06cbbf87.tar.gz
kvmx-fdca032d9aff7e8baf7805fad83b9bdd06cbbf87.tar.bz2
IDEAS: audio crackling fixes and simultaneous spice client connections
Diffstat (limited to 'IDEAS.md')
-rw-r--r--IDEAS.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/IDEAS.md b/IDEAS.md
index 90b9dd5..471f9c9 100644
--- a/IDEAS.md
+++ b/IDEAS.md
@@ -122,3 +122,29 @@
kvmx ssh $guest sudo resize2fs /dev/vda2
kvmx ssh $guest sudo touch /forcefsck
kvmx ssh $guest sudo poweroff
+
+## Audio fixes to avoid crackling on input
+
+Implement an option to reduce crackling on sound input.
+
+See:
+
+* https://stackoverflow.com/questions/32193050/qemu-pulseaudio-and-bad-quality-of-sound#35998501
+* https://www.reddit.com/r/VFIO/comments/542bw1/ha_got_rid_of_the_pulse_audio_crackling/
+* https://www.reddit.com/r/VFIO/comments/ibmjs3/finally_fixed_crackling_audio_when_passing/
+* https://www.reddit.com/r/VFIO/comments/746t4h/getting_rid_of_audio_crackling_once_and_for_all/
+* https://www.reddit.com/r/VFIO/comments/8aqju8/audio_crackling_when_routing_output_to_pulseaudio/
+
+Fix:
+
+ export QEMU_AUDIO_DRV="pa"
+ export QEMU_PA_SAMPLES="8192"
+ export QEMU_AUDIO_TIMER_PERIOD="99"
+
+## Simultaneous clients connections
+
+Implement the following:
+
+ export SPICE_DEBUG_ALLOW_MC=1
+
+For explanation, check https://www.spice-space.org/multiple-clients.html