Announcement

Collapse
No announcement yet.

Mapping Service - high cpu usage after some time

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mapping Service - high cpu usage after some time

    The mapping service seems to have some sort of memory leak or something like it. When remap is activated at first, it's not noticeable at 0-0.1% usage, but CPU usage continues to creep up until Remapping is turned off. I've let it get as high as around 5% CPU usage, and the stuttering it causes is very distracting at that point. I've been testing 9.11, 7.30 and 6.71 and they all have this problem, but it took noticeably longer for it to get really bad on 6.71.

  • #2
    Hi.
    Could you provide more information?
    1. Please send me the config you are using. Your configs are stored here: C:\Users\Public\Documents\reWASD\Profiles
    I need the correspondent *.rewasd file.
    2. Provide steps to reproduce the issue.​

    Comment


    • #3
      1. Activate the Remap.
      2. At this point there's nothing noticeable about CPU usage on Mapping Service
      3. Start playing (in this case Bloodborne on ShadPS4) while keeping an eye on Mapping Service in the Task Manager
      4. Once CPU usage has increased, it remains in a heightened state, even after the game is closed, until Remap is turned off.
      Attached Files

      Comment


      • #4
        I believe I've found the source of the problem. If Microsoft's "GameInput Service" (GameInputSvc.exe) is running alongside ReWASD while remapping is active, ReWASD will have this memory-leak like behaviour. The diegolix29 build of ShadPS4 starts the service and seems to require it, while the shadps4-emu build doesn't.​​​​

        Comment


        • #5
          Hi. Could you please send us a video showing the issue?
          It would also be great if you could send us your emulator build.​

          Comment


          • #6
            It's not actually necessary to run the emulator. I was able to reproduce the problem with the following steps:

            1. Start "GameInput Service" in services.msc
            2. Turn Remap on in reWASD
            3. Rest analog sticks on the desk so they are constantly tilted
            4. Wait and watch as CPU usage continues to increase over time

            I've recorded two clips after 30 minutes of waiting. One is what the Mapping Service looks like in the task manager, another is running the emulator with Remap on, then turning it off in the middle of the clip. At this point overall system responsiveness has very noticeably degraded.



            If you still need the emulator, it can be found here.
            PS4 emulator for Windows,Linux,MacOS. Contribute to diegolix29/shadPS4 development by creating an account on GitHub.

            The emulator starts the "GameInput Service" when a game is run.

            Comment


            • #7
              Please try turning off all LED and rumble settings, as this might help.

              Also, could you please specify which physical controllers you are using?​

              Comment


              • #8
                I use a standard DualShock 4 connected through a USB Cable. Disabling LED and Rumble didn't change anything.

                Comment

                Working...
                X