Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stream stutter with framerate limiting on windows #3559

Open
2 tasks done
liamdebeasi opened this issue Jan 19, 2025 · 2 comments
Open
2 tasks done

stream stutter with framerate limiting on windows #3559

liamdebeasi opened this issue Jan 19, 2025 · 2 comments

Comments

@liamdebeasi
Copy link

liamdebeasi commented Jan 19, 2025

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

Certain games exhibit significant stuttering despite being rendered smoothly on the host PC. In this case, I am seeing constant stuttering with God of War (2018) when streaming from Windows 11 to the Apple TV Moonlight client. I can also reproduce this issue when streaming to the Android Moonlight client.

This issue is most noticeable when doing any kind of framerate limiting in the game. I've seen this issue happen before in other games, and the solution there was to disable fullscreen optimizations in Windows. However, God of War for Steam doesn't have a fullscreen mode, so disabling those optimizations has no impact on the stuttering.

My Reproduction Steps

  1. Launch Steam Big Picture mode on the Apple TV Moonlight client
  2. Start God of War (I am using an Xbox One controller, not sure if that makes a difference)
  3. Enable framerate limiting in the game settings (I chose 60fps)
  4. Continue/Start a new game. Observe that the stream constantly stutters despite being played back smoothly on the host PC.

Other Info

  • I can reproduce the issue when V-Sync is both enabled and disabled in the game
  • The issue reproduces on all graphics settings in the game
  • Disabling framerate limiting seems to make the issue less noticeable. However, the playback is still not as smooth as on the host machine.
  • The issue reproduces on both 1440p and 720p stream settings in the Moonlight Client app
  • Both the host and the client device are hardwired, and the cables are in good working condition
  • This issue does not happen in other games I play using the same configuration such as Destiny 2
  • The stream is smooth when navigating Steam Big Picture mode. The stuttering only starts when launching into the game.

Comparison

The videos below show the smooth playback on the Host PC as compared to the playback with stutter on the client.

Host PC (good) Client (bad)
output.mp4
gow.mov

Expected Behavior

I expect there to be no stuttering while streaming the game since the host PC is able to render the game at 60fps.

Additional Context

This issue seems related to #1998

Host Operating System

Windows

Operating System Version

Windows 11 Build 22631.4602

Architecture

amd64/x86_64

Sunshine commit or version

v2025.118.151840

Package

Windows - installer (recommended)

GPU Type

NVIDIA

GPU Model

RTX 2080 Super

GPU Driver/Mesa Version

32.0.15.6636

Capture Method

None

Config

external_ip = 192.168.0.27
upnp = enabled
audio_sink = Steam Streaming Speakers

Apps

Relevant log output

[2025-01-18 21:06:25.314]: Info: Sunshine version: v2025.118.151840
[2025-01-18 21:06:25.314]: Info: Package Publisher: LizardByte
[2025-01-18 21:06:25.314]: Info: Publisher Website: https://app.lizardbyte.dev
[2025-01-18 21:06:25.314]: Info: Get support: https://app.lizardbyte.dev/support
[2025-01-18 21:06:25.314]: Info: Provided workaround settings for SettingsManager:
{
  "hdr_blank_delay": null
}
[2025-01-18 21:06:25.316]: Info: Currently available display devices:
[
  {
    "device_id": "{621cf86e-770c-5cbb-a481-5f41b42b7387}",
    "display_name": "\\\\.\\DISPLAY1",
    "friendly_name": "KG271U",
    "info": {
      "hdr_state": null,
      "origin_point": {
        "x": 0,
        "y": 0
      },
      "primary": true,
      "refresh_rate": {
        "type": "rational",
        "value": {
          "denominator": 1000,
          "numerator": 59951
        }
      },
      "resolution": {
        "height": 1440,
        "width": 2560
      },
      "resolution_scale": {
        "type": "rational",
        "value": {
          "denominator": 100,
          "numerator": 100
        }
      }
    }
  }
]
[2025-01-18 21:06:25.462]: Info: nvprefs: Opened undo file from previous improper termination
[2025-01-18 21:06:25.462]: Info: nvprefs: Restored OGL_CPL_PREFER_DXPRESENT for base profile
[2025-01-18 21:06:25.476]: Info: nvprefs: Restored global profile settings from undo file - deleting the file
[2025-01-18 21:06:25.477]: Info: nvprefs: No need to modify application profile settings
[2025-01-18 21:06:25.477]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2025-01-18 21:06:25.506]: Info: Compiling shaders...
[2025-01-18 21:06:25.525]: Info: System tray created
[2025-01-18 21:06:25.584]: Info: Compiled shaders
[2025-01-18 21:06:25.589]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-01-18 21:06:25.589]: Info: Trying encoder [nvenc]
[2025-01-18 21:06:25.798]: Info: 
Device Description : NVIDIA GeForce RTX 2080 SUPER
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00001E81
Device Video Mem   : 7987 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15951 MiB
Feature Level      : 0x0000B100
Capture size       : 2560x1440
Offset             : 0x0
Virtual Desktop    : 2560x1440
[2025-01-18 21:06:25.798]: Info: Active GPU has HAGS enabled
[2025-01-18 21:06:25.798]: Info: Using realtime GPU priority
[2025-01-18 21:06:25.798]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.650391,0.338867]
Green Primary      : [0.313477,0.625977]
Blue Primary       : [0.150391,0.0517578]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2025-01-18 21:06:25.800]: Info: Desktop resolution [2560x1440]
[2025-01-18 21:06:25.800]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-01-18 21:06:25.800]: Info: Display refresh rate [59.951Hz]
[2025-01-18 21:06:25.800]: Info: Requested frame rate [60fps]
[2025-01-18 21:06:25.801]: Info: Creating encoder [h264_nvenc]
[2025-01-18 21:06:25.801]: Info: Color coding: SDR (Rec. 601)
[2025-01-18 21:06:25.801]: Info: Color depth: 8-bit
[2025-01-18 21:06:25.801]: Info: Color range: JPEG
[2025-01-18 21:06:25.851]: Info: NvEnc: created encoder H.264 P1 two-pass rfi
[2025-01-18 21:06:25.871]: Info: Creating encoder [hevc_nvenc]
[2025-01-18 21:06:25.871]: Info: Color coding: SDR (Rec. 601)
[2025-01-18 21:06:25.871]: Info: Color depth: 8-bit
[2025-01-18 21:06:25.871]: Info: Color range: JPEG
[2025-01-18 21:06:25.914]: Info: NvEnc: created encoder HEVC P1 two-pass rfi
[2025-01-18 21:06:25.934]: Info: Creating encoder [av1_nvenc]
[2025-01-18 21:06:25.934]: Info: Color coding: SDR (Rec. 601)
[2025-01-18 21:06:25.934]: Info: Color depth: 8-bit
[2025-01-18 21:06:25.934]: Info: Color range: JPEG
[2025-01-18 21:06:25.951]: Error: NvEnc: encoding format is not supported by the gpu
[2025-01-18 21:06:25.956]: Info: Creating encoder [h264_nvenc]
[2025-01-18 21:06:25.956]: Info: Color coding: SDR (Rec. 601)
[2025-01-18 21:06:25.956]: Info: Color depth: 8-bit
[2025-01-18 21:06:25.956]: Info: Color range: JPEG
[2025-01-18 21:06:25.994]: Info: NvEnc: created encoder H.264 P1 yuv444 two-pass rfi
[2025-01-18 21:06:26.141]: Info: 
Device Description : NVIDIA GeForce RTX 2080 SUPER
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00001E81
Device Video Mem   : 7987 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15951 MiB
Feature Level      : 0x0000B100
Capture size       : 2560x1440
Offset             : 0x0
Virtual Desktop    : 2560x1440
[2025-01-18 21:06:26.141]: Info: Active GPU has HAGS enabled
[2025-01-18 21:06:26.141]: Info: Using realtime GPU priority
[2025-01-18 21:06:26.141]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.650391,0.338867]
Green Primary      : [0.313477,0.625977]
Blue Primary       : [0.150391,0.0517578]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2025-01-18 21:06:26.144]: Info: Desktop resolution [2560x1440]
[2025-01-18 21:06:26.144]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-01-18 21:06:26.144]: Info: Display refresh rate [59.951Hz]
[2025-01-18 21:06:26.144]: Info: Requested frame rate [60fps]
[2025-01-18 21:06:26.144]: Info: Creating encoder [hevc_nvenc]
[2025-01-18 21:06:26.144]: Info: Color coding: SDR (Rec. 709)
[2025-01-18 21:06:26.144]: Info: Color depth: 10-bit
[2025-01-18 21:06:26.144]: Info: Color range: JPEG
[2025-01-18 21:06:26.258]: Info: NvEnc: created encoder HEVC P1 yuv444 10-bit two-pass rfi
[2025-01-18 21:06:26.302]: Info: 
[2025-01-18 21:06:26.302]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-01-18 21:06:26.302]: Info: 
[2025-01-18 21:06:26.302]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-01-18 21:06:26.302]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-01-18 21:06:26.309]: Info: Configuration UI available at [https://localhost:47990]
[2025-01-18 21:06:27.072]: Info: Registered Sunshine mDNS service
[2025-01-18 21:06:27.609]: Info: Web UI: [127.0.0.1] -- not authorized
[2025-01-18 21:06:30.335]: Info: Completed UPnP port mappings to 192.168.0.29 via http://192.168.0.1:1900/csjdz/rootDesc.xml
[2025-01-18 21:10:05.528]: Info: Trying to apply display device settings. API is available: true
[2025-01-18 21:10:05.528]: Info: Using the following configuration:
{
  "device_id": "",
  "device_prep": "VerifyOnly",
  "hdr_state": "Enabled",
  "refresh_rate": {
    "type": "rational",
    "value": {
      "denominator": 1,
      "numerator": 60
    }
  },
  "resolution": {
    "height": 720,
    "width": 1280
  }
}
[2025-01-18 21:10:05.528]: Info: Active topology before any changes:
[
  [
    "{621cf86e-770c-5cbb-a481-5f41b42b7387}"
  ]
]
[2025-01-18 21:10:05.529]: Info: Currently available devices:
[
  {
    "device_id": "{621cf86e-770c-5cbb-a481-5f41b42b7387}",
    "display_name": "\\\\.\\DISPLAY1",
    "friendly_name": "KG271U",
    "info": {
      "hdr_state": null,
      "origin_point": {
        "x": 0,
        "y": 0
      },
      "primary": true,
      "refresh_rate": {
        "type": "rational",
        "value": {
          "denominator": 1000,
          "numerator": 59951
        }
      },
      "resolution": {
        "height": 1440,
        "width": 2560
      },
      "resolution_scale": {
        "type": "rational",
        "value": {
          "denominator": 100,
          "numerator": 100
        }
      }
    }
  }
]
[2025-01-18 21:10:05.529]: Info: Will compute new display device topology from the following input:
  - initial topology: [["{621cf86e-770c-5cbb-a481-5f41b42b7387}"]]
  - initial primary devices: ["{621cf86e-770c-5cbb-a481-5f41b42b7387}"]
  - configuring unspecified device: true
  - device to configure: "{621cf86e-770c-5cbb-a481-5f41b42b7387}"
  - additional devices to configure: []
[2025-01-18 21:10:05.529]: Info: Newly computed display device topology data:
  - topology: [["{621cf86e-770c-5cbb-a481-5f41b42b7387}"]]
  - change is needed: false
  - additional devices to configure: []
[2025-01-18 21:10:05.529]: Info: Changing display modes to:
{
  "{621cf86e-770c-5cbb-a481-5f41b42b7387}": {
    "refresh_rate": {
      "denominator": 1,
      "numerator": 60
    },
    "resolution": {
      "height": 720,
      "width": 1280
    }
  }
}
[2025-01-18 21:10:05.546]: Info: Encoder reenumeration is required
[2025-01-18 21:10:05.546]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-01-18 21:10:05.546]: Info: Trying encoder [nvenc]
[2025-01-18 21:10:05.736]: Info: 
Device Description : NVIDIA GeForce RTX 2080 SUPER
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00001E81
Device Video Mem   : 7987 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15951 MiB
Feature Level      : 0x0000B100
Capture size       : 1280x720
Offset             : 0x0
Virtual Desktop    : 1280x720
[2025-01-18 21:10:05.736]: Info: Active GPU has HAGS enabled
[2025-01-18 21:10:05.736]: Info: Using realtime GPU priority
[2025-01-18 21:10:05.736]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.650391,0.338867]
Green Primary      : [0.313477,0.625977]
Blue Primary       : [0.150391,0.0517578]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2025-01-18 21:10:05.747]: Info: Desktop resolution [1280x720]
[2025-01-18 21:10:05.747]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-01-18 21:10:05.747]: Info: Display refresh rate [59.951Hz]
[2025-01-18 21:10:05.747]: Info: Requested frame rate [60fps]
[2025-01-18 21:10:05.748]: Info: Creating encoder [h264_nvenc]
[2025-01-18 21:10:05.748]: Info: Color coding: SDR (Rec. 601)
[2025-01-18 21:10:05.748]: Info: Color depth: 8-bit
[2025-01-18 21:10:05.748]: Info: Color range: JPEG
[2025-01-18 21:10:05.793]: Info: NvEnc: created encoder H.264 P1 two-pass rfi
[2025-01-18 21:10:05.813]: Info: Creating encoder [hevc_nvenc]
[2025-01-18 21:10:05.813]: Info: Color coding: SDR (Rec. 601)
[2025-01-18 21:10:05.814]: Info: Color depth: 8-bit
[2025-01-18 21:10:05.814]: Info: Color range: JPEG
[2025-01-18 21:10:05.856]: Info: NvEnc: created encoder HEVC P1 two-pass rfi
[2025-01-18 21:10:05.877]: Info: Creating encoder [av1_nvenc]
[2025-01-18 21:10:05.877]: Info: Color coding: SDR (Rec. 601)
[2025-01-18 21:10:05.877]: Info: Color depth: 8-bit
[2025-01-18 21:10:05.877]: Info: Color range: JPEG
[2025-01-18 21:10:05.893]: Error: NvEnc: encoding format is not supported by the gpu
[2025-01-18 21:10:05.900]: Info: Creating encoder [h264_nvenc]
[2025-01-18 21:10:05.900]: Info: Color coding: SDR (Rec. 601)
[2025-01-18 21:10:05.900]: Info: Color depth: 8-bit
[2025-01-18 21:10:05.900]: Info: Color range: JPEG
[2025-01-18 21:10:05.936]: Info: NvEnc: created encoder H.264 P1 yuv444 two-pass rfi
[2025-01-18 21:10:06.085]: Info: 
Device Description : NVIDIA GeForce RTX 2080 SUPER
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00001E81
Device Video Mem   : 7987 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15951 MiB
Feature Level      : 0x0000B100
Capture size       : 1280x720
Offset             : 0x0
Virtual Desktop    : 1280x720
[2025-01-18 21:10:06.085]: Info: Active GPU has HAGS enabled
[2025-01-18 21:10:06.085]: Info: Using realtime GPU priority
[2025-01-18 21:10:06.085]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.650391,0.338867]
Green Primary      : [0.313477,0.625977]
Blue Primary       : [0.150391,0.0517578]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2025-01-18 21:10:06.088]: Info: Desktop resolution [1280x720]
[2025-01-18 21:10:06.088]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-01-18 21:10:06.088]: Info: Display refresh rate [59.951Hz]
[2025-01-18 21:10:06.088]: Info: Requested frame rate [60fps]
[2025-01-18 21:10:06.088]: Info: Creating encoder [hevc_nvenc]
[2025-01-18 21:10:06.088]: Info: Color coding: SDR (Rec. 709)
[2025-01-18 21:10:06.088]: Info: Color depth: 10-bit
[2025-01-18 21:10:06.088]: Info: Color range: JPEG
[2025-01-18 21:10:06.178]: Info: NvEnc: created encoder HEVC P1 yuv444 10-bit two-pass rfi
[2025-01-18 21:10:06.220]: Info: 
[2025-01-18 21:10:06.220]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-01-18 21:10:06.220]: Info: 
[2025-01-18 21:10:06.220]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-01-18 21:10:06.220]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-01-18 21:10:06.220]: Info: Executing: [steam://open/bigpicture] in [""]
[2025-01-18 21:10:06.231]: Info: Resolved user-provided command 'steam://open/bigpicture' to '"C:\Program Files (x86)\Steam\Steam.exe" -- "steam://open/bigpicture"'
[2025-01-18 21:10:06.250]: Info: steam://open/bigpicture running with PID 27268
[2025-01-18 21:10:06.291]: Info: New streaming session started [active sessions: 1]
[2025-01-18 21:10:06.293]: Info: App exited gracefully within 5 seconds of launch. Treating the app as a detached command.
[2025-01-18 21:10:06.293]: Info: Adjust this behavior in the Applications tab or apps.json if this is not what you want.
[2025-01-18 21:10:06.440]: Info: nvprefs: No need to modify application profile settings
[2025-01-18 21:10:06.440]: Info: nvprefs: No need to modify global profile settings
[2025-01-18 21:10:06.471]: Info: CLIENT CONNECTED
[2025-01-18 21:10:06.556]: Info: Gamepad 0 will be Xbox 360 controller (auto-selected by client-reported type)
[2025-01-18 21:10:06.663]: Info: 
Device Description : NVIDIA GeForce RTX 2080 SUPER
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00001E81
Device Video Mem   : 7987 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15951 MiB
Feature Level      : 0x0000B100
Capture size       : 1280x720
Offset             : 0x0
Virtual Desktop    : 1280x720
[2025-01-18 21:10:06.663]: Info: Active GPU has HAGS enabled
[2025-01-18 21:10:06.663]: Info: Using realtime GPU priority
[2025-01-18 21:10:06.663]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.650391,0.338867]
Green Primary      : [0.313477,0.625977]
Blue Primary       : [0.150391,0.0517578]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2025-01-18 21:10:06.666]: Info: Desktop resolution [1280x720]
[2025-01-18 21:10:06.666]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-01-18 21:10:06.666]: Info: Display refresh rate [59.951Hz]
[2025-01-18 21:10:06.666]: Info: Requested frame rate [60fps]
[2025-01-18 21:10:06.667]: Info: Adjusted capture rate to 59.951fps to better match display
[2025-01-18 21:10:06.667]: Info: Creating encoder [hevc_nvenc]
[2025-01-18 21:10:06.667]: Info: Color coding: SDR (Rec. 601)
[2025-01-18 21:10:06.667]: Info: Color depth: 10-bit
[2025-01-18 21:10:06.667]: Info: Color range: MPEG
[2025-01-18 21:10:06.685]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-01-18 21:10:06.708]: Info: NvEnc: created encoder HEVC P1 10-bit two-pass rfi
[2025-01-18 21:10:06.837]: Info: Changed virtual audio sink format to [S32 48000 5.1]
[2025-01-18 21:10:06.876]: Info: Audio capture format is [F32 48000 5.1]
[2025-01-18 21:10:06.877]: Info: Opus initialized: 48 kHz, 6 channels, 1536 kbps (total), LOWDELAY
[2025-01-18 21:11:58.625]: Info: CLIENT DISCONNECTED
[2025-01-18 21:12:21.420]: Info: Trying to apply display device settings. API is available: true
[2025-01-18 21:12:21.420]: Info: Using the following configuration:
{
  "device_id": "",
  "device_prep": "VerifyOnly",
  "hdr_state": "Enabled",
  "refresh_rate": {
    "type": "rational",
    "value": {
      "denominator": 1,
      "numerator": 60
    }
  },
  "resolution": {
    "height": 1440,
    "width": 2560
  }
}
[2025-01-18 21:12:21.421]: Info: Active topology before any changes:
[
  [
    "{621cf86e-770c-5cbb-a481-5f41b42b7387}"
  ]
]
[2025-01-18 21:12:21.422]: Info: Currently available devices:
[
  {
    "device_id": "{621cf86e-770c-5cbb-a481-5f41b42b7387}",
    "display_name": "\\\\.\\DISPLAY1",
    "friendly_name": "KG271U",
    "info": {
      "hdr_state": null,
      "origin_point": {
        "x": 0,
        "y": 0
      },
      "primary": true,
      "refresh_rate": {
        "type": "rational",
        "value": {
          "denominator": 1000,
          "numerator": 59951
        }
      },
      "resolution": {
        "height": 720,
        "width": 1280
      },
      "resolution_scale": {
        "type": "rational",
        "value": {
          "denominator": 100,
          "numerator": 100
        }
      }
    }
  }
]
[2025-01-18 21:12:21.422]: Info: Will compute new display device topology from the following input:
  - initial topology: [["{621cf86e-770c-5cbb-a481-5f41b42b7387}"]]
  - initial primary devices: ["{621cf86e-770c-5cbb-a481-5f41b42b7387}"]
  - configuring unspecified device: true
  - device to configure: "{621cf86e-770c-5cbb-a481-5f41b42b7387}"
  - additional devices to configure: []
[2025-01-18 21:12:21.422]: Info: Newly computed display device topology data:
  - topology: [["{621cf86e-770c-5cbb-a481-5f41b42b7387}"]]
  - change is needed: false
  - additional devices to configure: []
[2025-01-18 21:12:21.422]: Info: Changing display modes to:
{
  "{621cf86e-770c-5cbb-a481-5f41b42b7387}": {
    "refresh_rate": {
      "denominator": 1,
      "numerator": 60
    },
    "resolution": {
      "height": 1440,
      "width": 2560
    }
  }
}
[2025-01-18 21:12:21.461]: Info: Encoder reenumeration is required
[2025-01-18 21:12:21.461]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-01-18 21:12:21.461]: Info: Trying encoder [nvenc]
[2025-01-18 21:12:21.648]: Info: 
Device Description : NVIDIA GeForce RTX 2080 SUPER
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00001E81
Device Video Mem   : 7987 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15951 MiB
Feature Level      : 0x0000B100
Capture size       : 2560x1440
Offset             : 0x0
Virtual Desktop    : 2560x1440
[2025-01-18 21:12:21.648]: Info: Active GPU has HAGS enabled
[2025-01-18 21:12:21.648]: Info: Using realtime GPU priority
[2025-01-18 21:12:21.648]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.650391,0.338867]
Green Primary      : [0.313477,0.625977]
Blue Primary       : [0.150391,0.0517578]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2025-01-18 21:12:21.653]: Info: Desktop resolution [2560x1440]
[2025-01-18 21:12:21.653]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-01-18 21:12:21.653]: Info: Display refresh rate [59.951Hz]
[2025-01-18 21:12:21.653]: Info: Requested frame rate [60fps]
[2025-01-18 21:12:21.653]: Info: Creating encoder [h264_nvenc]
[2025-01-18 21:12:21.653]: Info: Color coding: SDR (Rec. 601)
[2025-01-18 21:12:21.653]: Info: Color depth: 8-bit
[2025-01-18 21:12:21.653]: Info: Color range: JPEG
[2025-01-18 21:12:21.732]: Info: NvEnc: created encoder H.264 P1 two-pass rfi
[2025-01-18 21:12:21.759]: Info: Creating encoder [hevc_nvenc]
[2025-01-18 21:12:21.759]: Info: Color coding: SDR (Rec. 601)
[2025-01-18 21:12:21.759]: Info: Color depth: 8-bit
[2025-01-18 21:12:21.759]: Info: Color range: JPEG
[2025-01-18 21:12:21.883]: Info: NvEnc: created encoder HEVC P1 two-pass rfi
[2025-01-18 21:12:21.906]: Info: Creating encoder [av1_nvenc]
[2025-01-18 21:12:21.906]: Info: Color coding: SDR (Rec. 601)
[2025-01-18 21:12:21.906]: Info: Color depth: 8-bit
[2025-01-18 21:12:21.906]: Info: Color range: JPEG
[2025-01-18 21:12:21.927]: Error: NvEnc: encoding format is not supported by the gpu
[2025-01-18 21:12:21.934]: Info: Creating encoder [h264_nvenc]
[2025-01-18 21:12:21.934]: Info: Color coding: SDR (Rec. 601)
[2025-01-18 21:12:21.934]: Info: Color depth: 8-bit
[2025-01-18 21:12:21.934]: Info: Color range: JPEG
[2025-01-18 21:12:21.971]: Info: NvEnc: created encoder H.264 P1 yuv444 two-pass rfi
[2025-01-18 21:12:22.113]: Info: 
Device Description : NVIDIA GeForce RTX 2080 SUPER
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00001E81
Device Video Mem   : 7987 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15951 MiB
Feature Level      : 0x0000B100
Capture size       : 2560x1440
Offset             : 0x0
Virtual Desktop    : 2560x1440
[2025-01-18 21:12:22.113]: Info: Active GPU has HAGS enabled
[2025-01-18 21:12:22.114]: Info: Using realtime GPU priority
[2025-01-18 21:12:22.114]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.650391,0.338867]
Green Primary      : [0.313477,0.625977]
Blue Primary       : [0.150391,0.0517578]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2025-01-18 21:12:22.116]: Info: Desktop resolution [2560x1440]
[2025-01-18 21:12:22.116]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-01-18 21:12:22.116]: Info: Display refresh rate [59.951Hz]
[2025-01-18 21:12:22.116]: Info: Requested frame rate [60fps]
[2025-01-18 21:12:22.116]: Info: Creating encoder [hevc_nvenc]
[2025-01-18 21:12:22.116]: Info: Color coding: SDR (Rec. 709)
[2025-01-18 21:12:22.116]: Info: Color depth: 10-bit
[2025-01-18 21:12:22.116]: Info: Color range: JPEG
[2025-01-18 21:12:22.228]: Info: NvEnc: created encoder HEVC P1 yuv444 10-bit two-pass rfi
[2025-01-18 21:12:22.277]: Info: 
[2025-01-18 21:12:22.277]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-01-18 21:12:22.277]: Info: 
[2025-01-18 21:12:22.277]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-01-18 21:12:22.277]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-01-18 21:12:22.326]: Info: New streaming session started [active sessions: 1]
[2025-01-18 21:12:22.463]: Info: nvprefs: No need to modify application profile settings
[2025-01-18 21:12:22.463]: Info: nvprefs: No need to modify global profile settings
[2025-01-18 21:12:22.493]: Info: CLIENT CONNECTED
[2025-01-18 21:12:22.574]: Info: Gamepad 0 will be Xbox 360 controller (auto-selected by client-reported type)
[2025-01-18 21:12:22.679]: Info: 
Device Description : NVIDIA GeForce RTX 2080 SUPER
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00001E81
Device Video Mem   : 7987 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15951 MiB
Feature Level      : 0x0000B100
Capture size       : 2560x1440
Offset             : 0x0
Virtual Desktop    : 2560x1440
[2025-01-18 21:12:22.679]: Info: Active GPU has HAGS enabled
[2025-01-18 21:12:22.679]: Info: Using realtime GPU priority
[2025-01-18 21:12:22.679]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.650391,0.338867]
Green Primary      : [0.313477,0.625977]
Blue Primary       : [0.150391,0.0517578]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2025-01-18 21:12:22.682]: Info: Desktop resolution [2560x1440]
[2025-01-18 21:12:22.682]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-01-18 21:12:22.682]: Info: Display refresh rate [59.951Hz]
[2025-01-18 21:12:22.682]: Info: Requested frame rate [60fps]
[2025-01-18 21:12:22.682]: Info: Creating encoder [hevc_nvenc]
[2025-01-18 21:12:22.682]: Info: Color coding: SDR (Rec. 601)
[2025-01-18 21:12:22.682]: Info: Color depth: 10-bit
[2025-01-18 21:12:22.682]: Info: Color range: MPEG
[2025-01-18 21:12:22.682]: Info: Adjusted capture rate to 59.951fps to better match display
[2025-01-18 21:12:22.703]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-01-18 21:12:22.729]: Info: NvEnc: created encoder HEVC P1 10-bit two-pass rfi
[2025-01-18 21:12:22.876]: Info: Changed virtual audio sink format to [S32 48000 5.1]
[2025-01-18 21:12:22.916]: Info: Audio capture format is [F32 48000 5.1]
[2025-01-18 21:12:22.917]: Info: Opus initialized: 48 kHz, 6 channels, 1536 kbps (total), LOWDELAY
[2025-01-18 21:25:51.476]: Info: CLIENT DISCONNECTED
[2025-01-18 21:34:31.094]: Info: Web UI: [127.0.0.1] -- not authorized
@shovas
Copy link

shovas commented Feb 12, 2025

Did you ever find a solution?

@liamdebeasi
Copy link
Author

I've been using a workaround for the past few weeks that has worked pretty well. Here's what I did:

  1. Installed Virtual Display Driver to create a virtual display at my desired resolution and framerate. In my case this was 2560 x 1440 @ 60.00fps.
  2. In the Sunshine logs, I grabbed the display ID for the virtual display and configured Sunshine to stream games on that display. You may need to have Sunshine also activate the display (this is a dropdown below the textbox where you type in the display ID).
  3. Configured Windows to mirror on both my physical and virtual displays. This step isn't necessary, but I found it's really handy for debugging. Since the virtual display isn't an actual display you can look at, mirroring the display lets you work around the noted issue while still being able to see what's going on when looking at the host machine.

Someone on Discord had suggested using Special K to cap the game at 60.00fps using Latent Sync and CDU to set my monitor refresh to 60.00Hz, but that didn't solve my problem so I stuck with using the virtual display.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants