Emulator Issues #12429
DSU Controllers Get Broken After Ending Emulation
Hello, I have a problem with DSU that I did not have with the others updated (before version 13500 I would say).
Everything is functional when I launch a game, the controller works perfectly, everything is recognized. But as soon as I start to close a game, DSU is no longer usable.
I recently noticed that after closing a game or fifolog for a second time, the log would start spamming: InputCommon\ControllerInterface\DualShockUDPClient\DualShockUDPClient.cpp:240 E[SI]: DualShockUDPClient HotplugThreadFunc send failed
Disabling and enabling the UDPClient doesn't fix it, restarting Dolphin seems to be the only solution. I haven't seen this befor so this seems to be recent regression.
#9 Updated by filoppi about 17 hours ago
It's actually enough to end the emulation once.
This should be fixed in my branch, there was a bunch of bad threads code.
Unless it was broken after I last merged with master, but you said it was fine before 5.0-13430? Which was my first change to DSU.
#11 Updated by filoppi about 17 hours ago
No this problem doesn't happen neither on 5.0-13430 nor or 5.0-13428 on my machine, but it does happen on current latest. Though not on my build. So it could have been something in between the last time I merged with master that broke it. I will merge and try again as soon as I can, because there were a few fixes I made that could have helped with this.
#13 Updated by JMC4789 about 15 hours ago
- Regression start deleted (
Due to inconsistencies with the bug appearing, I'm no longer confident in my bisect. More people seem to be saying it doesn't occur in this build. It may be a race condition unrelated, but I still maintain that it can happen in that build.