Skip to content

Does GameStream have any sort of innate advantage over Sunshine due to lower level access? #111

Closed Answered by KuleRucket
mlbrnm asked this question in Sunshine
Discussion options

You must be logged in to vote

To add to my answer above. I did some performance profiling on the nightly. Linux + nvfbc + nvenc, 1440p/120Hz., no vsync.

I measured the time taken to snapshot, convert, encode and broadcast using std::chrono::steady_clock at different points in the code. Granted, my clock accuracy probably isn't great but these were the results:

snapshot: negligible (steady_clock says 0-1ns, system_clock says 20-30μs)
convert: negligible (says 18-30μs)
encode: 3-4ms
broadcast: negligible

In the above measurements, the micro/nanoseconds result are too small the measure so can be treated as negligible.

The time taken from before the snapshot request (just after coming out of sleep from the previous cycle)…

Replies: 0 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@mlbrnm
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ReenigneArcher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 participants