Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by strauboelephant · Feb 13, 2020 at 07:35 PM · vrcrashunityeditoroptimizationsettings

GPU Consumption Skyrockets when Oculus headset taken off, disconnected

Hi there,

I'm attempting to maintain a Unity experience that uses an Oculus Rift S headset. This experience runs on a dedicated Alienware PC (Nvidia 1080) in one location. This game sits dormant most of the day, and is only used occasionally. The display setup: there is an Oculus headset and a projector, which, when the headset is not used, displays a video (using ProAV), and when the game is getting played, mirrors what you see in the headset on the screen.

The game has been crashing more often lately. According to the logs, it's sometimes due to a ProAV error that the comp was out of resources - which seems weird, the computer has more than decent specs and nothing is happening in-game. the idle process does not seem to be expensive in any meaningful way - I believe this is a Unity Setting, Oculus Setting, Windows Setting or other setting at play. Game doesn't crash during gameplay, which has a couple very expensive processes. Turns out the build was running at around 60% GPU usage while idle. When I put the headset on, the GPU consumption dips (?!!) to 30 - 40%. Lastly, when the headset gets disconnected entirely, the GPU consumption skyrockets to 90-100%.

When I take the headset off, the VSync process spikes, crushing the framerate to 15fps or so. To be clear, this coincides with the GPU/CPU spike. Forums say Vsync/WaitforGPU is not a problem, but.... my error makes me feel otherwise. What I think is happening: Vsync/WaitForGPU is spiking CPU/GPU usage, and as things are... running, oddities, other Windows processes push the computer (in its elevated consumption state) over the edge and the game crashes. This never happened (afaik) before I boosted the quality settings.

Regarding the behavior when headset is disconnected... can I turn this behavior off somehow? Since the experience is in another place, I can't manually check the cables every day to see if they are seated properly into their ports.

I am actively reducing my quality settings, etc. to mitigate, but i still find the spike in GPU usage (and subsequent errors) somewhat disturbing. Is this known behavior for Vsync/waitforGPU? Whole thing seems incredibly weird.

Apologies if this is a commonly-known topic - I didn't see a ton of info in my searches. Maybe I'm digging in the wrong direction? I can give more info about the setup: Unity Version 2018.2, using NewtonVR, not using SteamVR, etc etc - let me know what you need to know to tell me what I need to know. :)

Thanks!!

alt text

alt text

headset-off.png (27.3 kB)
unity-2018-2-li.jpg (155.8 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

243 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can I reset project settings or run in safe mode? 0 Answers

HTC Vive Pro crashes Unity, Steam VR reads "(unresponsive) Unity.exe" 0 Answers

While loop crashing all the time with breaks,While loop crashing constantly 0 Answers

Any drawbacks to using LOD groups? 1 Answer

Get movement direction according to look direction in VR? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges