this post was submitted on 25 Sep 2023
38 points (80.6% liked)

Firefox

17907 readers
28 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

I have about 25 extensions (almost all needed) and firefox lags like crazy, it's like I'm watching the videos at 10 fps. I download chrome to test it out and sure enough it runs as smooth as butter. Any help?

EDIT: It somehow fixed itself after I started using LibreWolf (with the same addons)

all 31 comments
sorted by: hot top controversial new old
[–] bob_lemon@feddit.de 21 points 1 year ago

I'd start by disabling all add-ons and check if that helps. If not, there's something wrong with Firefox itself.

If disabling them fixed the issue, I'd continue with a binary search to see if there's a specific addon causing issues. I.e. enable only half the add-ons and re-check. Then continue enabling/disabling add-ons until you know which addon causes the issue.

That said, it could be the combined load, or a combination of add-ons, which is significantly harder to fix.

[–] capt_wolf@lemmy.world 19 points 1 year ago (1 children)

Could be any number of things. Possibly a bad plug in or combination of plug-ins. Could be your new video card didn't jive with your installation of Firefox.

Run Firefox in safe mode and see if the performance improves. If it does, you likely have a plugin causing the issue. From there, disable all of them and reenable them one at a time to see if the problem comes back.

Disable and reenable hardware acceleration.

Disable ipv6 This is an issue I ran into earlier this year.

Clear cache and cookies

And last resort, Uninstall Firefox and all profiles and settings and reinstall a fresh copy. (after syncing your account, obviously)

[–] rastilin@kbin.social 2 points 1 year ago (1 children)

I always run with hardware acceleration off on all my Firefox machines, it seems to cause a lot of issues and the videos play just fine without it.

[–] capt_wolf@lemmy.world 7 points 1 year ago

Depends on the setup. Disabling it on mine turns Firefox into a slideshow.

[–] slazer2au@lemmy.world 10 points 1 year ago

What are your 25 extensions?

[–] wuffish@mastodon.social 8 points 1 year ago (1 children)

@Yoru system specs? What add-ons are installed? What video res, 720, 1080, 4k?

[–] Yoru@lemmy.ml 2 points 1 year ago (2 children)

recently upgraded to an rx 6600 on a ryzen 5 5600 also 16 gigs of mem. here are the addons: the video res is 1080p

[–] Atemu@lemmy.ml 11 points 1 year ago (1 children)

Note that Dark Reader is insanely resource intensive.

(Also note that Disconnect has been unmaintained since before the pandemic and is redundant because UO exists.)

[–] wuffish@mastodon.social 5 points 1 year ago

@Yoru Try clicking the gear in the menu bar, and turning off Ambient Mode. That lagged the crap out of my machine, but on a Intel iGPU.

The dark themes in Enhancer for Youtube also disable ambient mode.

[–] warren_aver_france@lemmy.world 8 points 1 year ago (1 children)

I found youtube videos unbearable as well and I found the culprit to be ambient mode in the video settings. I ended up adding a rule in ublock origin to delete the ambient mode stuff regardless of the setting just to make sure ambient mode is disabled in private windows etc.

[–] mitchell@lemmy.ca 3 points 1 year ago (1 children)

What was the rule you added? I turn ambient mode and in-line playback off but Google is constantly resetting those switches.

[–] warren_aver_france@lemmy.world 3 points 1 year ago (1 children)
[–] mitchell@lemmy.ca 2 points 1 year ago

Thanks, I’ll give it a shot!

[–] Cheradenine@sh.itjust.works 4 points 1 year ago (1 children)

25 addons vs stock chrome, I wonder what the problem could be?

[–] Yoru@lemmy.ml -1 points 1 year ago

the thing is it was running perfectly fine with 40+ addons, I guess it has smth to do with my new gpu? I'm outside rn I'll try the things the people recommend

[–] ThankYouVeryMuch@kbin.social 3 points 1 year ago* (last edited 1 year ago)

As they said start disabling every add-on. If this doesn't solve it, it may be an issue with hardware acceleration. I remember some installations where Firefox wouldn't decode video on the graphics card by default. Do a duckduckgo 'hardware acceleration \ Firefox' and see if it works.

Edit: Also codecs, maybe something with the h265 codecs

[–] XpeeN@sopuli.xyz 2 points 1 year ago (1 children)

Try frontend alternatives like piped or invidious

[–] Yoru@lemmy.ml 2 points 1 year ago* (last edited 1 year ago) (2 children)

unfortunately youtube isn't the only culprit. Firefox just seems laggy in general, the affect is multiplied in youtube and indivious doesn't 1080p or 60 fps :/

[–] Atemu@lemmy.ml 2 points 1 year ago

Does the same happen on a clean profile? (you can create a new one in about:profiles)

[–] Dirk@lemmy.ml 1 points 1 year ago

On my machine it doesn't even run properly after fresh installation and new profile and not one single page opened.

https://lemmy.ml/comment/2609128

What OS and device are you running on?

What extensions do you have running?

This is unlikely to be a simple Firefox problem. Try running Firefox in Safe mode and see if you have problems then (go into the main menu and then help to find the option to run without add-ons).

If the videos play well then it's your extensions. If the videos do it play well then it's drivers or the set up of your device.

I've only had problems with Firefox playing videos on a Raspberry Pi in the past due to a bug with drivers for video acceleration not working proberly. I had the problem with Pi OS but not a full Linux distro on the same device.