Project

General

Profile

Actions

Emulator Issues #4210

closed

Wiimote Speaker doesn't work under DSP HLE

Added by moinonono about 13 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
DSPHLE
% 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

What's the problem?
Wiimote Speaker doesn't work under DSP HLE.

Dolphin version with the problem:
All version until R7283.

Operating system and version:
All Operating Systems

Please provide any additional information below.
Although the wiimote speaker starts to work under DSP LLE a few versions ago, there is still missing under DSP HLE.

Actions #1

Updated by Hgomez2020 about 13 years ago

We need this please

Actions #2

Updated by William79371 about 13 years ago

Please fix this problem! We need DSP - HLE to work under Wiimote speaker. Please try to fix this problem.

Actions #3

Updated by Xtreme2damax about 13 years ago

Good luck convincing developers, but I doubt it. As I said HLE is for the most part totally dead, there hasn't really been any improvements in ages. Jack Frost was working on revised and more accurate code for Zelda Windwaker and the AFC decoder, which he gave up on it seems.

Developers are concentrating on improving LLE performance. LLE will likely replace HLE at some point once it's fast enough, or at least be recommended to use over HLE when it comes to audio issues that currently only exist with HLE audio. I'm awaiting developers to state why the Wiimote speaker isn't working with HLE and if it will ever work with HLE. There may be reasons or issues, that may be rather complicated or impossible to fix with HLE and that's why the Wiimote speaker isn't working. As I said until I hear feedback from a developer, I'm just throwing assumptions out there.

Actions #4

Updated by skidau about 13 years ago

The reason why the Wiimote speaker does not work in HLE mode is because the code in DSP HLE is incomplete. If someone would write the code for it, it'd work.

Actions #5

Updated by MofoMan2000 about 13 years ago

I'd venture a guess that it's probably not impossible with HLE.

I'd say anything is possible with HLE, but the chances are very slim of doing everything exactly right all the time, with a small impact on performance.

Might as well use LLE. It's much easier to code, and at the moment, only has two actually legitimate problems:

  1. Performance hit. They are working on this.
  2. You need the DSP ROM files. I don't know what the deal is with this.
Actions #6

Updated by Xtreme2damax about 13 years ago

Crackling as well, although it's minor. Mylek did make a hack/patch that alleviates some of the crackling though. But the brief millisecond/second pauses of silence isn't an issue as I mentioned, I noticed it happens with HLE when emulation isn't full speed. Used to only be OpenAL/Xaudio2 that did this in the past but it seems that it does it now with the Dsound backend and HLE. It's just to keep the audio in sync with the video, or at least it tries the best it can but HLE issues make proper syncing impossible. I would like to hear from a developer though. Even though I think otherwise it may very well be possible, just not implemented yet. It would be nice if a developer can clarify the reason the Wiimote speaker is not currently working with HLE and if it will work with HLE in the future.

Actions #7

Updated by MofoMan2000 about 13 years ago

First, that is probably the most uninformative video ever. It shows you go to MediaFire, download the files then highlight them in explorer. It's not like you'd need more specific instructions or anything.

Second, don't bother posting more detailed instructions because the files are copyrighted and downloading them is therefore illegal. They shouldn't be available for download even though they are. Though, in all honesty, I think it's stupid to claim copyright on a small table of numbers.

Third, you may even have crossed the line by posting that video to begin with.

Fourth, everyone who cares enough to want to use the DSP ROM files already has them.

Actions #8

Updated by LM1234 about 13 years ago

/*
Might as well use LLE. It's much easier to code, and at the moment, only has two actually legitimate problems:

  1. Performance hit. They are working on this.
  2. You need the DSP ROM files. I don't know what the deal is with this.
    */

I will not comment on how easy is to fix lle bugs or write jit for it, but these 2 problems are not problems at all.

LLE problems atm:

  • after saturation fix is implemented in jit there are only some (not all) zelda type
    games with minor (afc) crackling (will try to make perfect rounding/ADDPAXZ and
    if that doesnt fix problems i'm out of ideas)

  • reset/init via DSP_CONTROL is not perfect (games like Smugglers Run - Warzones, demo disks, etc... crash because of this)

  • other problematic games, like certain Resident Evil games (unknown where problem is, but i doubt is dsp opcode related)

  • dsp on thread is still not perfectly working for certain games ( i could be wrong here)

Actions #9

Updated by MofoMan2000 about 13 years ago

My apologies. I didn't mean to say it was extremely easy to code the LLE plugin, just easier to do it in an accurate way than it is for HLE. LLE JIT is an entirely different story, of course.

You're all doing a great job with this emulator. The improvement over the past 100 revisions has been great. Over the past 1000 revisions the difference is night and day. Comparing it to Dolphin 1.02 (pre SVN), it's like a whole different world.

Actions #10

Updated by marcel.werner3 about 13 years ago

Uhm, I just had wiimote sound out of my real wiimote in SMG2 with HLE...is that weird? O_o

Actions #11

Updated by Xtreme2damax about 13 years ago

"- other problematic games, like certain Resident Evil games (unknown where problem is, but i doubt is dsp opcode related)"

If it happens with both HLE and LLE, then it's likely some code that is shared between the two audio cores such as mixer or audio backend (Xaudio2, Dsound, OpenAL) code.

Actions #12

Updated by marcel.werner3 about 13 years ago

@William: Yeah, don't ask me why, though...I did fiddle around with the wiimote speaker volume slider before that, but I don't think that's the reason shrug

Actions #13

Updated by hatarumoroboshi about 13 years ago

In Super Mario Galaxy 1 there is sound coming out from the Wiimote as well (using HLE)

Actions #14

Updated by marcel.werner3 about 13 years ago

Now who wants to explain how that can be? :P

Actions #15

Updated by Billiard26 over 11 years ago

  • Issue type set to Bug
  • Category set to dsp
Actions #16

Updated by delroth about 11 years ago

  • Status changed from New to Work started
  • Category changed from dsp to dsphle

Fixed in the new-ax-hle branch, will be merged to master when axwii is ready.

Actions #17

Updated by delroth about 11 years ago

Not working perfectly but it should be better in the new-ax-hle branch.

Actions #18

Updated by delroth about 11 years ago

  • Status changed from Work started to Fixed

People are reporting that the output is the same as in DSP LLE. Closing as fixed, reopen if issues are found.

Actions #19

Updated by zerolagg about 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 diferente 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.

Any knows this issue is retaken in other place?

Actions #20

Updated by JMC4789 about 10 years ago

This is a separate issue, please look for the open issues and you can make your comments there if you have anything to add to it.

Actions

Also available in: Atom PDF