-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gyro sensors are not working for Sunshine on Linux #3618
Comments
This is not a Sunshine version. |
The sunshine package version is v2025.130.210222-1 for the lizardbyte-beta/sunshine-git aur package. |
Alright... I can help the packagers fix the version in Sunshine if they reach out here. |
Looking again at the symptoms I was seeing I think it is the same issue as |
Thanks for following up. Should be merged soon |
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
When I connect to the latest beta release (also tested with prior releases of sunshine on linux) the remote connection works and the virtual gamepad connects to the remote session, however enabling the 2 options
only has the effect of changing the emulated device to report as a DS4/5 device. No motion sensor data is received.
The same test with the exact same hardware with the server running window 11 does provide motion sensor data as expected.
Server: Lenovo Legion 7 running CachyOS with latest sunshine beta pkg from https://github.com/LizardByte/pacman-repo
client: Google Pixel 7 pro running lestet moonlight client v12.1 from play store
Expected Behavior
Motion sensor data should be provided to the session.
Additional Context
I have installed the sdl-jstest utility and this is the output when the client is connected
./sdl2-jstest -l
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Found 1 joystick(s)
Joystick Name: 'DualSense Wireless Controller'
Joystick GUID: 030057564c050000e60c000000006800
Joystick Number: 0
Number of Axes: 6
Number of Buttons: 13
Number of Hats: 1
Number of Balls: 0
GameControllerConfig:
Name: 'DualSense Wireless Controller'
Mapping: '030057564c050000e60c000000006800,*,a:b0,b:b1,back:b4,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b5,leftshoulder:b9,leftstick:b7,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b8,righttrigger:a5,rightx:a2,righty:a3,start:b6,x:b2,y:b3,touchpad:b11,misc1:b12,crc:5657,platform:Linux,'
Also the virtual gamepad shows up in chrome with the website https://hardwaretester.com/gamepad/
Host Operating System
Linux
Operating System Version
CachyOS 12/24 updated to latest
Architecture
amd64/x86_64
Sunshine commit or version
sunshine --verison 2025-02-01 00:16:13.598
Package
Linux - LizardByte/pacman-repo
GPU Type
NVIDIA
GPU Model
RTX 4090 mobile
GPU Driver/Mesa Version
570.86.16-2/24.3.4-2
Capture Method
KMS (Linux)
Config
~/.config/sunshine/sunshine.conf is 0 bytes. Not sure where the config is stored.
Apps
n/a
Relevant log output
The text was updated successfully, but these errors were encountered: