Quest 2 Virtual Desktop Performance Thread

I’ve just tested a factory reset and it didn’t do anything.
Then I’ve tested in the command prompt : ping 192.168.xxx.xxx /t
It appears that my latency is ok most of the time (<5ms) but there are spikes in the 10 or 18ms here and there... that correspond to the micro stuttering I have.
I have optimized everything to the max, even the DFS channel so my router could be faulty or simply not stable enough to stream high quality and low latency video to the headset.
I will try with the ax86u as soon as I can and will let you know !
 
are you pinging it while it is connected to virtual desktop? it will fluctuate a lot when it isn't due to wifi power saving on the quest.

side loading the .apk for the analiti android app is handy for diagnosing wifi issues too, it has a tab for running as an iperf3 server then do some tests from the stream pc. that helped me figure out I had a cable not running at 1gbps at one point.
 
Yes, otherwise the test is not indicative of typical playing scenarios. Those spikes in latency happen when playing a game. When just being in desktop mode in VD, the latency is around 1 or 2 ms and is stable.
I have good quality cables (cat 7), and when performing a speed test on my computer it is at 1 Gbps more or less so I know it is not the issue.

Still, I will try the apk you were talking about just to make sure everything is alright.
Someone told me on the VD discord that he had already seen modern routers having up to 50ms spikes in latency so they are all far from equal...
 
are you pinging it while it is connected to virtual desktop? it will fluctuate a lot when it isn't due to wifi power saving on the quest.

side loading the .apk for the analiti android app is handy for diagnosing wifi issues too, it has a tab for running as an iperf3 server then do some tests from the stream pc. that helped me figure out I had a cable not running at 1gbps at one point.

Does this mean pinging the Q2?
What does this analiti app do exactly?

Yes, otherwise the test is not indicative of typical playing scenarios. Those spikes in latency happen when playing a game. When just being in desktop mode in VD, the latency is around 1 or 2 ms and is stable.
I have good quality cables (cat 7), and when performing a speed test on my computer it is at 1 Gbps more or less so I know it is not the issue.

Still, I will try the apk you were talking about just to make sure everything is alright.
Someone told me on the VD discord that he had already seen modern routers having up to 50ms spikes in latency so they are all far from equal...

Where do you measure the 1-2ms latency may I ask? Is it in the Streamer app? I am getting 15ms there so I am curious how you get 1-2ms!


Funny thing....

I thought it could be the lenses or streaming capability to the Q2, but its definitely not because with Oculus Link cable, everything is fine.

Which leads me to believe it MUST be a streaming issue of some kind over the Wifi, or perhaps the Wifi capability of the Q2 is not good enough to stream?

But then this is only happening when mainly looking down... which doesnt make sense to me at all....
 
That’s because of those heavily tessellated and detailed grounds !

I’ve selected some other free dfs channels and the result was exactly the same than before.

The 1 to 2 ms latency is when using the quest 2 but not being in VD. It really measures raw ping in your network as it’s sending little to no data to the headset. You can read it in the Windows 10 command prompt. In VD I am more around 12-13ms of latency in the menu and 30ms in game (depending on the bitrate) because the headset, the network and the computer have to do a lot more (and encoding/decoding is added in the process).
That’s when the micro stuttering and the spikes in ping appear.
The asus AX86U is pretty much the best router you can have for streaming at 5g so I will see if it makes any difference compared to the AX58U. For the time being I am completely out of ideas.
 
That’s because of those heavily tessellated and detailed grounds !

I’ve selected some other free dfs channels and the result was exactly the same than before.

The 1 to 2 ms latency is when using the quest 2 but not being in VD. It really measures raw ping in your network as it’s sending little to no data to the headset. You can read it in the Windows 10 command prompt. In VD I am more around 12-13ms of latency in the menu and 30ms in game (depending on the bitrate) because the headset, the network and the computer have to do a lot more (and encoding/decoding is added in the process).
That’s when the micro stuttering and the spikes in ping appear.
The asus AX86U is pretty much the best router you can have for streaming at 5g so I will see if it makes any difference compared to the AX58U. For the time being I am completely out of ideas.

Don't buy a router, that's not the problem.

Just double checking some things.

The Router is set to access point mode and is only used for the Quest 2? The PC is connected directly to it and the Quest 2 is in the same room as the Router?
You have the 5Ghz mode enabled and are using the 160Hz bandwidth? (let it auto select the channel)
Does this happen on all games, from Steam or Oculus?

I understand you have done a lot. But, can I ask you to list your Virtual desktop streamer settings and what settings you used in the Streaming section inside Virtual desktop itself. Thank you.

Things not to try.

Don't buy a router. (Unless you have thrown current router against a wall and broke it)

Things to try.

Replace the Network cable going between the PC and the Router.
Go into the Router, disable the 2.4Ghz. Remove the password from the 5ghz network, hide the SSID, enable mac filtering and only allow the mac address of the Quest 2 to connect. (you will have to remember the SSID when you are connecting the Quest 2 to it)
Install the latest Nvidia drivers.
 
Does this mean pinging the Q2?
What does this analiti app do exactly?

Its an android speed testing app, but it allows you to run speed tests and also iperf3 on the headset.

bit of a faff to sideload the apk(use sidequest) then have to turn on the iperf3 server always on slider and a bit like testing ping, connect to your pc with virtual desktop for accurate results. but at least it can give you an idea of your transfer speed from your PC > headset.

as an example i get the figures below and it runns pretty well.

Connecting to host 192.168.1.39, port 5201
[ 4] local 192.168.1.10 port 50658 connected to 192.168.1.39 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 55.2 MBytes 463 Mbits/sec
[ 4] 1.00-2.00 sec 56.8 MBytes 475 Mbits/sec
[ 4] 2.00-3.00 sec 56.1 MBytes 471 Mbits/sec
[ 4] 3.00-4.00 sec 54.0 MBytes 453 Mbits/sec
[ 4] 4.00-5.00 sec 50.6 MBytes 426 Mbits/sec
[ 4] 5.00-6.00 sec 53.4 MBytes 448 Mbits/sec
[ 4] 6.00-7.00 sec 55.5 MBytes 465 Mbits/sec
[ 4] 7.00-8.00 sec 54.4 MBytes 456 Mbits/sec
[ 4] 8.00-9.00 sec 55.9 MBytes 469 Mbits/sec
[ 4] 9.00-10.00 sec 55.2 MBytes 462 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 547 MBytes 459 Mbits/sec sender
[ 4] 0.00-10.00 sec 547 MBytes 459 Mbits/sec receiver

When i had a duff network cable, it wouldnt go above 100 mbits/sec

I'd echo the not jumping to buy a router advice, i'm just using a huawei ax3 dual core router which is supposed to be pretty poor according to the VD discord and it runs great after a fair bit of tweaking.
 
Hi Melmac, thank you very much for helping !

My router is fine... so far :p
Yes the quest 2 is in an ideal situation exactly as you described.
I also changed the wifi parameters to match what you told me to do, with a hidden ssid and no password. It didn’t do anything.
Nvidia drivers are up to date.
I swapped the ethernet cables, still the same (they are all more or less brand new).

My settings, whether they are very low or very high produce the same results, even if the lowest settings reduce the frequency of the micro stuttering a bit, but do not remove it.
H264 or 265 does not make any stability difference, it just adds 3ms of latency.
Sliced encoding on or off has no stability effect (even after a reboot). Adding more latency or video buffering as well. I unchecked auto bitrate in the server side to be sure any bitrate change would apply correctly.

However, I usually try to play with medium quality, 90fps, h265 and 60mbps. Any higher worsens the situation progressively.
It happens both in steam VR and in oculus games.

I’m going to try the analiti software in the headset just to make sure my network is alright because all this doesn’t make any sense !
 
Hi Melmac, thank you very much for helping !!

Ah, sarcasm :p:D

In the Virtual Streamer app, have you tried clicking on the "check for interfering apps" button? Just wondering have you any antivirus software or firewall protection running that might be slowing things down. Have you turned off any game overlays, monitoring software like afterburner etc?

In the Nvidia control panel under "Manage 3D settings" Have you these settings.
"Virtual Reality Pre-Rendered frames" set to 1
"Virtual Reality - Variable Rate Super Sampling" set to adaptive.

When you change settings in Virtual desktop, what happens in the Performance overlay? So try the following.

Use your settings as is and play a game that you know stutters. Take a rough note of what the values are in the performance overlay, FPS and the 4 latency numbers. Take note of where the stutters happen.

Then try these settings

In your Router, change the 5Ghz Bandwidth to 80Hz.
In virtual streamer use h.264
IN the virtual desktop settings. Use VR bitrate 100, High Quality, FPS 90, Sliced encoding on, boost clocks on.

Now play the same game in the same location as before. And same as above with the performance overlay, take note of fps numbers, latency, stutters etc.

Report back and lets see can we figure this out.

Just one thing crossed my mind. You and @Cavallino are having the same problem. You are both on Ampere cards. Whereas I have no stutter but I am on a Turing card. It maybe nothing, but, it might be everything.
 
I have tried Analiti on the headset, the ping test shows spikes in the 20ms, sometimes more but an average at 2-3ms. How do I remove those is the question :p

I will do some more testing tomorrow !!
 
a>

Nope.
 
Ah, sarcasm :p:D

In the Virtual Streamer app, have you tried clicking on the "check for interfering apps" button? Just wondering have you any antivirus software or firewall protection running that might be slowing things down. Have you turned off any game overlays, monitoring software like afterburner etc?

In the Nvidia control panel under "Manage 3D settings" Have you these settings.
"Virtual Reality Pre-Rendered frames" set to 1
"Virtual Reality - Variable Rate Super Sampling" set to adaptive.

When you change settings in Virtual desktop, what happens in the Performance overlay? So try the following.

Use your settings as is and play a game that you know stutters. Take a rough note of what the values are in the performance overlay, FPS and the 4 latency numbers. Take note of where the stutters happen.

Then try these settings

In your Router, change the 5Ghz Bandwidth to 80Hz.
In virtual streamer use h.264
IN the virtual desktop settings. Use VR bitrate 100, High Quality, FPS 90, Sliced encoding on, boost clocks on.

Now play the same game in the same location as before. And same as above with the performance overlay, take note of fps numbers, latency, stutters etc.

Report back and lets see can we figure this out.

Just one thing crossed my mind. You and @Cavallino are having the same problem. You are both on Ampere cards. Whereas I have no stutter but I am on a Turing card. It maybe nothing, but, it might be everything.

Thanks for bearing me in mind melmac, actually I didnt try the pre rendered frames thing you mention above... will check it out.

But question is why does the phenomenon not replicate via the Oculus Link if it were a hardware graphics card issue i.e. Ampere vs Turring?
 
To get analiti you have to download the apk on apkpure for exemple, then install it via sidequest.
It is really simple to do ! If I remember correctly, it is the file icon in the upper side of the window. Then, use your headset and go in the app section and sort by unknown sources (it’s the last item). Analiti will appear and you will be able to boot it.

I’ve done some more testing. I started optimizing Windows 10 to disable the automatic searching of wifi networks every 30 to 60s. Also I prevented Onedrive to send any data. I know it is a problem for some but it already was correctly optimized on my pc.

Then I optimized the router further in wifi, professional. I disabled MU-MIMO, Airtime Fairness, Explicit Beamforming, Universal Beamforming and 802.11ac Beamforming as it is known to reduce wifi latency a bit.
Then I tried every DFS channel to see if the problem was solved but it was not. However, 80 MHz seemed optimal.

Typically, with VR bitrate 100, High Quality, FPS 90, Sliced encoding on, boost clocks on a game like Boneworks, I have latency spikes in the network section when turning 45 degres 2 or 3 times, or moving the head quickly.
It is less the case when only moving forward.
Performance can drop hard in these moments, most of the time it goes to 85 FPS but it can also go down to 65 fps and it feels more like a regular slowdown.
My computer runs this game very easily, framepacing is consistently in the 5 to 6 ms at maximum settings.
These drops are really networking related.
It also happens with the lowest settings but in a lesser extent. Encoding/decoding (and game) latency don’t change much even with high settings, it just adds 2ms for each which is, I think, normal.

It really seems like bandwidth is not sufficient.
Testing in anality shows a peak performance of 330 Mbps, it is a bit low I think, as the router is in the same room and 4 meters away but it should be enough. Or maybe the wifi stability is not what it should be.
 
I tried another Quest2. Same.

Interesting point...

On the Q2 screen, I noticed that when I looked down (before update) the juddering was not down.
But AFTER the software update... the juddering is there (and yes this is nothing to do with the PC/Link/VD function).

I really wonder if this is refresh rate related?
 
If I understand correctly, you had judder on two different software versions but you could not replicate the issue doing the same thing ?
 
Hi all, I was wondering if you guys could tell me if my router setup looks ok. Everything appears to be working as intended, but I wanted to see if I have everything hooked up like it should be, or if there might be a better way to do it.

I thought I remembered reading that the PC/dedicated router should be on their own network (subnet?), but I'm not sure if if that's true.

Also, my headset shows 5GHz, but only 433 Mbps... because apparently that's all my router is capable of.

PC is i5-10400 + RTX 2060. All components are in the same room.

Thanks for any advice!

Here's a link... let me know if it doesn't work.

https://i.imgur.com/e73EJEJ.png
 
Hi all, I was wondering if you guys could tell me if my router setup looks ok. Everything appears to be working as intended, but I wanted to see if I have everything hooked up like it should be, or if there might be a better way to do it.

I thought I remembered reading that the PC/dedicated router should be on their own network (subnet?), but I'm not sure if if that's true.

Also, my headset shows 5GHz, but only 433 Mbps... because apparently that's all my router is capable of.

PC is i5-10400 + RTX 2060. All components are in the same room.

Thanks for any advice!

Here's a link... let me know if it doesn't work.

https://i.imgur.com/e73EJEJ.png

Everything looks good in the picture. Have you the router setup as an access point? That helps reduce the latency.

Have you tried Virtual Desktop? Reduce the VR bitrate to 75 and set the VR quality to medium. You might get decent results from that.
 
Back
Top Bottom