X
Tap here to go to the mobile version of the site.

Support Forum

Firefox v51.01 slows down gradually and freezes with a custom GStreamer plugin and when switching between screens that play 4 live video streams at 30 fps.

Posted

I'm using Firefox v51.0.1 on Ubuntu with 16Gb RAM and 4 cores. I have to use a custom built GStreamer based video decoder plugin and that is why I'm using v51. There are two screens each playing 4 streams each. The videos play at 30fps without any problem once displayed on browser. There is a switch button which can switch between 2 sets of 4 streams each (quad view). When the pages are switched, say for about 100-200 times, the responsiveness of the browser slows down gradually and at one point, it just stops to respond to any further clicks. When Firefox froze, CPU utilization is about 30%, RAM about 25%. I tried to modify about:config parameters, but could not figure out which are the most relevant to my use case and the optimum values to be set.

I request community's help to identify the parameter combinations in v51.0.1 that could potentially keep Firefox from slowing down. In case more information is required, I will be glad to give them, but please suggest on how to get them out of the browser.

Thank you for taking your time on this subject!

I'm using Firefox v51.0.1 on Ubuntu with 16Gb RAM and 4 cores. I have to use a custom built GStreamer based video decoder plugin and that is why I'm using v51. There are two screens each playing 4 streams each. The videos play at 30fps without any problem once displayed on browser. There is a switch button which can switch between 2 sets of 4 streams each (quad view). When the pages are switched, say for about 100-200 times, the responsiveness of the browser slows down gradually and at one point, it just stops to respond to any further clicks. When Firefox froze, CPU utilization is about 30%, RAM about 25%. I tried to modify about:config parameters, but could not figure out which are the most relevant to my use case and the optimum values to be set. I request community's help to identify the parameter combinations in v51.0.1 that could potentially keep Firefox from slowing down. In case more information is required, I will be glad to give them, but please suggest on how to get them out of the browser. Thank you for taking your time on this subject!
Quote

Additional System Details

Installed Plug-ins

Custom built GStreamer based video decoder plugin.

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0

More Information

Tyler Downer
  • Top 25 Contributor
  • Moderator
1538 solutions 10738 answers

To be perfectly honest, Firefox 51 is no longer supported. The current version of Firefox is 70. There are dramatic differences between these versions, and 70 is worlds faster than 51.

You shouldn't be using such an old version

To be perfectly honest, Firefox 51 is no longer supported. The current version of Firefox is 70. There are dramatic differences between these versions, and 70 is worlds faster than 51. You shouldn't be using such an old version
Was this helpful to you?
Quote

Question owner

Thanks for your response. Your suggestion would be ideal, but since the custom build plugin must be used, I'm just stuck with v51. And I believe there are a lot of configuration parameters that are shared between the newest version and v51. If you know of some interesting ones that you think impact my use case, please let me know.

Thanks for your response. Your suggestion would be ideal, but since the custom build plugin must be used, I'm just stuck with v51. And I believe there are a lot of configuration parameters that are shared between the newest version and v51. If you know of some interesting ones that you think impact my use case, please let me know.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17591 solutions 159130 answers

GStreamer support has been removed in Firefox 46 (bug 1234092) and replaced by the HTML5 media player, so are you sure that Firefox actually uses this GStreamer plugin ?

GStreamer support has been removed in Firefox 46 (bug 1234092) and replaced by the HTML5 media player, so are you sure that Firefox actually uses this GStreamer plugin ?
Was this helpful to you?
Quote

Question owner

Plugin support (except flash) has been removed since Firefox 52, although on 52 you can enable it through an about:config parameter. I'm using a custom plugin on 51 which works.

Plugin support (except flash) has been removed since Firefox 52, although on 52 you can enable it through an about:config parameter. I'm using a custom plugin on 51 which works.
Was this helpful to you?
Quote
Senali Madawala
  • Top 25 Contributor
2 solutions 160 answers

Linux distributions coming up from now on do likely support GStreamer 1.0 only. The implementation might need to be updated in Gecko.

Given that the Firefox process already maps gstreamer libraries (through libcanberra) it's not really an option to have 0.10 in parallel to 1.0 as there are symbol clashes between both AFAIK.

Porting information: http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/random/porting-to-1.0.txt

Linux distributions coming up from now on do likely support GStreamer 1.0 only. The implementation might need to be updated in Gecko. Given that the Firefox process already maps gstreamer libraries (through libcanberra) it's not really an option to have 0.10 in parallel to 1.0 as there are symbol clashes between both AFAIK. Porting information: http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/random/porting-to-1.0.txt
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17591 solutions 159130 answers

In current Firefox releases you need FFmpeg to play media files.

In current Firefox releases you need FFmpeg to play media files.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.