Following my comment, something I just noticed is that if I start Thunderbird snap before opening Firefox snap, the cold start of Firefox is much lower.
I did not have this issue, my gtk-common-themes are 0.1-79-ga83e90c tracking: latest/stable/ubuntu-22.04 so I think I don’t have the issue, I did a fresh install of Jammy
Hi all,
Are snap still affected by those limitations Limitations in snapd - doc - snapcraft.io ?
It seems that I cannot use Firefox on Ubuntu 22.04 (snap version) on devices where user home directory is on an NFS share mounted with automounts
there is local Latvia eID (electronic passport) system, with snaped Firefox it does not work https://www.eparaksts.lv/lv/lejupielades
may be they don’t adopted 22.04 yet, but I switch to Mozilla .tar.gz version and it works fine
I think, that it is because some underlying tech in software, but I need to use this on daily basis and don’t want use Chrome or Windows
this was announced (missing support for electronic IDs due to missing “native messaging” support) in the release notes and will be fixed soon … there was just a status report about it yesterday, see the “Native Messaging” paragraph at:
What would be an appropriate way to measure startup performance on Kubuntu or anywhere else where the Application Startup Time Measure extension is not avaiable? Is using a stop watch sufficient?
Gtk-Message: 20:27:53.523: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 20:27:53.527: Failed to load module "colorreload-gtk-module"
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
Slowest 10 exec calls during snap run:
1.621s /snap/firefox/1377/gnome-platform/usr/lib/x86_64-linux-gnu/glib-2.0/gio-querymodules
5.962s /snap/firefox/1377/snap/command-chain/desktop-launch
5.574s /snap/firefox/1377/usr/lib/firefox/firefox
11.535s /snap/firefox/1377/usr/lib/firefox/firefox
1.837s /snap/firefox/1377/usr/lib/firefox/firefox
12.298s /snap/firefox/1377/usr/lib/firefox/firefox
1.441s /snap/firefox/1377/usr/lib/firefox/firefox
1.486s /snap/firefox/1377/usr/lib/firefox/pingsender
1.568s /snap/firefox/1377/usr/lib/firefox/pingsender
29.768s /snap/firefox/1377/usr/lib/firefox/firefox
Total time: 54.049s
Cold
Gtk-Message: 20:30:18.366: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 20:30:18.383: Failed to load module "colorreload-gtk-module"
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
Slowest 10 exec calls during snap run:
0.319s /snap/snapd/15904/usr/lib/snapd/snap-confine
1.141s /snap/firefox/1377/snap/command-chain/desktop-launch
0.855s /usr/bin/dbus-send
0.968s /usr/bin/xdg-settings
6.194s /snap/firefox/1377/usr/lib/firefox/firefox
4.530s /snap/firefox/1377/usr/lib/firefox/firefox
11.356s /snap/firefox/1377/usr/lib/firefox/firefox
4.607s /snap/firefox/1377/usr/lib/firefox/firefox
4.462s /snap/firefox/1377/usr/lib/firefox/firefox
14.690s /snap/firefox/1377/usr/lib/firefox/firefox
Total time: 37.695s
Warm
Gtk-Message: 20:31:58.609: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 20:31:58.613: Failed to load module "colorreload-gtk-module"
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
###!!! [Parent][PImageBridgeParent] Error: RunMessage(msgname=PImageBridge::Msg_WillClose) Channel closing: too late to send/recv, messages will be lost
Slowest 10 exec calls during snap run:
0.729s /snap/firefox/1377/snap/command-chain/desktop-launch
3.751s /snap/firefox/1377/usr/lib/firefox/firefox
4.706s /snap/firefox/1377/usr/lib/firefox/firefox
7.660s /snap/firefox/1377/usr/lib/firefox/firefox
4.619s /snap/firefox/1377/usr/lib/firefox/firefox
4.542s /snap/firefox/1377/usr/lib/firefox/firefox
0.356s /snap/firefox/1377/usr/lib/firefox/pingsender
0.402s /snap/firefox/1377/usr/lib/firefox/pingsender
0.428s /snap/firefox/1377/usr/lib/firefox/pingsender
10.042s /snap/firefox/1377/usr/lib/firefox/firefox
Total time: 12.897s
Test results after running 'sudo snap refresh firefox --channel=latest/stable/jammy-release’
Cold purge
Gtk-Message: 20:39:34.453: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 20:39:34.459: Failed to load module "colorreload-gtk-module"
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
Slowest 10 exec calls during snap run:
0.778s /snap/firefox/1232/gnome-platform/usr/lib/x86_64-linux-gnu/glib-2.0/gio-querymodules
3.791s /snap/firefox/1232/snap/command-chain/desktop-launch
6.144s /snap/firefox/1232/usr/lib/firefox/firefox
8.759s /snap/firefox/1232/usr/lib/firefox/firefox
10.553s /snap/firefox/1232/usr/lib/firefox/firefox
0.695s /snap/firefox/1232/usr/lib/firefox/firefox
0.624s /snap/firefox/1232/usr/lib/firefox/firefox
1.762s /snap/firefox/1232/usr/lib/firefox/pingsender
1.857s /snap/firefox/1232/usr/lib/firefox/pingsender
1.719s /snap/firefox/1232/usr/lib/firefox/pingsender
Total time: 48.261s
Cold
Gtk-Message: 20:40:49.000: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 20:40:49.051: Failed to load module "colorreload-gtk-module"
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
Slowest 10 exec calls during snap run:
0.318s /snap/snapd/15904/usr/lib/snapd/snap-confine
0.302s /usr/bin/snapctl
0.951s /snap/firefox/1232/snap/command-chain/desktop-launch
0.596s /usr/bin/cut
0.732s /usr/bin/xdg-settings
8.317s /snap/firefox/1232/usr/lib/firefox/firefox
12.292s /snap/firefox/1232/usr/lib/firefox/firefox
10.252s /snap/firefox/1232/usr/lib/firefox/firefox
10.058s /snap/firefox/1232/usr/lib/firefox/firefox
10.355s /snap/firefox/1232/usr/lib/firefox/firefox
Total time: 38.925s
Warm
Gtk-Message: 20:41:47.019: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 20:41:47.023: Failed to load module "colorreload-gtk-module"
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
###!!! [Parent][PImageBridgeParent] Error: RunMessage(msgname=PImageBridge::Msg_WillClose) Channel closing: too late to send/recv, messages will be lost
Slowest 10 exec calls during snap run:
0.448s /snap/firefox/1232/snap/command-chain/desktop-launch
0.130s /usr/bin/xdg-settings
2.536s /snap/firefox/1232/usr/lib/firefox/firefox
6.014s /snap/firefox/1232/usr/lib/firefox/firefox
4.796s /snap/firefox/1232/usr/lib/firefox/firefox
4.622s /snap/firefox/1232/usr/lib/firefox/firefox
4.577s /snap/firefox/1232/usr/lib/firefox/firefox
0.371s /snap/firefox/1232/usr/lib/firefox/pingsender
0.438s /snap/firefox/1232/usr/lib/firefox/pingsender
0.396s /snap/firefox/1232/usr/lib/firefox/pingsender
Total time: 11.135s
How’s it going gang. I just wanted to update this thread to share our latest post on the Firefox snap performance process. Keep sharing your issues and benchmarks as we work to improve the user experience
Is anyone working on making the snap firefox work if you use NFS or SSHFS home directories? [ It doesn’t start at all in this case, see https://bugs.launchpad.net/snapd/+bug/1973321 and others ].
If not, the NFS how-tos on ubuntu documentation should probably warn people that trying to do so will stop Firefox from working on 22.04. I am happy to do this if this is helpful, but I am not sure who to talk to about modifying such docs.