Skip to content

Sunshine always outputs 90 fps despite running fps being much lower on host #4165

@juhannnnnn

Description

@juhannnnnn

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

Sunshine on host doesnt output fps as actual content fps on host. It never goes below outputting 90 fps regardless of any game running or video playing at much lower fps. I do think this is a bug and is somewhat inconvenient to display inaccurate fps.

Expected Behavior

It should output fps to the client just as much as the host game or video is running

Additional Context

I started experiencing this bug suddenly and is most likely not related to os version or gpu driver.

Host Operating System

Windows

Operating System Version

Windows 11 Pro for Workstations 24h2 os build 26100.4061

Architecture

amd64/x86_64

Sunshine commit or version

2025.814.134100

Package

Windows - installer (recommended)

GPU Type

NVIDIA

GPU Model

rtx 5080

GPU Driver/Mesa Version

580.97

Capture Method

Desktop Duplication API (Windows)

Config

address_family = both
encoder = nvenc
min_threads = 6
nvenc_twopass = disabled
stream_audio = false
upnp = enabled
wan_encryption_mode = 0

Apps

Relevant log output

[2025-08-16 11:58:36.100]: Info: Sunshine version: 2025.814.134100 commit: 5a83b7a7d47252985eab8d139fc9e5df1b8f6ca6
[2025-08-16 11:58:36.101]: Info: Package Publisher: LizardByte
[2025-08-16 11:58:36.101]: Info: Publisher Website: https://app.lizardbyte.dev
[2025-08-16 11:58:36.101]: Info: Get support: https://app.lizardbyte.dev/support
[2025-08-16 11:58:36.101]: Info: config: 'address_family' = both
[2025-08-16 11:58:36.101]: Info: config: 'stream_audio' = false
[2025-08-16 11:58:36.101]: Info: config: 'encoder' = nvenc
[2025-08-16 11:58:36.101]: Info: config: 'min_threads' = 6
[2025-08-16 11:58:36.101]: Info: config: 'nvenc_twopass' = disabled
[2025-08-16 11:58:36.101]: Info: config: 'upnp' = enabled
[2025-08-16 11:58:36.101]: Info: config: 'wan_encryption_mode' = 0
[2025-08-16 11:58:36.101]: Info: config: 'minimum_fps_target' = 0
[2025-08-16 11:58:36.101]: Info: config: 'max_fps' = 0
[2025-08-16 11:58:36.101]: Info: Provided workaround settings for SettingsManager:
{
  "hdr_blank_delay": null
}
[2025-08-16 11:58:36.104]: Info: Currently available display devices:
[
  {
    "device_id": "{32b3e886-5655-5780-b261-153950b5165a}",
    "display_name": "\\\\.\\DISPLAY1",
    "edid": {
      "manufacturer_id": "GBT",
      "product_code": "271A",
      "serial_number": 16843009
    },
    "friendly_name": "M27U",
    "info": {
      "hdr_state": "Disabled",
      "origin_point": {
        "x": 0,
        "y": 0
      },
      "primary": true,
      "refresh_rate": {
        "type": "rational",
        "value": {
          "denominator": 1,
          "numerator": 160
        }
      },
      "resolution": {
        "height": 2160,
        "width": 3840
      },
      "resolution_scale": {
        "type": "rational",
        "value": {
          "denominator": 100,
          "numerator": 200
        }
      }
    }
  }
]
[2025-08-16 11:58:36.291]: Info: nvprefs: No need to modify application profile settings
[2025-08-16 11:58:36.291]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2025-08-16 11:58:36.365]: Info: Compiling shaders...
[2025-08-16 11:58:36.449]: Info: Compiled shaders
[2025-08-16 11:58:36.456]: Info: Trying encoder [nvenc]
[2025-08-16 11:58:36.608]: Info: System tray created
[2025-08-16 11:58:36.747]: Info: 
Device Description : NVIDIA GeForce RTX 5080
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002C02
Device Video Mem   : 15889 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15956 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 0x0
Virtual Desktop    : 3840x2160
[2025-08-16 11:58:36.747]: Info: Active GPU has HAGS enabled
[2025-08-16 11:58:36.747]: Info: Using realtime GPU priority
[2025-08-16 11:58:36.747]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.681641,0.310547]
Green Primary      : [0.266602,0.649414]
Blue Primary       : [0.140625,0.0605469]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0951 nits
Max Luminance      : 644.236 nits
Max Full Luminance : 644.236 nits
[2025-08-16 11:58:36.751]: Info: Desktop resolution [3840x2160]
[2025-08-16 11:58:36.751]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-08-16 11:58:36.751]: Info: Display refresh rate [160Hz]
[2025-08-16 11:58:36.752]: Info: Requested frame rate [60fps]
[2025-08-16 11:58:36.752]: Info: Creating encoder [h264_nvenc]
[2025-08-16 11:58:36.752]: Info: Color coding: SDR (Rec. 601)
[2025-08-16 11:58:36.752]: Info: Color depth: 8-bit
[2025-08-16 11:58:36.752]: Info: Color range: JPEG
[2025-08-16 11:58:36.828]: Info: NvEnc: created encoder H.264 P1 async rfi
[2025-08-16 11:58:36.846]: Info: Creating encoder [hevc_nvenc]
[2025-08-16 11:58:36.846]: Info: Color coding: SDR (Rec. 601)
[2025-08-16 11:58:36.846]: Info: Color depth: 8-bit
[2025-08-16 11:58:36.846]: Info: Color range: JPEG
[2025-08-16 11:58:36.899]: Info: NvEnc: created encoder HEVC P1 async rfi
[2025-08-16 11:58:36.916]: Info: Creating encoder [av1_nvenc]
[2025-08-16 11:58:36.916]: Info: Color coding: SDR (Rec. 601)
[2025-08-16 11:58:36.916]: Info: Color depth: 8-bit
[2025-08-16 11:58:36.916]: Info: Color range: JPEG
[2025-08-16 11:58:36.972]: Info: NvEnc: created encoder AV1 P1 async rfi
[2025-08-16 11:58:36.988]: Info: Creating encoder [h264_nvenc]
[2025-08-16 11:58:36.988]: Info: Color coding: SDR (Rec. 601)
[2025-08-16 11:58:36.988]: Info: Color depth: 8-bit
[2025-08-16 11:58:36.988]: Info: Color range: JPEG
[2025-08-16 11:58:37.040]: Info: NvEnc: created encoder H.264 P1 async yuv444 rfi
[2025-08-16 11:58:37.264]: Info: 
Device Description : NVIDIA GeForce RTX 5080
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002C02
Device Video Mem   : 15889 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15956 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 0x0
Virtual Desktop    : 3840x2160
[2025-08-16 11:58:37.264]: Info: Active GPU has HAGS enabled
[2025-08-16 11:58:37.264]: Info: Using realtime GPU priority
[2025-08-16 11:58:37.264]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.681641,0.310547]
Green Primary      : [0.266602,0.649414]
Blue Primary       : [0.140625,0.0605469]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0951 nits
Max Luminance      : 644.236 nits
Max Full Luminance : 644.236 nits
[2025-08-16 11:58:37.266]: Info: Desktop resolution [3840x2160]
[2025-08-16 11:58:37.266]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-08-16 11:58:37.266]: Info: Display refresh rate [160Hz]
[2025-08-16 11:58:37.266]: Info: Requested frame rate [60fps]
[2025-08-16 11:58:37.266]: Info: Creating encoder [hevc_nvenc]
[2025-08-16 11:58:37.266]: Info: Color coding: SDR (Rec. 709)
[2025-08-16 11:58:37.266]: Info: Color depth: 10-bit
[2025-08-16 11:58:37.266]: Info: Color range: JPEG
[2025-08-16 11:58:37.452]: Info: NvEnc: created encoder HEVC P1 async yuv444 10-bit rfi
[2025-08-16 11:58:37.494]: Info: Creating encoder [av1_nvenc]
[2025-08-16 11:58:37.494]: Info: Color coding: SDR (Rec. 709)
[2025-08-16 11:58:37.494]: Info: Color depth: 10-bit
[2025-08-16 11:58:37.494]: Info: Color range: JPEG
[2025-08-16 11:58:37.595]: Error: NvEnc: gpu doesn't support YUV444 encode
[2025-08-16 11:58:37.595]: Error: NvEnc: NvEncUnregisterAsyncEvent() failed: NV_ENC_ERR_DEVICE_NOT_EXIST
[2025-08-16 11:58:37.618]: Info: Creating encoder [av1_nvenc]
[2025-08-16 11:58:37.618]: Info: Color coding: SDR (Rec. 709)
[2025-08-16 11:58:37.618]: Info: Color depth: 10-bit
[2025-08-16 11:58:37.618]: Info: Color range: JPEG
[2025-08-16 11:58:37.755]: Info: NvEnc: created encoder AV1 P1 async 10-bit rfi
[2025-08-16 11:58:37.788]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-08-16 11:58:37.788]: Info: 
[2025-08-16 11:58:37.788]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-08-16 11:58:37.788]: Info: 
[2025-08-16 11:58:37.788]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-08-16 11:58:37.788]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-08-16 11:58:37.788]: Info: Found AV1 encoder: av1_nvenc [nvenc]
[2025-08-16 11:58:37.798]: Info: Configuration UI available at [https://localhost:47990]
[2025-08-16 11:58:39.738]: Info: Registered Sunshine mDNS service
[2025-08-16 11:58:39.858]: Info: Completed UPnP port mappings to 192.168.0.50 via http://192.168.0.1:1900/eitil/rootDesc.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions