From fdca032d9aff7e8baf7805fad83b9bdd06cbbf87 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 29 Dec 2022 00:34:18 -0300 Subject: IDEAS: audio crackling fixes and simultaneous spice client connections --- IDEAS.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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 -- cgit v1.2.3