macOS: remote mouse input silently dies after uptime — keyboard survives, fixed by process restart

Đang mở
#5,874 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@ReenigneArcher đang làm issue này rồi.

Từ ngày 8/10/2026.

  • #183 của @ReenigneArcher — đang mở

Đá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
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp, macos
Lĩnh vực
backend, desktop

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.log at 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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của LizardByte/Sunshine

Tất cả issue của LizardByte/Sunshine

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.