Page 1 of 2

10 Second Latency :(

Posted: Thu Dec 20, 2012 10:12 am
by deeko
Greetings.

Firstly, amazing project thankyou for all the many hours of awesome fun :)

Since returning to gaming on my new PS3 I am experiencing incredible latency (10-11 seconds!!) over BT :(

What baffles me is I'm using (almost?) the exact same setup as has previously worked so well. (Note: no other BT devices are operating nor do I run Wifi, nor have I bought a new 2.4Ghz phone or use a microwave).

Whats the same:
* BT Dongle (Cambridge Silicon Radio - BlueCore02-External)
* Netbook (Asus EEE 701)
* Physical proximity to PS3
* Keyboard (USB)
* Mouse (USB)

Whats changed:
* PS3 (My old original [fat] PS3 died so I bought a new SuperSlim)
* Distro has possibly changed (really cannot remember if I was using Xubuntu 11.04 last time or 11.10).

What I have tried:
* Xubuntu 11.10
* Linux Mint 13
* Unchecking 'Force updates'
- this completely eliminates the keyboard latency however when using the mouse the latency returns & interestingly once lagging from the mouse the keyboard lag reappears as well - almost as if the keyboard commands are being delayed by the mouse movement?)
* Connecting the dongle to different USB ports
* My old saved configs
* Downloaded new configs
* sixemu_0.51-1_i386.deb
* sixemu_0.50-1_i386.deb

Any help greatly appreciated.

Thanks :)

Re: 10 Second Latency :(

Posted: Thu Dec 20, 2012 10:45 am
by Matlo
Thanks for the feedback.

This may be an issue with the slim and/or superslim versions of the PS3 (I have a fat one!).

Please do the following actions:
0. power off the PS3, unplug and replug the power cable
1. in a terminal:

Code: Select all

sudo apt-get install bluez-hcidump

Code: Select all

sudo hcidump -l 4096 -w capture.dump
2. start both emu and emuclient
3. reproduce the problem: move the mouse and get some lag over about half a minute
4. Stop hcidump (ctrl+c)
5. Paste the content of capture.dump on pastebin and post the link

Re: 10 Second Latency :(

Posted: Thu Dec 20, 2012 11:31 am
by deeko
Hi, thanks for the fast response.

I have done as you suggested. However the capture.dump file appears to contain very few ASCII characters, what would be the best way to copy this into pastebin?

Thanks :)

Re: 10 Second Latency :(

Posted: Thu Dec 20, 2012 1:10 pm
by Matlo
A way to do this is to encode the file into a base64 text file.

Code: Select all

sudo apt-get install cl-base64
base64 -e capture.pcap > capture.txt

Re: 10 Second Latency :(

Posted: Fri Dec 21, 2012 9:06 am
by deeko
Hi Matlo,

Here's the dump in base64 (http://pastebin.com/fnT0EjyY)


Thanks for your help :)

Re: 10 Second Latency :(

Posted: Fri Dec 21, 2012 9:56 am
by Matlo
Please also post the results of the following commands:

Code: Select all

cat /etc/issue
uname -a
bluetoothd --version

Re: 10 Second Latency :(

Posted: Fri Dec 21, 2012 12:30 pm
by deeko
mint@mint ~ $ cat /etc/issue
Linux Mint 13 Maya \n \l
mint@mint ~ $ uname -a
Linux mint 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:41:14 UTC 2012 i686 i686 i386 GNU/Linux
mint@mint ~ $ bluetoothd --version
4.98
Thanks Matlo :)

Re: 10 Second Latency :(

Posted: Tue Feb 26, 2013 8:21 am
by Matlo
Please do the hcidump capture again.
Before starting emuclient, set the flush timeout as explained there: http://forum.gimx.fr/viewtopic.php?p=4620#p4620
(force updates enabled)

Re: 10 Second Latency :(

Posted: Wed Feb 27, 2013 1:09 am
by DirtyDog_iEQ
i have this issue too, you can solve it by installing linux mint 12, it doesnt work with linux mint 13 and above, as well as the equivalent ubuntu...
who have slim version of ps3 have to stick with linux mint 12 and cant update to newer versions of gimx 1.0 and above because of libc6.

Re: 10 Second Latency :(

Posted: Wed Feb 27, 2013 6:59 am
by Matlo
What I need to work on this issue is summurized there:

http://code.google.com/p/diyps3controll ... ?id=170#c6