ALVR icon indicating copy to clipboard operation
ALVR copied to clipboard

Force 60 fps on the GO

Open penkamaster opened this issue 8 years ago • 17 comments

In previous version where the 72 fps was not implemented I was having better headtracking.

Can we have a option to force 60 fps.

Thank you.

penkamaster avatar Jul 31 '18 00:07 penkamaster

I don't think 72fps cause bad headtracking. Newer version contains many improvement or fix as well as 72fps support. I want to know the exact cause of the issue before implement that feature.

polygraphene avatar Aug 01 '18 12:08 polygraphene

Hi Polygraphene, Sorry, I express myself in a wrong way, the headtracking is perfect on both versions. It's not the headtracking what is jerky on the 72 fps version, is the streaming itself. I have compiled myself the client (thanks to you :) ) and forced the 60fps on the GO, and I can confirm that the streaming smoothness is way better on the forced 60 fps version.

In fact, the streaming smoothness on the 60 fps is nearly perfect (I only have some jerckiness where there is a gpu load and the game itself is not smooth ), while with the 72 fps version is allways jercky no matter the gpu load.

I can see now why GO users have been complaining about the quality of the streaming.

Thank you.

penkamaster avatar Aug 01 '18 18:08 penkamaster

Same issue here. Head tracking is fine. The game rendered on my monitor is nice and smooth, but character movement etc. in the headset is jerky. It looks almost like the game is running sub 30 fps, although I suspect it's something with the encoding.

@penkamaster Thanks. I downloaded your build from the other thread and it's a night and day difference with the forced 60 fps version. Movement is much less choppy now. It's a huge improvement.

gigabulloba avatar Aug 02 '18 01:08 gigabulloba

Thank you! I don't know the cause of that, but it should be a bug.

If you change "-fps 60" to "-fps 72" on https://github.com/polygraphene/ALVR/blob/master/ALVR/ServerConfig.cs#L144 , does it make difference?

polygraphene avatar Aug 03 '18 05:08 polygraphene

I as well confirm that the very noticable microstutter is gone when using @penkamaster 60fps version. I would say its perfect smooth now and all stutter I have are from over loading the GPU.

cmtec avatar Aug 03 '18 23:08 cmtec

Hi Polygraphene, I've changed "-fps 60" to "-fps 72" on https://github.com/polygraphene/ALVR/blob/master/ALVR/ServerConfig.cs#L144 and build ALVR (not the driver), and the 60 fps version keeps working better.

penkamaster avatar Aug 04 '18 00:08 penkamaster

@penkamaster Headtracking was never the problem. But your build completely fixes the in game FPS issue that was present in ALVR since I started using it!

I believe the issue is that the nVidia hardware is incapable of encoding at more than 60 FPS in real time (regardless of resolution)

While doing offline encoding, we know that it can go much higher than 60 FPS, but real time encoding is a whole different beast, and it's simply not designed to go higher than 60Hz.

saintkamus avatar Aug 05 '18 17:08 saintkamus

👍 Yes! ALVR run so smooth now in my Oculus Go; with @penkamaster 60fps version. Amazing! 👍

I wish @polygraphene would update the official client version in the Oculus store apps with this minor correction (maybe as v2.3.1?). Since my kids play with this Oculus Go recently, and they not too familiar with run sideload apps via "unknown resource" folder :)

timorsohc avatar Aug 12 '18 14:08 timorsohc

@timorsohc Okay. I will add in next version.

It is difficult to reproduce the issue for my Gear VR. Can anyone send a logcat and driver.log on the issue?

polygraphene avatar Aug 13 '18 16:08 polygraphene

where is the link to penkamaster 60fps version?

drowhunter avatar Aug 14 '18 01:08 drowhunter

@drowhunter https://github.com/polygraphene/ALVR/issues/116

cmtec avatar Aug 14 '18 13:08 cmtec

I have not yet done 60Hz version, but I found a terrible flaw about 72Hz support. Client v2.3.1 may mitigate the issue.

Commit: https://github.com/polygraphene/ALVRClient/commit/e2ba009e925562a20e9cbc25cd8383a256f9cfdc#diff-ef46c8fcd317dfe078236267c75b6ab6

polygraphene avatar Oct 03 '18 12:10 polygraphene

Microstutter is still present in v2.3.1 (At least for me running Elite Dangerous)

EDIT: As an easy way to verify this:

  • Start Elite Dangerous
  • Wait for the Frontier logo to appear
  • Move your head "slowly" left to right. The logo will stutter like crazy if the microstutter-problem is present.

cmtec avatar Oct 03 '18 16:10 cmtec

Thank you for testing. I see. I want to check the logcat. Can you send with the instruction?

polygraphene avatar Oct 03 '18 17:10 polygraphene

Here you go: logcat.txt

cmtec avatar Oct 03 '18 17:10 cmtec

@polygraphene : I might have been wrong to say v2.3.1 not solving the core issue. After some more investigation I have concluded that now when running 72fps it might be the GPU/driver (or maybe even steamvr version combination) that makes the stutter. However i would like to have an option to force ALVR to 60fps to ease the strain on the GPU.

cmtec avatar Oct 13 '18 07:10 cmtec

Any updated on this option request?

cmtec avatar Jan 01 '19 22:01 cmtec