Emulator Issues #7774
[D3D] Huge performance drop in Resident Evil 1 Wii with sw-bbox (4.0-3659)
Resident Evil 1 for Wii
What's the problem? Describe what went wrong in few words.
Performance drop in both game cutscenes (now 10 FPS instead of 30) and ingame (now 23 FPS instead of 30).
I tested many builds before I found the culprit. The last working build (30 FPS both ingame and cutscenes) is 4.0-3657. The next available build is 4.0-3659 is broken as are all later builds up till the current one 4.0-3764 which is broken too.
What did you expect to happen instead?
What steps will reproduce the problem?
Just run the game.
What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
CPU: AMD Phenom II X4 925
GPU: AMD Radeon HD5850 with latest drivers
#4 Updated by JMC4789 over 5 years ago
Bounding Box is used for a lot of interesting effects... I couldn't think of how Resident Evil uses it though.
Your computer is pretty slow (no offense, if it was running it fine before, then we don't want to have a performance regression anyway) and bounding box is very expensive. We enabled bounding box by default thinking there were only 4 games that used it, and those games needed it to function. We didn't expect any other games to be affected... but I believe someone put forth the possibility that other games could enable it and do nothing with it... which is a possibility here.
#5 Updated by bgtsetso over 5 years ago
Ok I understand but isn't there a way to enable the Bounding Box with game ini only for those few games that actually need it? Also I believe that killing Resident Evil in such a way would be rather disappointing for many people. Of course it is up to you what the best approach should be.
#14 Updated by crudelios over 5 years ago
Skidau there is no way to know if the bbox regs are going to actually be used when they are first cleared.
The best I can do is to add a check to determine if bbox regs were used the last time they were cleared and if they were not, bbox calculations wouldn't be enabled the next time the regs were cleared.
#22 Updated by pauldacheez over 5 years ago
- Status changed from Accepted to Work started
Fixed as of 4.0-4219 on OpenGL. https://dolphin-emu.org/download/dev/fb50cb6d99062069a71db49d56d975df5c6eecb3/
This issue still applies to D3D, though, so we'll probably want to keep this open.
#26 Updated by ZephyrSurfer over 5 years ago
This is fixed now on D3D.
It was said by one of the super devs(degasus) that there should still be a change to disable BBox like phire's suggestion on your PR Crudelios.
So I don't know if the status should change here and a new issue report be made??
Because I'm pretty sure any performance impact that OP wanted fixed is now done.