Some non-haptic sound is played thought DualSense's haptic feedback
- PipeWire version (
pipewire --version
): 0.3.51 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): NixOS 22.11 (Raccoon) - Desktop Environment: KDE Plasma
- Kernel version (
uname -r
): 5.18.4
Description of Problem:
I have a dualsense controller (a.k.a PS5 controller). It feature, in addition to a built-in stereo speaker (with JACK) and a stereo microphone, haptic feedback (when connected via USB). Haptic feedback work here with (as far as I know) with two bass speaker embedded in the controller, having a similar effect to rumble, but being more controllable (Wikipedia say "voice coil actuators").
If I play song on them, I can indeed hear it with my ear near the controller, but it's mostly the vibration of the controller that I mostly hear.
How Reproducible:
Always
Steps to Reproduce:
- Have a DualSense and a USB-C to what your computer have cable
- Connect the DualSense to the computer with the USB-C cable
- Select the DualSense as the audio output
- Feel that the vibration of the controller when music is played, for exemple, with Amarok.
Actual Results:
The controller vibrate when played most audio.
Expected Results:
The controller only use haptic feedback when a software has explicitly asked for this.
Other info :
The audio doesn't work on Bluetooth (and so, the haptic feedback) (yet ?) due to not being implemented in the Linux kernel.
This issue tracker on proton track the compatibility of some Windows game with haptic feedback via Proton (here the remake of the PS1 video game Final Fantasy 7). https://github.com/ValveSoftware/Proton/issues/5900 . They seems to use the controller name (which need to patched due to having different name on Linux and Windows anyway).
On IRC/Matrix, there has been the discussion to either hide those two channel, or add a new channel type for haptic.
(I'm not familiar with how PW work, but my preference would be to allow software to use haptic feedback if they explicitly request this).