SteamVR consistent stutter every n seconds on Linux
Closed this issue · 12 comments
Description
On Linux using AMD RADEON RX 7900 XTX GPU the ALVR statistics show a Game Render spike every ~3-4 seconds. Using the VR View in SteamVR I can also see the "lag" happening consistently, which makes any VR unplayable. The SteamVR charts however do not show any spikes at all, even though I can visibly see the VR view lag as I said.
Please help me understand how this is happening and what can I do to fix this. I managed to get rid of this issue somehow once already, but it was after 6 hours of trial&error and I don't know how. Suddenly it just came back and I could not fix it by myself. I tried for too long already.
General Troubleshooting
- I carefully followed the instructions in the README and successfully completed the setup wizard
- I read the ALVR GitHub Wiki
Environment
Hardware
https://linux-hardware.org/?probe=329e4898cd
Installation
ALVR Version: 20.8.1 (for PhoneVR compatibility)
ALVR Settings File: What is the location or how do I export it?
SteamVR Version: 2.8.8
Install Type:
- Packaged (
exe
,deb
,rpm
, etc) - Portable (
zip
) - Source
OS Name and Version (winver
on Windows or grep PRETTY_NAME /etc/os-release
on most Linux distributions): Mageia 9
make sure to read the wiki, set the corectrl power profile to vr, if you use slimevr please use the correct startup process
I usually have my GPU on "Do not control" in CoreCtrl. I actually tried setting it to "Advanced" > "Power profile: Virtual Reality" but it didn't make any difference. The consistent stutter kept on happening.
can I see your settings.json file
Sure, just please tell me where it is located or how can I export it.
.config/alvr
session.json is the only file in that folder
Could you show me a picture of the WiFi spectrum in your house using something like Wifiman or WiFi analyzer
Ahh yea alvr doesn't like mesh networks or it might be the other way around either way not good
Either way the underlying issue is probably channel contention when another device requires the use of that spectrum
Well, I don't understand how a network can affect the GPU in the VR screen literally lagging but either way, I tried turning off OneMesh and the problem disappeared...
I don't think the OneMesh caused the issue since after that, I re-enabled it again, and the problem has not appeared again so far. So it probably was something else, and completely restarting the 5Ghz interface (which enabling/disabling OneMesh does) resolved it.
I also tried enabling Airtime Fairness on my router, which I think helped out a little bit. (?)
Anyway, I'm closing this, since it seems more like a hardware issue than a software one. I still don't know how a network contention can freeze frames in a 3D application on the Streamer PC but I guess I'll never know 😄
Cheers for the fast replies @Vixea
Yea np