Eusth / HoneySelectVR

MIT License
109 stars 28 forks source link

Performance issues #10

Open crusnik opened 7 years ago

crusnik commented 7 years ago

Hi, First of all I'd like to say thank you for your great work! I'm opening a new issue as I believe the other issues do not describe my problem.

Unfortunately I'm experiencing some performance issues with your mod leading to cpu-bound frame drops. SteamVR's CPU FrameTime-Graph shows spikes at a fairly regular interval. It seems - in my naive understanding - something is stalling the engine from obtaining updated tracking poses every ~200frames, hence forcing the rendering to start late.

Setup and what I tested: I'm running a Core i5-6600k @4.4GHz and a GTX 1070 @ 2100Mhz together with an HTC Vive on Windows 10. HWMonitor shows that the CPU doesn't downclock while running the application. HoneySelectVR is the only program I'm experiencing such a problem, other VR applications (including Unity-Applications) do not exhibit this behavior. I have tested multiple versions of this mod (0.3 ; 0.3.1 ; 0.3.5) with a freshly installed HoneySelect, issues persisted. For the sake of taking images I turned on MirrorScreen in vr_settings, however issue persists when set to false. Also ApplyShaders true/false has no effect on performance issue.

More detailed look at issue (including images):

In the Main Menu with the headset sitting still I'm getting a lot of erratic behavior, showing in the frame-time graph as 'late-started' frames. However, as soon as I move the Headset or controller every frame starts late by about 4ms until movement stops. headsetmovemainmenu headsetmovemainmenu2

In the Character Creator and H-scene itself the Headset/Controller-Movement issue does not persist, however the frame-times are still erratic causing dropped frames. screenshot 6 screenshot 5

Though another issue I'm squeezing this in here as well: Setting ApplyShaders to true crushes colors, most apparent on the Color Picker. It also introduces a weird round spot in both displays of the headset. (hard to tell on screenshot because of crushed colors, very apparent in vr) round spot crushedcolors

I'd be happy if other vive users of this mod could test if they have the same issues or if there is a problem with my setup. Finally, here's my vr.log

Eusth commented 7 years ago

Thanks for the detailed report!

The CPU is definitely a problem, but I don't currently know whether the problem is on my side or on Illusion's. (They're not exactly known for low HW requirements)

That being said, the game (or this build) was not optimized for VR, so that's that... I'll keep on the watch for a fix.

Re: the colors, I recommend disabling a few effects in the game options (see FAQ)

(Ich wusste gar nicht, dass ein Analysierungstool bei SteamVR dabei war...)