Skip to content

Sunshine not connecting with native fedora. #4734

@martinmahieu-nic

Description

@martinmahieu-nic

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 trying to connect i use the PIN to pair. The screen icon on Moonlight become a warning sign and the pairing isn't done. Sometimes the screen become a warning sign even before entering the PIN. On flatpak the connection work but i have a KMS error where i need to run "sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))" which seams to not work on flatpak. It also worked on windows so i think the bug comes from the fedora native package.

Expected Behavior

My laptop and computer being connected.

Additional Context

In the log line7, there is a "Error: Failed to create session:".

Host Operating System

Linux

Operating System Version

Nobara

Architecture

amd64/x86_64

Package

Linux - Fedora Copr

GPU Type

NVIDIA

GPU Model

Nvidia RTX 3070

GPU Driver/Mesa Version

580.126.09

Capture Method

KMS (Linux)

Apps

Log output

[2026-02-16 02:18:00.118]: Info: Sunshine version: 2026.214.224301 commit: a038cc1375cdd5a20509fe12565f1339535d7954
[2026-02-16 02:18:00.118]: Info: Package Publisher: LizardByte
[2026-02-16 02:18:00.118]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-02-16 02:18:00.118]: Info: Get support: https://app.lizardbyte.dev/support
[2026-02-16 02:18:00.118]: Info: config: 'min_log_level' = 2
[2026-02-16 02:18:00.118]: Info: config: 'port' = 47984
[2026-02-16 02:18:00.284]: Error: Failed to create session: 
[2026-02-16 02:18:00.284]: Info: Found display [wayland-0]
[2026-02-16 02:18:00.284]: Info: Found interface: zxdg_output_manager_v1(31) version 3
[2026-02-16 02:18:00.284]: Info: Found interface: zwp_linux_dmabuf_v1(58) version 5
[2026-02-16 02:18:00.284]: Info: Found interface: wl_output(66) version 4
[2026-02-16 02:18:00.284]: Info: Found interface: wl_output(67) version 4
[2026-02-16 02:18:00.284]: Warning: Missing Wayland wire for wlr-export-dmabuf
[2026-02-16 02:18:00.284]: Info: /dev/dri/card1 -> nvidia-drm
[2026-02-16 02:18:00.284]: Info: Found display [wayland-0]
[2026-02-16 02:18:00.284]: Info: Found display [wayland-0]
[2026-02-16 02:18:00.285]: Info: Found interface: zxdg_output_manager_v1(31) version 3
[2026-02-16 02:18:00.285]: Info: Found interface: zwp_linux_dmabuf_v1(58) version 5
[2026-02-16 02:18:00.285]: Info: Found interface: wl_output(66) version 4
[2026-02-16 02:18:00.285]: Info: Found interface: wl_output(67) version 4
[2026-02-16 02:18:00.285]: Info: Resolution: 1920x1080
[2026-02-16 02:18:00.285]: Info: Resolution: 1920x1080
[2026-02-16 02:18:00.285]: Info: Offset: 0x0
[2026-02-16 02:18:00.285]: Info: Logical size: 1920x1080
[2026-02-16 02:18:00.285]: Info: Name: DP-1
[2026-02-16 02:18:00.285]: Info: Found monitor: Acer Technologies ED270R
[2026-02-16 02:18:00.285]: Info: Offset: 1920x0
[2026-02-16 02:18:00.285]: Info: Logical size: 1920x1080
[2026-02-16 02:18:00.285]: Info: Name: HDMI-A-2
[2026-02-16 02:18:00.285]: Info: Found monitor: Microstep MSI MP241X
[2026-02-16 02:18:00.285]: Info: -------- Start of KMS monitor list --------
[2026-02-16 02:18:00.285]: Info: Monitor 0 is DP-1: Acer Technologies ED270R
[2026-02-16 02:18:00.285]: Info: Monitor 1 is HDMI-A-2: Microstep MSI MP241X
[2026-02-16 02:18:00.285]: Info: --------- End of KMS monitor list ---------
[2026-02-16 02:18:00.285]: Info: Loaded portal restore token from disk
[2026-02-16 02:18:00.330]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-02-16 02:18:00.330]: Info: Trying encoder [nvenc]
[2026-02-16 02:18:00.330]: Info: Screencasting with KMS
[2026-02-16 02:18:00.330]: Info: /dev/dri/card1 -> nvidia-drm
[2026-02-16 02:18:00.330]: Info: Found monitor for DRM screencasting
[2026-02-16 02:18:00.330]: Info: Found connector ID [131]
[2026-02-16 02:18:00.330]: Info: Found cursor plane [56]
[2026-02-16 02:18:00.330]: Info: Creating encoder [h264_nvenc]
[2026-02-16 02:18:00.330]: Info: Color coding: SDR (Rec. 601)
[2026-02-16 02:18:00.330]: Info: Color depth: 8-bit
[2026-02-16 02:18:00.330]: Info: Color range: JPEG
[2026-02-16 02:18:00.506]: Info: Streaming bitrate is 1000000
[2026-02-16 02:18:00.783]: Info: Creating encoder [hevc_nvenc]
[2026-02-16 02:18:00.783]: Info: Color coding: SDR (Rec. 601)
[2026-02-16 02:18:00.783]: Info: Color depth: 8-bit
[2026-02-16 02:18:00.783]: Info: Color range: JPEG
[2026-02-16 02:18:00.785]: Info: Streaming bitrate is 1000000
[2026-02-16 02:18:01.049]: Info: Creating encoder [av1_nvenc]
[2026-02-16 02:18:01.050]: Info: Color coding: SDR (Rec. 601)
[2026-02-16 02:18:01.050]: Info: Color depth: 8-bit
[2026-02-16 02:18:01.050]: Info: Color range: JPEG
[2026-02-16 02:18:01.052]: Info: Streaming bitrate is 1000000
[2026-02-16 02:18:01.058]: Warning: [av1_nvenc @ 0x1266a400] Codec not supported
[2026-02-16 02:18:01.058]: Error: [av1_nvenc @ 0x1266a400] Provided device doesn't support required NVENC features
[2026-02-16 02:18:01.309]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2026-02-16 02:18:01.310]: Info: Screencasting with KMS
[2026-02-16 02:18:01.310]: Info: /dev/dri/card1 -> nvidia-drm
[2026-02-16 02:18:01.310]: Info: Found monitor for DRM screencasting
[2026-02-16 02:18:01.310]: Info: Found connector ID [131]
[2026-02-16 02:18:01.310]: Info: Found cursor plane [56]
[2026-02-16 02:18:01.310]: Info: Creating encoder [hevc_nvenc]
[2026-02-16 02:18:01.310]: Info: Color coding: SDR (Rec. 709)
[2026-02-16 02:18:01.311]: Info: Color depth: 10-bit
[2026-02-16 02:18:01.311]: Info: Color range: JPEG
[2026-02-16 02:18:01.313]: Info: Streaming bitrate is 1000000
[2026-02-16 02:18:01.580]: Info: 
[2026-02-16 02:18:01.580]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-02-16 02:18:01.580]: Info: 
[2026-02-16 02:18:01.580]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2026-02-16 02:18:01.580]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2026-02-16 02:18:01.581]: Info: Starting system tray
[2026-02-16 02:18:01.582]: Info: Adding avahi service PCF-NOB-martin
[2026-02-16 02:18:01.583]: Info: Configuration UI available at [https://localhost:47985]
[2026-02-16 02:18:01.606]: Info: System tray created
[2026-02-16 02:18:01.606]: Info: Starting main loop
[2026-02-16 02:18:02.483]: Info: Avahi service PCF-NOB-martin successfully established.
[2026-02-16 02:18:06.912]: Info: Opening UI from system tray
[2026-02-16 02:18:06.923]: Info: Opened url [https://localhost:47985]
[2026-02-16 02:18:09.559]: Info: Web UI: [127.0.0.1] -- not authorized

Online logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions