Closed Bug 1764953 Opened 3 years ago Closed 3 years ago

Issue with tf.js webgl based video processing demo

Categories

(Core :: Graphics, defect, P3)

Desktop
Windows 11
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jimm, Assigned: jrmuizel)

References

(Depends on 1 open bug, )

Details

Attachments

(3 files)

Reported to us by folks at Zoom. I was finally able to reproduce this on an Intel UHD Graphics 620 while running swiggle.

I had to run the demo for about 30 minutes before I hit this fault.

Attached file console output

Note the 'High memory usage in GPU: 1898.45 MB, most likely due to a memory leak' message happened much earlier than the fault.

Oddly enough, no gpu process crashes recorded. I'm going to enable the accelerated backend on this device and try again.

This does look like some sort of leak, maybe in the intel driver - monitoring the gpu process memory consumption I can see it slowly climbing from around 18GB up. A majority of this falls in heap-unclassified according to the memory report.

Reproduced with webrender as well. After the fault occurred (which took about 45 minutes to trigger) and closing the tensor tab, memory use in the gpu process returned to normal.

Severity: -- → S3
Priority: -- → P1

Yeah, sounds like it might be a webgl leak?

Attached file chrome console
I reproduced this on Chrome as well on the same intel device -
Attachment #9272598 - Attachment description: crome console → chrome console
Severity: S3 → N/A
Priority: P1 → P3

Zoom was able to address this on their end. Leaving this bug around as a reference since that test case is publicly accessible.

Priority: P3 → P5

The severity field is not set for this bug.
:bhood, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(bhood)
Severity: N/A → S4
Flags: needinfo?(bhood)

I believe there was a misunderstanding and this problem is still an issue.

Severity: S4 → S2
Priority: P5 → P3
Assignee: nobody → jmuizelaar
Depends on: 1793986

It looks like we're leaking gpu memory on this demo. gpu-committed goes up and up until it runs out.

Depends on: 1794893

It look like the leaks are also happening in Chrome. However, I don't see the same leaks happening when using a more recent version of tfjs (3.21.0 vs 3.13.0) so perhaps the problem has already been fixed upstream.

Since this also seems to happen in Chrome I think we can resolve it as WFM

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: