Dette websted vil have begrænset funktionalitet, mens vi gennemgår vedligeholdelse for at forbedre din oplevelse. Hvis en artikel ikke løser dit problem, og du vil stille et spørgsmål, har vi vores supportfællesskab, der venter på at hjælpe dig på @FirefoxSupport på Twitter og/r/firefox på Reddit.

Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Læs mere

Firefox boots up after ~25 seconds of inactivity

more options

Whenever I try to open Firefox, it takes about 25 seconds to boot. This behavior can be observed both with all the extensions running and in safe mode. The link to the profiles are shared below.

With extensions: https://share.firefox.dev/3riMPQZ In safe mode: https://share.firefox.dev/3OadE31

I have been noticing this for a few months now. Firefox works just fine after wasting ~25 seconds initially. I have also reinstalled Firefox multiple times. Right after the installation, the boot-up can be very fast (less than 1 second). However, after using Firefox for a few hours, the problem comes back.

I am not well-versed in reading Firefox profiler reports. So, please help me figure out what's actually happening in those ~25 seconds.

Whenever I try to open Firefox, it takes about 25 seconds to boot. This behavior can be observed both with all the extensions running and in safe mode. The link to the profiles are shared below. With extensions: https://share.firefox.dev/3riMPQZ In safe mode: https://share.firefox.dev/3OadE31 I have been noticing this for a few months now. Firefox works just fine after wasting ~25 seconds initially. I have also reinstalled Firefox multiple times. Right after the installation, the boot-up can be very fast (less than 1 second). However, after using Firefox for a few hours, the problem comes back. I am not well-versed in reading Firefox profiler reports. So, please help me figure out what's actually happening in those ~25 seconds.

Valgt løsning

The performance profile shows a DBus proxy timeout (25 seconds) while getting the system theme. Go to about:config and try changing widget.use-xdg-desktop-portal.settings = 0.

Is this a flatpak package installation?

Læs dette svar i sammenhæng 👍 1

Alle svar (9)

more options

It could read the cache on a startup. Go to Settings -> Privacy and security and find Your stored cookies, site data, and cache are currently using ??????? of disk space. How much is it? You can clear it from there and test the startup time.

more options

Also try these options. see screenshot Try downloading Firefox from Mozilla and run it from the folder. Do not sign into your Firefox account and see if you have the same issue. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release

What OS? What Desktop? X11 or Wayland?


Operating System: openSUSE Tumbleweed 20230710 KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 Kernel Version: 6.3.9-1-default (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 5825U with Radeon Graphics Memory: 62.1 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: HP Product Name: HP ProBook 455 15.6 inch G9 Notebook PC

Ændret af jonzn4SUSE den

more options

TyDraniu said

It could read the cache on a startup. Go to Settings -> Privacy and security and find Your stored cookies, site data, and cache are currently using ??????? of disk space. How much is it? You can clear it from there and test the startup time.

Did you mean that it "could not" read the cache? Well, I set up Firefox to delete cache when closed. So, it should not try to find cache when I open it. I also set up automatic deletion of cookies except for the sites I visit regularly.

I checked the amount of cache right after boot-up and it seems like there's no cache stored initially.

Ændret af Atomsky Jahid den

more options

jonzn4SUSE said

Also try these options. see screenshot Try downloading Firefox from Mozilla and run it from the folder. Do not sign into your Firefox account and see if you have the same issue. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release What OS? What Desktop? X11 or Wayland? Operating System: openSUSE Tumbleweed 20230710 KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 Kernel Version: 6.3.9-1-default (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 5825U with Radeon Graphics Memory: 62.1 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: HP Product Name: HP ProBook 455 15.6 inch G9 Notebook PC

My operating system is Arch Linux. I run bspwm on X11 and Hyprland on Wayland.

As I already mentioned, a reinstall speeds up the boot-up process (less than a second). But whenever I keep running the browser normally, the problem comes back. I do need to sign into my Firefox accounts so that I can sync all of my devices. A freshly installed Firefox boots up very fast but that doesn't solve the problem I'm facing in my daily use.

Ændret af Atomsky Jahid den

more options

Valgt løsning

The performance profile shows a DBus proxy timeout (25 seconds) while getting the system theme. Go to about:config and try changing widget.use-xdg-desktop-portal.settings = 0.

Is this a flatpak package installation?

more options

Can you run a virtual machine or usb live stick to test? The below cmd will create a log file (firefox_debug.txt) to show what's happening when you run Firefox. strace -t -o firefox_debug.txt firefox &

more options

I blame ---> bspwm. What happens in KDE or Gnome?

more options

This user is having the same issue https://support.mozilla.org/en-US/questions/1417284 and he is running wm xmonad.

Ændret af jonzn4SUSE den

more options

Thank you all for replying. The problem was with the xdg desktop portal. I had Hyprland installed along with "xdg-desktop-portal-hyprland", which in turn had "xdg-desktop-portal" as a dependency. I don't use Hyprland that much. So, I just uninstalled those two programs. Firefox now boots up instantly.

Ændret af Atomsky Jahid den