Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

The mouse cursor always stay at the top left corner on macOS

Open ximiTech opened this issue 1 year ago • 9 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

The mouse cursor cannot move, and it will stay at the top left corner, latest brew version on macOS. And the program is configed to be desktop mode. The encode and decode mode is set to be auto, I've checked issue history and found related issue happed on Linux platform, not found information for macOS.

Expected Behavior

The mouse function is ok, when encode and decode mode is set to be auto,

Additional Context

none

Host Operating System

macOS

Operating System Version

Sonoma 14.4

Architecture

64 bit

Sunshine commit or version

v2024.702.125729

Package

macOS - Homebrew

GPU Type

AMD

GPU Model

AMD 6900 xt

GPU Driver/Mesa Version

macOS driver

Capture Method

AVCaptureScreen (macOS)

Config

audio_sink = BlackHole 2ch

Apps

{
  "env": {},
  "apps": [
    {
      "name": "Desktop",
      "image-path": "desktop.png"
    },
    {
      "name": "Steam Big Picture",
      "cmd": "steam://open/bigpicture",
      "auto-detach": "true",
      "wait-all": "true",
      "image-path": "steam.png"
    }
  ]
}

Relevant log output

[audio_sink] -- [BlackHole 2ch]
[2024:07:05:03:18:47]: Info: Sunshine version: v2024.702.125729
[2024:07:05:03:18:47]: Warning: No gamepad input is available
[2024:07:05:03:18:47]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:07:05:03:18:47]: Info: Trying encoder [videotoolbox]
[2024:07:05:03:18:47]: Info: Detecting displays
[2024:07:05:03:18:47]: Info: Detected display: LG ULTRAGEAR+ (id: 459107888) connected: true
[2024:07:05:03:18:47]: Info: Detected display: DP1080P60 (id: 486579209) connected: true
[2024:07:05:03:18:47]: Info: Detected display: VP2785 SERIES (id: 417319958) connected: true
[2024:07:05:03:18:47]: Info: Configuring selected display (459107888) to stream
[2024:07:05:03:18:47]: Info: SDR color coding [Rec. 601]
[2024:07:05:03:18:47]: Info: Color depth: 8-bit
[2024:07:05:03:18:47]: Info: Color range: [JPEG]
[2024:07:05:03:18:48]: Warning: [h264_videotoolbox @ 0x7fd859836840] PrioritizeEncodingSpeedOverQuality property is not supported on this device. Ignoring.
[2024:07:05:03:18:48]: Info: [h264_videotoolbox @ 0x7fd859836840] This device does not support the AllowOpenGop option. Value ignored.
[2024:07:05:03:18:48]: Info: SDR color coding [Rec. 601]
[2024:07:05:03:18:48]: Info: Color depth: 8-bit
[2024:07:05:03:18:48]: Info: Color range: [JPEG]
[2024:07:05:03:18:48]: Warning: [hevc_videotoolbox @ 0x7fd859836800] PrioritizeEncodingSpeedOverQuality property is not supported on this device. Ignoring.
[2024:07:05:03:18:48]: Info: [hevc_videotoolbox @ 0x7fd859836800] This device does not support the AllowOpenGop option. Value ignored.
[2024:07:05:03:18:48]: Info: [hevc_videotoolbox @ 0x7fd859836800] This device does not support the qmin option. Value ignored.
[2024:07:05:03:18:48]: Info: [hevc_videotoolbox @ 0x7fd859836800] This device does not support the qmax option. Value ignored.
[2024:07:05:03:18:49]: Info: SDR color coding [Rec. 601]
[2024:07:05:03:18:49]: Info: Color depth: 8-bit
[2024:07:05:03:18:49]: Info: Color range: [JPEG]
[2024:07:05:03:18:49]: Error: Couldn't open [av1_videotoolbox]
[2024:07:05:03:18:49]: Info: Detecting displays
[2024:07:05:03:18:49]: Info: Detected display: LG ULTRAGEAR+ (id: 459107888) connected: true
[2024:07:05:03:18:49]: Info: Detected display: DP1080P60 (id: 486579209) connected: true
[2024:07:05:03:18:49]: Info: Detected display: VP2785 SERIES (id: 417319958) connected: true
[2024:07:05:03:18:49]: Info: Configuring selected display (459107888) to stream
[2024:07:05:03:18:49]: Info: SDR color coding [Rec. 709]
[2024:07:05:03:18:49]: Info: Color depth: 10-bit
[2024:07:05:03:18:49]: Info: Color range: [JPEG]
[2024:07:05:03:18:49]: Warning: [hevc_videotoolbox @ 0x7fd83a308f80] PrioritizeEncodingSpeedOverQuality property is not supported on this device. Ignoring.
[2024:07:05:03:18:49]: Info: [hevc_videotoolbox @ 0x7fd83a308f80] This device does not support the AllowOpenGop option. Value ignored.
[2024:07:05:03:18:49]: Info: [hevc_videotoolbox @ 0x7fd83a308f80] This device does not support the qmin option. Value ignored.
[2024:07:05:03:18:49]: Info: [hevc_videotoolbox @ 0x7fd83a308f80] This device does not support the qmax option. Value ignored.
[2024:07:05:03:18:50]: Info: 
[2024:07:05:03:18:50]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:07:05:03:18:50]: Info: 
[2024:07:05:03:18:50]: Info: Found H.264 encoder: h264_videotoolbox [videotoolbox]
[2024:07:05:03:18:50]: Info: Found HEVC encoder: hevc_videotoolbox [videotoolbox]
[2024:07:05:03:18:50]: Error: Couldn't find any of the following libraries: [libavahi-common.3.dylib, libavahi-common.dylib]
[2024:07:05:03:18:50]: Info: Configuration UI available at [https://localhost:47990]
[2024:07:05:03:21:14]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:07:05:03:21:14]: Info: Trying encoder [videotoolbox]
[2024:07:05:03:21:14]: Info: Detecting displays
[2024:07:05:03:21:14]: Info: Detected display: DP1080P60 (id: 486579209) connected: true
[2024:07:05:03:21:14]: Info: Configuring selected display (486579209) to stream
[2024:07:05:03:21:14]: Info: SDR color coding [Rec. 601]
[2024:07:05:03:21:14]: Info: Color depth: 8-bit
[2024:07:05:03:21:14]: Info: Color range: [JPEG]
[2024:07:05:03:21:14]: Warning: [h264_videotoolbox @ 0x7fd859a23cc0] PrioritizeEncodingSpeedOverQuality property is not supported on this device. Ignoring.
[2024:07:05:03:21:14]: Info: [h264_videotoolbox @ 0x7fd859a23cc0] This device does not support the AllowOpenGop option. Value ignored.
[2024:07:05:03:21:14]: Info: SDR color coding [Rec. 601]
[2024:07:05:03:21:14]: Info: Color depth: 8-bit
[2024:07:05:03:21:14]: Info: Color range: [JPEG]
[2024:07:05:03:21:15]: Warning: [hevc_videotoolbox @ 0x7fd859915b00] PrioritizeEncodingSpeedOverQuality property is not supported on this device. Ignoring.
[2024:07:05:03:21:15]: Info: [hevc_videotoolbox @ 0x7fd859915b00] This device does not support the AllowOpenGop option. Value ignored.
[2024:07:05:03:21:15]: Info: [hevc_videotoolbox @ 0x7fd859915b00] This device does not support the qmin option. Value ignored.
[2024:07:05:03:21:15]: Info: [hevc_videotoolbox @ 0x7fd859915b00] This device does not support the qmax option. Value ignored.
[2024:07:05:03:21:15]: Info: SDR color coding [Rec. 601]
[2024:07:05:03:21:15]: Info: Color depth: 8-bit
[2024:07:05:03:21:15]: Info: Color range: [JPEG]
[2024:07:05:03:21:15]: Error: Couldn't open [av1_videotoolbox]
[2024:07:05:03:21:15]: Info: Detecting displays
[2024:07:05:03:21:15]: Info: Detected display: DP1080P60 (id: 486579209) connected: true
[2024:07:05:03:21:15]: Info: Configuring selected display (486579209) to stream
[2024:07:05:03:21:15]: Info: SDR color coding [Rec. 709]
[2024:07:05:03:21:15]: Info: Color depth: 10-bit
[2024:07:05:03:21:15]: Info: Color range: [JPEG]
[2024:07:05:03:21:15]: Warning: [hevc_videotoolbox @ 0x7fd859917b40] PrioritizeEncodingSpeedOverQuality property is not supported on this device. Ignoring.
[2024:07:05:03:21:15]: Info: [hevc_videotoolbox @ 0x7fd859917b40] This device does not support the AllowOpenGop option. Value ignored.
[2024:07:05:03:21:15]: Info: [hevc_videotoolbox @ 0x7fd859917b40] This device does not support the qmin option. Value ignored.
[2024:07:05:03:21:15]: Info: [hevc_videotoolbox @ 0x7fd859917b40] This device does not support the qmax option. Value ignored.
[2024:07:05:03:21:16]: Info: 
[2024:07:05:03:21:16]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:07:05:03:21:16]: Info: 
[2024:07:05:03:21:16]: Info: Found H.264 encoder: h264_videotoolbox [videotoolbox]
[2024:07:05:03:21:16]: Info: Found HEVC encoder: hevc_videotoolbox [videotoolbox]
[2024:07:05:03:21:16]: Info: Executing [Desktop]
[2024:07:05:03:21:16]: Info: CLIENT CONNECTED
[2024:07:05:03:21:16]: Info: Detecting displays
[2024:07:05:03:21:16]: Info: Detected display: DP1080P60 (id: 486579209) connected: true
[2024:07:05:03:21:16]: Info: Configuring selected display (486579209) to stream
[2024:07:05:03:21:16]: Info: SDR color coding [Rec. 601]
[2024:07:05:03:21:16]: Info: Color depth: 8-bit
[2024:07:05:03:21:16]: Info: Color range: [MPEG]
[2024:07:05:03:21:16]: Warning: [hevc_videotoolbox @ 0x7fd83a308180] PrioritizeEncodingSpeedOverQuality property is not supported on this device. Ignoring.
[2024:07:05:03:21:16]: Info: [hevc_videotoolbox @ 0x7fd83a308180] This device does not support the AllowOpenGop option. Value ignored.
[2024:07:05:03:21:16]: Info: [hevc_videotoolbox @ 0x7fd83a308180] This device does not support the qmin option. Value ignored.
[2024:07:05:03:21:16]: Info: [hevc_videotoolbox @ 0x7fd83a308180] This device does not support the qmax option. Value ignored.
[2024:07:05:03:21:16]: Warning: audio_control_t::set_sink() unimplemented: BlackHole 2ch
[2024:07:05:03:21:16]: Error: Encoder did not produce IDR frame when requested!
[2024:07:05:03:21:16]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY

ximiTech avatar Jul 03 '24 21:07 ximiTech

@ximiTech your config file is setting amdvce encoder that don't even exist in macOS, it's either software or videotoolbox.

Remove those settings and provide logs. Also a print of your VideoProc Converter hardware acceleration status.

Hazer avatar Jul 04 '24 13:07 Hazer

@ximiTech your config file is setting amdvce encoder that don't even exist in macOS, it's either software or videotoolbox.

Remove those settings and provide logs. Also a print of your VideoProc Converter hardware acceleration status.

Sorry for the misleading infor, that piece is from Windows, I'm too lazy. I've edited the post above.. The "hackintosh" I'm using is configed to enable these: 2024-07-05 03 40 27

ximiTech avatar Jul 04 '24 19:07 ximiTech

I have encountered the same issue and am not sure if you have resolved it. Could you provide the solution if you have one?

ChiangSam avatar Jul 09 '24 03:07 ChiangSam

my solution is enable mouse input, restart service.

chunzha1 avatar Jul 29 '24 07:07 chunzha1

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 Oct 27 '24 10:10 LizardByte-bot

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

LizardByte-bot avatar Nov 06 '24 10:11 LizardByte-bot

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 Mar 19 '25 10:03 LizardByte-bot

Can you test this PR? https://github.com/LizardByte/Sunshine/pull/2508

ReenigneArcher avatar Mar 27 '25 02:03 ReenigneArcher

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 Jun 26 '25 10:06 LizardByte-bot

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

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