Page 1 of 1

some PS4 issues

Posted: Sun Aug 10, 2014 11:16 am
by Aige
Hello,

there are some small issues with my gimx (v2.03) + RaspberryPi

1) FAQ: "The PS4 only takes inputs from licensed controller. In order to authenticate itself as a licensed controller, GIMX needs to be connected to real DS4 all the time."
If the DS4 keeps connected to the RaspberryPi after the peering process, the DS4 does not turn on if i press the PS-button. If i disconnect the DS4 from the RaspberryPi i can turn the DS4 on (white light)

2) After turning on my PlayStation4 it remains at the "wellcome" menue where you have to press the PS-button on a DS4. I have to press the PS-button on my real DS4, the mapped GIMX-PS-button does not work here. -> you need always the real DS4, even if you have it paired successfully?

3) My RaspberryPi/GIMX is running, the Playstation4 is running, my DS4 is on (white light), and i can control my PlayStation4 (-> everything seems to be fine)
BUT if i do not press any button for a minute or so, there is a huge delay (3-5 seconds) for the next few keyboard-events. GIMX memorizes all events, but it takes some time until the events are processed. After a few seconds (all new events were processed) everything is fluent and smooth again, there is no delay anymore (until the next "sleep-session"). At the same time (when i am wating for the delayed inputs to be precessed) the GIMX window showes some messages "send: The resourece is not available" (picture below)
Image

sorry for so many questions :-)

Aige

Re: some PS4 issues

Posted: Sun Aug 10, 2014 2:36 pm
by Matlo
Aige wrote: 1) FAQ: "The PS4 only takes inputs from licensed controller. In order to authenticate itself as a licensed controller, GIMX needs to be connected to real DS4 all the time."
If the DS4 keeps connected to the RaspberryPi after the peering process, the DS4 does not turn on if i press the PS-button. If i disconnect the DS4 from the RaspberryPi i can turn the DS4 on (white light)
The connection is over bluetooth. I agree the wiki was ambiguous so I modified it.
Aige wrote: 2) After turning on my PlayStation4 it remains at the "welcome" menu where you have to press the PS-button on a DS4. I have to press the PS-button on my real DS4, the mapped GIMX-PS-button does not work here. -> you need always the real DS4, even if you have it paired successfully?
This is because the PS4 periodically renews the authentication.
Aige wrote: 3) My RaspberryPi/GIMX is running, the Playstation4 is running, my DS4 is on (white light), and i can control my PlayStation4 (-> everything seems to be fine)
BUT if i do not press any button for a minute or so, there is a huge delay (3-5 seconds) for the next few keyboard-events. GIMX memorizes all events, but it takes some time until the events are processed. After a few seconds (all new events were processed) everything is fluent and smooth again, there is no delay anymore (until the next "sleep-session"). At the same time (when i am waiting for the delayed inputs to be precessed) the GIMX window shows some messages "send: The resource is not available" (picture below)
This is a known issue (#271). The PS4 detects the inactivity and slows down the packet rate. The problem is that GIMX does not slow down its own packet rate. As a result the packets are buffered and delayed.

Re: some PS4 issues

Posted: Mon Aug 11, 2014 10:05 am
by Aige
Matlo wrote:This is a known issue (#271). The PS4 detects the inactivity and slows down the packet rate. The problem is that GIMX does not slow down its own packet rate. As a result the packets are buffered and delayed.
GIMX should be able to detect inactivity and send a "dummy-event" a second or so before inactivity to keep the packet rate high or not?

Re: some PS4 issues

Posted: Mon Aug 11, 2014 10:08 am
by Matlo
GIMX will stop sending reports after 60s of inactivity.

Re: some PS4 issues

Posted: Mon Aug 11, 2014 5:08 pm
by Aige
i think there was a misunderstanding. I mean is it possible that GIMX simulates user inputs? Fox example a litte movement of the right analoge stick. This might prevent the PS4 from reducing the packed rate

Re: some PS4 issues

Posted: Mon Aug 11, 2014 5:26 pm
by Matlo
There was no misunderstanding, I think it's better to let the PS4 reduce the packet rate.
The inactivity threshold is 60s, so after 60s of inactivity GIMX will stop sending reports until there's activity again.