Skip to content

sunshine.exe retries every 3 seconds while sunshinesvc.exe runs in the background #3578

Description

@GustafXTT

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 failed to start while executing sunshine.exe. Failed to open WebUI.
A sunshinesvc.exe is running in the background, which contains a Sunshine Service.
A sunshine.exe keeps trying to start and fails every 3 seconds in the background.

Expected Behavior

No response

Additional Context

No response

Host Operating System

Windows

Operating System Version

24H2 26100.2894

Architecture

amd64/x86_64

Sunshine commit or version

v2025.122.24544

Package

Windows - installer (recommended)

GPU Type

NVIDIA

GPU Model

RTX 3070 Mobile

GPU Driver/Mesa Version

561.09

Capture Method

None

Config

<EMPTY>

Apps

Relevant log output

./sunshine.exe
[2025-01-22 15:44:35.828]: Info: Sunshine version: v2025.122.24544
[2025-01-22 15:44:35.828]: Info: Package Publisher: LizardByte
[2025-01-22 15:44:35.828]: Info: Publisher Website: https://app.lizardbyte.dev
[2025-01-22 15:44:35.828]: Info: Get support: https://app.lizardbyte.dev/support
[2025-01-22 15:44:35.829]: Info: Provided workaround settings for SettingsManager:
{
  "hdr_blank_delay": null
}
[2025-01-22 15:44:35.832]: Info: Currently available display devices:
[
  {
    "device_id": "{97a2cf0b-92a9-53c9-991c-279f8bf5e790}",
    "display_name": "\\\\.\\DISPLAY1",
    "friendly_name": "VX2758-2K-PRO",
    "info": {
      "hdr_state": "Enabled",
      "origin_point": {
        "x": 0,
        "y": 0
      },
      "primary": true,
      "refresh_rate": {
        "type": "rational",
        "value": {
          "denominator": 1000,
          "numerator": 184999
        }
      },
      "resolution": {
        "height": 1440,
        "width": 2560
      },
      "resolution_scale": {
        "type": "rational",
        "value": {
          "denominator": 100,
          "numerator": 100
        }
      }
    }
  }
]
[2025-01-22 15:44:36.073]: Info: nvprefs: No need to modify application profile settings
[2025-01-22 15:44:36.073]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2025-01-22 15:44:36.121]: Info: Compiling shaders...
[2025-01-22 15:44:36.142]: Info: System tray created
[2025-01-22 15:44:36.221]: Info: Compiled shaders
[2025-01-22 15:44:36.234]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-01-22 15:44:36.234]: Info: Trying encoder [nvenc]
[2025-01-22 15:44:36.567]: Info:
Device Description : NVIDIA GeForce RTX 3070 Laptop GPU
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x0000249D
Device Video Mem   : 8020 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8138 MiB
Feature Level      : 0x0000B100
Capture size       : 2560x1440
Offset             : 0x0
Virtual Desktop    : 2560x1440
[2025-01-22 15:44:36.568]: Info: Active GPU has HAGS enabled
[2025-01-22 15:44:36.568]: Info: Using realtime GPU priority
[2025-01-22 15:44:36.568]: Info:
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.660156,0.326172]
Green Primary      : [0.275391,0.644531]
Blue Primary       : [0.145508,0.0556641]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.4184 nits
Max Luminance      : 436.208 nits
Max Full Luminance : 436.208 nits
[2025-01-22 15:44:36.571]: Info: Desktop resolution [2560x1440]
[2025-01-22 15:44:36.571]: Info: Desktop format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2025-01-22 15:44:36.571]: Info: Display refresh rate [184.999Hz]
[2025-01-22 15:44:36.571]: Info: Requested frame rate [60fps]
[2025-01-22 15:44:36.571]: Info: Creating encoder [h264_nvenc]
[2025-01-22 15:44:36.571]: Info: Color coding: SDR (Rec. 601)
[2025-01-22 15:44:36.571]: Info: Color depth: 8-bit
[2025-01-22 15:44:36.572]: Info: Color range: JPEG
[2025-01-22 15:44:36.624]: Info: NvEnc: created encoder H.264 P1 two-pass rfi
[2025-01-22 15:44:36.654]: Info: Creating encoder [hevc_nvenc]
[2025-01-22 15:44:36.655]: Info: Color coding: SDR (Rec. 601)
[2025-01-22 15:44:36.655]: Info: Color depth: 8-bit
[2025-01-22 15:44:36.655]: Info: Color range: JPEG
[2025-01-22 15:44:36.706]: Info: NvEnc: created encoder HEVC P1 two-pass rfi
[2025-01-22 15:44:36.737]: Info: Creating encoder [av1_nvenc]
[2025-01-22 15:44:36.737]: Info: Color coding: SDR (Rec. 601)
[2025-01-22 15:44:36.737]: Info: Color depth: 8-bit
[2025-01-22 15:44:36.737]: Info: Color range: JPEG
[2025-01-22 15:44:36.761]: Error: NvEnc: encoding format is not supported by the gpu
[2025-01-22 15:44:36.770]: Info: Creating encoder [h264_nvenc]
[2025-01-22 15:44:36.770]: Info: Color coding: SDR (Rec. 601)
[2025-01-22 15:44:36.770]: Info: Color depth: 8-bit
[2025-01-22 15:44:36.770]: Info: Color range: JPEG
[2025-01-22 15:44:36.824]: Info: NvEnc: created encoder H.264 P1 yuv444 two-pass rfi
[2025-01-22 15:44:37.059]: Info:
Device Description : NVIDIA GeForce RTX 3070 Laptop GPU
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x0000249D
Device Video Mem   : 8020 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8138 MiB
Feature Level      : 0x0000B100
Capture size       : 2560x1440
Offset             : 0x0
Virtual Desktop    : 2560x1440
[2025-01-22 15:44:37.059]: Info: Active GPU has HAGS enabled
[2025-01-22 15:44:37.059]: Info: Using realtime GPU priority
[2025-01-22 15:44:37.059]: Info:
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.660156,0.326172]
Green Primary      : [0.275391,0.644531]
Blue Primary       : [0.145508,0.0556641]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.4184 nits
Max Luminance      : 436.208 nits
Max Full Luminance : 436.208 nits
[2025-01-22 15:44:37.061]: Info: Desktop resolution [2560x1440]
[2025-01-22 15:44:37.062]: Info: Desktop format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2025-01-22 15:44:37.062]: Info: Display refresh rate [184.999Hz]
[2025-01-22 15:44:37.062]: Info: Requested frame rate [60fps]
[2025-01-22 15:44:37.062]: Info: Creating encoder [hevc_nvenc]
[2025-01-22 15:44:37.062]: Info: Color coding: SDR (Rec. 709)
[2025-01-22 15:44:37.062]: Info: Color depth: 10-bit
[2025-01-22 15:44:37.062]: Info: Color range: JPEG
[2025-01-22 15:44:37.199]: Info: NvEnc: created encoder HEVC P1 yuv444 10-bit two-pass rfi
[2025-01-22 15:44:37.257]: Info:
[2025-01-22 15:44:37.257]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-01-22 15:44:37.257]: Info:
[2025-01-22 15:44:37.257]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-01-22 15:44:37.257]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-01-22 15:44:37.257]: Info: Open the Web UI to set your new username and password and getting started
[2025-01-22 15:44:37.257]: Fatal: Couldn't bind RTSP server to port [48010], 以一种访问权 限不允许的方式做了一个访问套接字的尝试。(Translation: An attempt was made to access a socket in a way that the access permissions do not allow.)
[2025-01-22 15:44:37.258]: Info: File C:\Program Files\Sunshine\config\sunshine_state.json doesn't exist
terminate called recursively
terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions