Dolphin, the GameCube and Wii emulator - Forums

Full Version: Hyrule Field Slowdown Observation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Thanks, Xtreme2damax.

Are you running an optimized build or an OpenCL version? The hotspots are meant to have names and not hex addresses on the left most column. Maybe try benchmarking a debug build?

We can't really tell what is going on without the function names in the hotspots tab.
Yes it was an OpenCL build. I'll try again later without OpenCL.

Should Vtune be using event based benchmarking or time based benchmarking when benchmarking Dolphin? I chose event base because when I choose time based it'll end Dolphin and I wouldn't have enough time to test.
(03-14-2010, 04:20 PM)skid Wrote: [ -> ]Thanks, Xtreme2damax.

Are you running an optimized build or an OpenCL version? The hotspots are meant to have names and not hex addresses on the left most column. Maybe try benchmarking a debug build?

We can't really tell what is going on without the function names in the hotspots tab.

I noticed Vtune is looking for files that don't exist, I think are meant for debugging. I have no idea how to generate or get these files but it appears this may not work correctly until I do.
Are you building with Visual Studio 2008 Professional with the default solution in the repository?

Also, you might need to point VTune to the install directory of dolphin.
Hey skid, it seems Vtune wants to load the PDB (Debugger) files for Dolphin, but dolphin no longer outputs debugger files for several revisions now. It looks like this may be needed in order to view function names in the hotspots tab instead of hex addresses.
In VS2008, right click the Plugin_VideoDX9 project on the left hand side. Pick "Properties". Under the "Configuration Properties", open the "Linker" section. Click on the Debugging item.

On this screen, you can select to generate Debug Info and to generate a Program Database File (pdb).

The PDB on my machine is configured to be:
Code:
$(PlatformName)\$(ConfigurationName)\$(TargetName).pdb

The same probably needs to be done for Plugin_VideoOGL and Core.
That's already configured to output the pdb debugging file, but for some reason VS2008 doesn't output it when compiling Dolphin.
Is there any other reason why Dolphin isn't outputting the debug pdb files? VS2008 is set to output debug pdb files as you mentioned, but it doesn't output any debug pdb files for Dolphin.
Try building a debug mode build of Dolphin. I think it is one of the VS2008 project settings that is causing VS2008 to not build the PDB. Also maybe try doing a clean and rebuild.
I tried a building a debug build, it still didn't generate the pdb debug files. Also the debug builds are far too slow to test with, I had a max of about 5 - 10 frames with the debug build.

Would you happen to know how to switch this on in VS2008, I already checked the options you mentioned and it's already set to output the pdb file but doesn't.