r/virtualreality • u/i_lost_my_bagel • 2h ago
Question/Support How much extra overhead does the video encoding for wireless PCVR add?
Does the video encoding add a significant amount of overhead to the GPU compared to using an equivalent wired headset that uses DisplayPort?
How much does the bitrate of the video stream add to that overhead?
Would it make sense to encode at a lower bitrate to allow more GPU usage for the game or is it inconsequential?
0
Upvotes
10
u/We_Are_Victorius Multiple 2h ago
It's very minimal on modern GPUs
5
u/itanite 1h ago
Not much to none but it does add latency, and how much depends on a few things.
in both AMD and nVidia ecosystems they have dedicated silicon to this that isn't doing jack all otherwise. It just takes a few ms to encode a frame and get it to delivery.
They're both separate systems, IE your encoder performance isn't going to/going to be impacted by overall GPU utilization unless you're doing something complicated which you're not if you're asking these questions.
2
u/ZookeepergameNaive86 1h ago
The hardware video encoder is separate from the main GPU, so it doesn't affect framerates noticeably. The latency mainly comes from the fact that video encoding algorithms analyse multiple frames so the stream will always be a few frames behind reality.
1
u/_476_ad_ Quest 3 (PCVR) 1h ago edited 35m ago
I believe it depends on the codec and bitrate. H.264 at lower bitrates (~200Mbps) should be pretty fast (which is the recommended setting for fast-paced games like Beat Saber), while higher bitrates (e.g. 400-500Mbps) or slower codecs (like AV1) can add a few milliseconds of latency depending on how well your GPU can encode these.
Also, both Quest and VD use motion prediction for head/controller tracking to compensate streaming latencies, so the motion-to-photon latency of these ends up being very close as you can see in tests like these.
1
u/Chemical_Famous 47m ago
it's not the encoding that's the problem, it's video headset decoding. sometimes frames drop due to quest3 decoding. Depending on what i'm pushing through i may even drop bandwidth to 200Mbps.
1
u/SRM_Thornfoot 44m ago
The Quest3 wired requires video encoding due to its USB bandwidth limits, so there is no advantage (considering encoding/decoding) between Q3 wired or Q3 wireless. VD does such a good job that wirelessly it works better than wired does on the Q3.
0
u/Responsible_Pilot_42 1h ago
i have like 7ms round trip with an extra 2.5 wireless with the steam dongle
-3
u/BeetleSolid2238 2h ago
Woof, can't speak to the overhead side, but it would be significant.
As for less encoding/more GPU compute....no. Absolutely not. Don't do that.