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

Playstaion controllers cause framerate hiccups #10786

Closed
JimScript opened this issue Aug 28, 2021 · 9 comments · Fixed by #10787
Closed

Playstaion controllers cause framerate hiccups #10786

JimScript opened this issue Aug 28, 2021 · 9 comments · Fixed by #10787

Comments

@JimScript
Copy link

Quick summary

0.0.17-669 #10770 has caused every game to hiccup when using a PS controller.

Details

When a pad is set to a dualshock 3, a dualshock 4, or a dualsense the emulator experiences framerate hiccups. This does not happen when I set it to anything else. This has never happened before, and when I roll back to 0.0.17-668 #10690 it is fixed.

0.0.17-668:
FrameTimeBefore

0.0.17-669:
FrameTimeAfter

0.0.17-669 with keyboard:
FrameTimeKeyboard

Please provide your system configuration:

  • SYS: AMD Ryzen 5 3600 6-Core Processor | 12 Threads | 15.95 GiB RAM | TSC: 3.600GHz | AVX+ | FMA3
  • SYS: Operating system: Windows, Major: 10, Minor: 0, Build: 19043, Service Pack: none, Compatibility mode: 0
  • RSX: Found vulkan-compatible GPU: 'NVIDIA GeForce RTX 2070 SUPER' running on driver 471.68.0.0
  • SYS: Firmware version: 4.85

(if you need anymore information please tell me)

@Erinaaaaaaa
Copy link

Is it anything similar to the regular framedrops I see in this video? Also using a DualShock 4.

Specs:

  • AMD Ryzen 5 3600
  • NVIDIA GeForce GTX 1060 6GB on driver 471.68
  • 16GB DDR4 @ 2666MHz
  • Windows 11 Insider Dev 22000.168

@JimScript
Copy link
Author

It is a bit harder to tell with the lower framerate, but you can test on any game. Switch to keyboard or xinput and the problem clears up. But this does seem to be the same problem, it's weird no one noticed this prevailing problem. Maybe it only affects AMD cpus?

@Erinaaaaaaa
Copy link

I hadn't tested, but XInput does remove any and all stutters.

The lower framerate is mostly why I kept the frametime graph onscreen, in which you can see regular spikes. The audio also helps a ton at figuring out when framedrops occurs.

As for AMD CPUs, my laptop, with a Ryzen 5 3550H (equivalent to gen 2 desktop ryzens iirc) does not have the issue at all, despite featuring similar specs to my desktop machine (specs in my previous comment) otherwise.

@JimScript
Copy link
Author

JimScript commented Aug 29, 2021

Then it must be the nvidia driver, but I don't know how a graphics driver can cause PS controller inputs to make games stutter. Maybe it has to do with the lights, but this affects 3, 4, and sense all the the same.

@Erinaaaaaaa
Copy link

I'm thinking it could also have something to do with Ryzen CPU generations/architecture, but we'd need more players to test things out to confirm this; it doesn't help that we both have the exact same Ryzen 5 3600 CPU (a Zen 2 CPU) that shows the issue.

The Ryzen 5 3550H is instead Zen+, the generation just before.

@JimScript
Copy link
Author

JimScript commented Aug 29, 2021

Yeah the driver thought was a bit of a stretch, desktop cpus and mobile cpus are known to be different in at least some ways. I wonder if the committer has an intel or an older amd cpu and doesn't know how it would react to zen 2 or 3 architecture.

@coolllman
Copy link

Not fixed, input lag when choose ds4 and dualsense on bt, xinput all good

@coolllman
Copy link

Since 0.0.17-669

@coolllman
Copy link

Dualsense bluetooth input lag (ds4windows stoped), dualsense with ds4windows xinput no input lag, why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants