Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About low GPU usage in VR mode #92

Closed
pe-wen opened this issue Jan 28, 2024 · 2 comments
Closed

About low GPU usage in VR mode #92

pe-wen opened this issue Jan 28, 2024 · 2 comments

Comments

@pe-wen
Copy link

pe-wen commented Jan 28, 2024

Pipeline: BIRP,URP
Unity editor version: 2022.3.7f1/2022.3.8f1
GPU: RTX 2070
Headset: HTC Vive Pro

Experiencing rendering lag in play mode and gpu usage is 2%(birp)
Seeking to reduce latency

_.Clipchamp.3.mp4

But I've tried Gaussian Splatting VR Viewer
with minimal latency and GPU usage around 30%
I suspect it might be due to shader effects?
As I'm relatively new to Unity, I'm not very familiar with this.

Also, I'd like to ask how to add GaussianSplatURPFeature to the URP renderer settings.
Does URP renderer settings refer to URP global settings?
GaussianExample-URP - GSTestScene - Windows, Mac, Linux - Unity 2022 3 8f1_ DX12 2024_1_27 下午 09_22_22
GaussianSplatURPFeature cs - Visual Studio Code 2024_1_27 下午 09_21_12

The following image depicts the current situation in URP
1706430427692

in play mode
-1

Finally, I'm attempting to fix single-pass mode only rendering a single eye(birp)
Below is the relevant information I found
Single-pass instanced rendering and custom shaders
but I'm still failing.
I know author doesn't have VR equipment
If someone with the equipment could tell me where the issue lies, that would be great.

@aras-p
Copy link
Owner

aras-p commented Jan 29, 2024

Experiencing rendering lag in play mode and gpu usage is 2%(birp)

So presumably "something" is busy using CPU, and not the GPU. I dont' know what (in my case -- not VR thought -- it's the GPU that is 100% busy). I would suggest opening Unity Profiler and taking a look at where CPU time ends up being spent. Maybe it's completely outside of the gaussian splatting, and "something else" is busy doing something?

Also, I'd like to ask how to add GaussianSplatURPFeature to the URP renderer settings.

Maybe this will help, https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@14.0/manual/urp-renderer-feature-how-to-add.html

@aras-p aras-p closed this as not planned Won't fix, can't repro, duplicate, stale Jan 29, 2024
@pe-wen
Copy link
Author

pe-wen commented Jan 31, 2024

profiler (standalone process)
alltimeline
playloop

WaitForRenderThreads
the gpu is 100%
It seems to be limited by the GPU not being good enough

In the URP project I found it already add a Renderer Feature to a Renderer
and didn't find other Render can be added. Did I miss anything?

GaussianExample-URP - GSTestScene - Windows, Mac, Linux - Unity 2022 3 8f1_ DX12 2024_1_31 下午 12_16_38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants