Still having problems with Audio

Good afternoon everyone and I would like to thank the community for always being helpful.

In the last few months I have had problems with audio instability on my desktop using Zorin OS 17.2. I searched the forum and found some tips. I tried using the terminal to use commands to replace PulseAudio with Pipewire, but it didn't work and I was left without audio. After searching the web, I managed to return to PulseAudio and, despite having a slight improvement in stability in the latest updates, I can see Pipewire processes in the system monitor. Every time I use the PCXS2 emulator, the audio becomes very low after closing the emulator. Can you help me with this so I can just use Pipewire? The current server used is pointed to PulseAudio
Please find attached and apologize for any typos, as I am Brazilian.

There have been issues with another user reporting issues with trying to replace Pulse Audio with Pipewire. I can see from your screenshot that it is running but it might be conflicting with Pulse Audio.

First I would recommend that you install Timeshift from here:

Follow the instructions lower down the page on how to install. Once installed, take a snapshot of your system before making any changes. If you want to use an external drive to save the snapshots you should make sure it is formatted to Ext4 FS. Personally I have a large /home partition and use that location for snapshots. I change the default 5 a day to 3.

Next try this, you will need to temporarily change ownership of /etc/pulse to yourself:

sudo chown saloman /etc/pulse

you will also have to take ownership of /etc to create a new folder named 'pulseoff'.

sudo chown salomon /etc

You can then use Files graphically to drag the 'pulse' folder into 'pulseoff'. This will prevent Pulse Audio from running at boot time.

After you have done this, revert ownership of /etc to root:

sudo chown root /etc

Now, make sure you have the following pipewire packages installed using Synaptic Package Manager. If you haven't installed it, do so now - it is in Software.

After installation:

sudo apt-get update && sudo apt-get upgrade

Then reboot to see if anything has improved or otherwise.

Houve problemas com outro usuário que relatou problemas ao tentar substituir o Pulse Audio pelo Pipewire. Vejo pela sua captura de tela que ele está em execução, mas pode estar em conflito com o Pulse Audio.

Primeiro, recomendo que você instale o Timeshift a partir daqui:

Siga as instruções na parte inferior da página sobre como instalar. Depois de instalado, tire um instantâneo de seu sistema antes de fazer qualquer alteração. Se quiser usar uma unidade externa para salvar os instantâneos, certifique-se de que ela esteja formatada em Ext4 FS. Pessoalmente, tenho uma partição /home grande e uso esse local para os instantâneos. Altero o padrão de 5 por dia para 3.

Em seguida, tente fazer o seguinte: você precisará alterar temporariamente a propriedade de /etc/pulse para você mesmo:

sudo chown saloman /etc/pulse

Você também precisará assumir a propriedade do /etc para criar uma nova pasta chamada 'pulseoff'.

sudo chown salomon /etc

Em seguida, você pode usar o Files graficamente para arrastar a pasta 'pulse' para 'pulseoff'. Isso impedirá que o Pulse Audio seja executado no momento da inicialização.

Depois de fazer isso, reverta a propriedade de /etc para o root:

sudo chown root /etc

Agora, verifique se você tem os seguintes pacotes do pipewire instalados usando o Synaptic Package Manager. Se você ainda não o instalou, faça-o agora - ele está em Software.

Após a instalação:

sudo apt-get update && sudo apt-get upgrade

Em seguida, reinicie para ver se algo melhorou ou não.

Traduzido com a versão gratuita do tradutor - DeepL.com

1 Like

I'll get back to you tomorrow morning with feedback. Thank you very much.

Hi friend, good afternoon and thank you very much.
It solved 80% of the problem. In some applications the sound flickers and returns to normal. Much less than before, because before the sound would gradually disappear. Now the sound is more stable and only fails a little in some applications, flickering, but maintaining the volume. The Timeshift step got stuck...
However, I ended up doing something wrong... After the process was finished, I ran the command "sudo apt autoremove" and typed y without reading everything that was going to be removed. I saw that it listed some files with the name gnome and zorin and I was careless. When I rebooted the system, there was only text mode. I was able to log in in text mode and everything was there except the graphical interface! I searched and then ran the command "sudo apt install gnome". After downloading and installing, I was left with pure gnome 43.9. I installed the extension manager and "Dash to panel" to get the task bar. Although some screen freezes that used to occur have disappeared, I have lost all functionality of the Zorin shell. How can I reinstall the Zorin shell, remembering that Timeshift did not work?

Try

sudo apt install --reinstall zorin-os-desktop

1 Like

It worked, my friend, thank you very much! After restarting, I had duplicate task bar and desktop icons. So I uninstalled the "Dash to panel and Icons Neon" extensions, as well as the Gnome extension manager. Looking at the "Programs" store application, a new Gnome runtime has been added. Go to the image and should I uninstall any of them?

Runtimes may be used by Flatpak packages as well, so will show as different version numbers. I would refrain from removing them unless you demonstrate that they truly are superfluous.

1 Like