Skip to content

KMS has new service file in beta Sunshine - read the documentation - tldr; use new sunshine-kms service #4666

@xiaozhangup

Description

@xiaozhangup

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

After updating from 2026.131.140325 to 2026.203.160441, sunshine cannot be used directly for streaming like before (it should be, because previously on my GNOME desktop, this icon did not appear below). However, if I enter desktop and start sunshine from the terminal, there is no problem.

Image

Expected Behavior

Just like before

Additional Context

No response

Host Operating System

Linux

Operating System Version

Fedora 43

Architecture

amd64/x86_64

Sunshine commit or version

Sunshine version: 2026.203.160441 commit: 66cdaf9

Package

Linux - Fedora Copr

GPU Type

Intel

GPU Model

Alder Lake-P GT2 (Iris Xe Graphics)

GPU Driver/Mesa Version

glxinfo -B

Capture Method

KMS (Linux)

Config

fec_percentage = 18
locale = zh
notify_pre_releases = enabled
output_name = 0
system_tray = disabled

Apps

{
    "apps": [
        {
            "image-path": "desktop.png",
            "name": "Desktop"
        },
        {
            "detached": [
                "setsid steam steam://open/bigpicture"
            ],
            "image-path": "steam.png",
            "name": "Steam Big Picture",
            "prep-cmd": [
                {
                    "do": "",
                    "undo": "setsid steam steam://close/bigpicture"
                }
            ]
        }
    ],
    "env": {
        "PATH": "$(PATH):$(HOME)/.local/bin"
    }
}

Relevant log output

[2026-02-04 20:59:30.402]: Info: Sunshine version: 2026.203.160441 commit: 66cdaf9d14c890e165b10a1f94be8452afd67b76
[2026-02-04 20:59:30.403]: Info: Package Publisher: LizardByte
[2026-02-04 20:59:30.403]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-02-04 20:59:30.403]: Info: Get support: https://app.lizardbyte.dev/support
[2026-02-04 20:59:30.403]: Info: config: 'fec_percentage' = 18
[2026-02-04 20:59:30.403]: Info: config: 'locale' = zh
[2026-02-04 20:59:30.403]: Info: config: 'notify_pre_releases' = enabled
[2026-02-04 20:59:30.403]: Info: config: 'output_name' = 0
[2026-02-04 20:59:30.403]: Info: config: 'system_tray' = disabled
[2026-02-04 20:59:30.404]: Error: Couldn't load cuda: -1
[2026-02-04 20:59:30.404]: Info: Found display [wayland-0]
[2026-02-04 20:59:30.404]: Info: Found interface: wl_output(3) version 4
[2026-02-04 20:59:30.404]: Info: Found interface: wl_output(4) version 4
[2026-02-04 20:59:30.404]: Info: Found interface: zxdg_output_manager_v1(5) version 3
[2026-02-04 20:59:30.404]: Info: Found interface: zwp_linux_dmabuf_v1(24) version 5
[2026-02-04 20:59:30.404]: Warning: Missing Wayland wire for wlr-export-dmabuf
[2026-02-04 20:59:30.404]: Error: Failed to gain CAP_SYS_ADMIN
[2026-02-04 20:59:30.404]: Info: /dev/dri/card1 -> i915
[2026-02-04 20:59:30.404]: Error: Failed to gain CAP_SYS_ADMIN
[2026-02-04 20:59:30.404]: Error: Couldn't get handle for DRM Framebuffer [289]: Probably not permitted
[2026-02-04 20:59:30.404]: Error: If you installed from AppImage or Flatpak, KMS capture is not supported.
Please refer to the official documentation:
https://docs.lizardbyte.dev/projects/sunshine/latest/md_docs_2getting__started.html#linux
[2026-02-04 20:59:30.404]: Info: Found display [wayland-0]
[2026-02-04 20:59:30.404]: Info: Found display [wayland-0]
[2026-02-04 20:59:30.404]: Info: Found interface: wl_output(3) version 4
[2026-02-04 20:59:30.404]: Info: Found interface: wl_output(4) version 4
[2026-02-04 20:59:30.404]: Info: Found interface: zxdg_output_manager_v1(5) version 3
[2026-02-04 20:59:30.404]: Info: Found interface: zwp_linux_dmabuf_v1(24) version 5
[2026-02-04 20:59:30.404]: Info: Resolution: 2240x1400
[2026-02-04 20:59:30.404]: Info: Resolution: 2560x1600
[2026-02-04 20:59:30.404]: Info: Offset: 1280x0
[2026-02-04 20:59:30.404]: Info: Logical size: 1280x800
[2026-02-04 20:59:30.404]: Info: Name: HDMI-1
[2026-02-04 20:59:30.404]: Info: Found monitor: RZD 14"
[2026-02-04 20:59:30.404]: Info: Offset: 0x0
[2026-02-04 20:59:30.404]: Info: Logical size: 1280x800
[2026-02-04 20:59:30.404]: Info: Name: eDP-1
[2026-02-04 20:59:30.404]: Info: Found monitor: 内置显示器
[2026-02-04 20:59:30.404]: Info: -------- Start of KMS monitor list --------
[2026-02-04 20:59:30.404]: Warning: Mismatch on expected Resolution compared to actual resolution: 0x0 vs 2240x1400
[2026-02-04 20:59:30.404]: Info: Monitor 0 is HDMI-1: RZD 14"
[2026-02-04 20:59:30.404]: Warning: Mismatch on expected Resolution compared to actual resolution: 0x0 vs 2560x1600
[2026-02-04 20:59:30.404]: Info: Monitor 0 is eDP-1: 内置显示器
[2026-02-04 20:59:30.404]: Info: --------- End of KMS monitor list ---------
[2026-02-04 20:59:30.404]: Info: Loaded portal restore token from disk
[2026-02-04 20:59:30.500]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-02-04 20:59:30.500]: Info: Trying encoder [nvenc]
[2026-02-04 20:59:30.500]: Info: Screencasting with XDG portal
[2026-02-04 20:59:30.500]: Info: Found display [wayland-0]
[2026-02-04 20:59:30.509]: Info: Hybrid GPU system detected (Intel + discrete) - CUDA will use memory buffers
[2026-02-04 20:59:30.509]: Info: Loaded portal restore token from disk
[2026-02-04 20:59:30.515]: Error: Could not select sources: GDBus.Error:org.freedesktop.portal.Error.InvalidArgument: Remote desktop sessions cannot persist
[2026-02-04 20:59:30.515]: Warning: ScreenCast.SelectSources failed with RemoteDesktop session, trying ScreenCast-only mode
[2026-02-04 20:59:30.537]: Info: Creating encoder [h264_nvenc]
[2026-02-04 20:59:30.537]: Info: Color coding: SDR (Rec. 601)
[2026-02-04 20:59:30.537]: Info: Color depth: 8-bit
[2026-02-04 20:59:30.537]: Info: Color range: JPEG
[2026-02-04 20:59:30.537]: Info: Connected to pipewire version 1.4.10
[2026-02-04 20:59:30.537]: Error: Couldn't load cuda: -1
[2026-02-04 20:59:30.537]: Info: Creating encoder [h264_nvenc]
[2026-02-04 20:59:30.537]: Info: Color coding: SDR (Rec. 601)
[2026-02-04 20:59:30.537]: Info: Color depth: 8-bit
[2026-02-04 20:59:30.537]: Info: Color range: JPEG
[2026-02-04 20:59:30.537]: Error: Couldn't load cuda: -1
[2026-02-04 20:59:30.537]: Info: Encoder [nvenc] failed
[2026-02-04 20:59:30.538]: Info: Trying encoder [vaapi]
[2026-02-04 20:59:30.538]: Info: Screencasting with XDG portal
[2026-02-04 20:59:30.538]: Info: Found display [wayland-0]
[2026-02-04 20:59:30.538]: Info: Hybrid GPU system detected (Intel + discrete) - CUDA will use memory buffers
[2026-02-04 20:59:30.540]: Info: Creating encoder [h264_vaapi]
[2026-02-04 20:59:30.540]: Info: Color coding: SDR (Rec. 601)
[2026-02-04 20:59:30.540]: Info: Color depth: 8-bit
[2026-02-04 20:59:30.540]: Info: Color range: JPEG
[2026-02-04 20:59:30.540]: Info: Connected to pipewire version 1.4.10
[2026-02-04 20:59:30.551]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 25.3.4 ()
[2026-02-04 20:59:30.551]: Info: Streaming bitrate is 1000000
[2026-02-04 20:59:30.551]: Info: Using LP encoding mode
[2026-02-04 20:59:30.551]: Info: Using VBR with single frame VBV size
[2026-02-04 20:59:30.589]: Info: Creating encoder [hevc_vaapi]
[2026-02-04 20:59:30.589]: Info: Color coding: SDR (Rec. 601)
[2026-02-04 20:59:30.589]: Info: Color depth: 8-bit
[2026-02-04 20:59:30.589]: Info: Color range: JPEG
[2026-02-04 20:59:30.598]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 25.3.4 ()
[2026-02-04 20:59:30.598]: Info: Streaming bitrate is 1000000
[2026-02-04 20:59:30.598]: Info: Using LP encoding mode
[2026-02-04 20:59:30.598]: Info: Using VBR with single frame VBV size
[2026-02-04 20:59:30.648]: Info: Creating encoder [av1_vaapi]
[2026-02-04 20:59:30.648]: Info: Color coding: SDR (Rec. 601)
[2026-02-04 20:59:30.648]: Info: Color depth: 8-bit
[2026-02-04 20:59:30.648]: Info: Color range: JPEG
[2026-02-04 20:59:30.655]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 25.3.4 ()
[2026-02-04 20:59:30.655]: Info: Streaming bitrate is 1000000
[2026-02-04 20:59:30.655]: Error: [av1_vaapi @ 0x36b4b440] No usable encoding entrypoint found for profile VAProfileAV1Profile0 (32).
[2026-02-04 20:59:30.655]: Error: Could not open codec [av1_vaapi]: Function not implemented
[2026-02-04 20:59:30.656]: Info: Screencasting with XDG portal
[2026-02-04 20:59:30.656]: Info: Found display [wayland-0]
[2026-02-04 20:59:30.660]: Info: Hybrid GPU system detected (Intel + discrete) - CUDA will use memory buffers
[2026-02-04 20:59:30.662]: Info: Creating encoder [hevc_vaapi]
[2026-02-04 20:59:30.662]: Info: Color coding: SDR (Rec. 709)
[2026-02-04 20:59:30.662]: Info: Color depth: 10-bit
[2026-02-04 20:59:30.662]: Info: Color range: JPEG
[2026-02-04 20:59:30.662]: Info: Connected to pipewire version 1.4.10
[2026-02-04 20:59:30.670]: Info: vaapi vendor: Intel iHD driver for Intel(R) Gen Graphics - 25.3.4 ()
[2026-02-04 20:59:30.670]: Info: Streaming bitrate is 1000000
[2026-02-04 20:59:30.670]: Info: Using LP encoding mode
[2026-02-04 20:59:30.670]: Info: Using VBR with single frame VBV size
[2026-02-04 20:59:30.723]: Info: 
[2026-02-04 20:59:30.723]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-02-04 20:59:30.723]: Info: 
[2026-02-04 20:59:30.723]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2026-02-04 20:59:30.723]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2026-02-04 20:59:30.723]: Info: No main thread features enabled, skipping event loop
[2026-02-04 20:59:30.724]: Info: Configuration UI available at [https://localhost:47990]
[2026-02-04 20:59:30.725]: Info: Adding avahi service fedora
[2026-02-04 20:59:31.429]: Info: Web UI: [127.0.0.1] -- not authorized
[2026-02-04 20:59:31.637]: Info: Avahi service fedora successfully established.
Pinned by ReenigneArcher

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