Project

General

Profile

Emulator Issues #10141

USB Passthrough: Microphone crashes Guitar Hero 5

Added by thomeval almost 3 years ago. Updated over 2 years ago.

Status:
Working as intended
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Windows
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

Game Name?

Guitar Hero 5 (USA)

Game ID? (right click the game in the game list, properties, info tab)

SXEE52

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

1667eb489e5ab096f70cedb541182b0b

What's the problem? Describe what went wrong.

Guitar Hero 5 crashes Dolphin whenever a USB microphone is connected and whitelisted using the USB passthrough feature. As a result, vocals are not playable. Without a microphone present, the game is stable.

What steps will reproduce the problem?

1) Connect only one emulated Wii Remote, with no attachments. Remove all devices from the USB whitelist.
2) Start the game normally, without adding the microphone to the USB whitelist.
3) Wait for the game to start up and reach the Party Play screen (the screen with the "Play Now" and "Main Menu" prompts).
4) Add the microphone to the USB whitelist.
5) After around 10 seconds, Dolphin will crash.

Alternatively, start the game with the microphone already whitelisted. The game will crash before or on the Party Play screen (the amount of time it takes seems to vary).

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?

5.0-2732
Not tested on earlier versions as USB passthrough was only recently announced.

What are your PC specifications? (CPU, GPU, Operating System, more)

Windows 10 Pro
Intel Core i5-6600K @ 3.5 GHz
Nvidia Geforce GTX 1060

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)

The Microphone itself is an actual Guitar Hero branded Logitech microphone. It is correctly detected by both the OS and Dolphin.

History

#1 Updated by JMC4789 almost 3 years ago

It's an issue with usbdk, it works fine on Linux. You'll need to bug them; I restarted my computer and it stopped crashing.

#2 Updated by JMC4789 almost 3 years ago

Err, it may not be a usbdk issue, but also a LibUSB issue, not sure who to blame :).

#3 Updated by thomeval almost 3 years ago

Thanks for the feedback. I didn't have usbdk installed, so I decided it would be a good idea to install it and try again. In my first attempts, the game did not detect the microphone at all. With usbdk installed, however, the game does detect the microphone (and my voice!) for a few precious seconds before dolphin crashes.

Also, I can confirm that this issue is not game specific. It also occurs in Rock Band 3 (SZBE69).

#4 Updated by JMC4789 almost 3 years ago

We're running into crashes on some PCs with usbdk... I'm not sure what's causing them all the sudden. For me, I was having it happen too, but I restarted and it stopped happening.

Linux works fine, so, it's something outside of Dolphin causing the issues.

#5 Updated by EdisLeado almost 3 years ago

thomeval wrote:

Thanks for the feedback. I didn't have usbdk installed, so I decided it would be a good idea to install it and try again. In my first attempts, the game did not detect the microphone at all. With usbdk installed, however, the game does detect the microphone (and my voice!) for a few precious seconds before dolphin crashes.

Also, I can confirm that this issue is not game specific. It also occurs in Rock Band 3 (SZBE69).

I can confirm this as well. Rock Band 3 runs without crashes as long as the microphone is not added to the white-list. I'm on Windows 10 x64 with USBdk installed.

#6 Updated by EdisLeado almost 3 years ago

I can confirm this as well. Rock Band 3 (SZBE69) runs without crashes as long as the microphone is not added to the white-list. I'm on Windows 10 x64 with USBdk installed.

#7 Updated by leoetlino over 2 years ago

  • Status changed from New to Working as intended
  • Operating system Windows added
  • Operating system deleted (N/A)

There's really nothing we can do on our side, sadly. As far as I can remember, we looked into the crashes and it turned out the issue was in some internal libusb code (which in turn may be caused by backend bugs).

Marking as "working as intended" as Dolphin is using libusb correctly to the best of my knowledge and it does work on Linux; it's just that libusb on Windows is a mess.

#8 Updated by thomeval over 2 years ago

Oh well. Thanks for taking the time to look into this.

#9 Updated by Anonymous over 2 years ago

I think i may have figured it out.
When you installed UsbDk did you only install the .msi?
I think the msi by itself doesn't actually install the UsbDk driver, or does so incorrectly.

After installing the msi, from an elevated command prompt, I ran
cd C:\Program Files\UsbDk Runtime Library
UsbDkController.exe -u
UsbDkController.exe -i

This should uninstall and then re-install the UsbDkController driver.
If the -i option fails, unplug any USB devices and run it again. (I used a laptop for this, so I don't know if USB mouse/keyboard will prevent install, but I doubt it)

NOTE: This froze my PC when i tried to use my USB ports directly after, but upon rebooting, USB passthrough of the mic worked just fine and had no issues.

Tested on Dolphin 5.0-5167, Windows 8.1 x64, UsbDk v1.00-19, with Karaoke Revolution and Rock Band (sorry, didn't have Guitar Hero but I'm pretty sure it's the same issue) with the Logitech Rock Band Mic.

#10 Updated by JMC4789 over 2 years ago

Last time I tried to install the usbdk library it failed for me as well. I'll try that.

#11 Updated by Storm360 over 2 years ago

burgly wrote:

I think i may have figured it out.
When you installed UsbDk did you only install the .msi?
I think the msi by itself doesn't actually install the UsbDk driver, or does so incorrectly.

After installing the msi, from an elevated command prompt, I ran
cd C:\Program Files\UsbDk Runtime Library
UsbDkController.exe -u
UsbDkController.exe -i

This should uninstall and then re-install the UsbDkController driver.
If the -i option fails, unplug any USB devices and run it again. (I used a laptop for this, so I don't know if USB mouse/keyboard will prevent install, but I doubt it)

NOTE: This froze my PC when i tried to use my USB ports directly after, but upon rebooting, USB passthrough of the mic worked just fine and had no issues.

Tested on Dolphin 5.0-5167, Windows 8.1 x64, UsbDk v1.00-19, with Karaoke Revolution and Rock Band (sorry, didn't have Guitar Hero but I'm pretty sure it's the same issue) with the Logitech Rock Band Mic.

Can confirm that this did not fix the issue for me, I tested it with RB3, GHWoR and RB2, The Rock Band games freeze shortly after detecting microphone input, whereas GH Warriors of Rock freezes upon entering the main menu. All the games I used are PAL versions and function fine without the microphone enabled.

Also available in: Atom PDF