Linux Plasma KDE: Pairing notification is not clickable and does not open the Sunshine pairing page

未关闭
#6,110 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
64/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
cpp, linux
领域
desktop

调研方向

Start by locating the code that creates the “Incoming Pairing Request” desktop notification and how notification actions are handled. The issue’s D-Bus capture shows that the notification sends an empty actions array; trace the pairing notification path and determine how its click should open the pairing page. Done means clicking the notification opens that page on KDE Plasma.

由索引模型根据 Issue 内容生成。

描述

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

When Moonlight, running on an iPad, attempts to pair with Sunshine, running on Fedora KDE Plasma, Sunshine displays an "Incoming Pairing Request" with the body " Click here to complete the pairing process" desktop notification. Clicking the notification does nothing. This is a first time use of both Moonlight and Sunshine on these devices and I have never paired the devices before.

Expected Behavior

When I click on the desktop notification that says "Click here to complete the pairing process" I expect to open the Sunshine server and navigate to the pin page.

Additional Context

Showing that the OS is capable of handling actions within notifcations:

gdbus call --session \
  --dest org.freedesktop.Notifications \
  --object-path /org/freedesktop/Notifications \
  --method org.freedesktop.Notifications.GetCapabilities

(['body', 'body-hyperlinks', 'body-markup', 'body-images',
'icon-static', 'actions', 'persistence', 'inline-reply',
'sound', 'x-kde-urls', 'x-kde-origin-name',
'x-kde-display-appname', 'inhibitions'],)

Captured D-Bus Notify method call for the Sunshine pairing notification:

method call
interface=org.freedesktop.Notifications
member=Notify

string "Sunshine"
uint32 0
string ""
string "Incoming Pairing Request"
string "Click here to complete the pairing process"
array [
]
array [
    dict entry(
        string "desktop-entry"
        variant string "dev.lizardbyte.app.Sunshine"
    )
]
int32 10000

Notably, the actions argument is an empty array.

Host Operating System

Linux

Operating System Version

Fedora 44

Architecture

amd64/x86_64

Package

Linux - Fedora Copr

GPU Type

NVIDIA

GPU Model

NVIDIA GeForce RTX 3080 Ti Laptop GPU

GPU Driver/Mesa Version

615.78.08

Capture Method

No response

Apps

Log output
[2026-11-15 17:15:56.283]: Info: Sunshine version: 2026.1115.211404 commit: bb6930bd782ed3edd2eea9a71d46b42183be9358
[2026-11-15 17:15:56.283]: Info: Package Publisher: LizardByte
[2026-11-15 17:15:56.283]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-11-15 17:15:56.283]: Info: Get support: https://app.lizardbyte.dev/support
[2026-11-15 17:15:56.377]: Error: Failed to create session:
[2026-11-15 17:15:56.377]: Info: [wayland] Found display [wayland-1]
[2026-11-15 17:15:56.377]: Info: [wayland] Found interface: wl_shm(10) version 2
[2026-11-15 17:15:56.377]: Info: [wayland] Found interface: zxdg_output_manager_v1(33) version 3
[2026-11-15 17:15:56.377]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(59) version 6
[2026-11-15 17:15:56.377]: Info: [wayland] Found interface: wl_output(64) version 4
[2026-11-15 17:15:56.377]: Info: [wayland] Found interface: wl_output(65) version 4
[2026-11-15 17:15:56.377]: Warning: [wlgrab] Missing Wayland wire for wlr-export-dmabuf
[2026-11-15 17:15:56.378]: Info: /dev/dri/card0 -> nvidia-drm
[2026-11-15 17:15:56.378]: Info: /dev/dri/card1 -> i915
[2026-11-15 17:15:56.378]: Info: [wayland] Found display [wayland-1]
[2026-11-15 17:15:56.378]: Info: [wayland] Found display [wayland-1]
[2026-11-15 17:15:56.379]: Info: [wayland] Found interface: wl_shm(10) version 2
[2026-11-15 17:15:56.379]: Info: [wayland] Found interface: zxdg_output_manager_v1(33) version 3
[2026-11-15 17:15:56.379]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(59) version 6
[2026-11-15 17:15:56.379]: Info: [wayland] Found interface: wl_output(64) version 4
[2026-11-15 17:15:56.379]: Info: [wayland] Found interface: wl_output(65) version 4
[2026-11-15 17:15:56.379]: Info: [wayland] Resolution: 2560x1440
[2026-11-15 17:15:56.379]: Info: [wayland] Resolution: 1920x1080
[2026-11-15 17:15:56.379]: Info: [wayland] Offset: 1920x0
[2026-11-15 17:15:56.379]: Info: [wayland] Logical size: 2048x1152
[2026-11-15 17:15:56.379]: Info: [wayland] Name: DP-4
[2026-11-15 17:15:56.379]: Info: [wayland] Found monitor: GIGA-BYTE TECHNOLOGY CO., LTD. M27Q X
[2026-11-15 17:15:56.379]: Info: [wayland] Offset: 0x72
[2026-11-15 17:15:56.379]: Info: [wayland] Logical size: 1920x1080
[2026-11-15 17:15:56.379]: Info: [wayland] Name: HDMI-A-5
[2026-11-15 17:15:56.379]: Info: [wayland] Found monitor: AOC 2590G4
[2026-11-15 17:15:56.379]: Info: -------- Start of KMS monitor list --------
[2026-11-15 17:15:56.379]: Info: Monitor 0 is DP-4: GIGA-BYTE TECHNOLOGY CO., LTD. M27Q X
[2026-11-15 17:15:56.379]: Info: Monitor 1 is HDMI-A-5: AOC 2590G4
[2026-11-15 17:15:56.379]: Info: --------- End of KMS monitor list ---------
[2026-11-15 17:15:56.401]: Info: [libvirtualhid] initialized linux-uhid-uinput backend
[2026-11-15 17:15:56.402]: Info: [libvirtualhid] created mouse 2
[2026-11-15 17:15:56.402]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-11-15 17:15:56.402]: Info: Trying encoder [nvenc]
[2026-11-15 17:15:56.402]: Info: Screencasting with KMS
[2026-11-15 17:15:56.402]: Info: /dev/dri/card0 -> nvidia-drm
[2026-11-15 17:15:56.402]: Info: Found monitor for DRM screencasting
[2026-11-15 17:15:56.402]: Info: Found connector ID [835]
[2026-11-15 17:15:56.402]: Info: Found cursor plane [200]
[2026-11-15 17:15:56.402]: Info: Creating encoder [h264_nvenc]
[2026-11-15 17:15:56.402]: Info: Color coding: SDR (Rec. 601)
[2026-11-15 17:15:56.402]: Info: Color depth: 8-bit
[2026-11-15 17:15:56.402]: Info: Color range: JPEG
[2026-11-15 17:15:56.430]: Info: EGL: context priority set to HIGH
[2026-11-15 17:15:56.564]: Info: Streaming bitrate is 1000000
[2026-11-15 17:15:56.749]: Info: Sharing GL->CUDA planes through external memory
[2026-11-15 17:15:56.804]: Info: Creating encoder [hevc_nvenc]
[2026-11-15 17:15:56.804]: Info: Color coding: SDR (Rec. 601)
[2026-11-15 17:15:56.804]: Info: Color depth: 8-bit
[2026-11-15 17:15:56.804]: Info: Color range: JPEG
[2026-11-15 17:15:56.805]: Info: EGL: context priority set to HIGH
[2026-11-15 17:15:56.807]: Info: Streaming bitrate is 1000000
[2026-11-15 17:15:56.952]: Info: Sharing GL->CUDA planes through external memory
[2026-11-15 17:15:56.998]: Info: Creating encoder [av1_nvenc]
[2026-11-15 17:15:56.998]: Info: Color coding: SDR (Rec. 601)
[2026-11-15 17:15:56.998]: Info: Color depth: 8-bit
[2026-11-15 17:15:56.998]: Info: Color range: JPEG
[2026-11-15 17:15:56.999]: Info: EGL: context priority set to HIGH
[2026-11-15 17:15:57.001]: Info: Streaming bitrate is 1000000
[2026-11-15 17:15:57.007]: Warning: [av1_nvenc @ 0x14b84500] Codec not supported
[2026-11-15 17:15:57.007]: Error: [av1_nvenc @ 0x14b84500] Provided device doesn't support required NVENC features
[2026-11-15 17:15:57.009]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2026-11-15 17:15:57.010]: Info: Screencasting with KMS
[2026-11-15 17:15:57.010]: Info: /dev/dri/card0 -> nvidia-drm
[2026-11-15 17:15:57.010]: Info: Found monitor for DRM screencasting
[2026-11-15 17:15:57.010]: Info: Found connector ID [835]
[2026-11-15 17:15:57.010]: Info: Found cursor plane [200]
[2026-11-15 17:15:57.010]: Info: Creating encoder [h264_nvenc]
[2026-11-15 17:15:57.010]: Info: Color coding: SDR (Rec. 601)
[2026-11-15 17:15:57.010]: Info: Color depth: 8-bit
[2026-11-15 17:15:57.010]: Info: Color range: JPEG
[2026-11-15 17:15:57.011]: Info: EGL: context priority set to HIGH
[2026-11-15 17:15:57.012]: Info: Streaming bitrate is 1000000
[2026-11-15 17:15:57.154]: Info: Sharing GL->CUDA planes through external memory
[2026-11-15 17:15:57.205]: Info: Screencasting with KMS
[2026-11-15 17:15:57.206]: Info: /dev/dri/card0 -> nvidia-drm
[2026-11-15 17:15:57.206]: Info: Found monitor for DRM screencasting
[2026-11-15 17:15:57.206]: Info: Found connector ID [835]
[2026-11-15 17:15:57.206]: Info: Found cursor plane [200]
[2026-11-15 17:15:57.206]: Info: Creating encoder [hevc_nvenc]
[2026-11-15 17:15:57.206]: Info: Color coding: SDR (Rec. 601)
[2026-11-15 17:15:57.206]: Info: Color depth: 8-bit
[2026-11-15 17:15:57.206]: Info: Color range: JPEG
[2026-11-15 17:15:57.207]: Info: EGL: context priority set to HIGH
[2026-11-15 17:15:57.209]: Info: Streaming bitrate is 1000000
[2026-11-15 17:15:57.362]: Info: Sharing GL->CUDA planes through external memory
[2026-11-15 17:15:57.411]: Info: Screencasting with KMS
[2026-11-15 17:15:57.411]: Info: /dev/dri/card0 -> nvidia-drm
[2026-11-15 17:15:57.411]: Info: Found monitor for DRM screencasting
[2026-11-15 17:15:57.411]: Info: Found connector ID [835]
[2026-11-15 17:15:57.411]: Info: Found cursor plane [200]
[2026-11-15 17:15:57.411]: Info: Creating encoder [hevc_nvenc]
[2026-11-15 17:15:57.411]: Info: Color coding: SDR (Rec. 709)
[2026-11-15 17:15:57.411]: Info: Color depth: 10-bit
[2026-11-15 17:15:57.411]: Info: Color range: JPEG
[2026-11-15 17:15:57.412]: Info: EGL: context priority set to HIGH
[2026-11-15 17:15:57.414]: Info: Streaming bitrate is 1000000
[2026-11-15 17:15:57.561]: Info: Sharing GL->CUDA planes through external memory
[2026-11-15 17:15:57.611]: Info: Screencasting with KMS
[2026-11-15 17:15:57.611]: Info: /dev/dri/card0 -> nvidia-drm
[2026-11-15 17:15:57.611]: Info: Found monitor for DRM screencasting
[2026-11-15 17:15:57.611]: Info: Found connector ID [835]
[2026-11-15 17:15:57.611]: Info: Found cursor plane [200]
[2026-11-15 17:15:57.611]: Info: Creating encoder [hevc_nvenc]
[2026-11-15 17:15:57.611]: Info: Color coding: SDR (Rec. 709)
[2026-11-15 17:15:57.611]: Info: Color depth: 10-bit
[2026-11-15 17:15:57.611]: Info: Color range: JPEG
[2026-11-15 17:15:57.612]: Info: EGL: context priority set to HIGH
[2026-11-15 17:15:57.614]: Info: Streaming bitrate is 1000000
[2026-11-15 17:15:57.763]: Info: Sharing GL->CUDA planes through external memory
[2026-11-15 17:15:57.813]: Info: Screencasting with KMS
[2026-11-15 17:15:57.813]: Info: /dev/dri/card0 -> nvidia-drm
[2026-11-15 17:15:57.813]: Info: Found monitor for DRM screencasting
[2026-11-15 17:15:57.813]: Info: Found connector ID [835]
[2026-11-15 17:15:57.813]: Info: Found cursor plane [200]
[2026-11-15 17:15:57.813]: Info: Screencasting with KMS
[2026-11-15 17:15:57.813]: Info: /dev/dri/card0 -> nvidia-drm
[2026-11-15 17:15:57.813]: Info: Found monitor for DRM screencasting
[2026-11-15 17:15:57.813]: Info: Found connector ID [835]
[2026-11-15 17:15:57.813]: Info: Found cursor plane [200]
[2026-11-15 17:15:57.813]: Info: Screencasting with KMS
[2026-11-15 17:15:57.813]: Info: /dev/dri/card0 -> nvidia-drm
[2026-11-15 17:15:57.814]: Info: Found monitor for DRM screencasting
[2026-11-15 17:15:57.814]: Info: Found connector ID [835]
[2026-11-15 17:15:57.814]: Info: Found cursor plane [200]
[2026-11-15 17:15:57.814]: Info:
[2026-11-15 17:15:57.814]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-11-15 17:15:57.814]: Info:
[2026-11-15 17:15:57.814]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2026-11-15 17:15:57.814]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2026-11-15 17:15:57.814]: Info: Starting system tray
[2026-11-15 17:15:57.815]: Info: Adding avahi service ultramarine
[2026-11-15 17:15:57.817]: Info: Configuration UI available at [https://localhost:47990]
[2026-11-15 17:15:57.868]: Info: System tray created
[2026-11-15 17:15:57.868]: Info: Starting main loop
[2026-11-15 17:15:58.715]: Info: Avahi service ultramarine successfully established.
[2026-11-15 17:16:18.679]: Warning: SSL Verification error :: Client certificate identity is not paired
[2026-11-15 17:16:19.729]: Warning: SSL Verification error :: Client certificate identity is not paired
[2026-11-15 17:16:19.862]: Warning: SSL Verification error :: Client certificate identity is not paired
[2026-11-15 17:16:22.055]: Warning: SSL Verification error :: Client certificate identity is not paired
[2026-11-15 17:16:22.838]: Warning: SSL Verification error :: Client certificate identity is not paired
[2026-11-15 17:16:22.897]: Warning: SSL Verification error :: Client certificate identity is not paired
[2026-11-15 17:16:24.275]: Warning: SSL Verification error :: Client certificate identity is not paired
[2026-11-15 17:25:52.229]: Warning: SSL Verification error :: Client certificate identity is not paired
[2026-11-15 17:25:53.131]: Warning: SSL Verification error :: Client certificate identity is not paired
[2026-11-15 17:25:53.201]: Warning: SSL Verification error :: Client certificate identity is not paired
[2026-11-15 17:25:53.985]: Warning: SSL Verification error :: Client certificate identity is not paired
[2026-11-15 17:25:54.736]: Warning: SSL Verification error :: Client certificate identity is not paired
[2026-11-15 17:25:55.684]: Warning: SSL Verification error :: Client certificate identity is not paired
Online logs

No response

主要语言
C++
星标
43k
派生
2.4k
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

LizardByte/Sunshine 的其他 Issue

查看 LizardByte/Sunshine 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。