-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Regression] Audio crackling on Linux when audio buffering is enabled (#11358) #13310
Comments
Is it system default to use PipeWire? Can you try Pulse instead? |
System default is no audio. Tried with Pulseaudio and there was no change. |
I had the same issue on Manjaro, not sure if Anileo had the same issue as they have a manjaro test system. Note I was using an app image not sure if that has anything to do with it. |
I'm using the Flatpak. I'd also had a similar issue on the AUR package in the past I think |
The flatpak is not maintained by us. Try the AppImage. |
I'll try that out when I get home |
Fixed by enabling timestretch, but that indicates to me that we have a timing issue. |
Huh. That didn't do it for me when I tried |
timestretch fixed it for me, using pipewire and the AUR package |
Okay, sorry for slow reply. I thought I had already replied to this. Switching to the AppImage solved crackling on the PS3 system software, but it is still noticeable on Persona 5. This time, it is fixed by timestretch |
I just realised, if there's a timing issue, this should probably remain open |
This should be a regression caused by "Audio Buffering" being enabled, if you disable it does it work fine even without the workaround you mentioned with time stretching? |
Regressed by #11358 |
Same problem for me on Fedora 38 (todays git) The one problem remaining seems to be the audio crackling and audio cutting out randomly.
|
Please try again |
Hi @Megamouse I see the official AppImage is now built with clang, thanks for this. |
It might be resolved by updating GCC to 13.2. We decided to switch compiler for CI as that GCC version is complicated to acquire for Ubuntu LTS. |
Reopening as the issue is unrelated to gcc/clang. |
(the missing audio in Demon's Souls (for example the first screen when you press the "OK" button and the sound effect in the main menu when the title appears) is fixed with the last appimage, I noticed) |
I confirm the issue, I can reproduce this on fully updated Arch Linux using pipewire-audio / pipewire-pulse with both cubeb and faudio. Crackling happens when buffering is enabled, while audio skips if buffering is disabled. Was perfectly fine the last time I tried RPCS3, which was around 2 years ago. Edit: Seems like only music is affected by audio skipping when buffering is disabled. |
what was the last build of rpcs3 that didn't have this issue? I just want it for demon's souls. |
I'm currently currently having an extremely similar issue to this but only with microphone input which is played back to me (singing in Rockband 3). I've tried on SteamOS and Bazzite, both of which use PipeWire and PipeWire-pulse. Is it possible this fix needs to extend to those inputs as well? |
Quick summary
When booting up any program I tried, there is consistent audio crackling
Details
Audio crackling appears both on PS3 system software and Persona 5. It's a lot more noticeable on the system software startup screen
Switching to Faudio from cubeb did not work, nor did disabling audio buffering or enabling time stretching. Enabling SPU loop detection or limiting the preferred SPU threads, as I've seen recommended, did not work.
Attach a log file
RPCS3.log
Attach capture files for visual issues
No response
System configuration
Arch Linux
CPU: AMD Ryzen 5 3600X
GPU: AMD Radeon RX 5600
Mesa version: 22.3.3-3
Kernel: 6.1.8
Audio system: Pipewire 0.3.64 (also non functional on Pulseaudio)
Other details
No response
The text was updated successfully, but these errors were encountered: