Closed Bug 1552722 Opened 5 years ago Closed 2 years ago

Obscene leak to the GC, in both VRAM and system memory, during video playback

Categories

(Core :: Audio/Video: Playback, defect)

66 Branch
x86_64
Windows 10
defect
Not set
major

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: Paul.Hancock.17041993, Unassigned)

References

Details

(Whiteboard: [MemShrink:P2])

Attachments

(2 files)

Go to youtube for example, play some high quality video, check taskman's VRAM usage and the content process's commit and dedicated usage.

VRAM and RAM grows by multiple gigabytes in seconds, proceeding to be GC'ed followed by playback stutter and temporary freezes.

The buffers should be re-used for each frame needed, at most there should only be a buffer for each intermediate frame plus their parent reference frame.

I suspect a bad buffer check is causing new ones to be created?

Attached image graph view example

I'd also suspect the issue would be much more severe on lower-power systems, or at least those with otherwise "bare bone" amounts of VRAM and/or RAM...

Whiteboard: [MemShrink]

What version of Firefox are you using? Do you see the same issue in nightly 69?

Component: General → Audio/Video: Playback
Flags: needinfo?(Paul.Hancock.17041993)
Product: Firefox → Core
Whiteboard: [MemShrink] → [MemShrink:P2]

This is likely related to bug 1549181

See Also: → 1549181

Hi Paul17041993!
I'm trying to see if old bugs can be solved. I was unable to reproduce it on latest Nightly version 96.0a1 (2021-11-03)(64-bit) on Windows 10.
Could you try to reproduce it on latest Nightly and tell us your input? You can download it here: https://nightly.mozilla.org/
Thanks!

Redirect a needinfo that is pending on an inactive user to the triage owner.
:jimm, since the bug has high severity, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(Paul.Hancock.17041993) → needinfo?(jmathies)
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(jmathies)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: