Skip to content
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] No audio when buffering is enabled #15770

Open
Shoegzer opened this issue Jul 4, 2024 · 2 comments
Open

[Regression] No audio when buffering is enabled #15770

Shoegzer opened this issue Jul 4, 2024 · 2 comments
Labels

Comments

@Shoegzer
Copy link

Shoegzer commented Jul 4, 2024

Quick summary

Recent attempts to compile builds result in binaries where audio no longer plays at all when buffering is enabled.

Details

Issue occurs whether audio backend is Cubeb or FAudio.

An attempt to bisect failed, as all builds present this issue. However, the last build with successful audio was from commit feff2ba. It was presumed that the update to SDL2-2.30.4 (commit 7367f72) may have been the cause, however the test system was updated to SDL2-2.30.5 with no positive results.

Build with regression

See above

Attach two log files

Working log: RPCS3_working.log

Not working log: RPCS3_not_working.log

Attach capture files for visual issues

No response

System configuration

  • OS: Linux Mint 21.3 / kernel 6.5
  • CPU: Intel i7-10870H
  • GPU: Nvidia GTX 3070 / driver 545.29

Other details

No response

@AniLeo AniLeo added the Audio label Jul 4, 2024
@AniLeo
Copy link
Member

AniLeo commented Jul 4, 2024

Does the used compiler (clang vs gcc) change your results? We've had the same issue in the past with gcc and switched the AppImage to clang because of it.

@Shoegzer
Copy link
Author

Shoegzer commented Jul 4, 2024

Thanks, that's interesting. I've been using Ninja, though I also tried with make but that too produced a build with no audio (the gcc compiler version is gcc-13.1.0).

I'll give clang a shot and post results, though I've never tried that and the readme only shows how to build with gcc. Are the build instructions posted somewhere and I'm just missing them? Nevermind, I was using -DCMAKE_C_COMPILER=/usr/bin/clang17 etc. which is standard and it wasn't working, but it turns out I just mistyped something.

So yeah, using clang-17 produces a build with working audio. I wonder if this issue is confined to specific gcc versions, would be good for someone with a later version like gcc-14.1.0 to confirm seeing this too. I also don't know if the root cause is with the compiler or RPCS3. In case of the former I'll close this, or someone else can, though it should be noted somewhere that clang is recommended for reasons like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants