Weird "gimx.exe stops responding" error

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

Weird "gimx.exe stops responding" error

Post 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
Rallymen007
Posts: 6
Joined: Tue Oct 10, 2017 3:55 pm

Re: Weird "gimx.exe stops responding" error

Post by Rallymen007 »

Any ideas?
User avatar
GoDlike
Posts: 1318
Joined: Thu Apr 28, 2016 12:47 pm
Location: Poland

Re: Weird "gimx.exe stops responding" error

Post by GoDlike »

Try some older version like 6.5 please and tell us the result. We will try to identify problem.
My hardware: PS3 Slim CFW 4.80 | PS4 Pro 500 Million LE | PS5 | Xbox Series X
Steam: Godlike_RU | PSN: GoDlike_RU | XBL: GoDlike
Rallymen007
Posts: 6
Joined: Tue Oct 10, 2017 3:55 pm

Re: Weird "gimx.exe stops responding" error

Post 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
User avatar
GoDlike
Posts: 1318
Joined: Thu Apr 28, 2016 12:47 pm
Location: Poland

Re: Weird "gimx.exe stops responding" error

Post by GoDlike »

Okay, thanks for the cooperation. We will look into it.
My hardware: PS3 Slim CFW 4.80 | PS4 Pro 500 Million LE | PS5 | Xbox Series X
Steam: Godlike_RU | PSN: GoDlike_RU | XBL: GoDlike
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Weird "gimx.exe stops responding" error

Post 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.
GIMX creator
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Weird "gimx.exe stops responding" error

Post 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.
GIMX creator
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Weird "gimx.exe stops responding" error

Post 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).
GIMX creator
Rallymen007
Posts: 6
Joined: Tue Oct 10, 2017 3:55 pm

Re: Weird "gimx.exe stops responding" error

Post by Rallymen007 »

Thanks for investigating, I'll close the Task Manager from now on :D
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Weird "gimx.exe stops responding" error

Post by Matlo »

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