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

Random rendering framerate slowsdown after a while on Nvidia Shield #1319

Open
xenophobentx opened this issue Jan 23, 2024 · 6 comments
Open
Labels

Comments

@xenophobentx
Copy link

xenophobentx commented Jan 23, 2024

Describe the bug

Tested on Nvidia Shield 2019 TV and Nvidia Shield 2019 Pro booth have the very same behaviour.

Tested with Shield experience 9.1.1 and Shield Experience 8.2.3 versions (Android 9 and 11)

Tested with older moonlight versions by installing older releases on the boxes.

Everything wired with gigabit, network latency is 1ms as per stats screen.

On host: V-sync off framrate capped to 60 by Rivatuner or Nvidia control panel

Client: 1080p@60fps@25Mbps Framepacing: Prefer Minimal latency (Default)

Even on a fresh install of Shield and an older one behaves the same.

Testing on a windows client the issue is not reproducible in the very same setup. (Same TV same Ethernet cable), that way it just stay smooth as expected.

Steps to reproduce

Start the stream and a game, buttery smooth experience no hiccups.

Play for a while and you will notice that somehow the rendering framerate drops almost to 30ish level despite the facts that the overlay says it there is no drop in network host or client framerate or decoding latency, but you will feel and see it it becomes choppy like it cannot render the frames in time.

Exit moonlight back to stream itt will be smooth again for a while.
It seems that the issue is triggered by scenes when a lot of happening like explosions(my go to test game is DOOM 2016 ) but as it is random it is hard to predict.

Tried with x264 and HEVC booth one can reproduce this. Different TV/Monitor it still reproducible.

Affected games

All

Other Moonlight clients

PC

Moonlight adjusted settings

Yes

Moonlight adjusted settings (please complete the following information)

I've just adjusted the resolution to 1080p and bandwith to 25mbps

Moonlight default settings

Yes

Gamepad-related connection issue

No

Gamepad-related input issue

No

Gamepad-related streaming issue

No

Android version

9 and 11

Device model

Nvidia Shield 2019 TV and Nvidia Shield 2019 Pro

Server PC OS version

Windows 10

Server PC GeForce Experience version

3.27.0.120 but also reproducible with latest Sunshine

Server PC Nvidia GPU driver version

3.27.0.120

Server PC antivirus and firewall software

nope

Screenshots

cannot screenhot

Relevant log output

i don't know what to capture here.

Additional context

No response

@StanLindsey
Copy link

I have this happening on my steam deck. Which obviously isn't Android, steam decks frame rate goes wild (from north 100 fps down to single digits). Closing and reopening the client stream fixes it, usually for the rest of the session.

I don't get it on my other devices. But I'm testing the HDR build on the steam deck so could be completely unrelated.

@Beetleburper
Copy link

Any one find a solution to this ?? I have the exact same issue frames tank to 30fps randomly on nvidia shield.

Rtx 4080 12700kf 32gb
Netgear nighthawk rax70

@xenophobentx
Copy link
Author

If i'm requesting a 120fps stream it seems i got no repro, despite the fact that the a game is running at fixed 60fps . If i requesting 60 fps stream than the random slow rendering happens.

@KINDR3D
Copy link

KINDR3D commented Oct 15, 2024

Same thing here. Got a windows machine set as encoder. Hardware for both the host and client are in the more-than-enough category for streaming 1080p 60fps. Everything is connected through cable on a gigabit connection. Game starts off great, but after a little bit the framerate starts dropping below 60. There's no lack of avaible resources from what I see.

@warent
Copy link

warent commented Nov 25, 2024

Happening on my Shield client. Host is Windows 11 Sunshine, 3090ti. Debugger shows everything is great except render framerate randomly tanks.

I've tried a bunch of different settings. Nothing seemed to help except disabling HDR and (for whatever reason) increasing FPS from 60 to 120. Lag bursts are still there but fewer.

@shovas
Copy link

shovas commented Feb 11, 2025

Any solutions here? I have a similar wired, gigabit network, i7 12700kf, 3080 host to Shield Pro and it can easily power 60fps for perhaps a minute at a time and then randomly tanks. The stats overlay indicates that even 1 or 2 fps drops below 60 can make the client experience far worse than 30fps.

I never had HDR enabled and I tried 120fps caps and nothing like that worked.

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

No branches or pull requests

6 participants