LibreVR / Revive

Play Oculus-exclusive games on the HTC Vive or Valve Index, scroll down for downloads and installation instructions.
Other
3.59k stars 332 forks source link

Asgards wrath constant stutter on gtx 1080. #1354

Open nickyb78 opened 4 years ago

nickyb78 commented 4 years ago

Even with steam vr ss down to 20 percent this game stutters. Down to 20 percent helps but becomes super blurry and unplayable. Im hoping a revive update could maybe fix the stuttering. This is the first game iv had problems with using revive. I will be cautious to buy any oculus games in the future now that this has happened.

ManuFerHi commented 4 years ago

Same problem here. I have Reverb, the game stutters when I move my head even at 90fps, if I don't move my head and only controls the game goes smoothly, so I guess it's a revive problem.

nickyb78 commented 4 years ago

Same here. Moving head causes stutter. Usualy when im having bad performance i use steam vr motion smoothing always on and that sorts out any problems but this game i cant get it to run properly at all. Motion smoothing helps a little but the stuttering is still their.

gr3y5had0w commented 4 years ago

I also have performance problems with the game, even though I have a 2080Ti, 8700K @ 5GHz and 32Gb with SS 100%, 90Hz, ingame on Epic and full resolution. Using Valve Index.

I think Revive can't handle it right now. I really hope for an update. (Also TAA makes it really blurry)

nickyb78 commented 4 years ago

Forgot to mention im using valve index

Hydeo commented 4 years ago

WMR - Ryzen 2600 / 2060 super, low 100% SS, same issue

CrossVR commented 4 years ago

Can you test this version? https://github.com/LibreVR/Revive/releases/tag/1.8.2

SubtleShuttle commented 4 years ago

1.8.2 gave me a lot of crashes. Most of the time I couldn't even load into the game. When I did, I could only walk around for a couple of minutes before crashing. I seemed to get less frame drops before crashing with 1.8.2. Going back to 1.8.1 cleared up the game crashes.

dara-mtl commented 4 years ago

I get low-level fatal error with this version when I launch the game. It was starting fine with the previous version, but got the same stutter as anyone else.

Ghostfat commented 4 years ago

Well works alot better on my reverb no stutter anymore!

gangwarily commented 4 years ago

Also getting a ton of crashes on the Index with 1.8.3. Not sure if the HMD matters as @Ghostfat is reporting it's working with the Reverb.

Ghostfat commented 4 years ago

Well I played around 10 minutes so well see if it holds up. Gtx 1080 i7 8700.

Ghostfat commented 4 years ago

1.8.2 now there is 1.8.3?

gangwarily commented 4 years ago

1.8.2 now there is 1.8.3?

My bad. That was a typo. 😅

D-Rey86 commented 4 years ago

Wow that version completely fix the stuttering for me. Even in the pub where it was really bad. No crashing so far

ManuFerHi commented 4 years ago

Thanks! in this version fix stuttering for me.

CrossVR commented 4 years ago

Anyone that was getting a crash, please re-download the release as several hotfixes were uploaded.

nickyb78 commented 4 years ago

Not getting the head movement stutter anymore, main problem now is when enemys spawn their is a lot of stutter. Specialy when a lot of enemys are spawned. Lots of stutter

CrossVR commented 4 years ago

Fixing that stutter will likely require the new frame blocking behavior to be fully enabled for AW, unfortunately that currently results in a crash. I'm trying to find a solution for it.

aCID3D commented 4 years ago

for me WMR SO+ with Revive and 1.8.2 always stuttering and more load (black screen)

xnappo commented 4 years ago

Wasn't going to ask for support for this issue with Oculus Quest streaming as that is a bit much - but 1.8.2 has fixed it up nicely!

D-Rey86 commented 4 years ago

So I spoke too soon. I still get some stutter, just not as bad. But it does happen enough to be annoying. It doesn't stutter in the Pub at all or even when enemies spawn. It stutters at random throughout the world. It happens in god mode and in the ground.

muldjord commented 4 years ago

Mine still stutters badly with 1.8.2. Valve Index, Radeon RX 5700 XT, Intel i5-7500, 16 GB DDR4. I've tried fiddling around with the refresh rate and graphics quality settings but the stutter persists. It's especially noticable when I turn around and move. It will lock the image for a split-second and then sometimes teleport me slightly to one side after the stutter. I also have several micro-stutters during gameplay in general and noticed stutter-spikes when NPC animations are activated or completed. Stutter happens everywhere, also in Aegir's Hall for me. Appreciate this being looked into as the game seems really good!

cegli commented 4 years ago

Here's a breakdown of my experiences:

Specs - i7-3960x (6C/12T) @ 4.6GHz Nvidia 1070 GTX Windows 10 - April Update Lenovo Explorer

Test 1: Asguard's Wrath w/ Older Nvidia Driver, Revive 1.8.1, SteamVR non-beta Works, but frame rate is terrible. Everything judders as soon as the first real scene of the game starts.

Test 2: Asguard's Wrath w/ Newest Nvidia Driver (436.48), Revive 1.8.1, SteamVR non-beta Game works with little judder on medium settings. Very bad judder in pub due to missing frame times.

Test 3: Asguard's Wrath w/ Newest Nvidia Driver (436.48), Revive 1.8.2 from "Releases" page, SteamVR non-beta. Fatal Error when starting Asguard's Wrath

Test 4: Asguard's Wrath w/ Newest Nvidia Driver (436.48), Revive 1.8.2 from "Releases" page, SteamVR beta (1.8.12) No more fatal error, but game starts with a black screen. If I then force close the game and start it again, I get a "Game Paused" screen. It is impossible to get out of this "Game Paused" screen. This loops again after a restart.

Ghostfat commented 4 years ago

Still running great for me on reverb.

aCID3D commented 4 years ago

any fixes planned ? or any solution ?

helifax commented 4 years ago

Hello, here are my results so far with the game. I just want to add them as I see a few people stating that they get lots of stuttering on RTX series:

Headset: Vive Pro (with Samsung GearVR lens mod) + Index Controllers. Steam VR (Beta) 1.8.12. Using Revive 1.8.2 and NVidia Driver 436.48. GPU: RTX 2080Ti (overclocked 140Mhz Core + 500 Mhz VRAM) CPU: Intel i9 9900k @5200Mhz MB: Asus Maximux XI Hero (Bios Version 0805 - not sure if it is latest) RAM: Quad Channel TeamGroup DDR4 32GB 16-16-16-36 @ 3.600 MHz Game installed on Intel 760p NVME 256GB. OS: Windows 10 ver. 1809 (1903 - is not a great version for gaming from what I've personally seen). Monitor: Have just one monitor connected via DP 1.4: Samsung c49rg90 (49' 32:9 5120x1440 @ 120Hz) and the monitor runs at this resolution for the game mirror-view. (Steam Mirror-View is disabled).

Steam SSR (Super-Sampling Resolution) 150%. Motion Smoothing: OFF. Game Graphics settings: Epic (Improved TAA in UE4 Engine.ini settings by [SystemSettings] r.DefaultFeature.AntiAliasing=2 r.TemporalAACurrentFrameWeight=0.2 r.TemporalAASamples=16 r.TemporalAASharpness=3.0 r.Tonemapper.Sharpen=3.0 Full locomotion. No black blinders, no snap turn.

Results over 1 hour session from fpsVR:

More info: I noticed sometimes I get huge Frame-time (around 70-80ms) if fpsVR is visible or the chaperone boundaries are visible. Basically, anything coming from Steam VR environment. If this happens, I normally: close game, exit SteamVR, exit Steam and restart the whole thing.

It seems that for some reason: any type of "VR" overlay could affect the performance drastically. As a test, I would recommend trying disabling fpsVR overlay and use developer mode for the chaperone boundaries and see if the stuttering is fixed.

Revive 1.8.2 seems a bit better vs 1.8.1 but nothing major.

Cheers!

Megaace23 commented 4 years ago

I have a Samsung Odysssey Plus and GTX 1070 and I had a lot of stuttering with Revive and Asgard's Wrath. But with version 1.8.2 the stuttering has dissapeared on some areas, like the inn... :)

I still have stuttering on the open world, but 1.8.2 is much better. Thanks!!! :)

hookmanuk commented 4 years ago

We've found that stutter can be greatly reduced by reducing the shadow quality. Note the settings below should be equivalent of basic shadows, with no dynamic moving shadows.

Setting the following in engine.ini whilst running at Epic gives me about 75% less frame spikes and stutter:

[SystemSettings] r.LightFunctionQuality=0 r.ShadowQuality=0 r.Shadow.CSM.MaxCascades=1 r.Shadow.MaxResolution=512 r.Shadow.RadiusThreshold=0.06 r.Shadow.DistanceScale=0.6 r.Shadow.CSM.TransitionScale=0

Also note this doesn't cure stutter entirely. When new elements are created stutter can still happen.

aCID3D commented 4 years ago

with 1.9.0.1 always stuttering (framedrop) on WMR SO+ i5 16GB RAM RX580 on all sets low , mid , high , epic nothing changes

muldjord commented 4 years ago

Been testing with 1.9.0.1 today on my Index with Radeon RX 5700 XT setup (i5-7500, 16 GB DDR4, latest drivers, just updated today). I get quite drastic stuttering even on low graphics settings. I've even lowered the resolution slider to the minimum, but I still get some stuttering whenever any action is going on or actions are triggered on-screen. For instance, when I draw the sword to slash a crate, it will lag when I try to do the slash, then suddenly almost teleport me into the crate and also not react to the slash, as it seemed to have been eaten away by the lag-spike. This also happens a lot when fighting the monsters. If I'm just walking around, not looking around it works pretty well.

D-Rey86 commented 4 years ago

So 1.9 fixed all my stutter issues except for fights on occasion. If that can be fixed, it'll pretty much be perfect. I just want to say great job. Really appreciate your hard work

Scope666 commented 4 years ago

Agreed, stutter is greatly reduced with 1.9, HUGE thanks to the devs! Without Revive we'd never be able to play this amazing game.

nickyb78 commented 4 years ago

Improved a lot with the stuttering when enemys spawn. Iv tried the ini settings posted above as well and that does help performance on my pc. Some areas i have no stuttering and other areas i do but this is a big improvement

necros2k7 commented 4 years ago

close issue if it`s fixed, keep clean)

hookmanuk commented 4 years ago

1.9 is a big improvement for me. There are still very occasional spikes in CPU that cause frame drops, but this could well be the game itself.

aCID3D commented 4 years ago

close issue if it`s fixed, keep clean)

?? why isnt fixed yet .... for me always stuttering nothing changes ...

nickyb78 commented 4 years ago

All indoor areas are perfect no stutter at all. Only some outdoor areas stutter when entering new area and a little stutter sometimes if lots of enemies but its perfectly playable. Im happy with performance now.

Scope666 commented 4 years ago

1.9.1 pre-release also performing great and fixed the flashing loading screens, now you can actually read the text. :)

helifax commented 4 years ago

Latest Pre-Release 1.9.1 is working great here! I never had major stuttering issues, but with 1.9.1 I see all my reprojection is happening because the GPU is 98% used since I am playing on a Vive Pro wish Steam SS of 150% and Epic.

I looked a bit through the commits and I curious as if the std::mutex was the culprit before. Did changing it to an event fixed this, or is there another reason for this change?

The loading screens are also fixed and is actually awesome to be able to read them!

Kudos for everything!

hookmanuk commented 4 years ago

I just installed 1.9.1 and I'm getting CPU spikes multiple times a second, on every screen in Asgards Wrath. I can see the loading screens are fixed, so I know I'm running the right version.

I've reverted my config to default, restarted PC, nothing fixes it.

The only fix I've found is reverting to 1.9.0 revive.

Any ideas why I'm having issues but others are not?

aCID3D commented 4 years ago

I have installed 1.9.1.3 and i've got always blinking message on steam and always stuttering with all Gfx sets ... :( nothing changes for me with this version ...

helifax commented 4 years ago

I was able to replicate the massive-stuttering that I believe some people see.

It appears to be some sort of interaction between SteamVR "Chaperone" system and possibly Revive and the game. I have a room-zone of 2m x 2m. I moved close to the edge until the chaperone was visible. I moved back until it disappeared. Then I extend my hands in front. This will make the chaperone appear. I played the game. Sooner or later I noticed massive stuttering when the chaperone was visible.

Results: Solid 90 FPS. GPU frame time around 8ms.

Extending my hands to make the chaperone visible: 3 FPS. GPU frame time 80-90ms. I move back my hands so the chaperone disappears -> solid 90 FPS again.

I did more testing and found the following:

This is on SteamVR Beta 1.8.13 and Revive 1.9.1. It is the only game that I've seen doing this. This doesn't always happen. For example, I managed to get it to trigger 100% on "Hel's Old Keep" map (which is very close to the end of the game), and is where I've done my testing.

Not sure how much will help people, but if you are having severe stuttering, try the above and see if it will give you a better experience!

Cheers!

muldjord commented 4 years ago

I did more testing and found the following:

* Putting the Chaperone to Developer mode (from SteamVR settings) and make it ALWAYS visible
  removed the problem completely.

This sounds interesting, I will try this later today and report back. Even with 1.9.1.3 the stuttering for me remains unchanged (game is basically unplayable) on the Valve Index. The blinking load screen is fixed though which is great!

Lastly, I would also like to extend my gratitude to the developer(s). Revive is fantastic overall!

CrossVR commented 4 years ago

@muldjord Try 1.9.1.4, it fixes a performance regression.

nickyb78 commented 4 years ago

1.9.1.4 where is this release cant see it?

Scope666 commented 4 years ago

Install 1.9.1 from Releases, run it, right-click tray icon, check for updates, should offer up 1.9.1.4. (just did this now and it worked)

CrossVR commented 4 years ago

There's going to be one last hotfix for 1.9.1 today which will add another small refinement. I don't expect it will make a difference, but don't be surprised if you get another update to version 1.9.1.5.

@helifax No, so far the std::mutex worked better than the event actually. 1.9.1.5 will use a combination of the mutex and the frame event.

hookmanuk commented 4 years ago

The issue I had with 1.9.1 is resolved in 1.9.1.4, it is now working better than ever, really appreciate the work that has gone into getting this all working!

CrossVR commented 4 years ago

@hookmanuk Good to hear, let me know if 1.9.1.5 works as good as 1.9.1.4.

muldjord commented 4 years ago

It is slightly better for me with 1.9.1.4, but I have to play at low (it still stutters slightly during any action on-screen) and the head tracking in general seems like it's smeared by constant micro-stutters when I move my head. I'm starting to think that it is my setup. Most other people in here seem to have almost gotten rid of it with the updates. That is sadly not the case for me. Other games (even other revive games) play just fine though, so I'm not sure...

Once again, thank you for even looking into these issues, I appreciate it a lot!

@helifax I tested making the chaperone "always show". I think it might have made a tiny difference, but unfortunately not a huge difference. It still stutters unbearable at anything above low. Thanks for the suggestion though.

EDIT: Just tried removing my WrathGame config to force it to recreate it and I also went back to the non-beta SteamVR. Then installed Revive 1.9.1.5. The stutter persists. On high and epic (which my system should be able to handle I think), it will display 10 frames, then freeze for 1 second, then display a couple more frames, then suddenly teleport me slightly in some direction and freeze again. It's really, really bad. Whenever an item is spawned in the game world, it will completely freeze up for a second, and if I turn my head and look at something that isn't loaded, it will do the same. I've had a thought. I just bought an M.2 SSD specifically to have enought space for Asgard's Wrath. This means it's running on the PCIex lanes. Maybe, just maybe, the stutter is actually caused by the SSD taking up the bandwidth of the PCIex lanes resulting in the Radeon RX 5700 XT getting choked. I will look into this and report back.

EDIT2: No, that's not the reason. I just had a look at the specs for my motherboard, and the M.2 slot does not share lanes with the GPU.

EDIT3: Just tried the "Oculus Rift Touch controller tutorial" to verify that this isn't a general problem with my setup. It runs buttersmooth, no stuttering in sight.