this post was submitted on 25 Sep 2023
42 points (81.8% liked)

Firefox

17865 readers
12 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 35 comments
sorted by: hot top controversial new old
[–] [email protected] 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.

[–] [email protected] 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)

[–] [email protected] 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.

[–] [email protected] 7 points 1 year ago

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

[–] [email protected] 11 points 1 year ago

What are your 25 extensions?

[–] [email protected] 8 points 1 year ago (1 children)

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

[–] [email protected] 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

[–] [email protected] 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.)

[–] [email protected] 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.

[–] [email protected] 7 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.

[–] [email protected] 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.

[–] [email protected] 3 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago

Thanks, I’ll give it a shot!

[–] [email protected] 4 points 1 year ago (1 children)

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

[–] [email protected] -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

[–] [email protected] 3 points 1 year ago (1 children)

must be because of lack of hardware acceleration. whats the cpu?

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago

whats ur gpu? try reinsinstalling the drivers using DDU.

also make sure hardware acceleration is enabled in the settings.

[–] [email protected] 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

[–] [email protected] 2 points 1 year ago (1 children)

Try frontend alternatives like piped or invidious

[–] [email protected] 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 :/

[–] [email protected] 2 points 1 year ago

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

[–] [email protected] 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

[–] [email protected] 2 points 1 year ago

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.