Woseseltops / RU-HumLab-XR

0 stars 0 forks source link

audio latency variation #61

Open timjzee opened 2 months ago

timjzee commented 2 months ago

The 10ms variations are from the audio buffer in Windows!

https://www.reddit.com/r/osugame/comments/hqoakj/tutorial_removing_perceivable_latency_for_good/ https://github.com/miniant-git/REAL https://learn.microsoft.com/en-us/windows-hardware/drivers/audio/low-latency-audio#span-idfaqspanspan-idfaqspanfaq

So perhaps I should set the Unreal Audio buffer to 10ms as well.

https://help.ableton.com/hc/en-us/articles/209071469-Optimizing-Windows-for-Audio

timjzee commented 2 months ago

First back up my Unreal project. Then its time to reinstall everything, see links:

https://www.youtube.com/watch?v=sbXzM60ad8I https://www.ntlite.com/community/index.php?threads/guide-dpc-latency.3757/ https://forums.guru3d.com/threads/input-lag-decreasing-dpc-latency-decreasing.406260/ https://docs.google.com/document/d/1c2-lUJq74wuYK1WrA_bIvgb89dUN0sj8-hO3vqmrau4/edit https://forums.guru3d.com/threads/windows-line-based-vs-message-signaled-based-interrupts-msi-tool.378044/ https://github-com.translate.goog/denis-g/windows10-latency-optimization/blob/master/_content/latency.md?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=nl&_x_tr_pto=wapp

also beware of SMIs https://github.com/pestrela/smi_counter#ring--2-concept