Emulator Issues #3428
closedStrange bluetooth lag using real Wiimotes
0%
Description
What steps will reproduce the problem?
- Pair up a real wiimote with either built in bluetooth adapter or external
- Play a game
What is the expected output? What do you see instead?
Correct wiimote response was expected, instead theres a massive lag. Usually inputs are read a few seconds later (about 3-4 seconds)
Dolphin version with the problem? Other Dolphin version without the
problem?
Last svn revision r6918. Older works good like official 2.0 or 68xx revisions.
32-bit or 64-bit and any other build parameters?
X64 build with sse3-4 optimizations and vanilla one, same results.
OS version and versions of tools/libraries used?
Win7 x64 fully updated.
Please provide any additional information below.
Tried so far gti club and nba jam. In r6918 the issue is less problematic with gti club but is very heavy in nba jam. Still theres too much delay, its unusable.
Updated by skidau about 14 years ago
There is no r6918 yet. Which revision did the lag start occurring?
Updated by Daniele.Fiorentini about 14 years ago
Sorry i mistyped, i meant 6318 and 6319. Problem started since 6315 iirc, same behaviour on different rigs.
Updated by Billiard26 about 14 years ago
Revision 6315 did not touch the wiimote code.
Updated by Daniele.Fiorentini about 14 years ago
Ill try it again then. Someone have my same problem? Also does this confirms that wiimode bt code has changed in latest revisions?
Updated by Daniele.Fiorentini about 14 years ago
Ok ive did some more tests. Revision r6315 gives me the same problem. Ive tried an old revision i had lying around, r4775 (for nba jam) and it works perfectly.
So definitely something's happening with newer builds.
Updated by Daniele.Fiorentini about 14 years ago
Tested 6290 as well, same issue.
Another update, maybe i found out the problem: if i keep on swinging / making circles in the air / shaking the wiimote, the buttons press are correctly read and they respond correctly with no delay.
So what im guessing is that the problem is related to the motion sensor in the wiimote? Because if you shake it while using the analog nub/control pad they works perfectly. If you dont (like laying the wiimote on a plain surface) they arent read by the emulator.
Again ive tested a bunch of old revision and everything works good so far, its no luck with newer revisions.
Updated by Billiard26 about 14 years ago
Well, figure out the Exact revision that started this issue for you.
I experience no such issues.
Updated by Daniele.Fiorentini about 14 years ago
What should i do then? Seems that anything above 6297 gives me this problem.
Old wiimote plugin works good instead. Theres a way to use it instead of the newer?
Updated by Billiard26 about 14 years ago
Again, "Figure out the Exact revision that started this issue for you."
Updated by Daniele.Fiorentini about 14 years ago
Hi Billiard, please dont get angry at me, im just trying to understand whats wrong :(
Anyway i gone thru a large amount of revisions. The problem starts with the revision that removed completely the wiimote plugin select box under settings.
I cant remember the exact revision, but even in olders where two wii remote plugins are available, the Wiimote plugin "new" gives me this problem. If i switch to the classic wiimote plugin everything works perfectly.
The problem doesnt happen in the Official Dolphin 2.0 build.
i tried 6200,6255,6256-57-58-59,6260,6265,6277 and so on.
Ive also tried 3 different systems and 3 BT adapters, under win7 x64. I made sure that "power management" under BT controller is disabled, so therefore the BT adapter should work without windows regulating the power source of it.
Also i tried to add the wiimote plugin line under dolphin ini forcing the emulator to use the older plugin but the emulator seems to use a "built in" plugin, even if i remove the plugin it doesnt help at all.
I dont know what to do. I can stick with older revision but that will loose all the optimizations in newer titles. Please add a way to select the older plugin in newer builds! Or otherwise advice something to do....since new wiiremote plugin debuted every BT adapter i have gives me this problem.
Updated by Daniele.Fiorentini about 14 years ago
Ok i just found out specifically the build that started the problem, r6270. As i mentioned is the build that removed any external Wiimote plugin in favor of the new built in.
There it is.
Updated by Billiard26 about 14 years ago
I have an idea of what might be causing it.
Can you apply a patch and compile Dolphin?
Updated by Daniele.Fiorentini about 14 years ago
Hi Billiard, thanks again for your prompt response.
Unfortunately i have zero knowledge into compiling builds, im more than a tester than a coder. All the tests i made was possibile because i have a personal archive of revisions.
Is there any chanche for me to test your new patch? Maybe if you can compile a revision or commit the change? Im willing to test it, theres no doubt for it! If you need any email to send the build let me know.
Updated by Daniele.Fiorentini about 14 years ago
Okay ill do asap, thanks for now!
Updated by ijustcool about 14 years ago
Hi I know this issue is now closed but I still want to add something just in case it might be of use to anyone. I had experienced what Daniele has described and had started to feel as though Dolphin was unusable in it's current state. I tried different builds which seemed to exhibit varying amounts of lag at some point in time. I tested over and over again and when I thought I had found a build where the problem didn't exist, I retested and retested and eventually I ended up noticing some lag. I discovered the source of the problem one day when I moved some distance away from my PC while playing Wii Sports. The further away I went the worse the lag got. I then moved very close to my PC and guess what? The lag was gone! Since then I've moved my bluetooth dongle from the back of my system to a wired hub that runs to the front of the PC. The effect of this is that the dongle is now closer to the playing area and also there are less signal blocking obstructions between the Wii remotes and the bluetooth dongle. I noticed that in r6324 an attempt was made to "Attempt to fix real wiimote delay issues experienced by some." I advise whoever is concerned to be careful not to break anything since the Wii remote plugins both old and new are in excellent working condition for many users. I've tested this using builds r6261, r6174_sse3, 6276, 6274_sse3, r6318 all x64. I used Wii Sports, New Super Mario Bros. and Mario Kart Wii for testing. With that said I only get about 4-6 meters (estimated) of good usable range before starting to experience lag issues. I don't consider that to be good range at all but it's good enough for my to play lag free with multiple remotes. The poor range could be because of the quality of my cheapo NeXXt Nano bluetooth dongle or the myriad of other wireless devices which I all use simultaneously in my home causing interference. In the same room there are usually Wifi connected Blackberry phones, wireless xbox 360 controllers and the USB wireless receiver, Logitech wireless keyboard and mouse plus a Logitech cordless RumblePad2 all connected to the same PC and all receivers are on at the same time! So try relocating either yourself or your bluetooth dongle Daniele. Go very close to the dongle and see if the lag lessens or disappears altogether. Go further away and see if it get's worse as well. Billiard26 please be careful with the Wiimote code.
Updated by Daniele.Fiorentini about 14 years ago
Ijust,thanks for the advice,but thats the first thing i did.
First on two systems the bt is built in near the trackpad so therefore is frontal. Notice that my room is small and i usually use the remotes around 1,5metres ,maybe less.
When i did the tests i also used different rigs and usb bt adapters as well: every bt adapter used was always plugged frontally in the case.
I highly doubt that i have to relocate it or myself mate because all i did was always with the best setting :)