RetroArch repeatedly auto-detecting gamepad?

I’m having a strange issue in RetroArch 1.3.4 (x86_64, Windows 10). Every few minutes, whatever game I’m playing will stutter for a frame or two, and the message “XInput Controller (User 1) configured in port #0” appears two or three times in a row at the bottom of the screen, as though I’ve quickly disconnected and reconnected the controller. It happens regardless of which USB port the pad is plugged into, and with two of the same controller (Logitech F310).

I decided to enable logging and let the program sit idle for a while, and the following messages are repeated four times at the end of the log:

RetroArch [INFO] :: Found XInput v1.4.
RetroArch [INFO] :: Found XInput controller, user #0
RetroArch [INFO] :: Enumerating DInput joypads ...
RetroArch [INFO] :: Device #0 PID: {C21D} VID:{046D}
RetroArch [INFO] :: Done enumerating DInput joypads ...
RetroArch [INFO] :: Autodetect: 26 profiles found
RetroArch [INFO] :: Autodetect: selected configuration: C:\Emulation\RetroArch\autoconfig\xinput\XInput_Controller_User_1.cfg
RetroArch [INFO] :: Found joypad driver: "xinput".

These messages actually appear nine times throughout the log, which seems a bit excessive. Is this normal behavior, or is there something wrong on my end? It’s worth noting that turning off “Autoconfig Enable” in the input settings makes the messages go away, but I’m not sure if that’s actually solving the problem or just masking the symptoms.

Unhelpful, but I’m experiencing the same behavior. Also running Windows 10. Though it doesn’t happen three times in a row for me. And windows does not detect the controller as being removed and reconnected.

Edit: In Power Settings, in the advanced power settings under USB, try turning off selective suspend. It seems to have fixed the problem for me. You can also try the step detailed here if that doesn’t work:

Im experiencing similar behavior, but the above fixes have not worked for me. I’m getting dropped frames (in menu and in game), and it corresponds with OSD message saying my controller is not configured. During this brief frame drop my input doesn’t register.

Strangely, if I don’t use my USB controller, then I don’t get the corresponding input drop out and OSD message, but the frame drops are occurring all the same. This leads me to believe the controller not configured message is a side effect of some other issue.

I am the same problem. The trick above did not work. I get constant reconnects with both an XBOX One and a PS4 controller.

Using both in Wireless mode didn’t help either.