Skip to content

Inconsistent FPS in Certain Games #4693

@inkatail

Description

@inkatail

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

I've noticed that in some games, Sunshine reports FPS significantly lower than what the game is actually running at. For example, in Euro Truck Simulator 2 and the recently released Cairn, Sunshine drops the reported FPS to around 40, even though MangoHud shows the game running at 80–90 FPS. Additionally, the host processing latency in these games becomes noticeably high, which is definitely bad. I haven’t found any anomalies in the logs, making this behavior particularly confusing.

Expected Behavior

Game running smoothly, without bigger issues.

Additional Context

No response

Host Operating System

Linux

Operating System Version

CachyOS

Architecture

amd64/x86_64

Package

Linux - AUR (Third Party)

GPU Type

AMD

GPU Model

AMD Radeon RX 6600

GPU Driver/Mesa Version

26.1.0-devel (Tested with 25.3.5 too)

Capture Method

XDG Portal Grab (Linux)

Apps

Log output

[2026-02-09 21:35:50.858]: Info: Sunshine version: 2026.209.34151.r0.g97b6168 commit: 
[2026-02-09 21:35:50.858]: Info: Package Publisher: AUR
[2026-02-09 21:35:50.858]: Info: Publisher Website: https://aur.archlinux.org/packages/sunshine-git
[2026-02-09 21:35:50.859]: Info: Get support: https://aur.archlinux.org/packages/sunshine-git
[2026-02-09 21:35:50.859]: Info: config: 'fec_percentage' = 1
[2026-02-09 21:35:50.859]: Info: config: 'wan_encryption_mode' = 0
[2026-02-09 21:35:50.860]: Info: Found display [wayland-0]
[2026-02-09 21:35:50.863]: Info: Found interface: zxdg_output_manager_v1(31) version 3
[2026-02-09 21:35:50.863]: Info: Found interface: zwp_linux_dmabuf_v1(58) version 5
[2026-02-09 21:35:50.863]: Info: Found interface: wl_output(65) version 4
[2026-02-09 21:35:50.863]: Warning: Missing Wayland wire for wlr-export-dmabuf
[2026-02-09 21:35:50.863]: Error: Failed to gain CAP_SYS_ADMIN
[2026-02-09 21:35:50.863]: Info: /dev/dri/card1 -> amdgpu
[2026-02-09 21:35:50.863]: Error: Failed to gain CAP_SYS_ADMIN
[2026-02-09 21:35:50.863]: Error: Couldn't get handle for DRM Framebuffer [148]: Probably not permitted
[2026-02-09 21:35:50.863]: Error: You must use the 'sunshine-kms' service instead of the 'sunshine' service for KMS capture.
Please refer to the official documentation:
  stable: https://docs.lizardbyte.dev/projects/sunshine/latest/md_docs_2getting__started.html#linux-1  beta: https://docs.lizardbyte.dev/projects/sunshine/master/md_docs_2getting__started.html#linux-1
[2026-02-09 21:35:50.865]: Info: Found display [wayland-0]
[2026-02-09 21:35:50.865]: Info: Found display [wayland-0]
[2026-02-09 21:35:50.867]: Info: Found interface: zxdg_output_manager_v1(31) version 3
[2026-02-09 21:35:50.867]: Info: Found interface: zwp_linux_dmabuf_v1(58) version 5
[2026-02-09 21:35:50.867]: Info: Found interface: wl_output(65) version 4
[2026-02-09 21:35:50.867]: Info: Resolution: 1920x1080
[2026-02-09 21:35:50.867]: Info: Offset: 0x0
[2026-02-09 21:35:50.867]: Info: Logical size: 1920x1080
[2026-02-09 21:35:50.867]: Info: Name: HDMI-A-1
[2026-02-09 21:35:50.867]: Info: Found monitor: Samsung Electric Company HDMI-A-1-SAMSUNG
[2026-02-09 21:35:50.867]: Info: -------- Start of KMS monitor list --------
[2026-02-09 21:35:50.867]: Warning: Mismatch on expected Resolution compared to actual resolution: 0x0 vs 1920x1080
[2026-02-09 21:35:50.867]: Info: Monitor 0 is HDMI-A-1: Samsung Electric Company HDMI-A-1-SAMSUNG
[2026-02-09 21:35:50.867]: Info: --------- End of KMS monitor list ---------
[2026-02-09 21:35:50.867]: Info: Loaded portal restore token from disk
[2026-02-09 21:35:50.906]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-02-09 21:35:50.906]: Info: Trying encoder [nvenc]
[2026-02-09 21:35:50.906]: Info: Screencasting with XDG portal
[2026-02-09 21:35:50.906]: Info: Found display [wayland-0]
[2026-02-09 21:35:50.921]: Info: Loaded portal restore token from disk
[2026-02-09 21:35:50.931]: Error: SelectDevices failed with response code: 2
[2026-02-09 21:35:50.931]: Warning: RemoteDesktop.SelectDevices failed, falling back to ScreenCast-only mode
[2026-02-09 21:35:50.954]: Info: Creating encoder [h264_nvenc]
[2026-02-09 21:35:50.954]: Info: Color coding: SDR (Rec. 601)
[2026-02-09 21:35:50.954]: Info: Color depth: 8-bit
[2026-02-09 21:35:50.954]: Info: Color range: JPEG
[2026-02-09 21:35:50.954]: Info: Connected to pipewire version 1.4.10
[2026-02-09 21:35:50.955]: Error: [CUDA @ 0x56247f893f80] Cannot load libcuda.so.1
[2026-02-09 21:35:50.955]: Error: [CUDA @ 0x56247f893f80] Could not dynamically load CUDA
[2026-02-09 21:35:50.955]: Error: Failed to create a CUDA device: Operation not permitted
[2026-02-09 21:35:50.955]: Info: Creating encoder [h264_nvenc]
[2026-02-09 21:35:50.955]: Info: Color coding: SDR (Rec. 601)
[2026-02-09 21:35:50.955]: Info: Color depth: 8-bit
[2026-02-09 21:35:50.955]: Info: Color range: JPEG
[2026-02-09 21:35:50.955]: Error: [CUDA @ 0x56247f894400] Cannot load libcuda.so.1
[2026-02-09 21:35:50.955]: Error: [CUDA @ 0x56247f894400] Could not dynamically load CUDA
[2026-02-09 21:35:50.955]: Error: Failed to create a CUDA device: Operation not permitted
[2026-02-09 21:35:50.955]: Info: Encoder [nvenc] failed
[2026-02-09 21:35:50.955]: Info: Trying encoder [vaapi]
[2026-02-09 21:35:50.955]: Info: Screencasting with XDG portal
[2026-02-09 21:35:50.955]: Info: Found display [wayland-0]
[2026-02-09 21:35:50.968]: Info: Creating encoder [h264_vaapi]
[2026-02-09 21:35:50.968]: Info: Color coding: SDR (Rec. 601)
[2026-02-09 21:35:50.968]: Info: Color depth: 8-bit
[2026-02-09 21:35:50.968]: Info: Color range: JPEG
[2026-02-09 21:35:50.968]: Info: Connected to pipewire version 1.4.10
[2026-02-09 21:35:50.981]: Info: vaapi vendor: Mesa Gallium driver 26.1.0-devel for AMD Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 6.18.9-2-cachyos)
[2026-02-09 21:35:50.983]: Info: Streaming bitrate is 1000000
[2026-02-09 21:35:50.983]: Info: Using normal encoding mode
[2026-02-09 21:35:50.983]: Info: Using default rate control
[2026-02-09 21:35:51.008]: Info: Creating encoder [hevc_vaapi]
[2026-02-09 21:35:51.008]: Info: Color coding: SDR (Rec. 601)
[2026-02-09 21:35:51.008]: Info: Color depth: 8-bit
[2026-02-09 21:35:51.008]: Info: Color range: JPEG
[2026-02-09 21:35:51.020]: Info: vaapi vendor: Mesa Gallium driver 26.1.0-devel for AMD Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 6.18.9-2-cachyos)
[2026-02-09 21:35:51.020]: Info: Streaming bitrate is 1000000
[2026-02-09 21:35:51.020]: Info: Using normal encoding mode
[2026-02-09 21:35:51.020]: Info: Using default rate control
[2026-02-09 21:35:51.038]: Info: Creating encoder [av1_vaapi]
[2026-02-09 21:35:51.038]: Info: Color coding: SDR (Rec. 601)
[2026-02-09 21:35:51.038]: Info: Color depth: 8-bit
[2026-02-09 21:35:51.038]: Info: Color range: JPEG
[2026-02-09 21:35:51.051]: Info: vaapi vendor: Mesa Gallium driver 26.1.0-devel for AMD Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 6.18.9-2-cachyos)
[2026-02-09 21:35:51.051]: Info: Streaming bitrate is 1000000
[2026-02-09 21:35:51.051]: Error: [av1_vaapi @ 0x56247f8de180] No usable encoding entrypoint found for profile VAProfileAV1Profile0 (32).
[2026-02-09 21:35:51.051]: Error: Could not open codec [av1_vaapi]: Function not implemented
[2026-02-09 21:35:51.054]: Info: Screencasting with XDG portal
[2026-02-09 21:35:51.054]: Info: Found display [wayland-0]
[2026-02-09 21:35:51.065]: Info: Creating encoder [hevc_vaapi]
[2026-02-09 21:35:51.065]: Info: Color coding: SDR (Rec. 709)
[2026-02-09 21:35:51.065]: Info: Color depth: 10-bit
[2026-02-09 21:35:51.065]: Info: Color range: JPEG
[2026-02-09 21:35:51.065]: Info: Connected to pipewire version 1.4.10
[2026-02-09 21:35:51.078]: Info: vaapi vendor: Mesa Gallium driver 26.1.0-devel for AMD Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 6.18.9-2-cachyos)
[2026-02-09 21:35:51.079]: Info: Streaming bitrate is 1000000
[2026-02-09 21:35:51.079]: Info: Using normal encoding mode
[2026-02-09 21:35:51.079]: Info: Using default rate control
[2026-02-09 21:35:51.101]: Info: 
[2026-02-09 21:35:51.101]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-02-09 21:35:51.101]: Info: 
[2026-02-09 21:35:51.101]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2026-02-09 21:35:51.101]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2026-02-09 21:35:51.102]: Info: Starting system tray
[2026-02-09 21:35:51.103]: Info: Configuration UI available at [https://localhost:47990]
[2026-02-09 21:35:51.104]: Info: Adding avahi service wiemka
[2026-02-09 21:35:51.142]: Info: System tray created
[2026-02-09 21:35:51.143]: Info: Starting main loop
[2026-02-09 21:35:52.041]: Info: Avahi service wiemka successfully established.
[2026-02-09 21:35:55.940]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-02-09 21:35:55.940]: Info: Trying encoder [nvenc]
[2026-02-09 21:35:55.940]: Info: Screencasting with XDG portal
[2026-02-09 21:35:55.940]: Info: Found display [wayland-0]
[2026-02-09 21:35:55.954]: Info: Creating encoder [h264_nvenc]
[2026-02-09 21:35:55.954]: Info: Color coding: SDR (Rec. 601)
[2026-02-09 21:35:55.954]: Info: Color depth: 8-bit
[2026-02-09 21:35:55.954]: Info: Color range: JPEG
[2026-02-09 21:35:55.954]: Error: [CUDA @ 0x7f02680bb2c0] Cannot load libcuda.so.1
[2026-02-09 21:35:55.954]: Error: [CUDA @ 0x7f02680bb2c0] Could not dynamically load CUDA
[2026-02-09 21:35:55.954]: Error: Failed to create a CUDA device: Operacja niedozwolona
[2026-02-09 21:35:55.954]: Info: Encoder [nvenc] failed
[2026-02-09 21:35:55.955]: Info: Connected to pipewire version 1.4.10
[2026-02-09 21:35:55.955]: Info: Trying encoder [vaapi]
[2026-02-09 21:35:55.955]: Info: Screencasting with XDG portal
[2026-02-09 21:35:55.955]: Info: Found display [wayland-0]
[2026-02-09 21:35:55.968]: Info: Creating encoder [h264_vaapi]
[2026-02-09 21:35:55.968]: Info: Color coding: SDR (Rec. 601)
[2026-02-09 21:35:55.968]: Info: Color depth: 8-bit
[2026-02-09 21:35:55.968]: Info: Color range: JPEG
[2026-02-09 21:35:55.968]: Info: Connected to pipewire version 1.4.10
[2026-02-09 21:35:55.981]: Info: vaapi vendor: Mesa Gallium driver 26.1.0-devel for AMD Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 6.18.9-2-cachyos)
[2026-02-09 21:35:55.981]: Info: Streaming bitrate is 1000000
[2026-02-09 21:35:55.981]: Info: Using normal encoding mode
[2026-02-09 21:35:55.981]: Info: Using default rate control
[2026-02-09 21:35:56.000]: Info: Creating encoder [hevc_vaapi]
[2026-02-09 21:35:56.000]: Info: Color coding: SDR (Rec. 601)
[2026-02-09 21:35:56.000]: Info: Color depth: 8-bit
[2026-02-09 21:35:56.000]: Info: Color range: JPEG
[2026-02-09 21:35:56.012]: Info: vaapi vendor: Mesa Gallium driver 26.1.0-devel for AMD Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 6.18.9-2-cachyos)
[2026-02-09 21:35:56.012]: Info: Streaming bitrate is 1000000
[2026-02-09 21:35:56.012]: Info: Using normal encoding mode
[2026-02-09 21:35:56.012]: Info: Using default rate control
[2026-02-09 21:35:56.030]: Info: Creating encoder [av1_vaapi]
[2026-02-09 21:35:56.030]: Info: Color coding: SDR (Rec. 601)
[2026-02-09 21:35:56.030]: Info: Color depth: 8-bit
[2026-02-09 21:35:56.030]: Info: Color range: JPEG
[2026-02-09 21:35:56.041]: Info: vaapi vendor: Mesa Gallium driver 26.1.0-devel for AMD Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 6.18.9-2-cachyos)
[2026-02-09 21:35:56.041]: Info: Streaming bitrate is 1000000
[2026-02-09 21:35:56.041]: Error: [av1_vaapi @ 0x7f02681a3240] No usable encoding entrypoint found for profile VAProfileAV1Profile0 (32).
[2026-02-09 21:35:56.041]: Error: Could not open codec [av1_vaapi]: Niezaimplementowana funkcja
[2026-02-09 21:35:56.043]: Info: Screencasting with XDG portal
[2026-02-09 21:35:56.044]: Info: Found display [wayland-0]
[2026-02-09 21:35:56.055]: Info: Creating encoder [hevc_vaapi]
[2026-02-09 21:35:56.055]: Info: Color coding: SDR (Rec. 709)
[2026-02-09 21:35:56.055]: Info: Color depth: 10-bit
[2026-02-09 21:35:56.056]: Info: Color range: JPEG
[2026-02-09 21:35:56.056]: Info: Connected to pipewire version 1.4.10
[2026-02-09 21:35:56.066]: Info: vaapi vendor: Mesa Gallium driver 26.1.0-devel for AMD Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 6.18.9-2-cachyos)
[2026-02-09 21:35:56.067]: Info: Streaming bitrate is 1000000
[2026-02-09 21:35:56.067]: Info: Using normal encoding mode
[2026-02-09 21:35:56.067]: Info: Using default rate control
[2026-02-09 21:35:56.085]: Info: 
[2026-02-09 21:35:56.085]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-02-09 21:35:56.085]: Info: 
[2026-02-09 21:35:56.085]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2026-02-09 21:35:56.085]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2026-02-09 21:35:56.085]: Info: Executing [Desktop]
[2026-02-09 21:35:56.312]: Info: New streaming session started [active sessions: 1]
[2026-02-09 21:35:56.389]: Info: CLIENT CONNECTED
[2026-02-09 21:35:56.390]: Info: Loaded portal restore token from disk
[2026-02-09 21:35:56.391]: Info: Screencasting with XDG portal
[2026-02-09 21:35:56.391]: Info: Found display [wayland-0]
[2026-02-09 21:35:56.402]: Info: Creating encoder [hevc_vaapi]
[2026-02-09 21:35:56.402]: Info: Color coding: SDR (Rec. 601)
[2026-02-09 21:35:56.402]: Info: Color depth: 8-bit
[2026-02-09 21:35:56.402]: Info: Color range: MPEG
[2026-02-09 21:35:56.402]: Info: Connected to pipewire version 1.4.10
[2026-02-09 21:35:56.406]: Info: Video format: 12
[2026-02-09 21:35:56.406]: Info: Size: 1920x1080
[2026-02-09 21:35:56.406]: Info: Framerate (from compositor): 0/1 (variable rate capture)
[2026-02-09 21:35:56.406]: Info: using DMA-BUF buffers
[2026-02-09 21:35:56.407]: Info: Video format: 12
[2026-02-09 21:35:56.407]: Info: Size: 1920x1080
[2026-02-09 21:35:56.407]: Info: Framerate (from compositor): 0/1 (variable rate capture)
[2026-02-09 21:35:56.407]: Info: using DMA-BUF buffers
[2026-02-09 21:35:56.415]: Info: vaapi vendor: Mesa Gallium driver 26.1.0-devel for AMD Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 6.18.9-2-cachyos)
[2026-02-09 21:35:56.416]: Info: Streaming bitrate is 357000
[2026-02-09 21:35:56.416]: Info: Using normal encoding mode
[2026-02-09 21:35:56.416]: Info: Using default rate control
[2026-02-09 21:35:56.421]: Info: Minimum FPS target set to ~47.5fps (21.0526ms)
[2026-02-09 21:35:56.738]: Info: Setting default sink to: [sink-sunshine-stereo]
[2026-02-09 21:35:56.738]: Info: Found default monitor by name: sink-sunshine-stereo.monitor
[2026-02-09 21:35:56.755]: Info: Opus initialized: 48 kHz, 2 channels, 96 kbps (total), LOWDELAY
[2026-02-09 22:13:06.349]: Info: Opening UI from system tray
[2026-02-09 22:13:06.355]: Info: Opened url [https://localhost:47990]
[2026-02-09 22:13:06.611]: 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