Since I reinstalled a few days ago and the zypper dup’d I have been having sound issues, my sound is not working as it used to and the sound output is on some apps really bad quality or volume is so low as to not be able to hear it despite the settings showing at 90%.
For example I have Thunderbird set to play a sound when I get new mail but it does not work correctly (volume almost zero) but when I go to settings in Thunderbird and select to test the sound the first time it is quiet and then a second test it is normal volume, then it works the next time I get mail!
Use pavucontrol (install it if necessary) to check that the relevant levels are set appropriately, especially when a given application is playing a sound (as you can set per application volumes as well.
All the levels are set ok to 90% in pavucontrol. It seems like there is a delay before the sound starts to play so if a short sound nothing gets heard.
I just did the test where you click on the two speakers and the first one I did was Front Right but all I heard was Right it missed the Front bit, however then trying either speaker you hear all of the voice saying Front Right or Front Left every time. If I close the test and reopen it the exact same thing happens on the first speaker I test!
This will effectively play a continuous “silent” audio stream. It is just a workaround for testing purposes that should prevent a sink from being suspended by preventing it from being idle. Try this test, and see if short notification sounds are then heard completely, and at the desired volume.
To stop PipeWire from suspending, the session.suspend-timeout-seconds property needs to be set to 0. Have a read of this Fedora discussion on disabling the unwanted behaviour…
I tried the play -qn which resolves the issue but reading that thread none of the files mentioned are present in my TW install at least not in the places referred to in the thread.
FWIW, I’m using Leap 15.6, and have /usr/share/wireplumber/scripts/ as mentioned in that discussion, and within that directory is a “node” subdirectory with “suspend-node.lua” present (the file of interest here).
I tried that but when I went to restart the services neither of them exist I get service not found on the systemctl command. Looks like even more has changed!
To be honest no I had not realised that. Now I do and yes I can restart it OK. However this morning my booting up obviously started it OK and now sound does seem to work OK.