Memory leak for VAAPI on CI
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox141 | --- | fixed |
People
(Reporter: alwu, Assigned: stransky)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
In bug 1861759, we're going to enable VAAPI testing on the CI. However, there are some memory leakage need to be addressed. See
https://treeherder.mozilla.org/jobs?repo=try&revision=8a28334c20aafa29c7427661de16fcfd050b9856&selectedTaskRun=cb9gF06MTxyn1ag0UO_9Lw.0
https://treeherder.mozilla.org/jobs?repo=try&revision=8a28334c20aafa29c7427661de16fcfd050b9856&selectedTaskRun=WNkWSZC-QneO7Uw0ksEp9Q.0
Martin, do you have a free cycle to take a look on this? Thanks!
| Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
Yes, will look at it, can reproduce it locally.
| Assignee | ||
Comment 2•1 year ago
|
||
This comes from DMABufSurface snapshot GL context used to copy dmabuf textures.
| Assignee | ||
Comment 3•1 year ago
|
||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
Comment 5•1 year ago
|
||
| bugherder | ||
| Reporter | ||
Comment 6•1 year ago
|
||
Hi, Martin,
Even with you patch, I still see the same leaking and a data race for DMABufDevice. Would you mind help me taking a look on this again? If you want to debug it, simply applying patches in bug 1861759 and select mochitest-media-mda-gpu.
Thanks!
| Assignee | ||
Comment 7•1 year ago
|
||
Sure. I used local testing for it so it may be different from the code paths used on testsuite.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 8•11 months ago
|
||
I see even worse thread races with the explicit GL context delete from the pool:
https://treeherder.mozilla.org/logviewer?job_id=508140962&repo=try&lineNumber=1786
| Assignee | ||
Comment 9•11 months ago
|
||
I wonder why we see it on decoding RDD process only and not in main/parent one where dmabuf is used too.
| Assignee | ||
Comment 10•11 months ago
|
||
The best result I've got so far:
https://treeherder.mozilla.org/jobs?repo=try&revision=20560605ce0387e06e713fcc8f2dbd6e20fd87d3&selectedTaskRun=fIUdonpXSR6stz7nJAKHZg.0
Looks like there are false-positive from gfx drivers so we may suppress thread warning or leak dmabuf device.
| Assignee | ||
Comment 11•11 months ago
|
||
When Bug 1959645 lands we need to update ignore lists for tsan to suppress warnings from intel drivers.
I'll look at the leaks but looks like we need to suppress them too.
| Assignee | ||
Comment 12•10 months ago
|
||
| Assignee | ||
Comment 13•10 months ago
|
||
| Assignee | ||
Comment 14•10 months ago
|
||
| Assignee | ||
Comment 15•10 months ago
|
||
| Assignee | ||
Comment 16•10 months ago
|
||
| Assignee | ||
Comment 17•10 months ago
|
||
Alwu, with the latest patches I see ' dom/media/test/test_temporary_file_blob_video_plays.html | Test timed out. ' only - not sure what it is.
Comment 18•10 months ago
|
||
Comment 19•10 months ago
|
||
Comment 20•10 months ago
|
||
Reverted this because it was causing Android build bustages in RDDParent.cpp.
- Backout link
- Push with failures
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/dom/media/ipc/RDDParent.cpp:62:12: fatal error: 'mozilla/widget/DMABufSurface.h' file not found
| Assignee | ||
Comment 21•10 months ago
|
||
Comment 22•10 months ago
|
||
Comment 23•10 months ago
|
||
| bugherder | ||
https://github.com/mozilla-firefox/firefox/commit/544f08b2c528d078cd717a5d3d594828c6519845
https://hg.mozilla.org/mozilla-central/rev/c8f0d42ac3e9
https://github.com/mozilla-firefox/firefox/commit/dd34fa19d336a3b1e0f030e5be835349dd55ae03
https://hg.mozilla.org/mozilla-central/rev/756d3a7b91e6
https://github.com/mozilla-firefox/firefox/commit/e470c48949d27eeb5f42fd09bdf3c946c5190060
https://hg.mozilla.org/mozilla-central/rev/9f3b13f2b2b2
Updated•9 months ago
|
Description
•