LizardByte / Sunshine

Self-hosted game stream host for Moonlight.
http://app.lizardbyte.dev/Sunshine/
GNU General Public License v3.0
19.8k stars 956 forks source link

Mouse click buttons unrecognised when host monitor is off #2721

Closed TroubledPerson closed 1 month ago

TroubledPerson commented 5 months ago

Is there an existing issue for this?

Is your issue described in 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 the host monitor is off which cuts connection to DisplayPort, sunshine is unable to receive left and right mouse clicks. until host monitor is turned back on

Expected Behavior

monitor off. left and right click execute respective function

Additional Context

No response

Host Operating System

Linux

Operating System Version

Linux Mint 21.1 Cinamon

Architecture

64 bit

Sunshine commit or version

Version v0.23.1

Package

Linux - flatpak

GPU Type

Nvidia

GPU Model

NVIDIA Corporation GA104 [GeForce RTX 3070 Ti]

GPU Driver/Mesa Version

nvidia-driver-525 or Version 535.171.04-0ubuntu0.22.04.1

Capture Method

None

Config

nv_rc = auto
dwmflush = enabled
vt_coder = auto
amd_rc = auto
sunshine_name = SGI_Onyx2 (Linux)
amd_quality = default
vt_software = auto
nv_coder = auto
resolutions = [
    352x240,
    480x360,
    858x480,
    1280x720,
    1920x1080,
    2560x1080,
    3440x1440,
    1920x1200,
    3860x2160,
    3840x1600
]
origin_pin_allowed = lan
vt_realtime = enabled
gamepad = x360
amd_coder = auto
nv_preset = default

Apps

No response

Relevant log output

[2024:06:18:19:48:41]: Info: Sunshine version: v0.23.1
[2024:06:18:19:48:41]: Info: System tray created
[2024:06:18:19:48:41]: Error: Failed to create session: This hardware does not support NvFBC
[2024:06:18:19:48:41]: Info: /dev/dri/card0 -> nvidia-drm
[2024:06:18:19:48:41]: Error: Environment variable WAYLAND_DISPLAY has not been defined
[2024:06:18:19:48:41]: Info: Detecting monitors
[2024:06:18:19:48:41]: Info: Detected monitor 0: HDMI-0, connected: false
[2024:06:18:19:48:41]: Info: Detected monitor 1: DP-0, connected: false
[2024:06:18:19:48:41]: Info: Detected monitor 2: DP-1, connected: false
[2024:06:18:19:48:41]: Info: Detected monitor 3: HDMI-1, connected: false
[2024:06:18:19:48:41]: Info: Detected monitor 4: DP-2, connected: true
[2024:06:18:19:48:41]: Info: Detected monitor 5: DP-3, connected: false
[2024:06:18:19:48:41]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:06:18:19:48:41]: Info: Trying encoder [nvenc]
[2024:06:18:19:48:41]: Info: Screencasting with X11
[2024:06:18:19:48:41]: Info: SDR color coding [Rec. 601]
[2024:06:18:19:48:41]: Info: Color depth: 8-bit
[2024:06:18:19:48:41]: Info: Color range: [JPEG]
[2024:06:18:19:48:41]: Info: SDR color coding [Rec. 601]
[2024:06:18:19:48:41]: Info: Color depth: 8-bit
[2024:06:18:19:48:41]: Info: Color range: [JPEG]
[2024:06:18:19:48:41]: Info: SDR color coding [Rec. 601]
[2024:06:18:19:48:41]: Info: Color depth: 8-bit
[2024:06:18:19:48:41]: Info: Color range: [JPEG]
[2024:06:18:19:48:41]: Warning: [av1_nvenc @ 0x5601c3574d80] Codec not supported
[2024:06:18:19:48:41]: Error: [av1_nvenc @ 0x5601c3574d80] Provided device doesn't support required NVENC features
[2024:06:18:19:48:41]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2024:06:18:19:48:41]: Info: Screencasting with X11
[2024:06:18:19:48:41]: Info: SDR color coding [Rec. 709]
[2024:06:18:19:48:41]: Info: Color depth: 10-bit
[2024:06:18:19:48:41]: Info: Color range: [JPEG]
[2024:06:18:19:48:41]: Error: cuda::cuda_t doesn't support any format other than AV_PIX_FMT_NV12
[2024:06:18:19:48:41]: Info: 
[2024:06:18:19:48:41]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:06:18:19:48:41]: Info: 
[2024:06:18:19:48:41]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2024:06:18:19:48:41]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2024:06:18:19:48:41]: Info: Adding avahi service Sunshine
[2024:06:18:19:48:41]: Info: Configuration UI available at [https://localhost:47990]
[2024:06:18:19:48:42]: Info: Avahi service Sunshine successfully established.
[2024:06:18:19:48:56]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:06:18:19:48:56]: Info: Trying encoder [nvenc]
[2024:06:18:19:48:56]: Info: Screencasting with X11
[2024:06:18:19:48:56]: Info: SDR color coding [Rec. 601]
[2024:06:18:19:48:56]: Info: Color depth: 8-bit
[2024:06:18:19:48:56]: Info: Color range: [JPEG]
[2024:06:18:19:48:56]: Info: SDR color coding [Rec. 601]
[2024:06:18:19:48:56]: Info: Color depth: 8-bit
[2024:06:18:19:48:56]: Info: Color range: [JPEG]
[2024:06:18:19:48:56]: Info: SDR color coding [Rec. 601]
[2024:06:18:19:48:56]: Info: Color depth: 8-bit
[2024:06:18:19:48:56]: Info: Color range: [JPEG]
[2024:06:18:19:48:56]: Warning: [av1_nvenc @ 0x7f9e744393c0] Codec not supported
[2024:06:18:19:48:56]: Error: [av1_nvenc @ 0x7f9e744393c0] Provided device doesn't support required NVENC features
[2024:06:18:19:48:56]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2024:06:18:19:48:56]: Info: Screencasting with X11
[2024:06:18:19:48:56]: Info: SDR color coding [Rec. 709]
[2024:06:18:19:48:56]: Info: Color depth: 10-bit
[2024:06:18:19:48:56]: Info: Color range: [JPEG]
[2024:06:18:19:48:56]: Error: cuda::cuda_t doesn't support any format other than AV_PIX_FMT_NV12
[2024:06:18:19:48:56]: Info: 
[2024:06:18:19:48:56]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:06:18:19:48:56]: Info: 
[2024:06:18:19:48:56]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2024:06:18:19:48:56]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2024:06:18:19:48:56]: Info: Executing [Desktop]
[2024:06:18:19:48:57]: Info: CLIENT CONNECTED
[2024:06:18:19:48:57]: Info: Detecting monitors
[2024:06:18:19:48:57]: Info: Detected monitor 0: HDMI-0, connected: false
[2024:06:18:19:48:57]: Info: Detected monitor 1: DP-0, connected: false
[2024:06:18:19:48:57]: Info: Detected monitor 2: DP-1, connected: false
[2024:06:18:19:48:57]: Info: Detected monitor 3: HDMI-1, connected: false
[2024:06:18:19:48:57]: Info: Detected monitor 4: DP-2, connected: false
[2024:06:18:19:48:57]: Info: Detected monitor 5: DP-3, connected: false
[2024:06:18:19:48:57]: Info: Screencasting with X11
[2024:06:18:19:48:57]: Info: Configuring selected monitor (0) to stream
[2024:06:18:19:48:57]: Warning: Couldn't get requested display info, defaulting to recording entire virtual desktop
[2024:06:18:19:48:57]: Info: SDR color coding [Rec. 709]
[2024:06:18:19:48:57]: Info: Color depth: 8-bit
[2024:06:18:19:48:57]: Info: Color range: [MPEG]
[2024:06:18:19:48:58]: Info: Setting default sink to: [sink-sunshine-stereo]
[2024:06:18:19:48:58]: Info: Found default monitor by name: sink-sunshine-stereo.monitor
LizardByte-bot commented 2 months ago

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 commented 1 month ago

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