macOS: remote mouse input silently dies after uptime — keyboard survives, fixed by process restart
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
The report identifies macOS mouse injection as the failing area but names no source files or tests. Start by locating the macOS input-injection implementation and any tests or history related to #4652, then investigate why mouse injection stops while keyboard input continues. Done means remote mouse movement and clicks remain functional over extended sessions; an open linked pull request indicates work may already be underway.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your issue described in the documentation?
- I have read the documentation
Is your issue present in the latest beta/pre-release?
This issue is present in the latest release
Describe the Bug
On a macOS host, remote mouse input silently stops being injected while a Moonlight session is active. When it happens:
- Video stream continues normally.
- Remote keyboard input still works.
- Remote mouse is completely dead — no movement, no clicks.
- The physically attached mouse on the Mac keeps working.
- Nothing abnormal appears in
sunshine.logat the default log level.
Restarting the Sunshine process immediately restores remote mouse input:
launchctl kickstart -k "gui/$(id -u)/dev.lizardbyte.Sunshine"
The symptom has recurred 3 times over 2 days (Oct 7, Oct 8 twice — once only ~5 h after a restart), always with the same signature: keyboard alive, mouse dead, restart fixes it. Possibly related to #4652 (mouse movement dead on macOS while click/keyboard worked), though in my case there is no cursor jitter — the injected mouse input is simply absent.
Expected Behavior
Mouse input injection should keep working for the lifetime of the Sunshine process.
Additional Context
Accessibility/Screen Recording permissions are granted and had been working (keyboard injection still functioning while mouse was dead suggests this is not a TCC revocation). Happy to reproduce with min_log_level = debug if maintainers tell me which log lines to look for.
Host Operating System
macOS
Operating System Version
27.0.1 (build 26A434)
Architecture
arm64/aarch64
Sunshine commit or version
2026.914.233613 (commit 63d35f702ee9e362e43263742981836ec0710384)
Package
macOS - Homebrew
GPU Type
Apple Silicon
GPU Model
Apple M5 Max (Mac17,14)
GPU Driver/Mesa Version
NA
Capture Method
None (default)
Config
address_family = both
encoder = software
locale = ko
native_pen_touch = disabled
sw_preset = ultrafast
sw_tune = zerolatency
Apps
(desktop streaming)
Relevant log output
Nothing relevant at default log level — the failure is silent.
Client: Moonlight Qt on Arch Linux.
- Dominant language
- C++
- Stars
- 42k
- Forks
- 2.2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 125
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LizardByte/Sunshine
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
LizardByte/Sunshine#5795 ·
Maintainers usually reply within 1 day
-
PIN pairing fails with "Missing CSRF token" - web UI never fetches/attaches the tokenMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
LizardByte/Sunshine#5467 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 22/100
LizardByte/Sunshine#5894 ·
Maintainers usually reply within 1 day
-
[Windows 11 Insider] Black screen when capturing secondary monitor (negative coordinates / AMD GPU)Open
Difficulty 4/5 3-5 days Newbie friendliness 15/100
LizardByte/Sunshine#5884 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 Half a day Newbie friendliness 48/100
LizardByte/Sunshine#5871 · 3 comments ·
Maintainers usually reply within 1 day
All issues in LizardByte/Sunshine
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
AcademySoftwareFoundation/Imath#611 ·
Maintainers usually reply within 1 day
-
The Outdated Version prompt shows the release tag as unescaped HTMLPossibly taken @on8st claimed this today. Openbug good first issue GUI maintainer-review priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
aethersdr/AetherSDR#6405 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
bitcoin-core/gui-qml#1003 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
metasequoiaime/msime#7328 ·
Maintainers usually reply within 1 day