PDA

View Full Version : DK2 stuck at 37.5 FPS


pitbool
11-02-2015, 11:40 AM
Hi,

My script in Vizard runs at 37.5 FPS whenever I have the DK2 attached, but runs at 60 FPS otherwise.
I think with the DK2, the default FPS is somehow changed to 75, and then split in 2 for the two eyes. But I am unable to figure out how to override that.
I have tried disabling vsync from vizard, but to no avail.

Any thoughts on how to fix this?

Thank you!

Jeff
11-02-2015, 11:58 AM
Does this also occur with the oculusExample.py script included with the Vizard install?

pitbool
11-02-2015, 04:24 PM
No, it doesn't occur with the oculusExample.py script.
I am trying to figure out what is different in my script or vizconnect. I appreciate any pointer you may have for that.

pitbool
11-02-2015, 05:13 PM
Found out that the computation heavy parts of the code increased the GPU load tremendously, which caused the slowdown. Mostly it was driven by some shader calls for a "GodRay" module.

Thanks for the initial pointer to the oculusExample module.