Page 1 of 2

Weird "gimx.exe stops responding" error

Posted: Tue Oct 10, 2017 4:15 pm
by Rallymen007
Hey,

Been trying to use my GIMX to play with KB+M on both PS3 and PS4 (Xbox One once I get a non 3.5mm jack controller) and I keep getting this strange issue. As long as I keep mashing buttons and/or moving the mouse around everything works fine, but after about 7 seconds of not doing anything the cursor changes to the rotating waiting one and on the next key press, Windows shows me the "gimx.exe stopped responding" dialog, asking me to let it sit or close the program.
At this point no more inputs are being fed to the console, including any from a plugged in controller (say the DS4 in the case of PS4 emulation). Letting it run doesn't really seem to do anything as on the next key press, the dialog comes back. The PS4 doesn't show the controller disconnected message until I restart gimx.exe, after it's closed the console is still under the impression a controller is still plugged in.

Not a single error in the console apart from the gprio error which seems to be irrelevant. It's just stuck there.

Ran GIMX with debug mode enabled, this is the resulting trace: https://mega.nz/#!dQUijDgQ!zYG83iUbxgOm ... 6olmCYrt0Y
I press cross then let it sit for 8 seconds then Windows detects a freeze. It doesn't seem that the freeze impacts the wall of debug, so I reckon it cuts short when I kill the process.

Don't know if I missed something obvious or if something in my setup is wrong.

Configuration:
Windows 10 x64
gimx-launcher 6.9 x86_64
PS4_Battlefield4_Foxy.xml
GIMX adapter from GIMX shop, flashed with EMUPS4
DS4 rev 2
PS4 Pro
All connected to a USB 3.0 powered hub that doesn't seem to choke as my USB soundcard still works during the entire process.

Thanks for helping me,
Rally

Re: Weird "gimx.exe stops responding" error

Posted: Thu Oct 19, 2017 2:09 pm
by Rallymen007
Any ideas?

Re: Weird "gimx.exe stops responding" error

Posted: Thu Oct 19, 2017 6:54 pm
by GoDlike
Try some older version like 6.5 please and tell us the result. We will try to identify problem.

Re: Weird "gimx.exe stops responding" error

Posted: Sat Oct 21, 2017 10:10 am
by Rallymen007
Thanks for the reply, tried 6.5 with the same result.
The log looks identical, but here's the 6.5 log: https://pastebin.com/xsXXvmMp

Re: Weird "gimx.exe stops responding" error

Posted: Sat Oct 21, 2017 10:22 am
by GoDlike
Okay, thanks for the cooperation. We will look into it.

Re: Weird "gimx.exe stops responding" error

Posted: Sun Oct 22, 2017 10:01 am
by Matlo
I opened a new issue:
https://github.com/matlo/GIMX/issues/486
If I manage to reproduce it I should be able to fix it in GIMX 6.10.

Re: Weird "gimx.exe stops responding" error

Posted: Mon Oct 23, 2017 9:08 am
by Matlo
I have the error only when the task manager is opened.
When I close it it works just fine... that's really strange.

Re: Weird "gimx.exe stops responding" error

Posted: Mon Oct 23, 2017 11:30 am
by Matlo
I did a few searches on the web, and my conclusion is that GIMX does not respect Windows rules for responsiveness. It does not process window messages when there is no raw input, which makes the app considered unresponsive after 5s. The task manager takes actions against apps considered unresponsive.

EDIT: since there is a work-around for this issue, I will postpone any fix attempt to a future major version (maybe GIMX 7).

Re: Weird "gimx.exe stops responding" error

Posted: Mon Oct 23, 2017 1:53 pm
by Rallymen007
Thanks for investigating, I'll close the Task Manager from now on :D

Re: Weird "gimx.exe stops responding" error

Posted: Mon Oct 23, 2017 2:02 pm
by Matlo
FYI, I'll make gimx-launcher close the task manager in version 6.10.