Ryochan7 / DS4Windows

Like those other ds4tools, but sexier
https://ryochan7.github.io/ds4windows-site/
GNU General Public License v3.0
7k stars 808 forks source link

Connecting 2nd controller results disconnection 1st one #2458

Closed yarodevuci closed 11 months ago

yarodevuci commented 2 years ago

I am not 100% sure if that's a bug or no but here is my steps.

  1. I connected 1st PS4 controller. It appeared in the DS4
  2. I connected 2nd PS5 controller. It appeared in DS4 as Controller 2nd

Few seconds later Controller 1st gets disconnected. So I am not able to have 2 controller at the same time.

I have tried connecting Kensington Bluetooth USB Dongle; however, DS4 does not see the controller.

I am using a PC with MSI Godlike Motherboard. Turning the WiFi OFF did not do anything.

Here some Logs:

07/09/2022 00:47:16: The gamepad DS4 v.2 (BT) uses custom feature set (MonitorAudio)
07/09/2022 00:47:16: Found Controller: 4C:B9:9B:06:D9:1A (BT) (DS4 v.2)
07/09/2022 00:47:16: Plugging in virtual X360 Controller
07/09/2022 00:47:16: Associate X360 Controller in slot #1 for input DS4 v.2 controller #1
07/09/2022 00:47:16: Controller 1 is using Profile "Default". Battery level is 87%
07/09/2022 01:02:46: Found Controller: D0:BC:C1:D6:71:56 (BT) (DualSense)
07/09/2022 01:02:46: Plugging in virtual X360 Controller
07/09/2022 01:02:46: Associate X360 Controller in slot #2 for input DualSense controller #2
07/09/2022 01:02:46: Controller 2 is using Profile "Default". Battery level is 75%
07/09/2022 01:02:49: 4C:B9:9B:06:D9:1A disconnected due to read failure: 997
07/09/2022 01:02:49: Gamepad data write connection is lost. Disconnecting the gamepad. LastErrorCode=0
07/09/2022 01:02:49: Disassociate X360 Controller from slot #1 for input DS4 v.2 controller #1
07/09/2022 01:02:49: Unplugging virtual X360 Controller
07/09/2022 01:02:49: Controller 1 was removed or lost connection
07/09/2022 01:18:14: D0:BC:C1:D6:71:56 disconnecting due to idle disconnect
07/09/2022 01:18:14: Disassociate X360 Controller from slot #2 for input DualSense controller #2
07/09/2022 01:18:14: Unplugging virtual X360 Controller
07/09/2022 01:18:14: Controller 2 was removed or lost connection
07/09/2022 01:19:00: Found Controller: D0:BC:C1:D6:71:56 (BT) (DualSense)
07/09/2022 01:19:00: Plugging in virtual X360 Controller
07/09/2022 01:19:00: Associate X360 Controller in slot #1 for input DualSense controller #1

Please help.

Masamune3210 commented 2 years ago

Try with USB, could be your Bluetooth chipset just can't handle two controllers worth of data at once, especially since DS4 and DualSense both use up more bandwidth than a typical controller would due to light bar, rumble, and motion all talking at once

yarodevuci commented 2 years ago

@Masamune3210 USB is not an option since I am streaming to a TV. But 2 PS4 controllers should work fine or it will be same issue ?

Ryochan7 commented 2 years ago

Did you have Steam running at the time? Even if you do not have PlayStation Configuration Support enabled for Steam Input, Steam can do some init sequence for the DS4 and DualSense if it detects a controller. That could cause some odd behavior if both apps try to perform a mode change on the controller around the same time.

yarodevuci commented 2 years ago

@Ryochan7 no steam process was running at that time.

Trihy commented 2 years ago

2 x PS4 controllers could be a better option. They take less BW than one dualsense. Also intel BT adapters are bad at handling more than one controller.

jydhthrshrhty commented 2 years ago

This is a classic bug with hidhide not configured properly; 1 update VIGEmBus https://github.com/ViGEm/ViGEmBus/releases 2 update hidhide https://github.com/ViGEm/HidHide/releases 3 reboot 4 run DS4windows as admin 5 configure hidhide (type it in cortana) 6 in applications tab you should have hidhidecliend.exe and DS4windows.exe 7 in devices tab put a lock on sony interactive entertainment BUT sony COMPUTER is fine or xbox 360... its depend of your emulation 8 close hidhide 9 in controllers tab of DS4windows if you see a key and NOT a x or check then you have fixed your problem 10 you may need to click stop start to see the key

jydhthrshrhty commented 2 years ago

2 x PS4 controllers could be a better option. They take less BW than one dualsense. Also intel BT adapters are bad at handling more than one controller.

not true at all we have played here 4-8 controller with a ax210 at the same time here

Trihy commented 2 years ago

That's not possible with that BT adapter. Maybe PS4 controllers with disabled send output data.

With dualsense more than one is not stable unless you disable send output data.

Internet is full of reports of Intel BT cards and this problems.

AsheX1 commented 2 years ago

i can confirm this 2x intel BL is bad it can do 1 controller DS4 or 5 but as soon as i hook up 2 controllers either 2 DS4 or 5 one of the 2 are gone get disconnect at random in a 1 min time frame somewhere

AsheX1 commented 2 years ago

some dit tell me something like a few days ago to turn off power saving in (Device Manager) looking at it now Device Manager > Human Interface Devices > anything BL related if it has a power management tab

i may need to re-test my controllers to see if it can hanlde 2 or maybe even 3,4

Trihy commented 2 years ago

Hi. Not sure about that. Dont think it will help that much. Must be a driver or hw limitation.

Another thing this intel bt adapters cant do, is connecting one dualsense and one bt headset. You have to connect the bt headset before dualsense or wont connect at all. And if you stop the audio stream, headset will disconnect and wont reconnect until you turn off the dualsense. A really great bt adapter. lol.

AsheX1 commented 2 years ago

wel after a quick test my 2 PC's can now do 2 PS5 controllers Device Manager > Human Interface Devices > just check everything and disable power saving on everything

intel power saving is useless like allways

Trihy commented 2 years ago

Hi. Try to be more specific, so we can make some test. Also if you have a bt headset, try it too. Thanks

AsheX1 commented 2 years ago

gone need to check for more stuff to hook up wish i knew where my PS4 controllers are right now

Trihy commented 2 years ago

Sure, try to do some test when you have time and report findings.

AsheX1 commented 2 years ago

once i have some more time and am home again im gone test some more kinda busy IRL work stuff on the road etc i have not forgot about this just a reminder

Trihy commented 2 years ago

Sure, no problem. Sometimes I can get both to work, but without changing any setting.

CaptainM19 commented 2 years ago

I've got the same issue. I can connect Dualsense and Dualshock 4 to my laptop just fora few seconds and one of these is suddenly loosing connection. Can You help me, because i made everything what @jydhthrshrhty said and the situation is still the same? My OS: Windows 11 21H2

Trihy commented 2 years ago

I've got the same issue. I can connect Dualsense and Dualshock 4 to my laptop just fora few seconds and one of these is suddenly loosing connection. Can You help me, because i made everything what @jydhthrshrhty said and the situation is still the same? My OS: Windows 11 21H2

The only solution atm is getting a better BT adapter.

sergiu99 commented 1 year ago

to confirm, on my end cannot handle PS5 and PS4 controller together with Intel AX210

Trihy commented 1 year ago

There are threads on Intel wireless forum about this problem. Add your experience to them so they cant ignore us anymore and fix this expensive trash adapters.

Tristan-2i commented 1 year ago

I have the same problem. When I connect two controllers (dualshock 4 and 5) in bluetooth no problem but as soon as I start ds4 Windows one of the two controllers disconnects (the dualshock 4). No problem with only one controller connected and no problem without ds4 windows. I have tried different fixes and I have HidHide configured. Has anyone found a solution?

Trihy commented 1 year ago

Which BT adapter do you have?

Tristan-2i commented 1 year ago

Which BT adapter do you have?

I have a legion 5 pro laptop so I can't realy changer the BT adapter. Is it really a BT adapter problem since everything works fine without ds4 windows?

Trihy commented 1 year ago

Intel AX BT cards support 1 and a half dualsense.

The half means sometimes the second controller could stay connected for a while, sometimes just a few seconds. It doesn't support 2 dualsense or 1 dualsense + other controllers at the same time without disconnects.

Buy a BT dongle or report the problem to intel to see if they can help.

Tristan-2i commented 1 year ago

Intel AX BT cards support 1 and a half dualsense.

The half means sometimes the second controller could stay connected for a while, sometimes just a few seconds. It doesn't support 2 dualsense or 1 dualsense + other controllers at the same time without disconnects.

Buy a BT dongle or report the problem to intel to see if they can help.

My old legion y520 laptop can easly connect multiples controllers and my new one can't ?

Trihy commented 1 year ago

Sure. It's a problem, limitation, driver, firmware, etc of Intel AX BT cards.

Since most people doesn't report the problem to intel, probably will never get fixed.

Tristan-2i commented 1 year ago

Sure. It's a problem, limitation, driver, firmware, etc of Intel AX BT cards.

But why is there a problem only with ds4 windows? Is it possible to fix it by installing another driver ?

Trihy commented 1 year ago

It's not a problem with ds4. It's a know problem and reported several times. It's an Intel problem. Sure you can try other drivers, some older ones works better.

Tristan-2i commented 1 year ago

I've been looking for a solution for a long time now and I don't see much talk about this subject (only one post on intel and very few on google) So there is no solution for the moment?

Trihy commented 1 year ago

Most users uses just one controller. So there won't be many reports.

Only solution is stop buying faulty products. Intel don't give a f as they keep selling.

Some users reported drivers from 2 years ago works a little better. But they aren't compatible with all AX cards.

Ryochan7 commented 1 year ago

I can connect 3 devices at once with my BT 4.0 dongle without any issues (1 DS4 v.2, 1 DualSense, 1 Switch Pro). Not much can be done if there is something wrong up the chain like with the Bluetooth hardware or the Bluetooth software stack being used.

Comparing vanilla behavior (DInput mode) to using DS4Windows is not a valid comparison due to the mode switch that takes place. Better to compare behavior in DS4Windows to Steam Input as both will perform the mode switch to get the additional data from the controller (gyro, touchpad). Also, getting the faster input poll rate which makes a big difference.

Tristan-2i commented 1 year ago

I can connect 3 devices at once with my BT 4.0 dongle without any issues (1 DS4 v.2, 1 DualSense, 1 Switch Pro). Not much can be done if there is something wrong up the chain like with the Bluetooth hardware or the Bluetooth software stack being used.

Comparing vanilla behavior (DInput mode) to using DS4Windows is not a valid comparison due to the mode switch that takes place. Better to compare behavior in DS4Windows to Steam Input as both will perform the mode switch to get the additional data from the controller (gyro, touchpad). Also, getting the faster input poll rate which makes a big difference.

Indeed the problem happens also with steam, even on windows without having launched anything

jydhthrshrhty commented 1 year ago

What is your Bluetooth peripheral. Sent from Proton Mail for iOS On Mon, Dec 19, 2022 at 15:12, Tristan-2i @.***> wrote:

I can connect 3 devices at once with my BT 4.0 dongle without any issues (1 DS4 v.2, 1 DualSense, 1 Switch Pro). Not much can be done if there is something wrong up the chain like with the Bluetooth hardware or the Bluetooth software stack being used. Comparing vanilla behavior (DInput mode) to using DS4Windows is not a valid comparison due to the mode switch that takes place. Better to compare behavior in DS4Windows to Steam Input as both will perform the mode switch to get the additional data from the controller (gyro, touchpad). Also, getting the faster input poll rate which makes a big difference.

Indeed the problem happens also with steam, even on windows without having launched anything

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Trihy commented 1 year ago

Ryo, which BT dongle are you using? So people can buy it or look something similar.

Many works fine. But dualsense is a little BW hungry. Heard good compatibility with tplink ones (the ones not based on Intel ax) Most brands have some adapters based on Intel chips, usually called AX something.

Besides Intel lame adapters. I have some generic cheap ones (BT5.0), that once paired and connected with a dualsense, they can't even find other devices for pairing.

Masamune3210 commented 1 year ago

I'm not Ryo, but with both my DualSense and my DS4 connected at the same time and both vibrating as a quick test, I had no issues with this one https://www.amazon.com/Bluetooth-Receiver-Keyboards-Controllers-USB-BT400/dp/B00DJ83070

Trihy commented 1 year ago

Great to know. Sooner or later we will have to do a thread about compatible adapters for more than one controller. 2 controllers not so usual on PC. But 4 even less. So people reporting up to 4 controllers compatibility will be great too. And the type of controller, since for example some Intel cards can tolerate 2 ds4 but not 2 dualsense.

Just like the dolphin wiki about passthrough BT adapters.

Tristan-2i commented 1 year ago

I'm really interested in finding a BT dongle that supports up to 4 controllers or more if I can't find a solution with my built-in bluetooth

Tristan-2i commented 1 year ago

If anyone is interested, I'm continuing my research and it looks like a bluetooth driver problem since version 21.0.0.4

I have opened a thread on the intel forum: https://community.intel.com/t5/Wireless/bluetooth-disconnection-with-multiple-controllers/td-p/1439726

I have opened a thread on the Lenovo forum: https://forums.lenovo.com/t5/Gaming-Laptops/bluetooth-disconnection-with-multiple-controllers/m-p/5190280

And an old topic mentions the same problem: https://community.intel.com/t5/Wireless/Can-Intel-AC-9260-Bluetooth-work-with-4-concurrent-PlayStation/td-p/662264

EliasBey commented 1 year ago

Hey guys, i may have found a solution to our problem.

I suspected the issue to be the intel card not recognizing the controllers being individual and independent so what i did was going to control pannel then device and printers (it may not be the same name, i'm sry i don't have my pc at hand) then you select the wireless controlers ( you should have one at least) and you go the window bluetooth there you should be able to double click on Wireless Controller and change its name to whatever you want (it is a way to show the card that you're not trying to connect the same controller again and again) once you change that you click on apply and you can try to reconnect your other controller / it may be the same procedure for many controllers you only have to renamme more i guess.

So that's how it worked for me hope it works for you too, and also if you can just copy paste my answer on the threads above in order to help more people as i don't have accounts on those websites.

Tristan-2i commented 1 year ago

Hey guys, i may have found a solution to our problem.

I suspected the issue to be the intel card not recognizing the controllers being individual and independent so what i did was going to control pannel then device and printers (it may not be the same name, i'm sry i don't have my pc at hand) then you select the wireless controlers ( you should have one at least) and you go the window bluetooth there you should be able to double click on Wireless Controller and change its name to whatever you want (it is a way to show the card that you're not trying to connect the same controller again and again) once you change that you click on apply and you can try to reconnect your other controller / it may be the same procedure for many controllers you only have to renamme more i guess.

So that's how it worked for me hope it works for you too, and also if you can just copy paste my answer on the threads above in order to help more people as i don't have accounts on those websites.

I just tested and it doesn't seem to work for me with DS4Windows enabled to map to xbox 360 the second one disconnects

image
Trihy commented 1 year ago

Since I could find some dongles to try, started a compatibility list.

https://github.com/Trihy/BT-Dongle-Compatibility-List

Report findings and will add them.

fcuadros commented 1 year ago

I just bought a brand new Asus TUF Gaming F15 which is a gaming laptop, specifially to do some gaming party with friends on a TV, each one using gamepads (around 4) and got this problem, it sucked big time, i confirm this laptop is using Intel AX 210

Trihy commented 1 year ago

Yes, sadly they refuse to recognize the problem.

I don't have 4 controller to try, if you test 4 with other BT dongle, report and will add to the list.

elliopitas commented 1 year ago

same problem with intel killer 1650i if multiple controllers are connected they work for some time but they keep disconnecting.

Trihy commented 1 year ago

Thanks for reporting. Added 1650 to the sh*tty adapter list.

https://github.com/Trihy/BT-Dongle-Compatibility-List

Here are newer than intel web BT drivers for AX cards https://rog-forum.asus.com/t5/intel-700-600-series/drivers-intel-ethernet-wifi-bluetooth/td-p/878985

If anyone wants to try and report.

BetaRavener commented 1 year ago

Happy to finally find this thread after so many articles suggesting all kinds of crap. Same experience, PS4 controller loses connection seconds after connecting PS5 controller. Intel AX210 on motherboard but with nice cabled antennas to reduce interference. I'll also try posting on the Intel forums, but so far there has been no development on the story from Intel side, correct? Given that I have latest driver according their utility I guess not.

Trihy commented 1 year ago

They couldnt care less. It´s a BW problem, not a signal problem.

Just avoid buying all AX trash.

Nitheesh365 commented 1 year ago

This is a classic bug with hidhide not configured properly; 1 update VIGEmBus https://github.com/ViGEm/ViGEmBus/releases 2 update hidhide https://github.com/ViGEm/HidHide/releases 3 reboot 4 run DS4windows as admin 5 configure hidhide (type it in cortana) 6 in applications tab you should have hidhidecliend.exe and DS4windows.exe 7 in devices tab put a lock on sony interactive entertainment BUT sony COMPUTER is fine or xbox 360... its depend of your emulation 8 close hidhide 9 in controllers tab of DS4windows if you see a key and NOT a x or check then you have fixed your problem 10 you may need to click stop start to see the key

Hi, I've the same issue. Tried this, but the Controllers Ex stays in X and the second controller keeps disconnecting after some time (can play for a bit). Any idea how to solve? Thank you for your time

Trihy commented 1 year ago

This is a classic bug with hidhide not configured properly; 1 update VIGEmBus https://github.com/ViGEm/ViGEmBus/releases 2 update hidhide https://github.com/ViGEm/HidHide/releases 3 reboot 4 run DS4windows as admin 5 configure hidhide (type it in cortana) 6 in applications tab you should have hidhidecliend.exe and DS4windows.exe 7 in devices tab put a lock on sony interactive entertainment BUT sony COMPUTER is fine or xbox 360... its depend of your emulation 8 close hidhide 9 in controllers tab of DS4windows if you see a key and NOT a x or check then you have fixed your problem 10 you may need to click stop start to see the key

Hi, I've the same issue. Tried this, but the Controllers Ex stays in X and the second controller keeps disconnecting after some time (can play for a bit). Any idea how to solve? Thank you for your time

Yes. Buy a better BT adapter.