LizardByte / LizardByte/Sunshine
MacOS hosting latency
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 41.3k
- Forks
- 2.1k
- Avg merge
- 23h 47m
- Merged PRs (30d)
- 124
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 pre-release
Describe the Bug
Hi, is there any way to fix the cursor latency when hosting on MacOS?
On a wired network, both Parsec and even TeamViewer perform way better than sunshine in terms of latency. If I enable a local cursor on the client (windows client, so cursor lag issue on moonlight when the client is on Mac does not happen), the streamed cursor always lags behind quite a bit.
Expected Behavior
Expect performance on par with Parsec or even TeamViewer
Additional Context
Mac mini M4 as the host, multiple clients tested with the same issue.
Host Operating System
macOS
Operating System Version
26.5.2
Architecture
arm64/aarch64
Package
macOS - dmg
GPU Type
Apple Silicon
GPU Model
M4
GPU Driver/Mesa Version
Capture Method
AVCaptureScreen (macOS)
Apps
Desktop
Log output
Online logs
No response
Contributor 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.
Research direction
Start by reproducing the cursor latency on the reported M4 Mac mini with the AVCaptureScreen capture method and a Windows client over a wired network. Compare the behavior with Parsec or TeamViewer and gather diagnostic logs, since this issue names no source file or test. Done means identifying and addressing the cause so cursor latency is substantially reduced, with a reproducible validation case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, macos
- Domain
- audio-video-rtc, desktop, performance
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100