Closed Bug 1406018 Opened 7 years ago Closed 2 years ago

WebVR memory leak and red flashes in headset

Categories

(Core :: WebVR, defect, P2)

58 Branch
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox56 --- unaffected
firefox57 --- unaffected
firefox58 --- affected

People

(Reporter: etiennekingdom, Unassigned)

References

Details

(Keywords: nightly-community)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20171004220309

Steps to reproduce:

Hi!
I am using Firefox Nightly v58.0a1 on Mac, the build from yesterday (2017-10-03) was perfect but today build (2017-10-04) brings back huge memory leaks and flashed in the VR headset (HTC Vive) when going into VR mode.


Actual results:

Redflashes making webVR unusable again.. :( and poor frame rates..


Expected results:

No redflashes and normal 90fps.
Component: Untriaged → WebVR
Product: Firefox → Core
Thanks for reporting this, I'll be investigating further to narrow it down.

Perhaps there's a chance it is the same regression reported in Bug 1405950.
Assignee: nobody → kgilbert
See Also: → 1405950
Now that Bug 1405950 has landed and fixed the WebGL performance regression, could you please re-test and let me know if it's still happening?
Flags: needinfo?(etiennekingdom)
Nightly 59 is still affected by this issue making webVR unusable on Mac.
The left eye is affected by glitches where the image is distorted for a few frames every second. 
Red flashes still appear on the right eye.

As for performances, I have experienced some system crashes due to memory leaks, eating all the ram from my machine and eventually making it crash.

Let me know if I can do anything else.
Thank you
Flags: needinfo?(etiennekingdom)
Thanks for confirming, @etiennekingdom.  We will continue investigating from here.

The release notes for the recently updated OpenVR version, 1.0.11, mention that we should update to eliminate a memory leak on osx:
https://github.com/ValveSoftware/openvr/releases/tag/v1.0.11

This may be partially responsible.
Depends on: 1423731
I have added bug 1423731 to track the update to OpenVR 1.0.11.
I detected a possible memory leak in accessing Gamepad pose data: https://bugzilla.mozilla.org/show_bug.cgi?id=1424588
Additional discovery:

When using WebVR with a headset, some background processes keep running even after quitting Nightly and taking all of my cpu power for no apparent reason.
(Can be seen in the Activity Monitor)
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

The bug assignee didn't login in Bugzilla in the last 7 months and this bug has priority 'P2'.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: kearwood → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(jmathies)
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(jmathies)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.