[Webkit-unassigned] [Bug 233328] New: ANGLE Metal: The memory backing IOSurfaces of former client buffer pbuffers is leaked
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 18 12:27:02 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=233328
Bug ID: 233328
Summary: ANGLE Metal: The memory backing IOSurfaces of former
client buffer pbuffers is leaked
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: ANGLE
Assignee: webkit-unassigned at lists.webkit.org
Reporter: kkinnunen at apple.com
CC: dino at apple.com, kbr at google.com, kkinnunen at apple.com
ANGLE Metal: The memory backing IOSurfaces of former client buffer pbuffers is leaked
This affects mainly WebGL GPU process.
To repro:
Set "WebGL via Metal" and "GPU Process: WebGL"
Navigate to https://webglsamples.org/aquarium/aquarium.html and observe GPUP memory consumption go up.
footprint $(pgrep GPU.Development)
GPU Process uses m_context->markDisplayBufferInUse(); to destroy each WebGL drawing buffer PBuffer before sending the IOSurface to WebContent process for compositing.
This should detach the IOSurface from the EGL pbuffer and as such the pbuffer from the GL texture.
Somehow the memory is still leaking through GPU process.
Note:
This leaking memory is leaked as "something something graphics memory" (via footprint tool).
Normal IOSurfaces are marked as "IOSurface" by footprint.
The leak doesn't exist in OpenGL backend.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211118/1cdbf35e/attachment.htm>
More information about the webkit-unassigned
mailing list