On my main/home computer I've only tried beta channel, but with the
other computer I've tried both stable and beta. It doesn't seem to make
a difference.

Here is what I got for that command on Groovy:

STABLE

ab@mb:~$ snap run --trace-exec chromium
[sudo] password for ab:
Gtk-Message: 17:25:22.173: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:25:22.194: Failed to load module "canberra-gtk-module"
[4206:4206:1022/172540.610350:ERROR:sandbox_linux.cc(374)] InitializeSandbox() 
called with multiple threads in process gpu-process.
Slowest 10 exec calls during snap run:
  0.254s snap-update-ns
  0.436s /usr/lib/snapd/snap-confine
  0.618s /snap/chromium/1362/bin/desktop-launch
  0.115s /snap/chromium/1362/bin/chromium.launcher
  0.118s /usr/bin/dbus-send
  0.227s /usr/bin/xdg-settings
  0.121s /snap/chromium/1362/usr/lib/chromium-browser/chrome
  0.094s /usr/bin/xdg-settings
  36.826s /proc/self/exe
  46.485s /snap/chromium/1362/usr/lib/chromium-browser/chrome
Total time: 47.862s


BETA

ab@mb:~$ snap run --trace-exec chromium
[sudo] password for ab:
Gtk-Message: 17:31:19.827: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:31:19.851: Failed to load module "canberra-gtk-module"
[4553:4553:1022/173142.433976:ERROR:sandbox_linux.cc(374)] InitializeSandbox() 
called with multiple threads in process gpu-process.
Slowest 10 exec calls during snap run:
  0.228s snap-update-ns
  0.389s /usr/lib/snapd/snap-confine
  0.095s /snap/chromium/1357/snap/command-chain/snapcraft-runner
  0.607s /snap/chromium/1357/bin/desktop-launch
  0.072s /usr/bin/snapctl
  0.123s /snap/chromium/1357/bin/chromium.launcher
  0.115s /usr/bin/dbus-send
  0.315s /usr/bin/xdg-settings
  31.778s /proc/self/exe
  44.545s /snap/chromium/1357/usr/lib/chromium-browser/chrome
Total time: 45.843s

I deleted the chromium data (rm -r ~/snap/chromium), launched chromium
once, then rebooted and waited briefly, and finally ran the command.
Then I refreshed channels and did the same again.

If it's useful I can reinstall Focal on that computer when I'm back at
work tomorrow, and get the same info.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1900783

Title:
  [snap] On Groovy, Chromium snap takes much longer to load the first
  time after reboot

Status in chromium-browser package in Ubuntu:
  Incomplete

Bug description:
  I upgraded from Focal to Groovy, and now the first launch of the
  Chromium snap after a reboot is taking much longer than before. On my
  main home laptop it takes over 30 seconds, while under Focal I don't
  remember it taking more than 10 seconds.

  I tried another computer I could erase. On Groovy that computer takes
  nearly a minute to launch the Chromium snap after rebooting. Then I
  clean installed Focal on the same machine, and the Chromium snap takes
  just under 10 seconds to launch after a reboot. For both I installed
  all updates, and I let the computer sit idle for a few minutes after
  rebooting to try to rule out other activity.

  I haven’t noticed the change for any other snap, although I don’t use
  any that I ever noticed as much of a launch delay as Chromium. (VS
  Code for one doesn’t seem slower — certainly not taking nearly a
  minute — but I haven't done a real comparison like for Chromium.)

  ProblemType: Bug
  DistroRelease: Ubuntu 20.10
  ProcVersionSignature: Ubuntu 5.8.0-25.26-generic 5.8.14
  Uname: Linux 5.8.0-25-generic x86_64
  ApportVersion: 2.20.11-0ubuntu50
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Oct 20 21:29:20 2020
  InstallationDate: Installed on 2020-04-01 (202 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200331)
  Snap: chromium 87.0.4280.20 (latest/beta)
  SnapSource: ubuntu/+source/chromium-browser
  UpgradeStatus: Upgraded to groovy on 2020-10-17 (3 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1900783/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to