Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High CPU of Windows Driver Foundation after a while in SXS mode #263

Closed
4 tasks done
FuJa0815 opened this issue Nov 13, 2022 · 7 comments
Closed
4 tasks done

High CPU of Windows Driver Foundation after a while in SXS mode #263

FuJa0815 opened this issue Nov 13, 2022 · 7 comments
Assignees
Labels
bug Something isn't working scplib Affects the XInput Bridge (SCP Proxy DLL)
Milestone

Comments

@FuJa0815
Copy link

  • I have searched open and closed issues for duplicates
  • I am submitting a bug report for existing functionality that does not work as intended
  • I have read https://vigem.org/Community-Support/
  • This isn't a feature request or a discussion topic

Bug description

I am using DsHidMini for a Dualshock 3 controller. After a while the CPU usage of Windows Driver Foundation - User-mode Driver Framework Host Process starts rising and rising. This leads to PCSX2 getting slower and slower. After reconnecting the controller the CPU usage is down again and everything runs smoothly. I have already reinstalled the drivers, did not work.

Screenshots

image
image

Machine info

CPU-Architecture: x64
Windows version: Windows 10.0.19043 Build 19043
Software/driver version(s): 2.2.282.0

Any other helpful information

DSHMC20221113.txt

I am aware that reproducing this error might be difficult. I also don't have any "proof" that DsHidMini is 100% at fault here, but reconnecting the controller fixes this issue again for a while, therefore it seems obvious to me.

@nefarius
Copy link
Owner

Are you using the XI proxy DLL?

@mrpenguinb
Copy link

mrpenguinb commented Nov 22, 2022

I have the same issue, after a while the WDF process got to 10 or more percent CPU usage. I'm using the x64 XInput .dll from DSHidMini for PCSX2.

@englebert3rd
Copy link

I'm getting the same issue using the proxy DLL.

@nefarius nefarius self-assigned this Jan 3, 2023
@nefarius nefarius added the bug Something isn't working label Jan 3, 2023
@nefarius
Copy link
Owner

To those affected feel free to test it with the complete overhaul of the DLL, it works with the old driver just fine, no need for any other upgrades.

@MoaMission
Copy link

I can confirm that the issue seems to be resolved. I haven't noticed a VRAM or CPU ramp-up after playing for ten minutes like before.

Thanks so much for addressing this!

@nefarius nefarius added this to the Version 3 milestone May 25, 2024
@mrpenguinb
Copy link

The issue has been resolved on my end as well. Thank you!

So the DLL has been completely overhauled? Must have taken a while.

@nefarius
Copy link
Owner

nefarius commented May 28, 2024

Pretty much a complete rewrite, yeah. More sophisticated and thought through. You can see all the work in the finished pull requests and the commit history.

EDIT: see #361

@nefarius nefarius added the scplib Affects the XInput Bridge (SCP Proxy DLL) label May 30, 2024
@nefarius nefarius closed this as completed Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working scplib Affects the XInput Bridge (SCP Proxy DLL)
Projects
None yet
Development

No branches or pull requests

5 participants