Description
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?
None
Describe the Bug
I'm using sunshine and moonlight to stream games on a Windows 10 22H2 system. I noticed that when the system is idle on the desktop without any operation, the frame rate drops to less than 10 frames per second.
However, on Ubuntu under the same circumstances, it can even run at a full 240Hz frame rate.
I wonder if this is caused by the characteristics of the Windows DX API. Will upgrading to win11 help, Or which version of sunshine should I use?
Operating System Version
Windows10 22H2
Architecture
amd64/x86_64
Sunshine commit or version
GPU Model
RTX 4090
Relevant log output
[2024-11-25 11:48:32.138]: Info: Sunshine version: 0.0.0.dirty
[2024-11-25 11:48:32.139]: Info: Package Publisher: Third Party Publisher
[2024-11-25 11:48:32.139]: Info: Publisher Website:
[2024-11-25 11:48:32.139]: Info: Get support: https://app.lizardbyte.dev/support
[2024-11-25 11:48:32.506]: Info: nvprefs: No need to modify application profile settings
[2024-11-25 11:48:32.506]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2024-11-25 11:48:32.686]: Info: Compiling shaders...
[2024-11-25 11:48:32.749]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-11-25 11:48:32.786]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-11-25 11:48:32.820]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-11-25 11:48:32.839]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-11-25 11:48:32.884]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-11-25 11:48:32.898]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-11-25 11:48:32.898]: Info: Compiled shaders
[2024-11-25 11:48:32.909]: Fatal: ViGEmBus is not installed or running. You must install ViGEmBus for gamepad support!
[2024-11-25 11:48:32.910]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024-11-25 11:48:32.910]: Info: Trying encoder [nvenc]
[2024-11-25 11:48:33.183]: Info: ddprobe.exe [1] [] returned: 0x00000000
[2024-11-25 11:48:33.184]: Info: Set GPU preference: 1
[2024-11-25 11:48:33.656]: Info:
Device Description : NVIDIA GeForce RTX 4090
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002684
Device Video Mem : 24142 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16374 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2024-11-25 11:48:33.656]: Info: Active GPU has HAGS disabled
[2024-11-25 11:48:33.656]: Info: Using realtime GPU priority
[2024-11-25 11:48:33.657]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024-11-25 11:48:33.658]: Info: Desktop resolution [2560x1440]
[2024-11-25 11:48:33.659]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024-11-25 11:48:33.659]: Info: Display refresh rate [240Hz]
[2024-11-25 11:48:33.659]: Info: Requested frame rate [60fps]
[2024-11-25 11:48:33.661]: Info: Creating encoder [h264_nvenc]
[2024-11-25 11:48:33.661]: Info: Color coding: SDR (Rec. 601)
[2024-11-25 11:48:33.661]: Info: Color depth: 8-bit
[2024-11-25 11:48:33.661]: Info: Color range: JPEG
[2024-11-25 11:48:33.916]: Info: NvEnc: created encoder H.264 P1 two-pass rfi
[2024-11-25 11:48:34.026]: Info: Creating encoder [hevc_nvenc]
[2024-11-25 11:48:34.026]: Info: Color coding: SDR (Rec. 601)
[2024-11-25 11:48:34.026]: Info: Color depth: 8-bit
[2024-11-25 11:48:34.027]: Info: Color range: JPEG
[2024-11-25 11:48:34.101]: Info: System tray created
[2024-11-25 11:48:34.206]: Info: NvEnc: created encoder HEVC P1 two-pass rfi
[2024-11-25 11:48:34.330]: Info: Creating encoder [av1_nvenc]
[2024-11-25 11:48:34.330]: Info: Color coding: SDR (Rec. 601)
[2024-11-25 11:48:34.330]: Info: Color depth: 8-bit
[2024-11-25 11:48:34.330]: Info: Color range: JPEG
[2024-11-25 11:48:34.527]: Info: NvEnc: created encoder AV1 P1 two-pass rfi
[2024-11-25 11:48:34.665]: Info: Creating encoder [h264_nvenc]
[2024-11-25 11:48:34.665]: Info: Color coding: SDR (Rec. 601)
[2024-11-25 11:48:34.665]: Info: Color depth: 8-bit
[2024-11-25 11:48:34.666]: Info: Color range: JPEG
[2024-11-25 11:48:34.868]: Info: NvEnc: created encoder H.264 P1 yuv444 two-pass rfi
[2024-11-25 11:48:35.450]: Info:
Device Description : NVIDIA GeForce RTX 4090
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002684
Device Video Mem : 24142 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16374 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2024-11-25 11:48:35.450]: Info: Active GPU has HAGS disabled
[2024-11-25 11:48:35.450]: Info: Using realtime GPU priority
[2024-11-25 11:48:35.450]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024-11-25 11:48:35.452]: Info: Desktop resolution [2560x1440]
[2024-11-25 11:48:35.452]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024-11-25 11:48:35.452]: Info: Display refresh rate [240Hz]
[2024-11-25 11:48:35.452]: Info: Requested frame rate [60fps]
[2024-11-25 11:48:35.453]: Info: Creating encoder [hevc_nvenc]
[2024-11-25 11:48:35.454]: Info: Color coding: SDR (Rec. 709)
[2024-11-25 11:48:35.454]: Info: Color depth: 10-bit
[2024-11-25 11:48:35.454]: Info: Color range: JPEG
[2024-11-25 11:48:36.277]: Info: NvEnc: created encoder HEVC P1 yuv444 10-bit two-pass rfi
[2024-11-25 11:48:36.448]: Info: Creating encoder [av1_nvenc]
[2024-11-25 11:48:36.448]: Info: Color coding: SDR (Rec. 709)
[2024-11-25 11:48:36.448]: Info: Color depth: 10-bit
[2024-11-25 11:48:36.448]: Info: Color range: JPEG
[2024-11-25 11:48:36.657]: Error: NvEnc: gpu doesn't support YUV444 encode
[2024-11-25 11:48:36.758]: Info: Creating encoder [av1_nvenc]
[2024-11-25 11:48:36.758]: Info: Color coding: SDR (Rec. 709)
[2024-11-25 11:48:36.758]: Info: Color depth: 10-bit
[2024-11-25 11:48:36.758]: Info: Color range: JPEG
[2024-11-25 11:48:36.928]: Info: NvEnc: created encoder AV1 P1 10-bit two-pass rfi
[2024-11-25 11:48:37.087]: Info:
[2024-11-25 11:48:37.087]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024-11-25 11:48:37.087]: Info:
[2024-11-25 11:48:37.087]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2024-11-25 11:48:37.087]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2024-11-25 11:48:37.087]: Info: Found AV1 encoder: av1_nvenc [nvenc]
[2024-11-25 11:48:37.122]: Info: Configuration UI available at [https://localhost:47990
Metadata
Metadata
Assignees
Labels
No labels