Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
ximiTech opened this issue Jul 3, 2024 · 6 comments · May be fixed by #2508
Open
2 tasks done

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

ximiTech opened this issue Jul 3, 2024 · 6 comments · May be fixed by #2508
Labels
input:mouse Mouse issue os:macOS OS is macOS

Comments

@ximiTech
Copy link

ximiTech commented Jul 3, 2024

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

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
@Hazer
Copy link
Member

Hazer commented Jul 4, 2024

@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.

@ximiTech
Copy link
Author

ximiTech commented Jul 4, 2024

@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

@ChiangSam
Copy link

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

@chunzha1
Copy link

my solution is enable mouse input, restart service.

@Hazer Hazer linked a pull request Aug 6, 2024 that will close this issue
11 tasks
@LizardByte-bot
Copy link
Member

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
Copy link
Member

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

@LizardByte-bot LizardByte-bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 6, 2024
@ReenigneArcher ReenigneArcher reopened this Dec 5, 2024
@ReenigneArcher ReenigneArcher added os:macOS OS is macOS input:mouse Mouse issue labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
input:mouse Mouse issue os:macOS OS is macOS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants