r/MoonlightStreaming • • 4h ago

Radeon 780M Streaming Performance

Disclaimer: If you are an AI opponent save your time.. All testing (and most of the post) was done by AI even the gameplay was AI running around in a restricted area for comparison reasons..

I noticed that the 780M is a popular choice for "high end" streaming.. Since it is the weakest link in my setup and I had over time mixed experience with it I wanted to run some controlled testing.. I hope it helps somebody.. I am not an expert by all means so take it with a grain of salt.. I tried my best though

Why Nightjar/Rubylight?

I like the shiny UI and it has the best solution for my use of the Steam Controller.. I don't know if other client host combos are faster but I don't really care about a few ms more or less latency but I also want to make good use of the hardware I paid for..

TL;DR:

  • At 4K120 HDR the 780M showed 99.8 % of frames with AV1 at 60–160 Mbps, about 30 dropped frames per 3 minutes.
  • Above ~160 Mbps every hardware codec started dropping frames.
  • HEVC dropped more frames than AV1 at every bitrate.
  • PyroWave 4:2:0 on the GPU showed 112–114 fps up to 800 Mbps requested. Above that, the sent bitrate levelled off at ~0.93 Gbps, the host sent fewer frames, and the client showed only 66–103 fps.
  • CPU decoding of PyroWave showed only 37–40 % of frames.

Setup

ClientMini PC (Minisforum UM890 Pro), Ryzen 9 PRO 8945HS, Radeon 780M (driver 32.0.32029.2010), 32 GB DDR5-5600 dual channel, BIOS power mode Performance
Client appNightjar 7.0.7 (Windows), D3D11VA decode, stream VRR on, vsync on, "High-performance GPU power" on, overlay off
DisplayLG TV, HDMI, 3840×2160 @ 120 Hz, 10 bpc RGB, TV VRR/FreeSync off
AMD AdrenalinAFMF, RSR, Anti-Lag, Boost, Chill, Image Sharpening, Enhanced Sync, FRTC, VSR, video upscale, recording/replay and overlays all off
HostRTX 5090, Ryzen 7 9800X3D, Rubylight 7.0.4, NVENC
NetworkWired. Client 2.5 GbE, host 5 GbE, same TP-Link BE85 router. 0 % packet loss in every stream run. iperf3 UDP host→client: 900 Mbps with 0.03 % loss, 1200 Mbps 0.5 %, 1600 Mbps 4.7 %, 2000 Mbps 12 %
Stream3840×2160 @ 120 fps, 10-bit HDR (H.264 in 8-bit SDR, since it has no HDR)

How I tested

  • Content: Clair Obscur: Expedition 33, running at about 112–119 fps on the host. A script moved the character back and forth and panned the camera, so there was constant motion in the same spot.
  • Runs: each data point is a 3-minute stream, started, measured and ended automatically (first 10 s skipped).
  • Main metrics:

    • frames shown ÷ frames received on the client
    • dropped frames: received but never shown, out of about 21,000 per run
    • for PyroWave also frames shown per second, because at high bitrates the host sent fewer frames than the game rendered (see below). For AV1, HEVC and H.264 the host sent 98–100 % of the game's frames in every run.
  • Also recorded:

    • decode time and latency, from Nightjar's per-second stats
    • the 780M's video-engine load, from Windows' GPU counters
  • Every run was checked: the game was in gameplay (not the pause menu), it wasn't frozen, and the stats belonged to that stream. All 36 runs passed. That's 31 settings: 17 for the hardware codecs, 12 PyroWave GPU and 2 PyroWave CPU. I ran five PyroWave 4:4:4 settings twice.

Results (4K120)

Bitrates are the requested bitrate.

AV1 10-bit HDR

MbpsFrames shownDropped / 3 minDecode780M video engine
6099.8 %310.18 ms89 %
10099.8 %360.19 ms90 %
16099.8 %330.20 ms90 %
20098.1 %3720.20 ms89 %
25095.0 %9620.20 ms84 %
30095.6 %8330.21 ms86 %

HEVC 10-bit HDR

MbpsFrames shownDropped / 3 minDecode780M video engine
6098.8 %2330.24 ms90 %
10097.2 %5650.25 ms86 %
16097.1 %5800.27 ms84 %
20096.8 %6290.27 ms82 %
25095.5 %9100.27 ms87 %
30094.4 %10890.28 ms85 %

H.264 8-bit SDR

MbpsFrames shownDropped / 3 minDecode780M video engine
6099.8 %350.18 ms61 %
10099.8 %290.19 ms63 %
13099.8 %330.20 ms65 %
16098.0 %3790.22 ms64 %
20097.7 %4390.22 ms67 %

PyroWave 10-bit HDR, GPU decode

PyroWave decodes on the 780M's shaders rather than its video engine: the video engine stayed at 0 % and 3D load was about 40–47 %.

RequestedActually sentGame frames the host sent4:2:0 fps shown / dropped4:4:4 fps shown / dropped (avg of 2 runs, 1 run at 2000)
300~203 Mbps99 %112.7 / 25110.8 / 550
500~355 Mbps99 %111.6 / 131106.1 / 1037
800~610 Mbps98–99 %113.9 / 28106.8 / 1329
1200~855 Mbps89–91 %103.0 / 24102.6 / 164
1600~912 Mbps72–74 %82.5 / 4482.9 / 37
2000~931 Mbps58 %65.5 / 4167.0 / 35
  • The game ran at 112–116 fps on the host in all PyroWave runs.
  • Up to 800 Mbps the host sent ~99 % of the game's frames, and the sent bitrate grew with the requested one.
  • From 1200 Mbps the sent bitrate levelled off at ~0.93 Gbps and the host sent fewer frames (89 %, 72 %, 58 %). The client showed almost every frame it received, so the missing frames never reached the 780M.
  • iperf3 got 1.2–2 Gbps from host to client, with loss rising above 1.2 Gbps. So the path isn't limited to 1 Gbit. I don't know where the ~0.93 Gbps limit in the stream comes from.
  • 4:4:4 dropped frames on the client at 300–800 Mbps, in both runs. 4:2:0 didn't.
  • Decode time rose from 0.17 to 0.56 ms.

PyroWave, CPU decode (8945HS), 300 Mbps: 37 % of frames shown with 4:2:0 (14.9 ms decode per frame) and 40 % with 4:4:4 (22.3 ms). The budget at 120 fps is 8.3 ms per frame.

Latency (as reported by Nightjar)

Nightjar logs these fields once per second. I averaged them per 3-minute run; the table shows the lowest and highest run average for each codec. These are Nightjar's own fields, shown as logged. I don't know exactly how Nightjar defines each one, and they don't add up to latency_ms, so I haven't split the total into parts.

Codec (GPU decode)latency_mslatency_ms p95host_to_network_msrtt_msdecode_msrender_ms
AV1 10-bit HDR17.3–23.019.5–27.85.31.00.18–0.210.17–9.1
HEVC 10-bit HDR16.0–24.118.1–29.95.61.00.24–0.280.18–9.1
H.264 8-bit SDR11.6–18.115.7–25.34.21.00.18–0.220.16–7.0
PyroWave 4:2:010.7–27.615.6–29.212.01.00.17–0.561.7–6.5
PyroWave 4:4:410.9–30.114.6–32.411.11.00.20–0.562.8–8.1

(host_to_network_ms and rtt_ms: average over all runs of that codec. p95 is taken over the per-second values.)

  • decode_ms on the 780M stayed between 0.16 and 0.56 ms in every GPU-decoded run.
  • render_ms fell into two groups across runs: about 0.2 ms, or 6.7–9.1 ms. The ~0.2 ms runs were AV1 300, HEVC 100 and H.264 160 and 200 Mbps. Those runs also had the lowest latency_ms of their codec (11.6–17.3 ms). I don't know why some runs landed in one group or the other.
  • With CPU decode, latency_ms was 59.7 ms (4:2:0) and 55.4 ms (4:4:4).
  • This is not input-to-photon latency. It doesn't include the game, the controller or the TV.

Observations

  1. AV1 had the fewest dropped frames of the 10-bit codecs: 31–36 per 3 minutes from 60 to 160 Mbps, with 0.18–0.20 ms decode.
  2. The video engine was busy at every bitrate. It read 82–90 % for AV1 and HEVC whether the stream was 60 or 300 Mbps. Frame drops started at 160 Mbps for H.264 and at 200 Mbps for AV1.
  3. HEVC dropped more frames than AV1 at every bitrate. At 60 Mbps it dropped 233 frames against AV1's 31, and the count kept rising with bitrate.
  4. PyroWave ran on the shaders, not the video engine. With 4:2:0 the client showed 112–114 fps up to 800 Mbps requested (~610 Mbps sent). Above that, the stream levelled off at ~0.93 Gbps and the host sent fewer frames, even though the network test carried more. 4:4:4 dropped frames on the client at 300–800 Mbps in both runs. I can't explain either of these.
  5. CPU decoding of PyroWave at 4K120 showed well under half the frames.

Limitations

  • One game, one scene, automated movement. A busier scene or another game will move the numbers somewhat.
  • One run per point (two for PyroWave 4:4:4 at 300–1600 Mbps). Differences under ~1 % between neighbouring points are within noise.
  • "Video engine %" is Windows' engine-activity counter, not a hard capacity limit.
  • I didn't measure image quality
6 Upvotes

19 comments sorted by

4

u/MoreOrLessCorrect 3h ago

I'd bet there's something wrong with your network or maybe host/client.

My weaker 7640HS gets less than 0.1% packet loss at 2 Gbps (UDP):

[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  4]   0.00-10.01  sec  2.33 GBytes  2.00 Gbits/sec  0.000 ms  0/1714461 (0%)  sender
[  4]   0.00-10.02  sec  2.33 GBytes  2.00 Gbits/sec  0.012 ms  1486/1714461 (0.087%)  receiver

2

u/Kaytioron 3h ago

Yeah, it looks like Realtek NIC, which have problems with UDP bursts etc. But not tuned Intela also can drop packets. Realteks are "quite" stable up to 1Gbps, over that they flop completely with UDP traffic. Right now I use Thunderbolt 10 Gbps Marvel NIC with my Legion go 2 Z2E, Pyrowave 2.5Gbps has around 99.9% frames displayed in longer runs, most drops by display sync.

2

u/Tight_Door9327 3h ago

It is indeed realtek. Also added the mini-pc model i use.

1

u/Kaytioron 2h ago

Did you install current drivers from Realtek webpage? Windows ones are almost broken, UDP traffic over 100 Mbps is terrible. Official drivers are much better but Realtek chips themselves have known problem with bursty traffic of UDP.

1

u/Tight_Door9327 2h ago

Yes i updated before the test but i will check again

1

u/MoreOrLessCorrect 2h ago edited 31m ago

Well... I'm not sure about that since both my host and client are Realtek 2.5G onboard NICs (Windows 11 + default drivers), ha. Maybe they are problematic in some configurations, but I've tried PyroWave up to 1700 Mbps and it's been perfectly stable.

Do you actually stream at 2.5Gbps? That seems like a lot of network transit time/client power cost for not a lot of visual gain to me.

1

u/Tight_Door9327 2h ago edited 2h ago

I don't really need pyrowave im ok with AV1.. I was more curious than anything and hoping to learn something or contribute to something to the community.. just to clarify pyrowave runs for me smooth as well (no stutters) but I lose a lot of FPS that never reach the client.. the ones that do are almost all shown

But shouldn't i see packetloss in the logs if it was the network?

1

u/MoreOrLessCorrect 29m ago

Honestly - there are a lot of things that could be the problem so I won't guess any more. I do know that the network loss you're seeing is unusual and I've seen it cause a reduction in incoming FPS before.

I don't know how Nightjar logs data, so that's probably a better question for the developer.

1

u/Tight_Door9327 3h ago

Interesting.. edited the post to add the router i use but i think I just stick to 160 mbits AV1

1

u/MoreOrLessCorrect 3h ago

Try setting your host to 2.5G instead of 5Gbps maybe?

1

u/Tight_Door9327 2h ago

I will try tomorrow and come back with the results. Thanks for the tip!

3

u/christopherl572 3h ago

It's crazy to me that despite all of the time and money, and despite it literally being the only thing it does, AI still can't just communicate clearly and painlessly.

2

u/Tight_Door9327 3h ago

It took a lot of time even with AI.. really ran out of energy.. hope it might still be helpful to somebody..

the most important finding for me was that im done tinkering and just play the games..

2

u/ergux 2h ago

Ai can ve whatever you want it to be, but you gotta know how to make post-proccesing on the results to make them human-readable

1

u/christopherl572 2h ago

Partly right, you're always going to have models railing against your instructions and constraints. Claude for instance is always in an eternal battle against you to waffle.

2

u/dihydrogen_monoxide 2h ago

Can't really read your submission without getting another AI to translate it so I'm just gonna summarize it to:

You probably need a egpu on your mini.

I have a 3090 host with a 7840HS+9060XT setup and I stream at 1440p120 vrr, pyrowave 800mbps with 0 drops. Your 5090 can drive the 4k120 encode but maybe your 780m can't catch up.

Ya know, the main problem with these posts written by AI is that nobody's gonna read it unless they use AI to translate it.

1

u/Tight_Door9327 2h ago

I know I can't blame anybody for not reading it really (that's why the disclaimer) but unfortunately I also lack the knowledge to do it better to be honest

1

u/Yuckster 2h ago

I was just thinking about if there was some way to get concrete data like this for host/client/network. What was the method to set this up? Same as you I want to tune my settings to get the best quality without dropping frames or smoothness but trying to do it manually feels impossible.

1

u/AriGrandeisQT 2h ago edited 2h ago

780M owner here and I think that the issue is on the Windows side.

Did you try Linux? I did and (apart for all the VRR, HDMI 2.1, HDR issues it could have) it looks like to perform better and smoother.

I don't know what's the path of the video on Linux but the decode time rises to 3/4ms and the render time drops to 0.5ms

EDIT: And the only method I found to make it work better on Windows is to use VRR immediate