Dolphin, the GameCube and Wii emulator - Forums

Full Version: Slowdown in revisions above 4.0-4264
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I recently got a new motherboard and processor, and was excited to try out Dolphin.
I downloaded the latest revision (4843), and started playing Wind Waker.
I had my settings to bare minimum because my previous processor wasn't that great.
After playing for a few minutes I started to notice the game slow down.
I quit playing and started playing Luigi's Mansion.
It was having the same problem. It'd run fine at 30 FPS for a few minutes.
This started me on a long and tireless time of testing revisions.
I had previous revisions, so I started trying them out.
Some would work, some would have the same problem.

After lots of fooling around, I narrowed it down to around 4264 and 4267.
I played Luigi's Mansion for over 30 minutes in 4264 and all was fine.
I started playing in 4267 and 5 minutes later my FPS dropped to 29 FPS.
A few minutes later, and it was down to 25 FPS.

The note for 4267 reads: OGL: also show driver warnings on release builds.
I can't see how something like that would affect performance.
Every build I tried higher than 4267 suffered from the same problem.

I guess I'm stuck on 4264, until whatever is happening is fixed.

Here are the settings I was using, when I was testing all kinds of revisions.
I didn't change any of the settings between testing revisions.
JIT Recompiler
DSP LLE Recompiler
XAudio 2
Open GL
1x Native Resolution
Anti Aliasing Off
Anisotropic Filtering 1x
Everything else set to defaults

I guess I should note that I tried HLE and LLE at different parts with the more current revisions, and was still having the same problem.
Can you check your logs to see what the heck is popping up?

In the latest versions, the spamming text that was causing weird slowdown on my NVIDIAs is fixed, 4.0-4722 and newer. If you have something else on causing log spam, please let me know
I can't believe I didn't think of checking the log.

I have around 300 entries with something along the lines of:
NANDContentLoader.cpp:218 W[DIO]: CreateFromDirectory: error opening F:/Documents/Dolphin Emulator/Wii/title/00000001/00000002/content/title.tmd
Somtimes it has: .cpp:216
Other times: .cpp:226

I checked that folder, but "content" isn't even in "00000002".
It's an odd error, but I don't think it should be effecting performance.
Can you see if the logging is any different from previous versions?
I don't fully understand the log.
It'd be nice if it said the date.

What I decided to do was backup my old log, and let Dolphin create a new one.
I also checked the log options and set it to Error, to see if I was getting any.

I ran Dolphin 4.0-4843 and played Luigi's Mansion. I just played for 30 minutes without any problems.
I'm completely confused.
On one hand, the problem is magically gone. On the other hand, why would the log be causing the issues.
My old log had 453 entries, but that could be from months ago.
The new log has 3 entries:
38:17:386 NANDContentLoader.cpp:218 W[DIO]: CreateFromDirectory: error opening F:/Documents/Dolphin Emulator/Wii/title/00000001/00000002/content/title.tmd
38:17:386 NANDContentLoader.cpp:218 W[DIO]: CreateFromDirectory: error opening F:/Documents/Dolphin Emulator/Wii/title/00000001/00000002/content/title.tmd
38:17:402 NANDContentLoader.cpp:218 W[DIO]: CreateFromDirectory: error opening F:/Documents/Dolphin Emulator/Wii/title/00000001/00000002/content/title.tmd

I started Dolphin around 2:38 PM EST, is that what the 38 refers to in the log? Minutes, Seconds, milliseconds?

I checked all the Wii game save folders and none correspond to 0000001/00000002
What is that folder for? Why is content and title.tmd missing?

I guess I'll just hope 4843 continues to work.
(12-29-2014, 05:26 AM)slyseal Wrote: [ -> ]I can't believe I didn't think of checking the log.

I have around 300 entries with something along the lines of:
NANDContentLoader.cpp:218 W[DIO]: CreateFromDirectory: error opening F:/Documents/Dolphin Emulator/Wii/title/00000001/00000002/content/title.tmd
Somtimes it has: .cpp:216
Other times: .cpp:226

I checked that folder, but "content" isn't even in "00000002".
It's an odd error, but I don't think it should be effecting performance.

If that's a message that keeps repeating it may very well indicate that some error is affecting performance, error handling can definitely slow down an application.
I created a content folder and copied a title.tmd from another Wii save folder.
I crated a new log, and it is now clean.
I haven't done any more testing besides that.
It seems like it was just a fluke.
It's just odd that I tried so many revisions between 4267 and 4843 and was getting the same result.
I guess I'll post again, if I have any other issues.
Thanks for the help everyone.
I've tried to fix this performance regression within this PR: http://dl.dolphin-emu.org/prs/pr-1783-do...est-x64.7z Is the performance fixed?
I played Wind Waker earlier today for 30 minutes with no problems on 4843.
I'll check out the release you provided Degasus and report back.
I think I've figured out what the problem is, at least on my computer.
The log level verbosity.
I mentioned in an earlier post I switched from Warning, to Error.

I played Luigi's Mansion with the build Degasus provided, (4.0-4857-dirty), for 50 minutes with no problems, the verbosity was set to Error.
I then thought I'd try out 4843 again. Played Luigi's Mansion for 30 minutes no problems.
This is when I decided to see what the problem was.

I first tried seeing if it had anything to do with my old log.
Played both Degasus's build and 4843, for 10+ minutes, no problems.
Set the verbosity to Warning, and after 7 minutes, my FPS and VPS would drop, in both builds.

I hope what I've found can help somehow.
I just find it strange that Error level works fine, and Warning doesn't.
If anything, you'd think it'd be the other way around.

Oh, I suppose I should mention, nothing is in the log. It's 0KB

*UPDATE*
I was looking at the log options, and saw that "Write to File" wasn't checked.
I don't get that, as I got warnings in the log before, as I showed in earlier posts.
Anyway, checking that, and setting the verbosity to Warning, after playing Luigi's Mansion for ~10 minutes, I got a 60MB log.
Here is what populated the log with verbosity Warning:
33:29:939 Render.cpp:194 W[Video]: id: 20043, source: API, type: Other - Rasterization quality warning: A non-fullscreen clear caused a fallback from CSAA to MSAA.
33:29:939 Render.cpp:194 W[Video]: id: 20004, source: API, type: Other - Usage warning: Generic vertex attribute array 5 uses a pointer with a small value (0x000000000000000C). Is this intended to be used as an offset into a buffer object?

This was using the build Degasus provided.

Setting the verbosity to error, and creating a new log, I played Luigi's Mansion for 10 minutes.
The log was only 1MB, and I had around 4000 entries with this:
34:13:355 Render.cpp:195 E[Video]: id: 20071, source: API, type: Other - Buffer detailed info: Buffer object 4 (bound to GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB (0), GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB (8), and GL_ARRAY_BUFFER_ARB, usage hint is GL_STREAM_DRAW) will use VIDEO memory as the source for buffer object operations.

I hope this helps better solve the problem.
Pages: 1 2