-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is SingleThreaded the mandatory threading option? #100
Comments
If I remember correctly the single threaded model is the model with the lowest latency. Other threading models may add another frame of latency, at least according to Robert's answer in this old thread: However this might be an old and outdated truth. |
One way to test other threading models would be to use the Oculus Debug Tool to print some performance diagnostics and then changing between different threading models. For your application some other threading model might be more preferable compared to running single threaded. https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-debug-tool/ |
Thank you, I will definitely give it a try and report back here! Besides the latency, I was wandering if there were any other issue related to how fbo cameras are sent to the Oculus or similar sync problems, as the comment above the line which forces SingleThreaded states: |
Hi @bjornblissing As a side question (we might open another issue if appropriate) I'd like to know what is the suggested way to add the osg stats (and possibly other HUDs) on top of the preview window. |
Hi @bjornblissing,
the viewer example forces the osg threading model to SingleThreaded - see here.
Is this actually mandatory?
With CPU-bound scenes, using other schemes such as DrawThreadPerContext might help to improve the framerate.
The text was updated successfully, but these errors were encountered: