Weird "gimx.exe stops responding" error

Need help? Ask here and someone will help
Post Reply
Rallymen007
Posts: 4
Joined: Tue Oct 10, 2017 3:55 pm

Weird "gimx.exe stops responding" error

Post by Rallymen007 » Tue Oct 10, 2017 4:15 pm

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

Rallymen007
Posts: 4
Joined: Tue Oct 10, 2017 3:55 pm

Re: Weird "gimx.exe stops responding" error

Post by Rallymen007 » Thu Oct 19, 2017 2:09 pm

Any ideas?

User avatar
Godlike
Posts: 109
Joined: Thu Apr 28, 2016 12:47 pm

Re: Weird "gimx.exe stops responding" error

Post by Godlike » Thu Oct 19, 2017 6:54 pm

Try some older version like 6.5 please and tell us the result. We will try to identify problem.
My hardware: Xbox 360 S "Trinity" RGH | PS3 Slim CFW 4.80

Rallymen007
Posts: 4
Joined: Tue Oct 10, 2017 3:55 pm

Re: Weird "gimx.exe stops responding" error

Post by Rallymen007 » Sat Oct 21, 2017 10:10 am

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

User avatar
Godlike
Posts: 109
Joined: Thu Apr 28, 2016 12:47 pm

Re: Weird "gimx.exe stops responding" error

Post by Godlike » Sat Oct 21, 2017 10:22 am

Okay, thanks for the cooperation. We will look into it.
My hardware: Xbox 360 S "Trinity" RGH | PS3 Slim CFW 4.80

User avatar
Matlo
Posts: 4468
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Weird "gimx.exe stops responding" error

Post by Matlo » Sun Oct 22, 2017 10:01 am

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.
GIMX creator Donate Shop

User avatar
Matlo
Posts: 4468
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Weird "gimx.exe stops responding" error

Post by Matlo » Mon Oct 23, 2017 9:08 am

I have the error only when the task manager is opened.
When I close it it works just fine... that's really strange.
GIMX creator Donate Shop

User avatar
Matlo
Posts: 4468
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Weird "gimx.exe stops responding" error

Post by Matlo » Mon Oct 23, 2017 11:30 am

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).
GIMX creator Donate Shop

Rallymen007
Posts: 4
Joined: Tue Oct 10, 2017 3:55 pm

Re: Weird "gimx.exe stops responding" error

Post by Rallymen007 » Mon Oct 23, 2017 1:53 pm

Thanks for investigating, I'll close the Task Manager from now on :D

User avatar
Matlo
Posts: 4468
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Weird "gimx.exe stops responding" error

Post by Matlo » Mon Oct 23, 2017 2:02 pm

FYI, I'll make gimx-launcher close the task manager in version 6.10.
GIMX creator Donate Shop

Post Reply