toyoshim / iona-us

MP07-IONA-US, Designed By Mellow PCB
https://toyoshim.github.io/iona-us/en
BSD 3-Clause "New" or "Revised" License
17 stars 3 forks source link

JVS Stability Issue [I/O errors] on some naomi titles with 2 controllers, or a PS4 controller, or analog input supports #42

Closed toyoshim closed 1 year ago

toyoshim commented 2 years ago

Reported from @Xeno_Dragon

Before 1.45, there was an input delay issue on the same situation. After 1.46, now it causes an I/O error after playing games for a while.

Conditions:

logan-mccloud commented 1 year ago

Hello.

I have experienced something similar, in my case with the same firmware version, the solution was to switch to a PC controllers instead of a PS3/PS4 one.

If a use a PS3/PS4 controller, some games crash randomly or fail to launch, but with an standard PC wired controller it doesn´t happen.

Best regards.

toyoshim commented 1 year ago

Thank you the report. I suspect some PS controllers sent longer HID report and it may cause JVS side packet lost due to the device getting busy to handle it. As new v2 firmware can achieve more standardized process to handle several controllers and assignments, it may mitigate the issue, or if we can see the same problem here, I will spend some time to invent a new mechanisms to avoid this kind of problems, e.g. using an interrupt to handle JVS request, or so. So, if you can try v2 firmware, that's really appreciated.

Shentokk commented 1 year ago

The issue still persists with a PS4 controller when trying the Initial D Export series on v2.00. On boot it will display an IO BD error that doesn't occur when using an Xbox One or Nintendo Switch controller. Jambo Safari also continues to have this issue, but it will play for a short time before freezing.

toyoshim commented 1 year ago

I did bunch of optimization this weekend, and now the JVS response performance is drastically improved. So, I expect this improvement contribute to resolve this kind of I/O error issues. Please try v2.10 to see if the new code resolves the issue.

Shentokk commented 1 year ago

Power Stone now works with the v2.10 update with a PS4 controller. Thank you for working on the problem.

toyoshim commented 1 year ago

Yey. Now v.2 series firmware gets quite stable, and realizes much more quick response. I believe this optimization solves all kinds of stability issues on several boards.