Emulator Issues #8011
closedHW bounding box issues (video driver crash, slowdowns)
0%
Description
Game Name?
Super Mario Galaxy
Paper Mario: The Thousand Year Door
Game ID?
RMGE01
G8ME01
What's the problem? Describe what went wrong in few words.
Super Mario Galaxy: Starting from Dolphin revision 4219, selecting a save file while using OpenGL will crash my video driver.
Paper Mario 2: Starting from revision 4219 for OpenGL, and revision 4555 for Direct3D, effects that use bounding box may cause the game to run slower than it does in revision 4217. This is easily noticeable with the water refraction effect in Chapter 1. Additionally, with OpenGL, attempting to stop emulation by using the close button on the game window while the slowdown is happening will freeze Dolphin.
What did you expect to happen instead?
Super Mario Galaxy: I expected that my video driver would not crash.
Paper Mario 2: I expected the game to run as fast or faster than revision 4217, seeing as the changes in question are supposed to be optimizations.
What steps will reproduce the problem?
Super Mario Galaxy:
- Use Dolphin 4219 or above.
- Set it to use OpenGL.
- Start up the game.
- At the file selection screen, pick any file (new one is fine).
- Select "Play This File"
- Whole screen goes black for a second, Display driver has stopped responding and recovered blah blah blah
Paper Mario:
- Use Dolphin 4219 or above with OpenGL, or Dolphin 4555 or above with Direct3D
- Import savegame linked in this report.
- Start the game and load the save.
- Go to the pipe on the right and enter it.
- Game runs slower than it should.
Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?
4219
4555
4833
Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
4217
What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
Intel Core i7 3770 @ 3.4 GHz
8 GB Ram
AMD Radeon HD 5770
Windows 7 (x64)
Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
Catalyst driver version: 14.12
Paper Mario savegame + Dolphin config: https://dl.dropboxusercontent.com/u/20789739/HW_bounding_box_report.zip
Updated by JMC4789 almost 10 years ago
Unable to reproduce on a GTX 760, Latest NVIDIA drivers.
Updated by JMC4789 almost 10 years ago
Issue 8027 has been merged into this issue.
Updated by JMC4789 almost 10 years ago
- Status changed from New to Accepted
- Priority set to Urgent
- Regression set to Yes
- Relates to performance set to Yes
Basically: Certain graphics cards (namely, older ones) are having extreme issues with slowdown as of the Hardware Bounding Box merges, even compared to the software implementations being always on.
Quick solution would be to turn on Bounding Box Emulation on a per game, but we obviously don't want to do that if we don't have to.
Second solution: Make a setting somewhere for users to turn it off themselves, even if we never set it in any INI since it's heavily dependent on hardware
Third Solution: Make detection better without breaking things.
Updated by JMC4789 almost 10 years ago
Issue 8004 has been merged into this issue.
Updated by JMC4789 almost 10 years ago
Issue 8001 has been merged into this issue.
Updated by rodolfoosvaldobogado almost 10 years ago
As is hardware dependdant i will say that Second solution will be the best, at least until we can find a reliable way of detecting problematic hardware.
Updated by JMC4789 almost 10 years ago
I agree. I like the second solution as well. I don't think this is an implementation problem as much as a driver/graphics card problem.
Updated by Johncw87 almost 10 years ago
I'm all for a configuration setting. Have the option to pick between hardware emulation, software emulation, or turn it off completely.
Updated by shreduhsoreus almost 10 years ago
Sorry to dig this up almost a week later(was out of town and couldn't keep up) but whenever solution 2 is implemented I'll be ready to test this out to see if this resolves what I was experiencing in Issue 8001.
Updated by DanielKim.7C4 almost 10 years ago
This may be a red herring, but I noticed all of the reported issues were running on AMD graphics cards. Has anybody with a nVidia graphics card been able to repro the slowdown?
Updated by shreduhsoreus almost 10 years ago
GT 740M here. I didn't create my own issue, just added my experience to Issue 8001 but forgot to mention my hardware, sorry about that.
Updated by RichieRoxas1 almost 10 years ago
4.0-3657 RE4 works perfect
4.0-3659 RE4 gets slow down since this build.
I don't know if you can fix it, but well, I'm using 4.0-3657 just for RE4.
Updated by shreduhsoreus almost 10 years ago
I get it in all builds, but in -3659 through -4217 it's a constant 30-50% emulation speed. Prior to -3659 and in every build -4219 and later it's occasional random short slowdowns similar to microstutter, but not your typical microstutter and I don't get microstutter in any games. I stated all of this in Issue 8001 and asked if it's just not fixable for me due to my video card but never got an answer.
Updated by skidau almost 10 years ago
It is not fixable due to your video card. In 4.0-3659, Dolphin uses your CPU to create the graphics effect. In 4.0-4217, Dolphin uses your video card. For most people, their video card generates the effect faster than their CPU can.
Updated by ZephyrSurfer almost 10 years ago
@skidau what about the reported crash here. We should check that out.
Are we OK with an option to allow CPU Bounding Box?
Updated by magumagu9 almost 10 years ago
Issue 8079 has been merged into this issue.
Updated by JMC4789 almost 10 years ago
Issue 8077 has been merged into this issue.
Updated by metafalica almost 10 years ago
Maybe it's better just to revert this commit?
First dropping dx9 that were fast enough to emulate any game, then x86, now making "old" graphics card users unable to play well with OpenGL above 4217.
I have Radeon HD 5750, my friend has "Radeon HD 5800 series" and emu runs crazy slow above 4217, but 100% speed with our "old graphics card" on 4217.
Those who have "new graphics card" will not even notice any difference between CPU or GPU bounding boxes, when emu run at 100% speed for "old graphics card" users without GPU bounding box stuff.
Updated by rodolfoosvaldobogado almost 10 years ago
is not necesary to remove the functionality a simple configuration option top diable it is enought.
JMC4789 I merged the option to the ui on ishiiruka can you look at it if is good for you will make the pull request in master.
Updated by skidau almost 10 years ago
rodolfo, for some people, the SW bbox is faster than the HW bbox. For others, the HW bbox is not available. And then for some, the SW bbox is slower than the HW bbox. Having an option confuses things when the emulator should be able to decide which setting is best for the user.
Updated by metafalica almost 10 years ago
if it possible to change bbox thing at runtime, maybe emu can do test renderings with HW and CPU bboxes and use the one that was faster.
Updated by JMC4789 almost 10 years ago
I'm fine with having an option; but I'm not sure if it'll be okay with the Vertex Loader JIT changes (I think we didn't take into account the software bounding box at all?)
Updated by JMC4789 almost 10 years ago
Issue 8151 has been merged into this issue.
Updated by Stargazerium almost 10 years ago
So I tell my problems here now? o.o
Updated by ofunniku over 9 years ago
I would also like to add that Muramasa (RSFE7U) has bbox issues as well.
Updated by flacs over 9 years ago
- Status changed from Accepted to Fix pending