Wayland Pipewire Audio Crash and Restart Problem

Hello! I switched to Wayland after the Nvidia 555 drivers were released, as they solve the flickering issue that I was having for XWayland apps. The problem is, Pipewire randomly restarts or something happens which causes the entire audio system to restart. Moreover, YouTube videos do not play audio sometimes. Clicking the play button twice makes the audio return to the videos.

Is anyone else having this problem as well? What information do I have to give to get an idea of where this problem might lie?

1 Like

I have something similar but i am using combine-sink and it happens to freeze pipewire when I remove USB headset.

Try checking out dmesg or journalctl when the issue happens.

1 Like

You using something like easyeffects? it could be causing this.

1 Like

Similar sound problem after updating June 29th. Seems to be pipewire v1.2.0 is causing the issue. I had to revert pipewire to v1.0.7 to correct the problem. Still no resolve yet that I can see.

1 Like

pipewire 1:1.2.1-1 had been just released. Maybe you want to try that version?

1 Like

I am using Easy Effects. However, the problem appears for other people as well. So you think that easy effects is causing the problem?

Easy Effects works fine. Do you believe I should go to the Easy Effects developer and ask them about it?

I see. I was told that Easy Effects might be the thing that is causing the problem. I am not sure yet. There is an update that was released right now. Probably it has an update that will fix this issue.

first figure out if it is what is causing the problem, try not using easyeffects, see if the audio still crashes then.

If it doesn’t, then easyeffects is the problem, so what you should try to do then is remove all your effects except 1, and then test 1 effect at a time to see if a specific effect is causing the issue.

And if it is THEN you go report the bug to the easyeffect dev assuming nobody else beat you to it.

I stopped using Easy Effects completely. That doesn’t seem to be the problem. The YouTube bug is still present. The video audio doesn’t play, unless I stop the video using the play button and then click the play button again.

After a while, I think KWin crashes entirely. It isn’t just the audio that crashes.

Does it happen on X11 too?

No. It does not happen on X11. X11 is working fine. It only happen on Wayland. I think it is a pipewire issue.

Even OBS is quite glitchy on Wayland right now. An entire recording of mine got corrupted due to it.

I don’t think it’s a pipewire issue if it only happens on wayland (You are still using pipewire on X too), it’s possible but unlikely, you said you’re on nvidia, are you using the nvidia hdmi audio or something like that? If you are, does the isssue occur still when you just use headphones plugged into the jack or something and leave the hdim audio off?

I think it might be an Nvidia HDMI audio issue. However, I am using USB Headphones. One of my screens uses Nvidia HDMI audio. Ever since putting ‘nvidia.NVreg_EnableGpuFirmware=0’ inside of the grub.cfg file on ‘GRUB_CMDLINE_LINUX_DEFAULT=’ the crash doesn’t seem to happen. However, the YouTube audio problem still exists.

I have even told the KDE folks about this. I am quite sure it is an Nvidia problem, with the 555 drivers. Possibly due to explicit sync.

Well, the crash happened again. The only thing that I know that might be causing it is the NVIDIA driver. The crash does not happen whatsoever on X11. It might be an explicit sync issue. I wish I could find out through a log what goes wrong. I can then help other people who might have similar problem.