Emulator Issues #13038
Crash when Dolphin registers a Steam XInput controller after update
Game ID? (right click the game in the game list, properties, info tab)
MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)
What's the problem? Describe what went wrong.
After updating today following the July/August 2022 progress report, I'm met with crashes when launching Dolphin through Steam. The crashes occur immediately upon Dolphin recognizing controllers connected through Steam. It doesn't seem to matter whether the controller is plugged in or Bluetooth connected.
What steps will reproduce the problem?
First, on Steam's Library page:
1) Click "Add a Game", "Add a Non-Steam Game", then check Dolphin and click "Add Selected Programs".
Method A: Controller already connected
1) Connect a controller.
2) Boot Dolphin through Steam.
3) Crash. I don't even get to see the GUI, but logs can still be printed.
Method B: No controllers yet
1) Boot Dolphin through Steam.
2) In Dolphin, click "Controllers", then click "Configure" for Port 1.
3) Connect a controller. You may see a message from Steam acknowledging this.
4) In Dolphin, click "Refresh" next to the device list.
5) Crash. (In rare cases it won't crash until any game is started.)
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?
Tested and crashed on Beta 5.0-17269. Reverting to Beta 5.0-16793, the crashes disappeared.
What are your PC specifications? (CPU, GPU, Operating System, more)
Processor: AMD Ryzen 5 3600 6-Core Processor (12 CPUs), ~3.6GHz
Display Adapter: AMD Radeon RTX 6800
OS: Windows 10 Pro 64-bit (10.0, build 19044)
Memory: 32768MB RAM
DirectX Version: DirectX 12
Is there any other relevant information? (e.g. logs, screenshots, configuration files)
Steam general controller settings: All controller support settings are turned on. "Turn off on Big Picture Exit" is turned off.
In either method to reproduce the crash, if Dolphin generates logs, it'll give one of these two lines:
[timestamp] InputCommon\ControllerInterface\ControllerInterface.cpp:326 N[CI]: Added device: DInput/0/Controller (XBOX 360 For Windows)
[timestamp] InputCommon\ControllerInterface\ControllerInterface.cpp:326 N[CI]: Added device: XInput/0/Gamepad
...Followed by this line, ending the file:
[timestamp] InputCommon\ControllerInterface\WGInput\WGInput.cpp:484 E[CI]: WGInput: Error populating haptics