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

Periodic Stutter With Pre-Release #3614

Open
2 tasks done
LyingCak3 opened this issue Jan 31, 2025 · 1 comment
Open
2 tasks done

Periodic Stutter With Pre-Release #3614

LyingCak3 opened this issue Jan 31, 2025 · 1 comment

Comments

@LyingCak3
Copy link

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 renderer frame rate drops from 60fps to around 20 fps for a few seconds before returning to normal. The issue appears to happen as the amount of "movement" on the host machine increases, but can happen while sitting idle. I believe it started after version v2025.113.133213-1 but I am not 100% on that.

Expected Behavior

Sunshine consistently renders smoothly.

Additional Context

Client is running Arch Linux 6.12.10-zen-surface (a merge of the linux surface and linux zen patch sets) and moonlight 6.1.0.
Host machine is on wired network to AP, client is connected with wireless 5G Wi-Fi.

Host Operating System

Linux

Operating System Version

Arch Linx 6.12.10-zen1-1-zen

Architecture

amd64/x86_64

Sunshine commit or version

v2025.130.210222

Package

Linux - pkg.tar.zst

GPU Type

NVIDIA

GPU Model

4070 SUPER

GPU Driver/Mesa Version

Nvidia Driver: 565.77 , Mesa version: 1:24.3.4-1

Capture Method

None

Config

key_rightalt_to_key_win = enabled
min_threads = 4
qp = 20
encoder = nvenc
min_log_level = 1

Apps

Relevant log output

---end data---
 [2025-01-30 20:44:18.877]: Debug: type [IDX_REQUEST_IDR_FRAME]
 [2025-01-30 20:44:18.888]: Debug: Frame 124011: IDR Keyframe (AV_FRAME_FLAG_KEY)
 [2025-01-30 20:44:19.005]: Debug: --begin relative mouse move packet--
 deltaX [-1]
 deltaY [0]
 --end relative mouse move packet--
 [2025-01-30 20:44:19.044]: Debug: type [IDX_REQUEST_IDR_FRAME]
 [2025-01-30 20:44:19.054]: Debug: Frame 124022: IDR Keyframe (AV_FRAME_FLAG_KEY)
 [2025-01-30 20:44:19.218]: Debug: type [IDX_REQUEST_IDR_FRAME]
 [2025-01-30 20:44:19.221]: Debug: Frame 124033: IDR Keyframe (AV_FRAME_FLAG_KEY)
 [2025-01-30 20:44:19.550]: Debug: type [IDX_REQUEST_IDR_FRAME]
 [2025-01-30 20:44:19.554]: Debug: Frame 124054: IDR Keyframe (AV_FRAME_FLAG_KEY)
 [2025-01-30 20:44:19.674]: Debug: type [Unknown] { 5502 }
 ---data---
 01001400000400050017000000E0FFDFFF92E40100
 ---end data---
 [2025-01-30 20:44:19.719]: Debug: type [IDX_REQUEST_IDR_FRAME]
 [2025-01-30 20:44:19.721]: Debug: Frame 124065: IDR Keyframe (AV_FRAME_FLAG_KEY)
 [2025-01-30 20:44:19.840]: Debug: type [Unknown] { 5502 }
 ---data---
 01001400001400050017000000240123019DE40100
 ---end data---
 [2025-01-30 20:44:21.423]: Debug: type [IDX_REQUEST_IDR_FRAME]
 [2025-01-30 20:44:21.423]: Debug: type [Unknown] { 5502 }
 ---data---
 01001400000400050017000000F009EF09EEE40100
 ---end data---
 [2025-01-30 20:44:21.424]: Debug: type [Unknown] { 5502 }
 ---data---
 01001402001500050017000300E10AE50AF6E40100
 ---end data---
 [2025-01-30 20:44:21.440]: Debug: Frame 124169: IDR Keyframe (AV_FRAME_FLAG_KEY)
 [2025-01-30 20:44:21.576]: Debug: type [IDX_REQUEST_IDR_FRAME]
 [2025-01-30 20:44:21.576]: Debug: type [IDX_REQUEST_IDR_FRAME]
 [2025-01-30 20:44:21.576]: Debug: type [Unknown] { 5502 }
 ---data---
 01001405001100050017000600900BAB0BFDE40100
 ---end data---
 [2025-01-30 20:44:21.576]: Debug: type [IDX_REQUEST_IDR_FRAME]
 [2025-01-30 20:44:21.589]: Debug: Frame 124179: IDR Keyframe (AV_FRAME_FLAG_KEY)
 [2025-01-30 20:44:21.591]: Debug: type [Unknown] { 5502 }
 ---data---
 010014000004000500170000001C0D1B0D0BE50100
 ---end data---
 [2025-01-30 20:44:21.743]: Debug: type [IDX_REQUEST_IDR_FRAME]
 [2025-01-30 20:44:21.756]: Debug: Frame 124190: IDR Keyframe (AV_FRAME_FLAG_KEY)
 [2025-01-30 20:44:21.909]: Debug: type [IDX_REQUEST_IDR_FRAME]
 [2025-01-30 20:44:21.923]: Debug: Frame 124201: IDR Keyframe (AV_FRAME_FLAG_KEY)
 [2025-01-30 20:44:22.208]: Debug: type [IDX_REQUEST_IDR_FRAME]
 [2025-01-30 20:44:22.223]: Debug: Frame 124220: IDR Keyframe (AV_FRAME_FLAG_KEY)
 [2025-01-30 20:44:22.422]: Debug: type [IDX_REQUEST_IDR_FRAME]
 [2025-01-30 20:44:22.434]: Debug: type [IDX_REQUEST_IDR_FRAME]
 [2025-01-30 20:44:22.439]: Debug: Frame 124234: IDR Keyframe (AV_FRAME_FLAG_KEY)
 [2025-01-30 20:44:27.335]: Debug: --begin keyboard packet--
@LyingCak3
Copy link
Author

I tried the following to see if that resolved the issue but so far nothing has resolved the issue:

  • X11 and wayland both show the issue
  • Reverting to SDL2 instead of using SDL3->SDL2-compat library did not resolve
  • Changing capture method did not resolve
  • Changing encoder from NVENC to VA did not resolve

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

1 participant