HookedBehemoth / sys-tune

Background audio player for the Nintendo switch
145 stars 10 forks source link

IAudioRendererManager resource exhaustion in several games #10

Open MythraUwU opened 4 years ago

MythraUwU commented 4 years ago

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

Crash window AMS:

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

If you need more information tell me.

Thanks.

HookedBehemoth commented 4 years ago

Did this happen with 1.0.0 or 1.1.2?

Also could you please send me the generated crash report?

MythraUwU commented 4 years ago

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 commented 4 years ago

Crash team racing also crashes with sys-tune running.

Archargelod commented 4 years ago

LABO VR crashes with the same error

HookedBehemoth commented 4 years ago

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

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

GoatsMcnuggie commented 4 years ago

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

Mathieu14 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

New release is out with that workaround.

Theguysayhi commented 3 years ago

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

HookedBehemoth commented 3 years ago

Most definitely

Equilph commented 2 years ago

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

Equilph commented 2 years ago

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 commented 10 months ago

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


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