Emulator Issues #12370
IR-pointer gets weird accelerations in opposite direction after tilt up/down when using motion sensons of the Playstation 5 (DualSense) controller
The Legend of Zelda: Skyward Sword (but also in the Wii menu)
Game ID? (right click the game in the game list, Properties, Info tab)
MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)
What's the problem? Describe what went wrong.
I mapped the IMUGyroscope and IMUAccelerometer of the Wiimote to my PS 5 controller.
In the preview in Dolphin everything looks and moves fine when I move/tilt the controller.
However, in the game (and the wii menu), the IR pointer acts weird:
When I tilt the controller up, the pointer correctly goes up for a second but after this it goes down without me moving the controller down.
Same in the opposite direction:
When I tilt the controller down, the pointer goes down a little but then it starts going up without me moving the controller anymore.
This does NOT happen with left and right, they work correcntly and the pointer stops when I stop moving the controller. Everything fine with left and right, it is up/down only.
I think I found a part of the game which seems to be only using the MotionPlus sensors, not IR pointer (not sure). Here up/down work correctly (see the video I linked above).
But in parts of the game using the IR pointer (like the map or the Wii menu) the problem occurs.
What steps will reproduce the problem?
Connect a PS 5 controller to a linux machine. (Manjaro in my case, I'm not sure if the OS does really matter.)
Install the PS 5 controller driver.
To use the motion sensors of the PS 5 controller, a driver is needed which is not in the kernel yet because the controller is very recent.
You can find the driver patches here:
and an AUR package for a dkms module of the driver here:
Map the Accelerometer and Gyroscope of the PS 5 controller to the Wiimote.
Start Zelda Skyward Sword.
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Is the issue present in the latest stable version?
I don't know, haven't tried since the stable is years old at this point anyway.
If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
I really don't want to go through thousands of commits, sorry.
I tried version 5.0-13178 (current beta), 5.0-13184 (from Manjaro repos), as well as a self built git master from yesterday evening (2020-12-29). All of this versions have the problem.
If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer
No graphical glitches happening.
What are your PC specifications? (CPU, GPU, Operating System, more)
CPU: Intel Core i7-7700
GPU: Nvidia GTX 1060
OS: Manjaro Linux
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
A video showing the problem:
My controller config profile:
One extra fact:
This weird acceleration in the opposite direction does NOT HAPPEN when I map the X axis of the gyroscope (tilt up/down) in the opposite direction. Of course tilt up/down are reversed if setup like this, but the IR pointer only moves in one direction as it should and correctly stops when I stop tilting the controller.
This is also shown in the video.