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

[macOS] Some games crash with Pad Thread unless it's disconnected or Keyboard handler is selected. #16495

Open
mavethee opened this issue Jan 2, 2025 · 7 comments

Comments

@mavethee
Copy link

mavethee commented Jan 2, 2025

Quick summary

I've tested RaC: HD Trilogy and Red Dead Redemption, originally for #16484 and falsely assumed it's solely part of #16472 as it was crashing so even bot couldn't catch the Pad Thread from log.
In case of RaC, 17729 was still used to boot, with RDR - it's latest as of now.
While with RaC, happends every time after selecting RaC 1 (at least was keep testing with it, probably affects all three?), with RDR issue is present only on first time during cache compilation, if cache was compiled fine with Keyboard handler, it will boot ingame every time. Remove the cache to reproduce.

Wanted to also add GTA IV to the list, but it crashes on various builds due different things.

Details

RaC working, with controller connected after cache compilation:
image

RDR working, with controller connected after cache compilation:
CleanShot 2025-01-02 at 11 23 50@2x

Attach a log file

RaC_17229_PadThread.log
RaC_17229_WORKING.log
Apple_Crash_Report_RaC.log
RDR_WORKING.log
RDR_PadThread.log
Apple_Crash_Report_RDR.log

Attach capture files for visual issues

No response

System configuration

  • SYS: RPCS3 v0.0.34-17290-799cb796 Alpha | HEAD
  • SYS: Apple M1 (4P+4E) | 8 Threads | 16.00 GiB RAM | TSC: 0.024GHz | FMA3
  • SYS: Operating system: macOS, Version: 15.3.0
  • SYS: Current Time: 2025-01-02T12:29:36
  • RSX: Found Vulkan-compatible GPU: 'Apple M1' running on driver 0.2.995
  • SYS: Firmware version: 4.91

Other details

No response

@mavethee mavethee changed the title [macOS] Some games crash with Pad Thread unless it's disconnected or Keyboard handler is selected. [macOS] Some games crash with Pad Thread unless it's disconnected or Keyboard handler is selected. Jan 2, 2025
@mavethee
Copy link
Author

mavethee commented Jan 2, 2025

GTA IV has Pad Thread issue as well, after selecting base game or DLC.
CleanShot 2025-01-02 at 16 00 44@2x
With Keyboard handler selected goes ingame:
CleanShot 2025-01-02 at 16 04 35@2x

Just as RDR, issue is gone after compiling cache.
And found out that with RDR, the game runs fine if on 1.0
CleanShot 2025-01-02 at 16 30 34@2x

With that I've cleared the cache, removed GTA IV CE update and tried 1.0, unlike RDR - issues remain.

Log files:

RDR_1.0.log
GTAIV_1.0_PadThread.log
GTAIV_PadThread.log
GTAIVCE_WORKING.log

@Megamouse
Copy link
Contributor

duplicate of #16477

@Megamouse
Copy link
Contributor

hmm. at least it seems to be the same description...

@Megamouse Megamouse reopened this Jan 2, 2025
@mavethee
Copy link
Author

mavethee commented Jan 2, 2025

hmm. at least it seems to be the same description...

I'M NOT USING SDL, I ONLY HAVE DS3, DS4 AND DUALSENSE 😭

@Valtekken
Copy link

hmm. at least it seems to be the same description...

I'M NOT USING SDL, I ONLY HAVE DS3, DS4 AND DUALSENSE 😭

SDL is the name of the controller handler.
https://wiki.libsdl.org/SDL3/FrontPage

@mavethee
Copy link
Author

mavethee commented Jan 2, 2025

SDL is the name of the controller handler. https://wiki.libsdl.org/SDL3/FrontPage

Ik, point was I'm using either DualSense or DualShock handler with RPCS3 as thoose handlers are separate.
E.g iirc PCSX2 uses SDL for my DualShock 4 🤔

@schm1dtmac
Copy link
Contributor

schm1dtmac commented Jan 8, 2025

Did some testing myself, the instability is specific to RPCS3's HIDAPI handlers for the DualSense/DS4/etc when testing with my DualSense on my M2 MacBook Air, and can affect any game (beyond the ones that crash for @mavethee) provided you attempt to relaunch said game or launch any other title after having loaded at least 1 game. E.g. if I load GOW3, then restart it or load, say, Batman Arkham City, both trigger a Pad Thread crash when using RPCS3's specialised handlers. Doesn't affect the SDL handler though, no crashes when using that for me.

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

No branches or pull requests

4 participants