media decoder does not free memory on closing the tab
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: ustasase, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:139.0) Gecko/20100101 Firefox/139.0
Steps to reproduce:
- Windows 11, optimus laptop with integrated Intel and discrete Nvidia. (MSI Katana GF66)
- Dual-screen setup, with external monitor connected to Nvidia HDMI and firefox running on a second monitor
- In windows settings System->Display->Graphics Firefox is set to run on Nvidia GPU
- a) Run any youtube video (better 4k or 8k to faster see the effect), while tracking dedicated gpu memory usage
b) scroll through it to force decoding new chunks
c) close the tab
d) run a new video, repeat the same procedure to exhaust dedicated GPU memory
Actual results:
Browser hangs, and seemingly unloads 1-2 chunks of old memory, than loads new, unloads another, etc, completely freezing the browser (process not responding) and sometimes the entire system
Expected results:
better i) on closing the tab, Firefox unloads GPU memory, used for the tab, and you can repeat this infinitely,
worse ii) on reaching full dedicated GPU memory, unloads all of the old memory
Comment 1•9 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Thank you for the report - bumping this over to the main bug.
Description
•