rpcs3 icon indicating copy to clipboard operation
rpcs3 copied to clipboard

Controller joystick hiccup bug that's exclusive to RPCS3.

Open mrwallace888 opened this issue 1 year ago • 1 comments

Quick summary

I'm not really sure what's going on or why it happens, but I've caught this strange issue and it seems to be specific only to RPCS3 that's causing joysticks to "hiccup".

Details

I have a genuine Dualshock 3 plugged in with a USB, and using DsHidMini for motion controls and pressure-sensitive buttons, and was wondering why in games my menus and stuff would scroll up once at random inconsistent intervals. I booted up the gamepad test homebrew to see what was going on, and sat down my controller on a table with no interference from me. Sure enough, L3 and R3 will randomly, for a SINGLE frame, suddenly go up, but ONLY for a single frame. Which is rather strange. Keep in mind I'm not doing anything, or jostling the table, nothing like that. It is simply doing it on its own. Deadzone settings do not change this bug. The problem goes away if I set the controls to only use keyboard instead.

What makes this stranger still is that I've tried other programs and games, and other emulators, especially PCSX2, and nothing else has this problem, ONLY RPCS3. I even set the joystick deadzone to 0% in PCSX2 and also ran its own gamepad test homebrew (padtest_ps2.elf), and it doesn't do anything. I put it in various game menus, they don't scroll or do anything.

So this implies that it's a software issue with RPCS3 itself. I don't know if the handler/driver that RPCS3 uses is having a hiccup or what. Maybe something in the background is being called randomly that causes it to "refresh" for a moment? Both emulators use DsHidMini in SXS mode, so I'm not sure what the issue is exactly. Again, there's no deadzone problems, and the controller doesn't have any physical issues, otherwise this would bleed into everything outside of RPCS3, but it doesn't. And in RPCS3 this happens when the controller is completely stationary, so jostling makes no difference to the outcome.

Attach a log file

RPCS3.log

Attach capture files for visual issues

No response

System configuration

Ryzen 7 5700X Eight-Core GTX 1660 Ti 6 GB 32 GB Corsair Vengeance Windows 10 Pro

Something rather important

https://streamable.com/1k2e0r Here is footage of the joysticks being caught hiccuping. Motion controls work and can be read by the emulator, but the values aren't changing because the controller's sitting on the table.

HOWEVER, if you notice, whenever the joysticks hiccup, the motion values in the top left ALSO hiccup for a single frame. So obviously something weird must be going on here overall.

Let me know what else you need to know or want me to try.

mrwallace888 avatar Nov 02 '24 16:11 mrwallace888

I think I have something similar, but more often when I play Persona 5. I start moving on Left Stick. Everything seems to be fine. But after a few milliseconds, the character's running turns into a simple walk. I always push the stick to the limit, but the emulator feels like I'm not pushing it all the way, and I have to crank it all the way back. And this happens all the time

TitleChanQWERTY avatar Nov 02 '24 16:11 TitleChanQWERTY

I haven't been able to check RPCS3 in a long while as I've been super duper busy, but I was wanting to check in to know if this was looked into or not.

mrwallace888 avatar Mar 25 '25 16:03 mrwallace888

@mrwallace888 is that still an issue? please retest

digant73 avatar Oct 25 '25 21:10 digant73

@mrwallace888 is that still an issue? please retest

I'm also having this problem and it's still very much an issue. Any fixes?

I noticed that when I open the pad menu and change settings and/or exit the menu, it creates nearly the same effect. It seems like maybe RPCS3 is constantly resetting the pad.

Awaouf avatar Dec 13 '25 15:12 Awaouf

@Awaouf please describe the issue you have, in which games and where the issue can be easily reproduced

digant73 avatar Dec 15 '25 08:12 digant73

@Awaouf please describe the issue you have, in which games and where the issue can be easily reproduced

It's the exact issue that @mrwallace888 is having above (all of it). I can't seem to make this hiccup happen on demand, but it happens in all games so far and is very easily produced because it's not a problem that goes away. It's quite frequent but the timing isn't even consistent. Sometimes it happens a handful of seconds apart, other times it could happen once every minute. It is very random.

It seems like both sticks glitch equally (probably) left or diagonally up and left. I've left my controller on a flat surface while running a game and my in-game character eventually walked in a full circle from all the hiccups over time. This glitch is especially frustrating when in menus as it makes a 'left direction' input each time.

Just to be clear, just as has been mentioned by the OP, this is exclusively a Dualshock 3 issue and doesn't happen with a Dualshock 4.

Awaouf avatar Dec 16 '25 06:12 Awaouf

@Awaouf so it is enough you simply select the dualshock 3 handler in the Pads dialog with no other changes? which games are affected by this issue and eventually some location where you got easily the issue?

EDIT: Try also to enable the debug input overlay (when in game press the PS button, navigate on debug menu etc. and enable the input debug overlay). see on screen if some values are changed when you get the issue

digant73 avatar Dec 16 '25 09:12 digant73

I haven't been able to get around to testing this due to being busy, but I'll reiterate on some information.

I was using DsHidMini to set the controller to SXS mode so I could take advantage of pressure-sensitive buttons.

The issue happens across all games. And you could see it even doing it in the video I had provided where I used a gamepad testing program inside RPCS3 (gamepadtest.pkg). It just occasionally hiccups with a single frame where suddenly both sticks move. But that streamable link has since expired so I'm reuploading the video here.

https://github.com/user-attachments/assets/38d8eaf2-22f1-4296-850f-625f701772df

This is exclusive to RPCS3, as I use SXS mode as well for the PCSX2 emulator and the issue doesn't happen there, even when I used a gamepad test program on there just to make sure.

mrwallace888 avatar Dec 16 '25 11:12 mrwallace888

can you share this pkg?

digant73 avatar Dec 16 '25 13:12 digant73

I can't upload it here directly, but I'll provide a Drive link. https://drive.google.com/file/d/1Rp7pEVKmb-6OkBxHAjYrS_dTcoh0mXXh/view?usp=sharing

mrwallace888 avatar Dec 16 '25 16:12 mrwallace888

Make sure you're using the latest dshidmini version (v3.5.1)

ItsLaguna avatar Dec 16 '25 17:12 ItsLaguna

tested my 3 DS3 with that testing app and no issue at all. I'm still using the old dshidmini_v2.2.282.0. As suggested by @ItsLaguna, try with a different version of dshidmini and let us know the result

digant73 avatar Dec 16 '25 18:12 digant73

tested my 3 DS3 with that testing app and no issue at all. I'm still using the old dshidmini_v2.2.282.0. As suggested by @ItsLaguna, try with a different version of dshidmini and let us know the result

Did you bind it properly though? If you load like the default preset for SXS in RPCS3 it should've let you use pressure sensitive buttons and stuff. If it's not giving you that feature then it's not using the right bindings.

mrwallace888 avatar Dec 16 '25 19:12 mrwallace888

you should simply configure dshidmini to SXS on HID device mode (see first screenshot) and from RPCS3's Pads menu simply select the DualShock 3 handler and DS3 Pad #1 device (see second screenshot)

Image Image

digant73 avatar Dec 16 '25 22:12 digant73

@mrwallace888, @Awaouf please provide a feedback on this issue. I mean, check or install dshidmini (possibly try the same version I'm using), configure dshidmini and rpcs3 as I reported. Let us know if you fix the issue or if your are doing something different than what I reported

digant73 avatar Dec 18 '25 15:12 digant73