Ubuntu 12.04 Bluetooth latency - any info?

Discuss everything to do with GIMX here
Post Reply
Aure217
Posts: 9
Joined: Mon Jul 16, 2012 9:11 pm

Ubuntu 12.04 Bluetooth latency - any info?

Post by Aure217 »

Hi,
I know this is a known issue.
Is there a bug thread for progress on this problem or something?
I'd like to follow it if so.

Do we know roughly what the issue is?
Like is it an innate problem with Ubuntu 12.04, or is GIMX calling functions in a way that is now inefficient or half deprecated etc?

Quite curious as to the nature of the issue - I work with C/C++ and Unix, so don't be afraid to get a bit technical. I've done sockets programming but never with Bluetooth APIs)

I'm also in a bit of an irritating situation in that my BT adapter (Laptop, internal USB) is not working on Ubuntu 11.10... but Gimx doesn't function well on 12.04. XD
Cannot have cake and eat it.

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

Re: Ubuntu 12.04 Bluetooth latency - any info?

Post by Matlo »

Hi,

I'm developing GIMX on my free time, and I didn't reproduced the issue on my own setup, which means it's hard for me to fix it.

Please test with the latest source code: http://gimx.fr/wiki/index.php?title=Dev ... t_on_Linux
I fixed an issue that was hanging the cpu, it may solve some latency issues, but I can't tell if it will fix yours.
GIMX creator
Aure217
Posts: 9
Joined: Mon Jul 16, 2012 9:11 pm

Re: Ubuntu 12.04 Bluetooth latency - any info?

Post by Aure217 »

As a dev myself, I know how ridiculous it can be to be expected to fix a bug without a reproducible test case, so I totally understand.

I'll test with the latest version.

Otherwise...is there any kind of info I could give that might help?
(like a callgrind thing or something)

I understand that this isn't exactly the top thing in your todo list, but if it's not too hard for the community to help, we should probably do so xD.
Aure217
Posts: 9
Joined: Mon Jul 16, 2012 9:11 pm

Re: Ubuntu 12.04 Bluetooth latency - any info?

Post by Aure217 »

Hm, I followed the instructions on that page, and still it lags.
I just ran the same executable as before (well, whatever Ubuntu shows in the dash board thing). I hope that was right.

I see the instructions are for Fedora. Maybe I should test on that platform?

edit: What is "Force Updates" and "Subpositions"?
I think I see less lag with those disabled.

Strange issue though... if I start and stop emulation, I get another process/GUI item (eg in alt+tab list).

edit again: Oh, must be the emuclient thing
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Ubuntu 12.04 Bluetooth latency - any info?

Post by Matlo »

Aure217 wrote:I just ran the same executable as before (well, whatever Ubuntu shows in the dash board thing). I hope that was right.
If everything went fine you should not have high CPU load anymore.
Aure217 wrote:I see the instructions are for Fedora. Maybe I should test on that platform?
The instructions are for Debian-based distros (such as Ubuntu).

Can you try the following actions:
  • move the bluetooth dongle as close as possible to the PS3
  • turn every wireless device off (wifi, bluetooth, and any other RF device)
GIMX creator
Post Reply