#ALVR Main process appears to always be taking 100% of a CPU thread

4 messages · Page 1 of 1 (latest)

digital merlin
#

Hi there, quick context:

  • Garuda linux, Plasma 6 wayland
  • Desktop PC with 5800X3D cpu and 6900XT gpu
  • Oculus Quest 2

I'm trying to troubleshoot lag spikes that get registered as "network latency" in ALVR statistics.

I already checked a lot of things on my network and am 90% sure it's not really the problem (computer is wired, headset is about 5 meters away in direct sight of a wifi 6 repeater...).

But then i noticed that the lag spikes happen more often with games using a lot of cpu and never when just sitting in Steam's mountains, for instance. So i checked my cpu usage and noticed that one hardware thread is ALWAYS saturated ar 100% load, while the 15 others have balanced loads that vary from ~25% in the mountains to 50-60% in demanding games.

Looking deeper into the machine's process list, it would seem like the ALVR "Main" thread be responsible for this cpu thread at 100%.

So i'm starting to wonder if these spikes wouldn't simply mean that the alvr process responsible for networking be limited by cpu, which would explain why the spike are much more frequent on cpu-demanding games than others ?

Thanks a lot for any help with this.

digital merlin
#

My bad it's in fact not an alvr thread but a vrserver one.

digital merlin
#

Thanks, i'll try that

digital merlin
#

Did some very quick testing and it does seem to help. Do you know if this is a one-time fix or does it need to be reapplied now and then ?