Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

There is an issue with the scrolling function in macOS

Open fatebugs opened this issue 8 months ago • 7 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Is your issue described in the documentation?

  • [x] 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

When using the scroll wheel in Moonlight, it does not scroll directly up or down, but rather towards the top left or bottom right, resulting in inability to scroll on some interfaces. The mouse is the Logitech M720 and Logitech G903

Expected Behavior

scroll directly up or down

Additional Context

No response

Host Operating System

macOS

Operating System Version

15.3.1

Architecture

other, n/a

Sunshine commit or version

v2025.207.134332

Package

macOS - Homebrew

GPU Type

Apple Silicon

GPU Model

apple

GPU Driver/Mesa Version

apple

Capture Method

AVCaptureScreen (macOS)

Config


Apps


Relevant log output

[2025-03-07 10:20:10.122473] [0x00000001f5990840] [info]    Missing file: log
[2025-03-07 10:20:10.123]: Info: Sunshine version: v2025.207.134332
[2025-03-07 10:20:10.123]: Info: Package Publisher: LizardByte
[2025-03-07 10:20:10.123]: Info: Publisher Website: https://app.lizardbyte.dev
[2025-03-07 10:20:10.123]: Info: Get support: https://app.lizardbyte.dev/support
[2025-03-07 10:20:10.136]: Error: No screen capture permission!
[2025-03-07 10:20:10.136]: Error: Please activate it in 'System Preferences' -> 'Privacy' -> 'Screen Recording'
[2025-03-07 10:20:10.140]: Error: Platform failed to initialize
[2025-03-07 10:20:10.161]: Warning: No gamepad input is available
[2025-03-07 10:20:10.161]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-03-07 10:20:10.161]: Info: Trying encoder [videotoolbox]
[2025-03-07 10:20:10.173]: Info: Detecting displays
[2025-03-07 10:20:10.173]: Info: Detected display: DP1080P60 (id: 1) connected: true
[2025-03-07 10:20:10.173]: Info: Configuring selected display (1) to stream
[2025-03-07 10:20:10.177]: Info: Creating encoder [h264_videotoolbox]
[2025-03-07 10:20:10.177]: Info: Color coding: SDR (Rec. 601)
[2025-03-07 10:20:10.177]: Info: Color depth: 8-bit
[2025-03-07 10:20:10.177]: Info: Color range: JPEG
[2025-03-07 10:20:10.300]: Warning: [h264_videotoolbox @ 0x121709520] PrioritizeEncodingSpeedOverQuality property is not supported on this device. Ignoring.
[2025-03-07 10:20:10.301]: Info: [h264_videotoolbox @ 0x121709520] This device does not support the AllowOpenGop option. Value ignored.
[2025-03-07 10:20:10.302]: Info: Creating encoder [h264_videotoolbox]
[2025-03-07 10:20:10.302]: Info: Color coding: SDR (Rec. 601)
[2025-03-07 10:20:10.302]: Info: Color depth: 8-bit
[2025-03-07 10:20:10.302]: Info: Color range: JPEG
[2025-03-07 10:20:10.303]: Warning: [h264_videotoolbox @ 0x111607ed0] PrioritizeEncodingSpeedOverQuality property is not supported on this device. Ignoring.
[2025-03-07 10:20:10.304]: Info: [h264_videotoolbox @ 0x111607ed0] This device does not support the AllowOpenGop option. Value ignored.
[2025-03-07 10:20:10.305]: Info: Encoder [videotoolbox] failed
[2025-03-07 10:20:10.305]: Info: Trying encoder [software]
[2025-03-07 10:20:10.305]: Info: Detecting displays
[2025-03-07 10:20:10.305]: Info: Detected display: DP1080P60 (id: 1) connected: true
[2025-03-07 10:20:10.305]: Info: Configuring selected display (1) to stream
[2025-03-07 10:20:10.305]: Info: Creating encoder [libx264]
[2025-03-07 10:20:10.305]: Info: Color coding: SDR (Rec. 601)
[2025-03-07 10:20:10.305]: Info: Color depth: 8-bit
[2025-03-07 10:20:10.305]: Info: Color range: JPEG
[2025-03-07 10:20:10.305]: Info: [libx264 @ 0x1216347f0] using cpu capabilities: ARMv8 NEON
[2025-03-07 10:20:10.305]: Info: [libx264 @ 0x1216347f0] profile High, level 4.2, 4:2:0, 8-bit
[2025-03-07 10:20:10.306]: Info: Creating encoder [libx264]
[2025-03-07 10:20:10.306]: Info: Color coding: SDR (Rec. 601)
[2025-03-07 10:20:10.306]: Info: Color depth: 8-bit
[2025-03-07 10:20:10.306]: Info: Color range: JPEG
[2025-03-07 10:20:10.306]: Info: [libx264 @ 0x1216345b0] using cpu capabilities: ARMv8 NEON
[2025-03-07 10:20:10.306]: Info: [libx264 @ 0x1216345b0] profile High, level 4.2, 4:2:0, 8-bit
[2025-03-07 10:20:10.307]: Info: Encoder [software] failed
[2025-03-07 10:20:10.307]: Fatal: Unable to find display or encoder during startup.
[2025-03-07 10:20:10.307]: Fatal: Please check that a display is connected and powered on.
[2025-03-07 10:20:10.307]: Error: Video failed to find working encoder
[2025-03-07 10:20:10.307]: Fatal: Couldn't bind RTSP server to port [48010], Address already in use
[2025-03-07 10:20:10.451]: Info: Successfully registered DNS service.
[2025-03-07 10:20:10.451]: Info: Deregistered DNS service.

fatebugs avatar Mar 07 '25 02:03 fatebugs

same issue

MEIZU16 avatar Mar 19 '25 10:03 MEIZU16

same issue on m4 mac mini :( macos 15.2

kiluss2 avatar Mar 20 '25 08:03 kiluss2

It's not just a mouse issue; the keyboard section also has incompatible key mappings, which is likely because moonlight or sunshine hasn't been adapted for macOS.

achenjiefeng avatar Mar 21 '25 17:03 achenjiefeng

can confirm, 13.6

odt1 avatar Mar 23 '25 18:03 odt1

It's not just a mouse issue; the keyboard section also has incompatible key mappings, which is likely because moonlight or sunshine hasn't been adapted for macOS.

I'm experiencing the same issue. For example, when I press the Command key and then another letter key, the letter key sometimes gets stuck and doesn't release.

dreamfly-jiefa avatar Mar 27 '25 03:03 dreamfly-jiefa

same issue

hackintosh-J avatar Apr 12 '25 08:04 hackintosh-J

The Mac mini M4 Pro using sunshine-beta v2025.414.181259 to stream to Windows 11 via moonlight also encountered the same issue, which appears to remain unfixed.
The Mac's scroll wheel event coordinates do not align with Windows' default expectations, causing Sunshine to interpret vertical scrolling as a mixed input of tilted X/Y axes (manifesting as diagonal scrolling). This is a compatibility issue with Sunshine's input mapping module. Mac mini M4 Pro使用sunshine-beta v2025.414.181259串流至win11的moonlight也出现了同样的问题,看样子一直没修复。 Mac 的滚轮事件坐标与 Windows 的默认预期不一致,导致 Sunshine 将垂直滚动解析为 倾斜的 X/Y 轴混合输入(表现为右下滚动)。这是 Sunshine 输入映射模块的兼容性问题。

Ultramanbi avatar Apr 18 '25 07:04 Ultramanbi

It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!

LizardByte-bot avatar Jul 17 '25 10:07 LizardByte-bot

This issue was closed because it has been stalled for 10 days with no activity.

LizardByte-bot avatar Jul 28 '25 10:07 LizardByte-bot