Skip to content
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

[Bug]: No keyboard/mouse input in Sunshine #107

Open
miguelangel-nubla opened this issue Nov 21, 2023 · 5 comments
Open

[Bug]: No keyboard/mouse input in Sunshine #107

miguelangel-nubla opened this issue Nov 21, 2023 · 5 comments
Labels
status:awaiting-triage type:bug Something isn't working

Comments

@miguelangel-nubla
Copy link

miguelangel-nubla commented Nov 21, 2023

Describe the Bug

Keyboard/mouse not working when connected with Moonlight to the Sunshine server.

Tracked it down to udevd daemon not running, it was a pain to debug.

Workaround:

  1. sudo /lib/systemd/systemd-udevd --daemon
  2. Restart sunshine.

I am unable to reproduce it on another system, and can't find a error anywhere on the logs. As far as I know it is completely silent except it is obviously not running px aux | grep udevd

This compounds with the fact that udev supervisor unit watches for the PID of udevadm monitor instead of udevd daemon. Maybe creating a exclusive udevd supervisor unit helps?

Regardless, I understand supervisord does not have dependency management. Given the nature of this container it looks like issues like this are going to get worse.

Would migrating to an alternative with support for dependencies such as S6-overlay make sense in the bigger picture? I don't know which path should I take to submit a PR.

Steps to Reproduce

No response

Expected Behavior

No response

Screenshots

No response

Relevant Settings

No response

Version

Build: [2023-11-18 02:38:41] [master] [6cc9f56] [debian]

Platform

Distribution: Running under systemd-nspawn with jlmkr on TrueNAS Scale
Linux Kernel: 5.15.131+truenas
GPU Driver versions: | NVIDIA-SMI 515.65.01 Driver Version: 515.65.01 CUDA Version: 11.7 |
Docker: 24.0.7, build afdd53b
Docker-compose: v2.21.0

Relevant log output

No response

@WillKirkmanM
Copy link

Hey! Was facing this issue in TrueNAS Scale, here is my thread #105
TLDR; Enable This,
284545301-630e6e12-cbef-453b-91b6-0f785d324e9d

@miguelangel-nubla
Copy link
Author

miguelangel-nubla commented Nov 21, 2023

Thanks for the input, but this is a different environment.
I am running a separate docker with compose under systemd-nspawn with jlmkr .
Already running steam-headless container with host networking.

NOT using Scale native apps/truecharts. I have shot myself on the foot trusting truecharts too many times.
Running manual docker images now or "simple" community charts only, biggest quality of life upgrade ever, and way easier to manage.

@janlothar
Copy link

Thank you for your service @miguelangel-nubla. Your quick fix solved the same issue I had. Would be nice if we could get an official fix for this though.

@armouredking
Copy link

Can confirm, this workaround allowed me to use my input devices with the Docker. OS Unraid 6.12.8

@DCCInterstellar
Copy link

I've been running into this same exact issue on Unraid 6.12.0 with Docker. Currently using the latest patch for josh5/steam-headless.

  1. sudo /lib/systemd/systemd-udevd --daemon
  2. Restart sunshine.

The command that was mentioned resolved this issue and is now working. Thank you so much! I'm going to save that command for future use just incase it acts up again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:awaiting-triage type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants