Problem with PC audio output

hi
after the last update performed this evening I found a small problem. When I start the machine the audio is completely disabled (I can’t hear the system sounds, nor the online audio, nor the audio of the videos and music that I have on the PC).
To reactivate it I have to physically deactivate the audio (by setting the audio controller to “mute” and immediately reactivate it) at which point the sounds return to being heard.
Is this normal? has it happened to anyone else?? Is there a way to fix this bug??
Thanks for any help you can give me

PROBLEM SOLVED

rm -R ~/.config/pulse ~/.local/state/wireplumber

will reset user settings needs a reboot or restart dm to get rewwritten with defaults
Now everything is working perfectly again!

1 Like

the problem seemed to be solved…but it is not so…
after a second reboot the audio stopped again. Even repeating the procedure, which had worked the first time, at each reboot the audio stops.
is there any alternative solution???

1 Like

If it happened only after an update, it seems possible a regression was introduced.

You could try booting the LTS kernel and see if that sorts you out, at least until the regression (if that’s what it is), is fixed.

I try your solution but nothing change

Same issue here. No sound at all on the computer since this morning (actually it works for a few seconds when I boot, then immediately crashes).

Did a

systemctl --user restart pipewire
systemctl --user restart pipewire-pulse

which seemed to fix whatever was happening, but it’s probably temporary until the next reboot.

the exact opposite happens to me: no sound when I start the PC until I put the audio controller in ‘mute’ and then remove the ‘mute’. At that point the audio works perfectly until the next reboot.

What DE do you have???

I confirm you
For me, the first command is enough for everything to work, but at the next reboot everything goes silent again

2 Likes

Weird. Create a script:

#!/bin/bash
systemctl --user restart pipewire
systemctl --user restart pipewire-pulse

And add it to your autostarts.

Ha, I too can confirm. I just updated my laptop, and I now have the same issue, and fix :sweat_smile:

I appreciate the advanced troubleshooting done by you guys :+1:

I tried downgrading pipewire and libpipewire to version 1.0.7, but that resulted in no audio output device :grimacing:

Back up to the current versions, and I’ve found muting and un-muting is sufficient to fix the issue for me, at least until next boot.

how can i add to autostart?

Which DE?

sorry for the lag

I use GNOME
I tried making the .sh file executable and copying it to ./config/autostart
but it does not work

Think it is in gnome tweaks. KDE user, so no idea really :frowning:

https://www.reddit.com/r/gnome/comments/12jts3v/how_to_setup_startup_applications_in_gnome/

1 Like

I’m continuing to try to understand the origins of the problem and to look for definitive solutions that do not require restarting the service at every boot
I tried to check the status of the audio services and I noticed some inconsistencies

[gattino@cryptux ~]$ systemctl --user status pipewire-pulse pipewire wireplumber
● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: enabled)
     Active: active (running) since Sun 2024-07-07 21:45:15 CEST; 5s ago
 Invocation: c1e0e44c84f44c2c8918e4d46ca6ff0a
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 2217 (pipewire-pulse)
      Tasks: 3 (limit: 18724)
     Memory: 1.2M (peak: 1.8M)
        CPU: 19ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─2217 /usr/bin/pipewire-pulse

lug 07 21:45:15 cryptux systemd[1192]: Started PipeWire PulseAudio.

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Sun 2024-07-07 21:45:15 CEST; 5s ago
 Invocation: cec4b2ffdc1346f1ab663edb172455ef
TriggeredBy: ● pipewire.socket
   Main PID: 2213 (pipewire)
      Tasks: 3 (limit: 18724)
     Memory: 5.1M (peak: 5.2M)
        CPU: 49ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─2213 /usr/bin/pipewire

lug 07 21:45:15 cryptux systemd[1192]: Started PipeWire Multimedia Service.

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Sun 2024-07-07 21:45:15 CEST; 5s ago
 Invocation: f4293288a1f443bf9a709f8829acd413
   Main PID: 2215 (wireplumber)
      Tasks: 8 (limit: 18724)
     Memory: 5.8M (peak: 6.7M)
        CPU: 153ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─2215 /usr/bin/wireplumber

lug 07 21:45:15 cryptux systemd[1192]: Started Multimedia Service Session Manager.
lug 07 21:45:16 cryptux wireplumber[2215]: spa.bluez5: BlueZ system service is not available
lug 07 21:45:16 cryptux wireplumber[2215]: [0:02:50.764471002] [2215] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
lug 07 21:45:16 cryptux wireplumber[2215]: [0:02:50.764490238] [2215] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
lug 07 21:45:16 cryptux wireplumber[2215]: [0:02:50.764519003] [2215]  INFO Camera camera_manager.cpp:313 libcamera v0.3.0

the pipewire and pipewire-pulse services are ‘disabled’ (although ‘enabled’ by default)
Furthermore, the test gives me 2 ERRORS in the IPAmodule

Unfortunately my IT knowledge stops here but I hope it can be useful to some of you who are more experienced in IT and Linux to understand what may have been broken in the latest update.

PS: even after running the commands:

systemctl --user restart pipewire
systemctl --user restart pipewire-pulse

the 2 services remain ‘disabled’ although the sound comes back…

@wclp

cat ~/.config/autostart/soundonhdmi.desktop # example

[Desktop Entry]
Name=MySound
GenericName=Sound on HDMI
Comment=tuctuc
Exec=/home/a/pipe2pulse.sh
Terminal=false
Type=Application
X-GNOME-Autostart-enabled=true
1 Like

@eso
Thank You very much!!!

Can confirm the same happened here after the most recent update a few days ago
Interestingly tho, sound worked normally on Firefox or when I played local audio files but any local video on the pc didn’t have any sound (tested on mpv and vlc)

I tried the solution in this thread

systemctl --user restart pipewire
systemctl --user restart pipewire-pulse

then when I played the video again on vlc, the sound level icon went from gray to muted so I unmuted and the sound was restored again (I also needed to unmute on mpv). the issue seems to be resolved even after the reboots.