General bad Oculus Rift performance in Unreal Engine 4

You should still check your framerate just to be sure, it’s easy enough to do and you should have it on a lot while developing anyway (type statFPS into the console or set it up in blueprints for event begin play > execute console command ‘statfps’). The only time I get judder in UE4 is if my framerate isn’t hitting 75 with VSync On. There could be other reasons yes, but is always the first thing to rule out when trouble shooting in the rift. Also make sure you have timewarp on, put HMDmirror OFF etc after that then you can really start trouble shooting.

btengelh, is normal behavior when you not reach 75fps in oculus mode.

Forget monitor your target its 75fps in stereo mode. Some options in the modern engines are very GPU expensives, low the fps about 80% Monitor->stereo
If you avoid that options (enabled by default in UE4) you can get “only” 30%-40% lower FPS passing from monitor to stereo, at least i can get a lost of only 30%-40% in my projects.

And its possible, actually my target, and my proyect hits 90fps (ready for CV1) with my r9-290

Your projects hit 90 FPS at the current DK2 resolution. There will be a lot more pixels in CV1

yep and better graphics card, anyway my project hit more than 90fps actually (95-100fps in stereo and without package).

Anyway i think 1440p (supposed) resolution not going to be a big problem, i fear more the FOV if increase. If fov its only 10º more in the CV1 then i will have a problem, that going to drop my fps below 90fps, sure.

back to my problem: it really is the framerate dropping below 75fps for a fraction of a second, resulting in instead stutter while shaking the head. I couldn’t believe it myself, but one dynamic light on a projectile really gave my brand new gtx970 a hiccup… sigh.

more power to the engines, mr. nvidia… :stuck_out_tongue:

I’ve started dev with DK2 and Unreal4. At the moment I’ve built a scene with 2 static lights only and can only get 75FPS with hmd sp 70 or less. So it’s a bit blurry :frowning: Here is what I have activated. Someone asked if there was a certain template that people used, that would be great. Otherwise, is it more a) We need even more powerful machines or b) Unreal/nVidia&AMD etc/ Oculus need to streamline their tools? Other people seem to be creating nice demos that run at 75fps (on my pc) though so it must be possible?

Execute sg.PostProcessQuality 0. Makes a big difference. Check the other sg.* variables if that isn’t enough. Alternatively, dig into the more feature-specific r.* variables.

Using sg.PostProcessQuality 0 I got around 10 extra fps but I lost my one static light (or baked textures from it rather).

I tried it with the editor closed and got about +10fps (I can now run my test room at 75fps!), I typed sg.PostProcessQuality and got no extra fps at all. Weird. I tried pausing service too, that made no difference either.

All seems very random at stage and different for . Is extend meant to be better for FPS? It’s what I usually run it in. Tried Direct but it crashes when I change hmd sp (even as a function key through blue print).

If you’re running from the editor, disable realtime rendering in the viewport’s top-left dropdown, enable reduced CPU usage while UE4 is minimized in your editor settings, and minimize UE4 while your game is loading after clicking play standalone.

Hey , just in case someone missed it, you should vote for this!! :wink:

“Performance Optimizations for VR”
https://trello.com/c/f57y0QT4/409-performance-optimizations-for-vr

Voted! and thank you to in the thread, I hope to contribute soon.

Already voted for that the day it was upped! :slight_smile:

@ btengelh > I manage a lot more in my scene than one dynamic light projectile and still hit 75fps easily in the RIFT. (GTX 780). You need to look at optimising and setting up specifically for VR and designing around constraints for VR (smaller areas etc).

Is vsync on mandatory? On my GTX760, with Vsync on it’s 27ms, with Vsync off, it’s about 4.3ms, huge difference!
And in my opinion, vsync off didn’t give me any sick feelings

Thank you Sir.