15
submitted 1 week ago* (last edited 1 week ago) by hackerwacker@lemmy.ml to c/firefox@lemmy.ml

I'm running the Ubuntu snap version of Firefox and recently I've had a problem where the more files I download the more sluggish downloads become. When I download a file now, even a few KB, Firefox becomes unresponsive for a few seconds, including video in other windows freezing. For longer downloads, Firefox is unresponsive the entire time. During downloads Firefox uses 1 core 100% in htop and about:performance shows "Firefox" using 100%

Clearing all data in settings doesn't help

Clearing the list of downloaded files doesn't help.

Deleting the profile fixes it, but the problem comes back as I download files.

I have a policies.json file that sets some privacy related settings and installs 3 addons (uBlock0@raymondhill.net, treestyletab@piro.sakura.ne.jp, @testpilot-containers).

I also have a hosts file that blocks all mozilla domains (except addons.mozilla.org)

I have a fast CPU, tons of ram and a nvme drive.

I'm not really sure how to debug this?

top 4 comments
sorted by: hot top controversial new old
[-] Ephera@lemmy.ml 8 points 1 week ago

Since you're blocking Mozilla domains, my first thought was that it might have to do with the automatic malware checks for downloaded files. But the knowledge base article says it only checks executables, and it doesn't sound like it tries to contact a Mozilla server either.
But yeah, maybe you want to try turning that off in the settings for debugging either way.

The other suspicion is immediately Snap, primarily because I've seen quite some brokenness from Snap Firefox already.
You can try downloading the non-Snap version from the webpage directly: https://www.mozilla.org/en-GB/firefox/all/desktop-release/linux64/
That'll give you a .tar.bz2, which you just unpack and run the firefox binary inside.

If it works there and you want to permanently switch, you probably want to use Mozilla's APT repo: https://support.mozilla.org/en-US/kb/install-firefox-linux#w_install-firefox-deb-package-for-debian-based-distributions-recommended

[-] hackerwacker@lemmy.ml 3 points 1 week ago

Getting the mozilla build fixed the issue, thanks.

How weird. A little unfortunate too since the snap version has apparmor confinement.

[-] Vincent@feddit.nl 2 points 6 days ago

Might be worth reporting a bug against the Snap version? I think there's usually a "Report a bug" menu entry under "Help" in the menu?

[-] Akip@discuss.tchncs.de 1 points 1 week ago

bad network driver?

this post was submitted on 16 Nov 2024
15 points (94.1% liked)

Firefox

17303 readers
22 users here now

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

founded 4 years ago
MODERATORS