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

IAudioRendererManager resource exhaustion in several games #10

Open
MythraUwU opened this issue Apr 27, 2020 · 14 comments
Open

IAudioRendererManager resource exhaustion in several games #10

MythraUwU opened this issue Apr 27, 2020 · 14 comments
Labels
bug Something isn't working

Comments

@MythraUwU
Copy link

MythraUwU commented Apr 27, 2020

The game crash on the home screen. If I disable the sysmodule, the game works normally.

Crash window AMS:

  • Error code: 2162-00002 (0x4a2).
  • Program: 0100000000000014.

Title ID GAME: 010077B00E046000.
Firmware: 10.0.1.
Test in EmuMMC.

If you need more information tell me.

Thanks.

@HookedBehemoth
Copy link
Owner

Did this happen with 1.0.0 or 1.1.2?

Also could you please send me the generated crash report?

@MythraUwU
Copy link
Author

MythraUwU commented Apr 28, 2020

I test in 1.0 and 1.1.2, with 1.0 work correct, but with your last version 1.1.2 crash.

I have attached fatal report and crash report:
01588037273_0100000000000014(fatal_report).log
01588037273_0100000000000014_crash_report.log

@HookedBehemoth
Copy link
Owner

Crash team racing also crashes with sys-tune running.

@janAkali
Copy link

janAkali commented May 6, 2020

LABO VR crashes with the same error

@HookedBehemoth
Copy link
Owner

It crashes in audio: nn::audio::detail::IAudioRendererManager::OpenAudioRenderer

I assume we are hitting resource limits inside the audio sysmodule with those specific games.

@HookedBehemoth HookedBehemoth added the bug Something isn't working label May 6, 2020
@GoatsMcnuggie
Copy link

Skyrim also crashes with the same issue, using version 1.0.0 of Sys-tune works perfectly though.

@Mathieu14
Copy link

Same bug with Darksiders Genesis. Atmosphere 0.10.0.2.
Same atmosphere error when the switch crashes.

The game launch fine when sys-tune is off.
ID of the game: 0100F2300D4BA000

@HookedBehemoth HookedBehemoth changed the title Crash in game: Spyro Reignited Trilogy. IAudioRendererManager resource exhaustion in several games May 9, 2020
@HookedBehemoth
Copy link
Owner

To work around this I've now added the option to close the service from the overlay.
The next time you open it it will get launched again.
If you want to keep it running just exit with B like before.

This build also dropped AMS-libs in favor of p-sam's IPC implementation.
This shrinks the entire executable by 13%

Please give it a try.
sys-tune-1.1.2-baa0300.zip

Remove the flags folder and the toolbox.json file please

@HookedBehemoth
Copy link
Owner

New release is out with that workaround.

@Theguysayhi
Copy link

Crashes also happen with NES Nintendo switch online, and pac man 99 for me. Perhaps it's linked to this bug?

@HookedBehemoth
Copy link
Owner

Most definitely

@Equilph
Copy link

Equilph commented Mar 16, 2022

has this bug been fixed yet? i want to play minecraft dungeons with songs running in the background

@Equilph
Copy link

Equilph commented Mar 16, 2022

has this bug been fixed yet? i want to play minecraft dungeons with songs running in the background

nevermind, i found a fix, just mute the other audio sources (ex. music vol, ambience vol)

@ITotalJustice
Copy link
Collaborator

For those looking to report crashes when launching a game, please add the following info:

  • Name of the game
  • Title ID (optional, but would be very much appreciated)

You can manually add a game to the blacklist by configuring the /config/sys-tune/blacklist.ini file, here is an example with the current blacklisted games

[blacklist]

010077B00E046000=1
0100AD9012510000=1
01006C100EC08000=1
01000A10041EA000=1
0100F9F00C696000=1
01001E9003502000=1
0100165003504000=1
0100F2300D4BA000=1
0100E1400BA96000=1
010071800BA98000=1
0100F8F014190000=1
0100D870045B6000=1
01008D300C50C000=1
0100C62011050000=1
010012F017576000=1
0100C9A00ECE6000=1
0100E5600D446000=1
0100A3900C3E2000=1
0100626011656000=1
010090F012916000=1
0100F15012D36000=1
01005950022EC000=1
0100423009358000=1
010044500C182000=1
0100A3A00CC7E000=1
01007B501372C000=1
01003B300E4AA000=1
0100F06013710000=1
0100BD100C752000=1
01002330123BC000=1
0100240013AE8000=1
01002EF014DA2000=1
0100398010314000=1
01004AB0133E8000=1
01005250123B8000=1
010054101370E000=1
010062A0178A8000=1
0100806017562000=1
0100943010310000=1
010096000CA38000=1
0100A1200CA3C000=1
0100C38019CE4000=1
0100C9C0178A6000=1
0100CAF013AE6000=1
0100D970123BA000=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants