Skip to content
This repository has been archived by the owner on Oct 24, 2021. It is now read-only.

Latency issues #62

Open
ghost opened this issue Dec 20, 2015 · 38 comments
Open

Latency issues #62

ghost opened this issue Dec 20, 2015 · 38 comments

Comments

@ghost
Copy link

ghost commented Dec 20, 2015

At one point whenever I used DS4Windows the emulated controller would have horrible latency.This would persist through PC restarts, restarting DS4Windows, removing the device and connecting it again, removing the bluetooth adapter and connecting it again. It's not the bluetooth that is the problem because i tested the controller without DS4Windows and it works just fine.
Deleting DS4Windows(local, portable install) and redownloading it seems to have fixed the problem.
Sorry I can't give any more information because I really dont know what might have caused it, it just happened. Just to let you know.

@ghost
Copy link
Author

ghost commented Dec 20, 2015

Also, I even tried using a different controller, as I have 2. Nothing changed. Only deleting and redownloading DS4Windows fixed the problem. It was the same version.

@danielbibit
Copy link

I'm having problems with latency too ! I bought a DS4 only to use in my PC, because i saw DS4Windows and it looked pretty awesome. The first time I pair my controller trough bluetooth, the red light started to flash because the latency was around 30ms. After restarting the computer, the latency was around 5ms, but sometimes I still got high latency issues. I'm using a 2.0 Bluetooth from a HP Printer, and 2 cheap dongles I borrowed from my brother. Before DS4Windows, I was using motioninjoy for my DS3 (yeah... i know...), maybe thats the problem, it fuc*** my drivers or something like that. My father's notebook with intregated bluetooth works like a charm, 2ms latency... I'll try to do a clean install and see if i can solve the problem.

@mirh mirh mentioned this issue Dec 28, 2015
@mirh
Copy link

mirh commented Dec 28, 2015

Possibly similar to chrippa/ds4drv#42

@cjrobe
Copy link

cjrobe commented Apr 9, 2016

I have super high latency as well - 30ms and when it sits idle goes up to 75ms. I never used any other bluetooth software before this on this Windows install and I have plugged directly into the rear of computer and I'm holding the controller ~3ft away.

@cjrobe
Copy link

cjrobe commented Apr 10, 2016

SOLVED. At least for me. By default, Windows puts computers, even desktop computers, on "Balanced Power Mode." I put it on high performance and my Input Delay went from 30-80ms to 2ms.

@konng @danielbibit

@hostiphur
Copy link

hostiphur commented Jun 17, 2016

I was able to solve this with a different approach and thought I'd share it. You know, gotta give back to the internet from time to time. I opened the Windows device manager and clicked View > "Devices by connection". This will let you see which port your Bluetooth dongle is connected to.

Expand the tree as follows, or as closely as you can.

    ACPI x64-based PC
        └ PCI Express Root Complex
            └ Standard OpenHCD USB Host Controller
                └ USB Root Hub
                    └ <Your Bluetooth Dongle>

Right click on "USB Root Hub"
Click Properties
Click the Power Management tab
Uncheck the box that says "Allow the computer to turn off this device to save power"
Click OK and you should be good. If not, try restarting your PC.

Again, your tree in the device manager will probably look different, but hopefully the example above will help folks.

*Edit: I originally said to change the power setting on the Bluetooth dongle. That was wrong. Sorry about that.

@foxhndr
Copy link

foxhndr commented Jun 17, 2016

Came across this post while searching for a resolution to latency issues while connected via bluetooth. Tried everything - updating BT drivers, repairing countless times, toggling every DS4Windows setting, etc, yet nothing worked. As simple as it sounds @cjrobe 's solution worked for me. Went from constantly blinking red light on the DS4 to a flawless connection from the living room sofa. Bluetooth DualShock 4 controller is now working great in Witcher 3. For reference I am running Windows 10 using the built-in bluetooth on an ASRock motherboard.

@SalahAdDin
Copy link

I have these problem since some months ago... it's annoying.

@sfenne
Copy link

sfenne commented Jul 11, 2016

@cjrobe I can confirm your method works. My spikes are completely gone and latency is reduced to 1-2.

Thank you so freekin much. Saved me alot of further headache

@SalahAdDin
Copy link

I have the same problem yet.

@danielbibit
Copy link

Changing the power mode did nothing for me :/ I had problems with an HP Bluetooth dongle 2.0, for an really old printer. I bought a new one, a orico adapter with CSR8510 on it, although the developer said that the software don't work with CSR chips, worked like a charm for me. 2ms latency in a 5 meters range :D

@sfenne
Copy link

sfenne commented Sep 14, 2016

@danielbibit Weird. This adapter you speak of is of type class 2.

The Power mode-setting does not have any change in effect for me anymore. Microsoft did some Bluetooth changes in their latest updates for Windows 10.

The location of my Bluetooth "antenna" is behind my computer, under my desk, so I bought a new class 1 adapter and placed it in front, which improved the signal significantly.

Class 1 = range of ~100 meters
Class 2 = range of ~10 meters
Class 3 = range of ~1 meter
Class 4 = range of ~0,5 meters

@drewnoakes
Copy link

Changing the power plan to "Performance" dropped the latency immediately on my machine. It was 50ms+ beforehand. Now it's much closer to 2ms. Thanks @cjrobe :)

@drewnoakes
Copy link

It might be a useful feature for DS4Windows to detect the power plan and notify the user if their plan might increase latency.

@iron-mors
Copy link

iron-mors commented Oct 19, 2016

Well I tried both @cjrobe and @hostiphur solutions and when on idle the controllers are at ~5-7 ms input lag. But if I keep them running for some time it gets worse, and when I play it easily starts going above 13 ms with the lights blinking like it's christmas.
Will try to reinstall the driver and DS4 and see if it helps...

Edit: reinstalled, restarted etc. And the delay was between 2-3 and 14-15 on "high load".
What did help however is to place the pads closer to the adapter ;)
Yeah I know... I should've checked it first.

@chasty42
Copy link

Absolute legends. I tried hostiphur's solution however as I just bought an Intel AC-7260 which is a PCIe card with bluetooth that is connected via a cable between the card and a USB header, I didn't have the option for "Standard OpenHCD USB Host Controller".

In this instance though under "Bluetooth" in standard 'Devices by Type' view and then by setting the "properties" via a right click, I unchecked "Allow the computer to turn off this device to save power" and now it works like an absolute charm.

I hope this makes this guide a more complete solution to this issue.

@Morpheus0001
Copy link

Thanks a lot chasty42. I had the same problems using a Xiaomi Controller. Changing both the system's energy profile USB power setting and the Bluetooth setting seems to have solved the issues.

I am writing this since I found this thread using Google and searching for input lag problems for the Xiaomi Controller. However, as it seems, the issues are independent of the controller type, but instead Windows is the hurdle to take, once again. A new search by another Xiaomi user may come across this thread more easily now :-)

Thanks for the solutions!

@oboewan42
Copy link

Three more things you can try that should help if the power plan thing doesn't work:

  1. Close the Windows Bluetooth pairing/settings window, if it's open.
  2. If your Bluetooth adapter is plugged into a USB 3.0 port, try moving it to a USB 2.0 port.
  3. Put your Bluetooth adapter on a USB extension cable - the purpose of doing this isn't to put it closer to the controller, as it is to move it away from the rest of your computer.

@Oligaga
Copy link

Oligaga commented May 8, 2017

@cjrobe I applied your method and it works flawlessly, thank you very, very much!

I had several issues with latency using the PS4 Controller with the last version of InputMapper (1.6.10), i read on some forums that even now Steam Supports PS4 Controllers you will need to use a mapper to make it work but this mess the control sensitivity on Steam Big Picture and i couldn't select some areas of the menu.
So finally I uninstalled InputMapper after arranging the Hi Performance Power Settings and the re-paired the PS4 controller using only Steam, i have no issues with latency or control sensitivity.
So my advice:

  • Don't use a mapper
  • Apply @cjrobe method

@bignana4
Copy link

@hostiphur, I just joined this forum just to thank you for your idea. My latency no longer persists. 👍👍👍👍👍

@Atsoup
Copy link

Atsoup commented Aug 6, 2017

I have tackled this issue for a very long time and recently decided to give it another go. I have just fixed the issue, and the changes I made were the following:

  • I changed the location of my Bluetooth device (Kinivo) to a USB 2.0 slot.
  • The next steps I list are what I believe to be the solution to our problem.
  1. Go into Device Manager by typing Device Manager in Windows search bar (http://i.imgur.com/GaRRPSq.png).
  2. Click on view, and click 'Devices by Connection'.
  3. Scroll down until you find 'Scp Virtual Bus Driver', and expand it by clicking on the arrow (It looks like this: http://i.imgur.com/c4wKZh5.png)
  4. Right click on USB Input Device, and click Properties.
  5. Click on Power Management, and untick the box that states 'Allow the computer to turn off this device to save power' (http://i.imgur.com/AwdEaJN.png).
  6. Press OK, and close the Device Manager.
  7. The problem should fix itself immediately. If not, try restarting your computer. I am now getting under 2ms input delay (http://i.imgur.com/ovkcYyc.png).

@cooperate
Copy link

cooperate commented Aug 12, 2017

I've noticed whenever I open Dolphin the latency issue seems to pop up. Controller starts flashing red intermittently. The moment I close Dolphin the issue disappears. This doesn't happen with Steam.

EDIT: For anyone having similar troubles "Continuous Scanning" in Dolphin for wiimotes seem to trigger the latency with DS4Windows.

@demjj
Copy link

demjj commented Sep 26, 2017

hostiphur and Atsoup solution works fine! thx
Just find your device under Bluetooth devices tab (it can be something like HID-compatible dev) and uncheck the box in power management settings.

<2 ms immediately (10-15ms before).

@Joiistick
Copy link

Recently purchased a cheap dongle from Aliexpress. The controller would pair but disconnect from DS4 seconds later. I tried @hostiphur and @cjrobe methods but no luck. Successfully, @oboewan42 had the right method to use a USB2 port! TYVM

@christopherkmoore
Copy link

I've noticed when I leave the Bluetooth menu open on Windows 10 after I've paired the device it will continually look for new devices and the latency jumps from around 2ms to ~ 40ms. Just close the window and it jumps back down.

@YumanC
Copy link

YumanC commented Dec 29, 2017

I am pretty desperate. My OS is Windows 7, my Wifi/Bluetooth card is a Gigabyte GC-WB867D-I REV Bluetooth 4.2. No matter what I try, there is still latency issues and red flashes using a DualShock 4 controller. This is pretty game-breaking for games like COD Black Ops 3 Zombies where the minimum input lag can cost you the game. @cjrobe method didn't work, for @hostiphur method I dont have a ''Standard OpenHCD USB Host Controller'' under PCI Express Root Complex, for @Atsoup method I right click on USB Input Device and then click Properties, but there is no tab for ''Power Management'' https://imgur.com/a/C1DZ7, neither for what's under USB Input device: HID-compliant game controller. I tried to untick the box that states ''Allow the computer to turn off this device to save power'' for Inter(R) Wireless Bluetooth(R) but that didn't fix the issue. HELP!!!

@sojour7
Copy link

sojour7 commented Jan 19, 2018

hey guys, ive read most of the comments trying to find a solution to my problem and ive tried most of them out, (if not all of them) and i am still unable to connect both of my ps4 controllers. when im just running one theres no problem. everythin runs great and theres no lag or anything. but as soon as i try to connect the second controller the latency starts going crazy. latency normally starts going 10ms over or under for both the controllers and they star lighting intermittently from blue to red and white to red respectively. i was wondering if anyone might be able to give me a suggestion as to what might be happening and how to fix it. i thought about buying a class I USB but im not sure that that will solve my problems and id rather not spend money if i dont have to

@mirh
Copy link

mirh commented Jan 19, 2018

You should like check the newer fork

@sirace666
Copy link

sirace666 commented Mar 21, 2018

Hi where to find the program for Input delay display...? THX

http://i.imgur.com/ovkcYyc.png

@tliron
Copy link

tliron commented Nov 25, 2018

@bliinkk
Copy link

bliinkk commented Dec 11, 2018

I still have problems with latency on my controller everytime I launch up Fortnite. I've tried all of these fixes and none of them seem to work for me.

@Emertels
Copy link

Emertels commented Aug 20, 2020

Here are some tips for troubleshooting DS4 connection and input lag issues in DS4Windows.
I purchased my DS4 for the first time, and even the Control configured perfectly with DS4Windows and with everything properly installed, even though it was still disconnecting, the Lightbar turned red and suffered from a lot of Input Lag. So I went in here and made some of the suggestions that are in the comments, and soon my problems were solved.

1 - Uninstall DS4Windows, reinstall it externally -> "Program Folder" instead of the folder inside DS4Windows (the program can be more precise with that).

2 - Connect your Bluetooth adapter to the front of the computer preferably in a USB 2.0 port (it can greatly improve the stability).

3 - Enable the option "High performance" in the Windows Power Plan settings, suggested by @cjrobe (I believe it is one of the main reasons for the Input Pag).

4 - Use a cleaning program and scan to clean unnecessary items and then restart your computer (this can help too, it doesn't hurt to try).

5 - And finally connect your DS4 to your computer and redo the configuration in DS4Windows.

BONUS: Try to keep your Bluetooth Adapter as far away from the Router as possible (the Router can cause interference), turn off Wi-Fi on your notebook or computer (only if the DS4 has a slightly high Input Lag even with the tips above) . With these bonus tips it can also help. It doesn't cost to test!

I only made the first 3 options and the connection and input lag problems were solved. Good Look!

@HbSpartanIV
Copy link

just go to services and disable the bluetooth support service, you can still use bluetooth but windows will stop auto detecting new bluetooth devices that in pair mode.

@petrunov
Copy link

None of the above worked for me :(

@Emertels
Copy link

Emertels commented Dec 26, 2020

None of the above worked for me :(

Did you follow all my instructions?

This is one of the best Bluetooth Adapters today -> Orico BTA-508

Buy on Aliexpress. I bought it and arrived in 16 days here in Brazil.

This site always provides the latest versions of Emulators and also DS4Windows -> https://www.emucr.com/search/label/PS4?&max-results=16

@petrunov
Copy link

petrunov commented Dec 26, 2020

None of the above worked for me :(
This is one of the best Bluetooth Adapters today -> Orico BTA-508

Thanks but I don't think it's the dongle - used to work without problems. Issue was probably caused by software update/change.
At this point I've decided I've wasted too much of my life with DS controller on PC and instead of ordering a dongle I've ordered the XBox controller.

@Emertels
Copy link

None of the above worked for me :(
This is one of the best Bluetooth Adapters today -> Orico BTA-508

Thanks but I don't think it's the dongle - used to work without problems. Issue was probably caused by software update/change.
At this point I've decided I've wasted too much of my life with DS controller on PC and instead of ordering a dongle I've ordered the XBox controller.

Very strange to be like this!

Place the adapter in front of the computer (USB 2.0 port), enable the High Performance option in the Windows power plan, download the DS4Windows from the website I sent you and finally configure everything again.

It is not possible that it will not work. Redo everything AGAIN!

@mirh
Copy link

mirh commented Dec 26, 2020

USB3 is absolutely devastating for bluetooth.

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

No branches or pull requests