Astro Bot - bad frame drop/audio chop when switch pro controller is connected #2013

Open
opened 2026-11-26 10:11:34 +00:00 by github-bot · 3 comments
Owner

@⁠manassm on GitHub · 2026-10-31 10:51 UTC · original

I've been trying to play Astro Bot on my PC (i7-13700K, RTX4080, 32GB).
Astro Bot seems to run pretty smoothly when it's just my keyboard and mouse connected to the computer.
Whenever connecting the switch pro controller to the computer, however, there's pretty bad frame drop, audio drop, and input cancels.
The game does take the switch pro controller input, but it gets unplayable due ot the issue.
When I disconnect the controller, the emulator runs fine again.
Tried connecting through wire, bluetooth, and with and without betterjoy input manager, but didn't solve the issue. The bluetooth connection seems to cause bit less lag than wire connection, but I don't know why.
I don't own the PS5 controller or other controllers, so can't tell if it's just the switch pro controller only or other controllers have same issue.
Any advice to solve the issue would be appretiated.
Thank you very much.

**@⁠manassm** on GitHub · 2026-10-31 10:51 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2013) I've been trying to play Astro Bot on my PC (i7-13700K, RTX4080, 32GB). Astro Bot seems to run pretty smoothly when it's just my keyboard and mouse connected to the computer. Whenever connecting the switch pro controller to the computer, however, there's pretty bad frame drop, audio drop, and input cancels. The game does take the switch pro controller input, but it gets unplayable due ot the issue. When I disconnect the controller, the emulator runs fine again. Tried connecting through wire, bluetooth, and with and without betterjoy input manager, but didn't solve the issue. The bluetooth connection seems to cause bit less lag than wire connection, but I don't know why. I don't own the PS5 controller or other controllers, so can't tell if it's just the switch pro controller only or other controllers have same issue. Any advice to solve the issue would be appretiated. Thank you very much.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:11:34 +00:00
Author
Owner

@⁠Nawid3333 on GitHub · 2026-10-31 21:41 UTC · original

Thanks for the clear report. I think I found the cause.

ASTRO BOT sets the controller light bar as often as it reads the controller. A Switch Pro Controller has no light bar, only the HOME LED, but SDL still turns every light bar colour into a HOME LED command and waits for the controller's reply before it returns. Kyty holds its controller lock during that wait, so the game's controller reads wait as well. That matches the frame drops and audio chop you see only while the Switch Pro Controller is connected.

Test build (fork CI, not an official release): https://github.com/Nawid3333/KytyPS5/actions/runs/41242697532
Download the KytyPS5-Windows-x64 artifact at the bottom of that page. The window title shows Fork build Nawid3333/KytyPS5 352739a. The only change to the emulator: Kyty no longer sends light bar colours to controllers that have no light bar. DualSense and DualShock 4 behave as before.

Could you run ASTRO BOT with this build and the Switch Pro Controller connected (wired and Bluetooth) and tell us:

  1. Are the frame drops and audio chop gone?
  2. The FPS in the performance panel (F2 shows it) with the controller connected and without it.
**@⁠Nawid3333** on GitHub · 2026-10-31 21:41 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2013#issuecomment-6549495650) Thanks for the clear report. I think I found the cause. ASTRO BOT sets the controller light bar as often as it reads the controller. A Switch Pro Controller has no light bar, only the HOME LED, but SDL still turns every light bar colour into a HOME LED command and waits for the controller's reply before it returns. Kyty holds its controller lock during that wait, so the game's controller reads wait as well. That matches the frame drops and audio chop you see only while the Switch Pro Controller is connected. Test build (fork CI, not an official release): https://github.com/Nawid3333/KytyPS5/actions/runs/41242697532 Download the `KytyPS5-Windows-x64` artifact at the bottom of that page. The window title shows `Fork build Nawid3333/KytyPS5 352739a`. The only change to the emulator: Kyty no longer sends light bar colours to controllers that have no light bar. DualSense and DualShock 4 behave as before. Could you run ASTRO BOT with this build and the Switch Pro Controller connected (wired and Bluetooth) and tell us: 1. Are the frame drops and audio chop gone? 2. The FPS in the performance panel (F2 shows it) with the controller connected and without it.
Author
Owner

@⁠Nawid3333 on GitHub · 2026-11-04 23:11 UTC · original

@⁠manassm The fix is merged into main (#2116): Kyty no longer sends light bar colours to controllers that only have a mono LED, like the Switch Pro Controller. The reporter of #1996 (8BitDo Ultimate in Switch mode) went from 1-2 FPS to 60 FPS with it. Every release from the one with 4c890e9 in its name onward has it. If ASTRO BOT still drops frames with your Switch Pro Controller on such a build, please attach the log of that run.

**@⁠Nawid3333** on GitHub · 2026-11-04 23:11 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2013#issuecomment-6644603581) @⁠manassm The fix is merged into main (#2116): Kyty no longer sends light bar colours to controllers that only have a mono LED, like the Switch Pro Controller. The reporter of #1996 (8BitDo Ultimate in Switch mode) went from 1-2 FPS to 60 FPS with it. Every release from the one with `4c890e9` in its name onward has it. If ASTRO BOT still drops frames with your Switch Pro Controller on such a build, please attach the log of that run.
Author
Owner

@⁠manassm on GitHub · 2026-11-21 19:53 UTC · original

Sorry for the late response.
I am traveling and don't currently have access to my desktop, and my laptop (Galaxy Book 5 pro 32gb) cannot run Astro bot (crashes on boot before anything rendered).
I might not have chance to test for 3-4 weeks, so hopefully someone else who had similar experience could test it and report here.
I will refer this issue to Jetsku fork where I made same issue and other people with similar issues had spoken up.
Thank you.

**@⁠manassm** on GitHub · 2026-11-21 19:53 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/2013#issuecomment-7068351443) Sorry for the late response. I am traveling and don't currently have access to my desktop, and my laptop (Galaxy Book 5 pro 32gb) cannot run Astro bot (crashes on boot before anything rendered). I might not have chance to test for 3-4 weeks, so hopefully someone else who had similar experience could test it and report here. I will refer this issue to Jetsku fork where I made same issue and other people with similar issues had spoken up. Thank you.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/KytyPS5--KytyPS5#2013
No description provided.