Project

General

Profile

Actions

Emulator Issues #5977

closed

Older Wiimotes (Pre -TR) have broken audio in emulated Bluetooth

Added by white.phoenix almost 12 years ago. Updated 16 days ago.

Status:
Won't fix
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Revision d5ec631337c7 fixes the input delay regression introduced by Revision 11a4c92325d5 however the wiimote speaker/vibrations are still out of sync and will delay/echo.

This was discussed in IRC, and we tried many values on line 185 of WiimoteReal.cpp without success, so I'm opening this just as a reminder.

I've tested with Zelda: Skyward Sword (SOUE01) and New Super Mario Bros, but it also occurs in the wii menu by adjusting the volume slider. Seems to be worse with a generic bluetooth dongle using generic windows bluetooth stack. To be honest I'm not entirely sure if this is just me or reproducible by others.

Steps to reproduce: Make the wiimote make a lot of sounds or vibrations.

Dolphin Version: 3.5-374 x64 on Windows 7 x64


Related issues 9 (0 open9 closed)

Has duplicate Emulator - Emulator Issues #6132: DKCR Wiimote disconnects very often - Game UNPLAYABLEDuplicate

Actions
Has duplicate Emulator - Emulator Issues #6200: Disabled Speaker Data breaks controls of Mario Strikers Charged FootballDuplicateBilliard26

Actions
Has duplicate Emulator - Emulator Issues #8002: No More Heroes: Calls have really bad quality coming from the Wiimote speaker.Duplicate

Actions
Has duplicate Emulator - Emulator Issues #8459: WiiMotionPlus sound lagDuplicate

Actions
Has duplicate Emulator - Emulator Issues #10032: Problema nos Speakers Wii RemoteDuplicate

Actions
Has duplicate Emulator - Emulator Issues #9061: Super Paper mario: Several issues with using Tippi's abilityDuplicate

Actions
Has duplicate Emulator - Emulator Issues #12337: Wiimote audio is distorted/garbled/slowed downDuplicate

Actions
Has duplicate Emulator - Emulator Issues #12807: Real wiimote (motion plus inside) speaker not playing sound via bluetoothDuplicate

Actions
Has duplicate Emulator - Emulator Issues #13358: Intel BT AX201 no speaker sound on TR Wiimotes (non passthorugh)Duplicate

Actions
Actions #1

Updated by white.phoenix almost 12 years ago

Also related was Issue 5966

Actions #2

Updated by white.phoenix almost 12 years ago

Also forgot to mention the vibration lags and echos/repeats too, for example getting 9 vibrations instead of 5.

Actions #4

Updated by Billiard26 over 11 years ago

Issue 6132 has been merged into this issue.

Actions #6

Updated by Billiard26 over 11 years ago

Disconnects are caused by the delays we inject on the output reports when speaker data is present.

Actions #7

Updated by Billiard26 over 11 years ago

Issue 6200 has been merged into this issue.

Actions #8

Updated by Billiard26 over 11 years ago

  • Issue type set to Bug
Actions #9

Updated by JMC4789 about 11 years ago

The disconnects are unrelated to Dolphin; works on bluetooth stacks that are not default in windows.

Actions #10

Updated by NeoBrainX almost 11 years ago

  • Status changed from New to Questionable

OnHold=>Questionable.

Actions #11

Updated by Billiard26 almost 11 years ago

Iirc, "disconnects" in the emulator (not physical bluetooth disconnects) DO occur with some games when speaker data is enabled. (caused by delays that we inject, like I'd said)

Actions #12

Updated by zerolagg over 10 years ago

The Wiimote speaker still sounds bad and games like Fragile Dreams is very necesary for listen the tips from characters and listen special sounds for search through sound any characters.

I tried use diferents Wiimotes(White original,Black,Red in box game Mario Kart) and Toshiba BlueTooth stack,DSP HLE LLE but nothing works

Please is the only error that i detected in the emulator any works perfect even High Resolution (2560x2112) except Wiimote speaker and many games use this for add fun to the game.

Actions #13

Updated by mac1202 about 10 years ago

Same thing under linux stable or git version; hle or lle the sound from the wiimote speaker is awful.

Actions #14

Updated by flacs almost 10 years ago

Issue 8002 has been merged into this issue.

Actions #15

Updated by MayImilae over 9 years ago

Issue 8459 has been merged into this issue.

Actions #16

Updated by JMC4789 about 9 years ago

  • Status changed from Questionable to Fix pending

I know this is going to sound crazy... but...

Fixed in PR-3245 -> https://github.com/dolphin-emu/dolphin/pull/3245

Actions #17

Updated by JMC4789 almost 9 years ago

  • Subject changed from Real wiimote speaker sounds almost as bad as dubstep to Older Wiimotes (Pre -TR) have broken audio in Dolphin
Actions #18

Updated by JMC4789 almost 9 years ago

-TR Wiimotes now have working Wiimote audio on Windows at the very least.

https://dolphin-emu.org/download/dev/8acf8cf4d07684e9dc515a22b642e66e8fe7e231/ was the fix, aka, 4.0-8325

Actions #19

Updated by JosJuice almost 9 years ago

  • Status changed from Fix pending to Questionable

Changing back to Questionable because this issue now only is about non-TR Wii Remotes.

Actions #20

Updated by rancourttommylee almost 9 years ago

when you think fix the bug for wiimote non -TR?

Actions #21

Updated by JMC4789 almost 9 years ago

  • Status changed from Questionable to Accepted

Considering it took 3 years to get -TR Wiimote audio working... 2018 - 2019?

Actions #22

Updated by JosJuice almost 8 years ago

Actions #23

Updated by JosJuice over 7 years ago

  • Has duplicate Emulator Issues #9061: Super Paper mario: Several issues with using Tippi's ability added
Actions #24

Updated by leoetlino over 6 years ago

  • Subject changed from Older Wiimotes (Pre -TR) have broken audio in Dolphin to Older Wiimotes (Pre -TR) have broken audio in emulated Bluetooth
Actions #25

Updated by danileon95 almost 5 years ago

JMC4789 wrote:

Considering it took 3 years to get -TR Wiimote audio working... 2018 - 2019?

Welp, it's 2020 now lol

Actions #26

Updated by Billiard26 over 4 years ago

  • Status changed from Accepted to Won't fix
  • Assignee set to Billiard26

I've determined the main cause of poor Wii remote audio with emulated Bluetooth.

Genuine Wii Remotes seem to operate at 100hz until "sniff" mode is enabled.
This is observable from the rate of input reports and activity on the i2c extension bus.

The 6khz audio data produces 150 speaker data packets per second.
Remotes tend to not process many of these causing their decoder to desynchronize from the games' encoder.

"TR" remotes seem to buffer the reports better. They still perform poorly without sniff mode, just not as bad as non-TR.

The Wii sends "HCI_Write_Link_Policy_Settings" (0x000D) and "HCI_Sniff_Mode" (0x0003).
Both the min and max intervals are set to 5ms.

Remotes then operate at 200hz and handle the high rate of speaker data.

Unfortunately Bluetooth managers do not expose the ability to configure or enable sniff mode.
I think it's unlikely they ever will. This is something that applications should probably not be controlling.

Without some equivalent of "Bluetooth Passthrough" or elevated permissions to send HCI commands to the Bluetooth hardware this issue appears not fixable.

Note that re-encoding the 6khz audio to 3khz for 75 packets per second didn't seem to help much in my tests.

Actions #27

Updated by Billiard26 almost 4 years ago

Actions #28

Updated by Billiard26 over 2 years ago

  • Has duplicate Emulator Issues #12807: Real wiimote (motion plus inside) speaker not playing sound via bluetooth added
Actions #29

Updated by Billiard26 9 months ago

  • Has duplicate Emulator Issues #13358: Intel BT AX201 no speaker sound on TR Wiimotes (non passthorugh) added
Actions #30

Updated by trihy 16 days ago

With all the cahnges in MS BT stack, do you still think this is a dead end for non tr? I thought some kind of reencoding or spoofing could work, but seems no.

It´s curious intel AX cards doesnt have audio with TR ones. After reading this, maybe their driver doesnt suport that 6khz sampling?

Actions #31

Updated by Billiard26 16 days ago

trihy wrote in #note-30:

With all the cahnges in MS BT stack, do you still think this is a dead end for non tr? I thought some kind of reencoding or spoofing could work, but seems no.

It´s curious intel AX cards doesnt have audio with TR ones. After reading this, maybe their driver doesnt suport that 6khz sampling?

I still think this is impossible without the mentioned "sniff mode", which is almost certainly going to always require elevated permissions or an equivalent of "Bluetooth Passthrough".
I'm not aware of any new features of the MS BT stack to make this possible.

In Linux, with setcap 'cap_net_raw+eip', the appropriate HCI messages can be injected to enable sniff mode on the connection, but the BT stack notices the mode change reply and immediately re-disables it.

If you want properly functioning Wii remotes, buy a Bluetooth dongle to dedicate to dolphin with "Bluetooth Passthrough".

Actions

Also available in: Atom PDF