sys-tune icon indicating copy to clipboard operation
sys-tune copied to clipboard

IAudioRendererManager resource exhaustion in several games

Open MythraUwU opened this issue 5 years ago • 14 comments

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.

MythraUwU avatar Apr 27 '20 02:04 MythraUwU

Did this happen with 1.0.0 or 1.1.2?

Also could you please send me the generated crash report?

HookedBehemoth avatar Apr 27 '20 09:04 HookedBehemoth

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

MythraUwU avatar Apr 28 '20 01:04 MythraUwU

Crash team racing also crashes with sys-tune running.

HookedBehemoth avatar May 03 '20 17:05 HookedBehemoth

LABO VR crashes with the same error

janAkali avatar May 06 '20 03:05 janAkali

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 avatar May 06 '20 19:05 HookedBehemoth

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

GoatsMcnuggie avatar May 07 '20 06:05 GoatsMcnuggie

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

Mathieu14 avatar May 09 '20 19:05 Mathieu14

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 avatar Jun 07 '20 20:06 HookedBehemoth

New release is out with that workaround.

HookedBehemoth avatar Jun 15 '20 20:06 HookedBehemoth

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

Theguysayhi avatar Jun 15 '21 23:06 Theguysayhi

Most definitely

HookedBehemoth avatar Jun 15 '21 23:06 HookedBehemoth

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

Equilph avatar Mar 16 '22 20:03 Equilph

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)

Equilph avatar Mar 16 '22 20:03 Equilph

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

ITotalJustice avatar Sep 07 '23 11:09 ITotalJustice