mickelson / attract

A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad.
http://attractmode.org
GNU General Public License v3.0
393 stars 115 forks source link

OSX- Crash on Launch With Sony DualShock 4 USB Wireless Adaptor #670

Open alexaliferis opened 3 years ago

alexaliferis commented 3 years ago

Attract Mode on OSX, going at least back to V2.5, will crash instantly on launch whenever a Sony DualShock 4 USB Wireless Adaptor is plugged in. After going over crash logs and the Console, it appears that the crash occurs when the adapter is being considered for Audio IO. The adapter has a weird config, appearing as two devices to Core Audio- One with zero inputs and two outputs, running at 16 bit, 32Khz, and another with a single input running at 16 bit, 16Khz(!).

I'll take a look at the source and see if it's an obvious fix, but thought you'd like to know. Otherwise, Thanks for the great work!

estefan3112 commented 3 years ago

Hi, is there any need for this adapter to work? Because my PS4 joypad works flawlessly in OSX (Big Sur and latest Attract Mode Binary). Both wired and wireless via Bluetooth. Cheers!

alexaliferis commented 3 years ago

Hello- I can understand that it’s a small percentage of users, etc, though the adapter does provide additional functionality in terms of the touch pad on the controller being available as an input in addition to faster response and supposedly more stable/regular pairing. I would say the resolution of this issue is probably more important in regards to it being possibly indicative of other issues with unusual audio configurations possible crashing Attract Mode, if my suspicions as to its cause are correct. Thanks for your response!

On Jan 6, 2021, at 4:20 AM, estefan3112 notifications@github.com wrote:

Hi, is there any need for this adapter to work? Because my PS4 joypad works flawlessly in OSX (Big Sur and latest Attract Mode Binary).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mickelson/attract/issues/670#issuecomment-755183620, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHOBOEM3HDYML5OCJFTIHLSYQTNTANCNFSM4VVX7WRQ.