Emulator Issues #8864
SSBB Alloc Buffer failed
Super Smash Bros. Brawl
What's the problem? Describe what went wrong in few words.
I am using a custom Brawlex setup and the game will usually silent freeze after playing 20ish matches while loading a stage. "Alloc Buffer failed" appears in my log, followed by "Open failed" entries. Two examples:
To make sure the problem wasn't my setup, I selected the same characters and stage that caused the Alloc Buffer error upon restarting Dolphin. There was no problem.
Since I do not wish to distribute this custom build yet, is there more useful logging information that I can provide?
What did you expect to happen instead?
No Alloc Buffer failed!
What steps will reproduce the problem?
1. Play 20ish matches (I found the problem occurs quickest when 4 players/CPUs are involved).
2. Observe silent freeze upon loading a stage and "Alloc Buffer failed" messages in the log
Which versions of Dolphin did you test on?
Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
No, this problem has probably always been present.
What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
Win 10 Pro x64
Intel Core i7-4702MQ CPU @2.20GHz
GeForce GT 750M
#3 Updated by ryanebola16 about 5 years ago
Perfmon memory log and full dolphin log spanning emulator startup to about 20 seconds post "Alloc Buffer failed":
#7 Updated by JMC4789 about 5 years ago
The high barrier to reproduce this issue is going to make it hard to fix. We're going to have to rely on you to narrow it down in some way for it to get fixed. Here's my suggestions, assuming the alloc buffer isn't enough (honestly, I don't even know what it is, so, my suggestions may just waste your time. I just hate letting the issue sit with nothing said or done.)
Does it only happen on a JIT? I know cached interpreter will be a lot slower, but it should be playable enough to do at least ONE playthrough (20 matches may take a lot longer... but, if it's one run to see if it works or not, it may be worth it.)
I'm sure you've tried various graphics settings, but, it may be worth fussing with them to see if you can affect anything.
Have you tried savestating before the crash? Is it more/less consistent loading from a savestate?
Do you know if the game can freeze on actual Wii?
#8 Updated by ryanebola16 about 5 years ago
Sorry for taking so long to respond.
I have tested the issue with Dolphin 4.0-7958 and still get Alloc Buffer failed. Just to be clear on my settings, I am running Dolphin in debug mode with the following config files (also contains the Alloc Buffer failed log from 4.0-7958 on JIT):
I then changed to cached interpreter and could no longer reproduce the problem.
Side note: JITL fails to properly load my codes from Sd.raw using Gecko OS .dol. Should I make a separate issue for this?
#13 Updated by PEmu about 4 years ago
Occurred again with 5.0-424. Since my visual studio setup is still having issues, if someone wants to build the Dynamic BAT PR for me I'd be willing to do some testing with it.
You can download a build here: https://dl.dolphin-emu.org/prs/pr-1882-dolphin-latest-x64.7z
#16 Updated by ryanebola16 about 3 years ago
I finally sat down and did no-codes, 300% damage, fast brawl, 4 random characters, random stage for an hour with as little time as possible between matches. I could not reproduce this issue. Since I have only seen it with Brawlex, I think the problem lies with the Brawlex modifications and not Dolphin emulator.
#19 Updated by ryanebola16 over 1 year ago
In case others encounter this problem, this code may help: https://smashboards.com/threads/ds22s-code-showcase.428060/#post-20793302