Sunshine
Sunshine copied to clipboard
Frame processing latency false values with Windows.Graphics.Capture method
Is there an existing issue for this?
- [X] I have searched the existing issues
Is your issue described in the documentation?
- [X] 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
With the new beta Capture method the host processing latency showing false numbers which are constantly increasing from the start of the sunshine executable reaching really huge numbers which for sure are not actual values as the performance is pretty good not getting such huge latenies.
Example debug log entry:
Debug: Frame processing latency (min/max/avg): 304.40ms/321.20ms/305.11ms
Expected Behavior
Show actual host latency values just like with the dekstop duplication API.
Additional Context
No response
Host Operating System
Windows
Operating System Version
10 22H2
Architecture
amd64/x86_64
Sunshine commit or version
v2024.1102.190004
Package
Windows - portable (not recommended)
GPU Type
Nvidia
GPU Model
RTX 3060 TI
GPU Driver/Mesa Version
566.03
Capture Method
Windows.Graphics.Capture (Windows)
Config
No response
Apps
No response
Relevant log output
[2024-11-03 11:19:11.762]: Debug: NvEnc: encoded frame sizes in kB (min/max/avg): 0.55/30.33/7.74
[2024-11-03 11:19:11.763]: Debug: Frame processing latency (min/max/avg): 305.70ms/307.70ms/306.38ms
[2024-11-03 11:19:11.764]: Debug: Network: each FEC block latency (min/max/avg): 0.00ms/0.01ms/0.00ms
[2024-11-03 11:19:11.765]: Debug: Network: each send_batch() latency (min/max/avg): 0.01ms/0.07ms/0.03ms
[2024-11-03 11:19:11.766]: Debug: Network: frame's overall network latency (min/max/avg): 0.03ms/0.12ms/0.05ms
[2024-11-03 11:19:31.778]: Debug: NvEnc: encoded frame sizes in kB (min/max/avg): 0.77/31.06/6.44
[2024-11-03 11:19:31.778]: Debug: Frame processing latency (min/max/avg): 306.90ms/327.40ms/307.58ms
[2024-11-03 11:19:31.779]: Debug: Network: each FEC block latency (min/max/avg): 0.00ms/0.03ms/0.00ms
[2024-11-03 11:19:31.780]: Debug: Network: each send_batch() latency (min/max/avg): 0.01ms/0.10ms/0.03ms
[2024-11-03 11:19:31.780]: Debug: Network: frame's overall network latency (min/max/avg): 0.03ms/0.19ms/0.05ms
[2024-11-03 11:19:39.542]: Debug: type [IDX_INVALIDATE_REF_FRAMES]
Somehow it is connected to boot time. On a freshly booted windows it has small values and constantly increasing to unreal numbers like 3700ms until next reboot.
It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!
This issue was closed because it has been stalled for 10 days with no activity.