Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

Pairing notification does nothing

Open abrandst opened this issue 10 months ago • 5 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

On Fedora 41 with a KDE session running sunshine, pair a client. A notification appears: "Incoming Pairing Request Click here to complete the pairing process"

Clicking that notification does nothing.

The same behavior is present in both X11 and Wayland KDE sessions. Sunshine was installed from flatpack.

Expected Behavior

Clicking that notification pairs the client or opens some dialog to pair the client.

Additional Context

No response

Host Operating System

Linux

Operating System Version

Fedora Core 41

Architecture

amd64/x86_64

Sunshine commit or version

v2025.122.141614

Package

Linux - flathub/flatpak

GPU Type

NVIDIA

GPU Model

RTX 3060

GPU Driver/Mesa Version

565.77

Capture Method

None

Config

default config with no adaptions

Apps


Relevant log output

no output relating to the request

abrandst avatar Jan 23 '25 12:01 abrandst

Clicking that notification pairs the client or opens some dialog to pair the client.

It is supposed to open the web ui. Does the open sunshine option work from the tray icon?

Please restart Sunshine, and try to do a pair again. Then share the full logs.

ReenigneArcher avatar Jan 23 '25 13:01 ReenigneArcher

Rebooted, and restarted sunshine. The Web UI opens normally from the task bar. The logs below are all from before the pairing - the pairing request does not generate any log entry, nor does it show up in the web ui itself.

[2025-01-23 16:29:31.372]: Info: Sunshine version: v2025.122.141614 [2025-01-23 16:29:31.372]: Info: Package Publisher: LizardByte [2025-01-23 16:29:31.372]: Info: Publisher Website: https://app.lizardbyte.dev [2025-01-23 16:29:31.372]: Info: Get support: https://app.lizardbyte.dev/support [2025-01-23 16:29:31.414]: Info: System tray created [2025-01-23 16:29:31.844]: Info: Found [1] outputs [2025-01-23 16:29:31.844]: Info: Virtual Desktop: 3840x2160 [2025-01-23 16:29:31.844]: Info: XrandR: available [2025-01-23 16:29:31.844]: Info: -- Output -- [2025-01-23 16:29:31.844]: Info: Resolution: 3840x2160 [2025-01-23 16:29:31.844]: Info: Offset: 0x0 [2025-01-23 16:29:31.883]: Error: Couldn't release NvFBC context from current thread: [2025-01-23 16:29:31.883]: Info: Detecting displays [2025-01-23 16:29:31.898]: Info: Detected display: HDMI-0 (id: 0)HDMI-0 connected: false [2025-01-23 16:29:31.898]: Info: Detected display: DP-0 (id: 1)DP-0 connected: true [2025-01-23 16:29:31.898]: Info: Detected display: DP-1 (id: 2)DP-1 connected: false [2025-01-23 16:29:31.898]: Info: Detected display: DP-2 (id: 3)DP-2 connected: false [2025-01-23 16:29:31.899]: Info: Detected display: DP-3 (id: 4)DP-3 connected: false [2025-01-23 16:29:31.899]: Info: Detected display: DP-4 (id: 5)DP-4 connected: false [2025-01-23 16:29:31.899]: Info: Detected display: DP-5 (id: 6)DP-5 connected: false [2025-01-23 16:29:31.899]: Info: Detected display: HDMI-1-1 (id: 7)HDMI-1-1 connected: false [2025-01-23 16:29:31.899]: Info: Detected display: DP-1-1 (id: 8)DP-1-1 connected: false [2025-01-23 16:29:31.982]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. // [2025-01-23 16:29:31.982]: Info: Trying encoder [nvenc] [2025-01-23 16:29:31.982]: Info: Screencasting with NvFBC [2025-01-23 16:29:32.147]: Info: Creating encoder [h264_nvenc] [2025-01-23 16:29:32.147]: Info: Color coding: SDR (Rec. 601) [2025-01-23 16:29:32.147]: Info: Color depth: 8-bit [2025-01-23 16:29:32.147]: Info: Color range: JPEG [2025-01-23 16:29:32.526]: Info: Creating encoder [hevc_nvenc] [2025-01-23 16:29:32.526]: Info: Color coding: SDR (Rec. 601) [2025-01-23 16:29:32.526]: Info: Color depth: 8-bit [2025-01-23 16:29:32.526]: Info: Color range: JPEG [2025-01-23 16:29:32.791]: Info: Creating encoder [av1_nvenc] [2025-01-23 16:29:32.791]: Info: Color coding: SDR (Rec. 601) [2025-01-23 16:29:32.791]: Info: Color depth: 8-bit [2025-01-23 16:29:32.791]: Info: Color range: JPEG [2025-01-23 16:29:32.799]: Warning: [av1_nvenc @ 0x563a92160a00] Codec not supported [2025-01-23 16:29:32.800]: Error: [av1_nvenc @ 0x563a92160a00] Provided device doesn't support required NVENC features [2025-01-23 16:29:33.051]: Error: Could not open codec [av1_nvenc]: Function not implemented [2025-01-23 16:29:33.082]: Error: Couldn't release NvFBC context from current thread: [2025-01-23 16:29:33.082]: Info: Screencasting with NvFBC [2025-01-23 16:29:33.206]: Info: Creating encoder [hevc_nvenc] [2025-01-23 16:29:33.206]: Info: Color coding: SDR (Rec. 709) [2025-01-23 16:29:33.206]: Info: Color depth: 10-bit [2025-01-23 16:29:33.206]: Info: Color range: JPEG [2025-01-23 16:29:33.228]: Error: cuda::cuda_t doesn't support any format other than AV_PIX_FMT_NV12 [2025-01-23 16:29:33.502]: Error: Couldn't release NvFBC context from current thread: [2025-01-23 16:29:33.502]: Info: [2025-01-23 16:29:33.502]: Info: // Ignore any errors mentioned above, they are not relevant. // [2025-01-23 16:29:33.502]: Info: [2025-01-23 16:29:33.502]: Info: Found H.264 encoder: h264_nvenc [nvenc] [2025-01-23 16:29:33.502]: Info: Found HEVC encoder: hevc_nvenc [nvenc] [2025-01-23 16:29:33.504]: Info: Configuration UI available at [https://localhost:47990] [2025-01-23 16:29:33.504]: Info: Adding avahi service fedora [2025-01-23 16:29:34.483]: Info: Avahi service fedora successfully established.

abrandst avatar Jan 23 '25 15:01 abrandst

No idea, they're almost the same exact code.

https://github.com/LizardByte/Sunshine/blob/64544e7960f5141f71438d72e5dedad81c03729c/src/entry_handler.cpp#L29-L37

It's called from:

https://github.com/LizardByte/Sunshine/blob/64544e7960f5141f71438d72e5dedad81c03729c/src/system_tray.cpp#L308-L310

ReenigneArcher avatar Jan 23 '25 15:01 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 Apr 24 '25 10:04 LizardByte-bot

If you are still facing this issue please test the build here: https://github.com/LizardByte/Sunshine/actions/runs/14744857138?pr=3818#artifacts and report back whether it solves the issue or not?

It is from https://github.com/LizardByte/Sunshine/pull/3818 which refactors how the system tray runs.

ReenigneArcher avatar Apr 30 '25 02:04 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 Jul 30 '25 10:07 LizardByte-bot

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

LizardByte-bot avatar Aug 10 '25 10:08 LizardByte-bot