macOS: remote mouse input silently dies after uptime — keyboard survives, fixed by process restart
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C++
- Star
- 42.7k
- Fork
- 2.3k
- Merge trung bình
- 1 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 101
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của LizardByte/Sunshine
-
Linux/NVIDIA: full-range 4:2:0 streams #FF0000 as green and #0000FF as dark greenCó thể đã có người làm @qqshfox đã nhận 13 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
LizardByte/Sunshine#5953 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
LizardByte/Sunshine#5795 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
PIN pairing fails with "Missing CSRF token" - web UI never fetches/attaches the tokenCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
LizardByte/Sunshine#5467 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Can't connect after computer reboot if there's global_prep_cmd setCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
LizardByte/Sunshine#6024 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
KWin + VA-API: Black screen on RX 6700 XT with EGL_BAD_PARAMETER (0x300C); memory-buffer workaround causes high latencyCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
LizardByte/Sunshine#6009 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của LizardByte/Sunshine
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
pocoproject/poco#5626 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Issue-Bug Needs-Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
microsoft/winget-cli#6645 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
cleanup help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
ESPresense/ESPresense#2602 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
devex good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày