High GPU memory bug, high RAM memory bug + high CPU usage, slows down machine
Categories
(Core :: Graphics, defect, P3)
Tracking
()
People
(Reporter: uvaforums371852, Unassigned)
Details
Attachments
(6 files, 1 obsolete file)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
Steps to reproduce:
Login to Facebook and play video's. It doesn't matter which video's you play, it happen all across Facebook with all video's. The more video's I play on Facebook the more GPU memory VRAM is used. I don't know which format the video's on Facebook are, if that may be part of the problem.
It can also happen that just opening the newsfeed on Facebook can cause abnormal high GPU memory VRAM usage, but that only happens on occasions, not sure what the exact cause for that is. When the newsfeed contains video, while not played it can or can not happen
The GPU % usage or the video hardware(NVENC) % is normal.
As a test I went to Youtube and played video's, but haven't encountered the problem with Youtube till now. Youtube uses the VP9 codec.
My Windows 10 x64 is up to date with the newest updates till today, all drivers of my hardware are standard Windows drivers(basic system), only the videocard has drivers from nVidia. I updated the nVidia driver to 419.17, but it didn't solve it.
The problems came with Fireofx 65.0., as a test I went back to Firefox 64 and had nog problems. After I updated the videodriver it looked liked the problem was gone, but it got back a few days later. The problems don't always seem to happen. But Facebook was unusable with Firefox 65.0 so I switch to another browser for Facebook.
With Firefox 65.0.2 is looked liked Facebook worked again, but the problem came back, it just don't always happen, it vary per day.. or maybe it is something on the Facebook site? But today it was excessive again, so hence this bugreport.
Actual results:
The Firefox GPU process is using excessive GPU memory while playing a video on Facebook. If you continue to play more video's on Facebook the GPU memory keeps increasing. My videocard has only 2 GB of VRAM, only one video can cause the GPU memory to raise to 1 GB VRAM or more. Playing more video's on Facebook only makes the GPU memory usage increase more. In the added screenshot of the windows taskmanager you can see it usaes 10 GB VRAM.
In addition it can also cause that the Firefox GPU process is also using a lot of normal system memory, in an other screenshot you can see it raises to 3 GB RAM while I only played 1 video on Facebook and the Firefox process for Facebook is using 1.8 GB RAM and also using a lot of CPU power(of a 4c/4t cpu)
Expected results:
What should have happened is a normal GPU memory VRAM usage while playing video's. Also the normal memory RAM usage should stay normal, allthough it can vary how that goes, one time is the system memory RAM usage keeps normale while an other time it raises to (for me) abnormale high amount of memory.
Reporter | ||
Comment 1•6 years ago
|
||
Another screenshot of the windows taskmanager
Comment 2•6 years ago
|
||
Hi,
For this kind of issues an about:memory report is very useful. Please provide the following:
- Attach an about:memory report
- Provide the output from about:support
- Test again using safe mode (addons disabled)
Useful links:
Reporter | ||
Comment 3•6 years ago
|
||
(In reply to Timea Babos from comment #2)
Hi,
For this kind of issues an about:memory report is very useful. Please provide the following:
- Attach an about:memory report
- Provide the output from about:support
- Test again using safe mode (addons disabled)
Useful links:
Hi,
Of course, no problem.
I used the facebook page of DJ D-Fence to reproduce the problem. When I start 1 video the GPU memory of the firefox.exe GPU pid went up to around 1 GB VRAM and when I played 3 video's after it it went up to around 2.1 GB VRAM, normal system memory for the firefox.exe GPU pid went up to 2+ GB RAM. The firefox.exe pid for the facebook website went up to 1+ GB RAN of normal system memory.
https://www.facebook.com/DFenceNL/
- about:memory attached from firefox in normal mode
- about:memory attached from firefox in safe mode
- about:support attached
- in firefox safe mode I cannot reproduce the problem as NO GPU acceleration is used in safe mode, so playing video is NOT done by the videocard(and no GPU memory problem occure).
Reporter | ||
Comment 4•6 years ago
|
||
Reporter | ||
Comment 5•6 years ago
|
||
Reporter | ||
Comment 6•6 years ago
|
||
Reporter | ||
Comment 7•6 years ago
|
||
I have to correct my opening comment, the problem also occures with firefox 64. When I tested it before I probably had 'luck' that the problem did not occure.
Also with Waterfox 56.2.8 the same problem occure.
Comment 8•6 years ago
|
||
Thanks for all that provided info! Will assign this issue to a component so the developers can take a look at it.
Updated•6 years ago
|
Reporter | ||
Comment 9•6 years ago
|
||
The problem also occure with the new firefox 66.0.1, attached a new memory report.
Reporter | ||
Comment 10•6 years ago
|
||
Installed a fresh Firefox 66.0.2 (portable), went straight to facebook and to the D-Fence fb page, and the problem still occurs. Played the video on top, after it the video's beneath it when you scoll down and so on, the GPU memory keeps increasing and after like 4-5 video's is was above 1 GB GPU VRAM and kept rising when I played more video's.
What I also noticed this time was that when I went back to the FB newsfeed, so leaving the D-Fence page, the firefox.exe GPU pid didn't give back all the GPU VRAM memory, it still kept using like 900 MB VRAM while with the other tests I noticed the GPU memory was given back free to a normal usage (say 200-250 MB VRAM) for the Firefox.exe GPU pid.
The FF installation was fresh, no settings made other than the default out of the box settings, no add-ons installed.
I have an IT background, so if you want some further testing, I am willing to help. Or if you need a trace with the Gecko profiler I can provide that. Just mentioning it so you know :) .
https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built-in_Profiler
Comment 11•3 years ago
|
||
I´m having the same problem with twitch.
Comment 12•2 years ago
|
||
Hi all,
I was reporting this under 1744423 but that was closed 'worksforme'. I have been suffering for at least two years that thunderbird eats approximately 150% of a CPU on my 8 core 16 GB Fedora lattitude. This continues under 'safe' mode and I have twice tried a beta release new version in case it helped - never did. Currently running thunderbird-102.3.1-1.fc36.x86_64, but as I say beta rleeases direct from TB are the same.
I only just notices that memory usage seems high:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3033 murray 20 0 14.1g 9.4g 74520 R 143.8 60.5 3011:32 thunderbird
2736 murray 20 0 10.3g 249504 92440 S 12.5 1.5 137:07.19 gnome-shell
It is worth noting that it takes order of an hour for the CPU usage to rise on a clean install of TB. Possibly related to downloading folders? But I have no idea how to see where the CPU is going. So maybe it is GPU related, and I tried filing it here.
Updated•2 years ago
|
Comment 13•2 years ago
|
||
I have the same issue, firefox is consuming a lot of resources.
Comment 14•2 years ago
|
||
Updated•8 months ago
|
Description
•