Open Operativ opened 1 year ago
I've been experiencing the same issue intermittently via Zoom's deb package:
zoom:
Installed: 5.13.5.431
Restarting Pipewire tends to help, but it's certainly a bandage solution.
A 100% reproduction case I've noticed thanks to more investigation with my friends:
The above is completely anomaly is completely absent from Fedora 38 (KDE Plasma). I've only managed to reproduce this on a clean Pop OS 22.04.
As per above comment, if a Pipewire restart tends to help, then this might be about Pipewire's implementation in Pop OS.
Experiencing the same issue when using Zoom installed via Flatpak. Restarting Pipewire also helps in my case.
Not sure if it's the same issue, but I also experience distorted audio. In my case, the distortion happens suddenly and is permanent, distorting all audio in the system. It seems to requires some form of audio streaming application to happen (discord from firefox and MS teams seems to cause it most of the time), but not always when streaming (discord notification sound can cause it to happen as well). I found 3 temporary fixes:
@Sasszem what you have described is exactly the same issue I'm experiencing.
From what I have gathered, this only happens for people running Gnome alongside pipewire. This is quite frustrating, as it's hard to find any info on how to approach fixing the issue without moving away form Gnome, while the issue greatly affects daily system usage (having ability to have reliable Zoom calls, which is a cornerstone use case for me personally).
I found the following Reddit post: https://www.reddit.com/r/pop_os/comments/15ore8u/distorted_audio_when_running_applications/
One of the commenters blames the newer Linux kernel, and suggests downgrading. I have tried this, and so far, the audio problems seem fixed, but that could still be a coincidence. It also fixed a few other issues I had, so it does seem like the old kernel is more stable, but that also might just be a coincidence.
Same issue here. I'm using Pop!_OS 22.04 LTS with gnome 42.9 and my linux kernel version is 6.4.6-76060406-generic
@dayves The current version of Linux in our system repositories is 6.5.4. You should update to that to check if the issue is fixed.
Experienced same issue recently. 22.04LTS with 6.4.6-76060406-generic kernel. Restarting pipewire seems to help.
@isdanni as @mmstick said, I updated the Linux kernel to 6.5.5 and it's working
Playing a course on a website on my pop os running laptop (Its brand new and it's not a bad laptop either) this has never happened before and it is not the course which got bad sound (Ive tried playing it on desktop with windows 10 and it worked perfectly fine) please help.
@Toiletman007 as @isdanni said, just update your Linux kernel. This worked fine for me
Thank you, I used the following article to update kernel which fixed the issue just as you said https://linuxhint.com/update-linux-kernel-pop-os/#post-276185-_ce0k3zhxnypk
Not sure if it's the same issue, but I also experience distorted audio. In my case, the distortion happens suddenly and is permanent, distorting all audio in the system. It seems to requires some form of audio streaming application to happen (discord from firefox and MS teams seems to cause it most of the time), but not always when streaming (discord notification sound can cause it to happen as well).
I am currently having this exact issue, now, on an updated kernel. Same as @Sasszem and @mishasbtr . Have Linux 6.6.6-76060606-generic x86_64, happens to any audio, seemingly at random, even system sounds at times. Not sure if anyone else has seen/heard it come back?
Edit: Having trouble getting strong 'repeatability' to where I can express more accurately the issue. VLC playback used to do it the most, and then some gaming - now it's flipping to more on games and rarely on VLC. But I haven't changed anything! I'll keep trying stuff for either troubleshooting or at least stronger causes.
edti2: OK I give up, other than standard updates that Pop releases, I have not changed anything and the issue is mostly gone. I might hear a slight snap/crackle/pop once an hour or so, but it's brief and rare enough my brain mostly ignores it. I did not make any changes to devices, sound settings, or install any other sound apps. I apologize for my reports not being very qualitative (and/or quantitative?). I did rule out speakers/wires/grounding issues by moving things around early on, and the issue stayed the same. But now I guess it's mostly gone so I rest this thread!
I recently updated to 6.6.6, but did not experience it yet, since I did not use any of the mentioned apps ín the holidays.
CraigeryTheKid @.***> ezt írta (időpont: 2023. dec. 28., Cs 0:13):
Not sure if it's the same issue, but I also experience distorted audio. In my case, the distortion happens suddenly and is permanent, distorting all audio in the system. It seems to requires some form of audio streaming application to happen (discord from firefox and MS teams seems to cause it most of the time), but not always when streaming (discord notification sound can cause it to happen as well).
I am currently having this exact issue, now, on an updated kernel. Same as @Sasszem https://github.com/Sasszem and @mishasbtr https://github.com/mishasbtr .
Have Linux 6.6.6-76060606-generic x86_64, happens to any audio, seemingly at random, even system sounds at times. Not sure if anyone else has seen/heard it come back?
— Reply to this email directly, view it on GitHub https://github.com/pop-os/pop/issues/2885#issuecomment-1870684536, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACINK7DHHVL3LOMOA7U3ZX3YLSTQLAVCNFSM6AAAAAAXW6OELOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQGY4DINJTGY . You are receiving this because you were mentioned.Message ID: @.***>
I'm facing the crackling as well, it goes away for a while after I restart the notebook. Using Pop!_OS 22.04 LTS, kernel 6.6.10-76060610-generic.
I found the following Reddit post: https://www.reddit.com/r/pop_os/comments/15ore8u/distorted_audio_when_running_applications/
One of the commenters blames the newer Linux kernel, and suggests downgrading. I have tried this, and the audio problems seem fixed so far, but that could still be a coincidence. It also fixed a few other issues I had, so it does seem like the old kernel is more stable, but that might just be a coincidence.
This command helps me for now:
systemctl --user restart wireplumber pipewire pipewire-pulse
At least I don't have to restart the whole thing. But still intrigued with the source of the problem, some blame the old kernel and others the recent, so I'll keep this version until I get more information. The problem usually begins when I'm using some sort of audio conference like Discord or Teams with open video streams like Crunchyroll, YouTube, or Spotify.
Restarting pipewire and related services did temporarly resolve the issue for me as well, but it was the kernel switch (first downgrade, but now I'm using the latest) that solved the issue.
Pedro Ivo @.***> ezt írta (időpont: 2024. febr. 10., Szo 0:28):
I'm facing the crackling as well, it goes away for a while after I restart the notebook. Using Pop!_OS 22.04 LTS, kernel 6.6.10-76060610-generic.
I found the following Reddit post: https://www.reddit.com/r/pop_os/comments/15ore8u/distorted_audio_when_running_applications/
One of the commenters blames the newer Linux kernel, and suggests downgrading. I have tried this, and the audio problems seem fixed so far, but that could still be a coincidence. It also fixed a few other issues I had, so it does seem like the old kernel is more stable, but that might just be a coincidence.
This command helps me for now: systemctl --user restart wireplumber pipewire pipewire-pulse
At least I don't have to restart the whole thing. But still intrigued with the source of the problem, some blame the old kernel and others the recent, so I'll keep this version until I get more information. The problem usually begins when I'm using some sort of audio conference like Discord or Teams with open video streams like Crunchyroll, YouTube, or Spotify.
— Reply to this email directly, view it on GitHub https://github.com/pop-os/pop/issues/2885#issuecomment-1936735927, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACINK7BSKO5IAXQKY22CVZ3YS2WLTAVCNFSM6AAAAAAXW6OELOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWG4ZTKOJSG4 . You are receiving this because you were mentioned.Message ID: @.***>
I'm running Linux 6.8.0-76060800daily20240311-generic x86_64 and I'm still experiencing these issues. It gets really bad when I open an application (blender usually) and when I watch videos the audio goes from very low to very very high at random times
I'm running Linux 6.8.0-76060800daily20240311-generic x86_64 and I'm still experiencing these issues. It gets really bad when I open an application (blender usually) and when I watch videos the audio goes from very low to very very high at random times
Whatever kernel update happened in the last few days - it came back "more often". However - it's more of an "electronics screeching" that slowly fades if I just endure it for a minute or so. The screeching starts as a fast pulse, maybe 100 bpm, then slows down until it stops.
Still unable to reproduce effectively or pinpoint any root cause or correction. That said, since it always goes away, I just live with it for now?
I'm running Linux 6.8.0-76060800daily20240311-generic x86_64 and I'm still experiencing these issues. It gets really bad when I open an application (blender usually) and when I watch videos the audio goes from very low to very very high at random times
Whatever kernel update happened in the last few days - it came back "more often". However - it's more of an "electronics screeching" that slowly fades if I just endure it for a minute or so. The screeching starts as a fast pulse, maybe 100 bpm, then slows down until it stops.
Still unable to reproduce effectively or pinpoint any root cause or correction. That said, since it always goes away, I just live with it for now?
I know how to reproduce effectively, whenever I open the League Of Legends game via Lutris (that instance a Windows machine via Wine), once it opens, it will instantly begin to crack. Also yes, I'm stuck with this command to stop the noisy sound:
systemctl --user restart wireplumber pipewire pipewire-pulse
Also, be aware that if you are using a Bluetooth headphone when issuing the command it can temporarily cease the connection.
For me, once I "endure" it, issue doesn't come back until after a reboot or wake from sleep.
Fresh boot or wake - first thing that uses sound (anything - VLC, firefox, Lutris/wine/games) - I get the pulsing screech. Until next boot or wake - nothing else reproduces screech.
100% sure, at least on my end, that it doesn't matter what's calling for audio; so I clear any specific game or app from guilt.
Kernel 6.8 definitely introduced very frequent crackling/skipping over HDMI for me:
The hardware is a bit old: i5-4690T with lspci -v | grep Audio
giving
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
Subsystem: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
Subsystem: Gigabyte Technology Co., Ltd 9 Series Chipset Family HD Audio Controller
This does not repro on another newer machine.
I tried tweaking various settings in /usr/share/wireplumber/main.lua.d/50-alsa-config.lua
to no avail.
EDIT: the issue only affects HDMI and doesn't affect analog out.
It's unfortunate that Pop! keeps updating the kernel all the time. This is not the first time that a random kernel update has introduced new bugs.
I THINK I made progress after another weekend of testing!! I know I've been spamming this thread, but I never stopped working on it!
This led me, ironically, to a System76 post that steered correctly, but didn't solve it: https://support.system76.com/articles/audio/ The "stop suspend" did NOT help or change anything! Even though waking from sleep was a clear trigger.
This eventually led to the following page (for Manjaro) for additional tweaks: https://forum.manjaro.org/t/howto-troubleshoot-crackling-in-pipewire/82442 I did NOT do any of the config "setup" since we're on Pop!_OS, but I used the settings.
So, I combined the config location of the System76 page, with the settings of the Manjaro:
sudo nano /usr/share/wireplumber/main.lua.d/50-alsa-config.lua
systemctl restart --user pipewire.service
I fully expect that I still get some artifacts/cracking - but this definitely reduced/removed the issue during the testing windows. Thanks for giving me a place to record my journey. Cheers~
Thankyou! This worked for me! Sept 5, 2024
This (and many others) did not work for me. Sounds still crackles and cuts out. I set the period-size to 1024 and headroom to 8192 (which was default?) and still had issues.
For me, this seems to be only in Steam games as Youtube works fine. I have yet to test lutris. I think it either is something gone wrong with Steam, the recent August update of pop (which is when the trouble started), or maybe my video card (4090).
In each case, I have replaced drivers, played with the headroom/period, and just about anything I could find but still have crackling/tearing/no sound. I can profile the worst offender (Monster Hunter World) but I get a ton of errors and I'm not sure it really tells me much.
This (and many others) did not work for me. Sounds still crackles and cuts out. I set the period-size to 1024 and headroom to 8192 (which was default?) and still had issues.
Did you also try the 128 period / 1024 headroom?
For me, this seems to be only in Steam games as Youtube works fine. I have yet to test lutris. I think it either is something gone wrong with Steam, the recent August update of pop (which is when the trouble started), or maybe my video card (4090).
I can say with 100% certainty that it was my entire system - Firefox audio (like YouTube), VLC, games on Steam, games on Lutris, everything. So it does sound like there are different issues causing similar symptoms? Sorry if it's still plaguing you, these things are definitely frustrating.
I can also say that my issue has NOT come back through several Pop updates, since my May 5th post above.
Yes, I've tried those settings as well.
Considering it was only Steam, and in-game sound (menu sounds seem ok) I began to suspect it was more Steam than the pop os update despite it being around the same time. Also considering it was in-game might have meant a high CPU use. Note, I haven't changed anything in the system. It could be (as always) something going bad but considering it's fine otherwise makes me move on from that opinion. I don't know enough about testing steam other than using the pw logs which, again, don't tell me much other than the errors build up as it goes along.
@Veldime13 I have the same issue with HDMI - HDA Nvidia input on most recent update and I have tried the same fixes.
Distribution (run
cat /etc/os-release
):Pop! OS 22.04
Related Application and/or Package Version (run
apt policy $PACKAGE NAME
):Pipewire Flatpak Discord
Issue/Bug Description:
Sound crackling (audio distortion) happens when outbound sound is received via Discord flatpak app.
Steps to reproduce (if you know):
Expected behavior:
No audio crackling/distortion experienced.
Other Notes:
I am personally using (premium) ProtonVPN over the built-in IKEv2 protocol. Spotify (flatpak) runs without any issues and doesn't experience the distortion.
This may be either a flatpak Discord thing or a thing related to Pipewire audio latency for certain outbound sounds, such as voice received in real-time.