PS3 Controllers (BT) Changing Order When 4th One Connected
-
UPDATE: If I install RA 1.7.3 from the Ubuntu repo, I do not experience this issue.
Pi Model or other hardware: Asus CN65 (also on Lenovo T430 and HP Prodesk 600 G2)
Power Supply used: N/A
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.7.1
Built From: Ubuntu Mini 20.4.1, 21.04 Desktop, 20.04 Desktop
USB Devices connected: Lenovo KB and Mouse, BT dongle
Controller used: 4x Genuine PS3 Dualshock Sixaxis
Error messages received: None
Verbose log (if relevant): Can provide if needed
Guide used: Debian RP install on RP docs
File: (File with issue - with FULL path)
Emulator: testing on tmnt.zip using lr-fbneo
Attachment of config files:
How to replicate the problem: Install Ubuntu desktop 20.4 and install RP via documentation. Install sixaxis driver package via RP setup script. Connect one PS3 controller via USB and map buttons. One by one, connect each PS3 controller via BT using the standard method.I'm having an issue with trying to use 4 genuine PS3 controllers via BT. I am able to connect/register each without issue.
When I power on one controller and launch TMNT (fbneo), the led indicator says it is P1 and everything works as expected (mapped to P1).
When I power on a second controller and launch TMNT (fbneo), the led indicator says it is P2 and everything works as expected (P1 mapped to P1, P2 mapped to P2).
When I power on a third controller and launch TMNT (fbneo), the led indicator says it is P3 and everything works as expected (P1 mapped to P1, P2 mapped to P2, P3 mapped to P3).
When I power on a fourth controller and launch TMNT (fbneo), the led indicator says it is P4, however, P1 is now P2 in-game (LED still says P1), P2 is now P3 in-game (LED still says P2), P3 is now P4 in-game (LED still says P3) and P4 is now P1 in game (LED still says P4).Also, I have to use the P4 controller to exit the game (select+start). The controller that has LED1 lit will not work as it is technically P2 now.
FYI...I see the exact same issue is the standalone Dolphin EMU. The 4th controller takes ownership of P1.
As far as I can tell, everything looks correct in /dev/input. Check the timestamps as I powered on the controllers 1 minute apart.
crw-rw----+ 1 root input 13, 0 Nov 13 10:28 js0 crw-rw----+ 1 root input 13, 1 Nov 13 10:29 js1 crw-rw----+ 1 root input 13, 2 Nov 13 10:30 js2 crw-rw----+ 1 root input 13, 3 Nov 13 10:31 js3
This is what I see in es_log.txt when I power on each controller, start TMNT, and exit the game:
Nov 13 10:28:26 lvl2: Added known joystick Sony PLAYSTATION(R)3 Controller (instance ID: 14, device index: 0) Nov 13 10:29:06 lvl2: Added known joystick Sony PLAYSTATION(R)3 Controller (instance ID: 15, device index: 1) Nov 13 10:30:08 lvl2: Added known joystick Sony PLAYSTATION(R)3 Controller (instance ID: 16, device index: 2) Nov 13 10:31:09 lvl2: Added known joystick Sony PLAYSTATION(R)3 Controller (instance ID: 17, device index: 3) Nov 13 10:31:35 lvl2: req sound [basic.launch] Nov 13 10:31:35 lvl2: (missing) Nov 13 10:31:36 lvl2: Attempting to launch game... Nov 13 10:31:36 lvl2: /opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ fba /home/pi/RetroPie/roms/fba/tmnt.zip Nov 13 10:32:08 lvl2: Creating window... Nov 13 10:32:08 lvl2: Created window successfully. Nov 13 10:32:08 lvl2: GL vendor: Intel Nov 13 10:32:08 lvl2: GL renderer: Mesa Intel(R) HD Graphics 5500 (BDW GT2) Nov 13 10:32:08 lvl2: GL version: 4.6 (Compatibility Profile) Mesa 20.1.8 Nov 13 10:32:08 lvl2: Checking available OpenGL extensions... Nov 13 10:32:08 lvl2: ARB_texture_non_power_of_two: ok Nov 13 10:32:09 lvl2: Added known joystick Sony PLAYSTATION(R)3 Controller (instance ID: 18, device index: 0) Nov 13 10:32:09 lvl2: Added known joystick Sony PLAYSTATION(R)3 Controller (instance ID: 19, device index: 1) Nov 13 10:32:09 lvl2: Added known joystick Sony PLAYSTATION(R)3 Controller (instance ID: 20, device index: 2) Nov 13 10:32:09 lvl2: Added known joystick Sony PLAYSTATION(R)3 Controller (instance ID: 21, device index: 3) Nov 13 10:32:09 lvl2: Added known joystick Sony PLAYSTATION(R)3 Controller (instance ID: 18, device index: 0) Nov 13 10:32:09 lvl2: Added known joystick Sony PLAYSTATION(R)3 Controller (instance ID: 19, device index: 1) Nov 13 10:32:09 lvl2: Added known joystick Sony PLAYSTATION(R)3 Controller (instance ID: 20, device index: 2) Nov 13 10:32:09 lvl2: Added known joystick Sony PLAYSTATION(R)3 Controller (instance ID: 21, device index: 3)
I have no idea what is going on or how to fix it. Are there any logs or events I can capture and provide to help troubleshoot? I see the same issue one 2 HW platforms and also on a vanilla install of Ubuntu Desktop 20.4.1 following the Debian RP install guide.
TIA!
John
-
This continues to be an issue on x86 builds. I have opened an issue on the RA github but don't have much hope of it getting any traction.
https://github.com/libretro/RetroArch/issues/12312
I updated the original post to say that I am not seeing this issue on older versions of RA (specifically 1.7.3 anyway).
Is there ANYONE else that has 4x genuine PS sixaxis dualshock controllers that can verify what I am seeing? If so, this may give us enough ammo to push the issue with the Libretro team.
John
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.