Terrible audio quality after suspend, switching to Pipewire in dom0 does not work

PR Submitted

Since copy/pasting patches to dom0 is a little bit hard, it might easier for you to do the patch manually. I submitted a smaller patch and you could apply it easily. Open the qubes-dom0-update script in dom0 with your favourite text editor (vim, nano, …) as root:

sudo vim /usr/bin/qubes-dom0-update

Go to line ~203 which should look like this (it might be few lines before or after line 203 in your machine):

if [[ ${?} -ne 0 ]]; then                                                                   
    echo "Another instance of qubes-dom0-update is already running!"                                                                
    exit 1                                                                                                                          
fi

And change it to

if [[ ${?} -ne 0 ]] && [[ ! $SWITCHING_AUDIO_IN_PROGRESS ]]; then        
........

Optional: Backup qubes-dom0-update before patching

p.s.: I included few lines after the condition to help you find it easily. Do not delete them. Only one line has to be patched (the if condition)

3 Likes