Project

General

Profile

Emulator Issues #10339

Anything newer than dolphin-master-4.0-9507-x64 has a severe cpu leak.

Added by P3rf3ct_Zer0 almost 3 years ago. Updated almost 3 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-4377

Description

I recently upgraded to this build SEE FILES {PDF 1} from {Dropbox Link PDF 2} https://www.dropbox.com/s/eqw88iy09jknrty/P3rf3ct_Zer0s%20PC%20%209-2-2016.pdf?dl=0

What's the problem? Describe what went wrong.
So after; (and I timed this with a stop watch) 15 mins and 23 seconds the emulator starts to lag unbearably. I have tested everything on my pc even drivers - fresh install everything and nothing can circumvent it. Do not ask noobie questions like "Did you check temp" did you verify ram; did you try on a similar or exact pc?" the answer to all noob questions is YES. At any rate I am at a loss. So as an absolute last resort I am posting here.

What steps will reproduce the problem?

Have my exact build in theory.

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?

All of these https://www.dropbox.com/s/ldba8m620cth2l4/8.PNG?dl=0

What are your PC specifications? (CPU, GPU, Operating System, more)

PDF from Userbenchmark
https://www.dropbox.com/s/bmga0ofl7f7tlil/P3rf3ct_Zer0s%20PC%20%206-15-2017.pdf?dl=0

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)

I will update this with a video.

P3rf3ct_Zer0s PC Report.pdf (951 KB) P3rf3ct_Zer0s PC Report.pdf PDF 1 P3rf3ct_Zer0, 06/15/2017 09:27 PM

History

#1 Updated by MayImilae almost 3 years ago

Ok let me just try to clarify this - anything older than 4.0-9507? So on builds after 4.0-9507, such as all 5.0 era builds, it doesn't occur?

#2 Updated by P3rf3ct_Zer0 almost 3 years ago

MayImilae wrote:

Ok let me just try to clarify this - anything older than 4.0-9507? So on builds after 4.0-9507, such as all 5.0 era builds, it doesn't occur?

No anything newer than 4.0-9507

#3 Updated by P3rf3ct_Zer0 almost 3 years ago

MayImilae wrote:

Ok let me just try to clarify this - anything older than 4.0-9507? So on builds after 4.0-9507, such as all 5.0 era builds, it doesn't occur?

I meant to say newer ... can an admin please fix that XD

#4 Updated by MayImilae almost 3 years ago

  • Subject changed from Anything older than dolphin-master-4.0-9507-x64 has a severe cpu leak. to Anything newer than dolphin-master-4.0-9507-x64 has a severe cpu leak.

#5 Updated by P3rf3ct_Zer0 almost 3 years ago

Hey so I have a video ready but its not finished going through publishing anyways here is the link https://youtu.be/znjylaFNTwA
When its available admins can see first hand the weirdest bug I have ever seen.

#6 Updated by P3rf3ct_Zer0 almost 3 years ago

P3rf3ct_Zer0 wrote:

Hey so I have a video ready but its not finished going through publishing anyways here is the link https://youtu.be/znjylaFNTwA
When its available admins can see first hand the weirdest bug I have ever seen.

Turn your pc up loud my mic is aweful

#7 Updated by ligfx almost 3 years ago

It looks like there's an object handle leak of some sort. The handle count is increasing steadily throughout the video, and as soon as Dolphin's closed the count drops by over 20,000.

#8 Updated by Anonymous almost 3 years ago

Here is some stuff you can do to narrow it down: https://blogs.msdn.microsoft.com/dsui_team/2013/04/23/debugging-a-gdi-resource-leak/ (start at the part with task manager).

#9 Updated by blubberdiblub almost 3 years ago

In case it is the cause or related: I can reproduce the permanently increasing handles here, too. I never experienced increasing CPU usage after extended play, though.

(It might still be caused by the open handles for OP if, let's say, he has some particular HID hardware connected that I don't have and which does processing for each open handle to its device or if he has some kind of tool installed that hooks into the controller communication (let's say Xpadder or similar) and that also does processing per open handle.)

If I switch off "Continuous Scanning", the number of handles allocated by Dolphin remains constant.

@P3rf3ct_Zer0 can you try with Continuous Scanning disabled? (You can click "Refresh" in the controls window during the game if it didn't detect the Wiimotes connected to the Mayflash DolphinBar at startup in that case.) Does the CPU usage issue still happen for you without Continuous Scanning?

#10 Updated by Anonymous almost 3 years ago

Thanks for the hint, i can repro the handle leak with continuous scanning enabled, too. Note that it seems the performance problem occurs on the video around 0xffff handles in the dolphin process..:)

#11 Updated by Anonymous almost 3 years ago

#12 Updated by JosJuice almost 3 years ago

  • Status changed from New to Fixed
  • Fixed in set to 5.0-4377

#13 Updated by P3rf3ct_Zer0 almost 3 years ago

JosJuice wrote:

https://dolphin-emu.org/download/dev/13b1fa2c658c2c0fd841449b54e4509f757cdcbc/

Thank you I can confirm this fixes the issue.

Also available in: Atom PDF