linuxmint / nemo

File browser for Cinnamon
GNU General Public License v2.0
1.23k stars 299 forks source link

Nemo opens very slowly #2752

Open scriptonicus opened 3 years ago

scriptonicus commented 3 years ago
 * Nemo version (nemo --version):  4.8.6
 * Is issue with desktop or windowed nemo?:  I have noticed the same issue with Nemo and with "gnome-screenshot", and that it takes longer to log in (i.e. from the time I type my password until the desktop is loaded and ready to use), but once the desktop is loaded only Nemo and "gnome-screenshot" have an issue.
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...)
        Distributor ID: Linuxmint
        Description:    Linux Mint 20.1
        Release:    20.1
        Codename:   ulyssa
 * Graphics hardware *and* driver used
 ------------------
        *-display
             description: VGA compatible controller
             product: HD Graphics 5500
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 09
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:48 memory:f6000000-f6ffffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff
------------------
 * 32 or 64 bit:  64 bit

Issue I am running Linux Mint Cinnamon (ulyssa, 20.1) on a Dell Latitude laptop (Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz). Both Nemo and "gnome-screenshot" take around 25 seconds to open. This started recently (around sometime in the last week) (I've been running Linux Mint on this system for close to a year). If a Nemo window is already open, then I can open another Nemo window very quickly, but if I don't have any Nemo windows open, it can take about 25 seconds to open. (It also seems to work okay if I've just barely closed a Nemo window, but if I wait for more than say 10-15 seconds and then try to open Nemo again I have to wait 25 seconds.) Nothing else in the system is showing slowness once the desktop is loaded, but I have noticed that it takes longer to log in (the problems seemed to appear at the same time). Just to see if it's something to do with file managers generally, I installed an old favorite, XFE, and it comes up in about 1 second. I tried launching "nemo" from the command line and had the same experience, but it throws the following error:

$ nemo Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.MTPVolumeMonitor: Timeout was reached (g-io-error-quark, 24) Initializing nemo-dropbox 4.8.2 Nemo-Share-Message: 09:48:52.773: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory Please ask your system administrator to enable user sharing.

This is what I get when I launch "gnome-screenshot" from the command line:

$ gnome-screenshot Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.MTPVolumeMonitor: Timeout was reached (g-io-error-quark, 24)

Steps to reproduce

  1. Boot up your Linux Mint system.
  2. Log in.
  3. Click the "Files" (Nemo) launcher on the taskbar (or in the Linux Mint menu) (or type "nemo" at the command line and hit Enter).

Expected behaviour It really shouldn't take 25 seconds for Nemo or "gnome-screenshot" to open (2 seconds, tops, is what it took before, and that was when the system was under load)

Other information

Jeremy7701 commented 3 years ago

Hope the big chunk of bold text wasn't intentional.

Did you have a networked or shared folder or even a USB connected device when nemo was initiated? If so, were all connections up and running?

scriptonicus commented 3 years ago

No, I had included some dashed lines as dividers and didn't realize (until after I'd submitted it) that it would format using Markdown rules (my first bug report through GitHub--sorry, I'm a noob).

I have a 1TB USB backup drive connected (for Timeshift), but I just added that to the system yesterday, and I was having the problem before that. I do have a couple of SMB shares bookmarked in Nemo (in the sidebar under "Bookmarks"), but they aren't connected when I have the slowness problem. When I'm at my desk, the laptop is on a docking station which connects to three monitors (DP, DVI, and VGA); it also connects to my Mac keyboard which connects (daisy chained) to a USB PC mouse. The only other thing is that I have a USB cable going from the docking station to one of the monitors (which has an internal USB hub), but nothing is connected to the monitor's USB ports. I will disconnect the backup drive and then the other USB items one at a time (except the mouse) and see if the problem persists, and let you know (shortly). Thanks.

Mark

On Fri, May 28, 2021 at 12:41 PM Jeremy7701 @.***> wrote:

Hope the big chunk of bold text wasn't intentional.

Did you have a networked or shared folder or even a USB connected device when nemo was initiated? If so, were all connections up and running?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linuxmint/nemo/issues/2752#issuecomment-850599377, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJU7TBLMUVGUNMHEXGXXUPLTP7PTZANCNFSM45W647CA .

-- Mark Mumford

!/bin/bash

echo 20 53797374656d0a | xxd -r echo 20 41646d696e6973747261746f720a | xxd -r echo 20 616e640a | xxd -r echo 20 4c6561640a | xxd -r echo 20 446576656c6f7065720a | xxd -r Iron County School District Technology Department https://irondistrict.org/ Cedar City, Utah

scriptonicus commented 3 years ago

I did the following and tested it by trying to open Nemo after each item: • Disconnected backup drive • Disconnected USB cable to monitor (and its internal USB hub) • Disconnected USB cable to keyboard (but plugged mouse in separately) • Undocked laptop • Restarted laptop (and logged back into regular user account) • Logged into a different user account (my administrative user) which had no configuration (I had never actually logged into it before on the desktop--just in the terminal using "su"). At this point, the laptop was undocked and had nothing connected to it (not even a power cable).

At each of the points above (after waiting a minute or two from the last time Nemo was open), Nemo took between 23 and 27 seconds to open after I clicked the launcher on the Cinnamon task bar. The laptop is a Dell Latitude E7450. I appreciate you contacting me, and I know that this might be a random or otherwise unsolvable problem, but I appreciate your interest. Just so you know, this Linux Mint installation was upgraded from an earlier version, but that was (if I remember correctly) several months ago. Please let me know if there is any other information (e.g. logs) that I can provide you with to help in figuring out the problem. Thanks :)

Mark

On Fri, May 28, 2021 at 1:52 PM Mark Mumford @.***> wrote:

No, I had included some dashed lines as dividers and didn't realize (until after I'd submitted it) that it would format using Markdown rules (my first bug report through GitHub--sorry, I'm a noob).

I have a 1TB USB backup drive connected (for Timeshift), but I just added that to the system yesterday, and I was having the problem before that. I do have a couple of SMB shares bookmarked in Nemo (in the sidebar under "Bookmarks"), but they aren't connected when I have the slowness problem. When I'm at my desk, the laptop is on a docking station which connects to three monitors (DP, DVI, and VGA); it also connects to my Mac keyboard which connects (daisy chained) to a USB PC mouse. The only other thing is that I have a USB cable going from the docking station to one of the monitors (which has an internal USB hub), but nothing is connected to the monitor's USB ports. I will disconnect the backup drive and then the other USB items one at a time (except the mouse) and see if the problem persists, and let you know (shortly). Thanks.

Mark

On Fri, May 28, 2021 at 12:41 PM Jeremy7701 @.***> wrote:

Hope the big chunk of bold text wasn't intentional.

Did you have a networked or shared folder or even a USB connected device when nemo was initiated? If so, were all connections up and running?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linuxmint/nemo/issues/2752#issuecomment-850599377, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJU7TBLMUVGUNMHEXGXXUPLTP7PTZANCNFSM45W647CA .

-- Mark Mumford

!/bin/bash

echo 20 53797374656d0a | xxd -r echo 20 41646d696e6973747261746f720a | xxd -r echo 20 616e640a | xxd -r echo 20 4c6561640a | xxd -r echo 20 446576656c6f7065720a | xxd -r Iron County School District Technology Department https://irondistrict.org/ Cedar City, Utah

-- Mark Mumford

!/bin/bash

echo 20 53797374656d0a | xxd -r echo 20 41646d696e6973747261746f720a | xxd -r echo 20 616e640a | xxd -r echo 20 4c6561640a | xxd -r echo 20 446576656c6f7065720a | xxd -r Iron County School District Technology Department https://irondistrict.org/ Cedar City, Utah

mtwebster commented 3 years ago

Hi, can you try the following:

nemo --quit
G_MESSAGES_DEBUG=all nemo --debug

paste the output from that (either use a paste service like dpaste or format it here as code)

scriptonicus commented 3 years ago

I used dpaste: https://dpaste.com/E67DZXZNS but also pasted it below (just in case) (I've never used dpaste before). Thanks!

Mark


$ nemo --quit Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.MTPVolumeMonitor: Timeout was reached (g-io-error-quark, 24) Initializing nemo-dropbox 4.8.2 $ G_MESSAGES_DEBUG=all nemo --debug (nemo:9770): DEBUG: 16:01:02.336: Initializing XApp GtkModule (nemo:9770): GLib-GIO-DEBUG: 16:01:02.341: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’ (nemo:9770): DEBUG: 16:01:02.341: Adding a Favorites shortcut to GtkPlacesSideBars (nemo:9770): GLib-DEBUG: 16:01:02.395: setenv()/putenv() are not thread-safe and should not be used after threads are created (nemo:9770): GLib-DEBUG: 16:01:02.398: unsetenv() is not thread-safe and should not be used after threads are created (nemo:9770): Gtk-DEBUG: 16:01:02.399: Connecting to session manager (nemo:9770): Gtk-DEBUG: 16:01:02.406: Failed to get the GNOME screensaver proxy: The name org.gnome.ScreenSaver is not owned (nemo:9770): Gtk-DEBUG: 16:01:02.406: Registering client 'org.Nemo' '' (nemo:9770): Gtk-DEBUG: 16:01:02.420: Registered client at '/org/gnome/SessionManager/Client38' (nemo:9770): GLib-GIO-DEBUG: 16:01:02.426: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’ (nemo:9770): dconf-DEBUG: 16:01:02.426: watch_fast: "/org/nemo/preferences/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:02.426: watch_fast: "/org/nemo/window-state/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:02.426: watch_fast: "/org/nemo/icon-view/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:02.426: watch_fast: "/org/nemo/list-view/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:02.426: watch_fast: "/org/nemo/compact-view/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:02.426: watch_fast: "/org/nemo/desktop/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:02.426: watch_fast: "/org/nemo/sidebar-panels/tree/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:02.426: watch_fast: "/org/nemo/plugins/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:02.426: watch_fast: "/org/nemo/preferences/menu-config/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:02.426: watch_fast: "/org/cinnamon/desktop/lockdown/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:02.426: watch_fast: "/org/cinnamon/desktop/background/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:02.426: watch_fast: "/org/cinnamon/desktop/media-handling/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:02.426: watch_fast: "/org/cinnamon/desktop/applications/terminal/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:02.426: watch_fast: "/org/cinnamon/desktop/privacy/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:02.427: watch_fast: "/org/cinnamon/desktop/interface/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:02.432: watch_established: "/org/nemo/preferences/" (establishing: 1) (nemo:9770): dconf-DEBUG: 16:01:02.432: watch_established: "/org/nemo/window-state/" (establishing: 1) (nemo:9770): dconf-DEBUG: 16:01:02.432: watch_established: "/org/nemo/icon-view/" (establishing: 1) (nemo:9770): dconf-DEBUG: 16:01:02.432: watch_established: "/org/nemo/list-view/" (establishing: 1) (nemo:9770): dconf-DEBUG: 16:01:02.433: watch_established: "/org/nemo/compact-view/" (establishing: 1) (nemo:9770): dconf-DEBUG: 16:01:02.434: watch_established: "/org/nemo/desktop/" (establishing: 1) (nemo:9770): dconf-DEBUG: 16:01:02.434: watch_established: "/org/nemo/sidebar-panels/tree/" (establishing: 1) (nemo:9770): dconf-DEBUG: 16:01:02.434: watch_established: "/org/nemo/plugins/" (establishing: 1) (nemo:9770): dconf-DEBUG: 16:01:02.434: watch_established: "/org/nemo/preferences/menu-config/" (establishing: 1) (nemo:9770): dconf-DEBUG: 16:01:02.434: watch_established: "/org/cinnamon/desktop/lockdown/" (establishing: 1) (nemo:9770): dconf-DEBUG: 16:01:02.434: watch_established: "/org/cinnamon/desktop/background/" (establishing: 1) (nemo:9770): dconf-DEBUG: 16:01:02.434: watch_established: "/org/cinnamon/desktop/media-handling/" (establishing: 1) (nemo:9770): dconf-DEBUG: 16:01:02.434: watch_established: "/org/cinnamon/desktop/applications/terminal/" (establishing: 1) (nemo:9770): dconf-DEBUG: 16:01:02.434: watch_established: "/org/cinnamon/desktop/privacy/" (establishing: 1) (nemo:9770): dconf-DEBUG: 16:01:02.435: watch_established: "/org/cinnamon/desktop/interface/" (establishing: 1) Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.MTPVolumeMonitor: Timeout was reached (g-io-error-quark, 24) Initializing nemo-dropbox 4.8.2 (nemo:9770): GLib-DEBUG: 16:01:27.540: setenv()/putenv() are not thread-safe and should not be used after threads are created (nemo:9770): dconf-DEBUG: 16:01:27.668: watch_fast: "/org/cinnamon/desktop/interface/" (establishing: 0, active: 1) (nemo:9770): dconf-DEBUG: 16:01:27.876: watch_fast: "/org/nemo/preferences/" (establishing: 0, active: 1) ** (nemo:9770): DEBUG: 16:01:27.877: Open called on the GApplication instance; 1 files (nemo:9770): XApp-DEBUG: 16:01:28.224: XAppFavorites: init: (nemo:9770): dconf-DEBUG: 16:01:28.224: watch_fast: "/org/x/apps/favorites/" (establishing: 0, active: 0) (nemo:9770): XApp-DEBUG: 16:01:28.224: XAppFavorites: load_favorite: favorites loaded (0) (nemo:9770): dconf-DEBUG: 16:01:28.224: watch_established: "/org/x/apps/favorites/" (establishing: 1) (nemo:9770): XApp-DEBUG: 16:01:28.225: XAppFavorites: get_n_favorites returning number of items: 0. (nemo:9770): dconf-DEBUG: 16:01:28.232: change_fast (nemo:9770): dconf-DEBUG: 16:01:28.232: change_notify: /org/nemo/window-state/start-with-sidebar (nemo:9770): XApp-DEBUG: 16:01:28.304: XAppFavorites: get_n_favorites returning number of items: 0. (nemo:9770): GLib-DEBUG: 16:01:28.655: posix_spawn avoided (fd close requested) Nemo-Share-Message: 16:01:28.847: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory Please ask your system administrator to enable user sharing.

(nemo:9770): dconf-DEBUG: 16:01:28.850: watch_fast: "/org/cinnamon/desktop/thumbnailers/" (establishing: 0, active: 0) (nemo:9770): dconf-DEBUG: 16:01:28.851: watch_established: "/org/cinnamon/desktop/thumbnailers/" (establishing: 1)

On Fri, May 28, 2021 at 3:55 PM Michael Webster @.***> wrote:

Hi, can you try the following:

nemo --quit G_MESSAGES_DEBUG=all nemo --debug

paste the output from that (either use a paste service like dpaste or format it here as code)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linuxmint/nemo/issues/2752#issuecomment-850694374, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJU7TBI6WD7FJQZKDC2W46DTQAGM5ANCNFSM45W647CA .

-- Mark Mumford

!/bin/bash

echo 20 53797374656d0a | xxd -r echo 20 41646d696e6973747261746f720a | xxd -r echo 20 616e640a | xxd -r echo 20 4c6561640a | xxd -r echo 20 446576656c6f7065720a | xxd -r Iron County School District Technology Department https://irondistrict.org/ Cedar City, Utah

mtwebster commented 3 years ago

Is gvfs-backends installed?

dpkg --list | grep gvfs-backends
scriptonicus commented 3 years ago

Yes: $ dpkg --list | grep gvfs-backends ii gvfs-backends 1.44.1-1ubuntu1 amd64 userspace virtual filesystem - backends

On Fri, May 28, 2021 at 4:31 PM Michael Webster @.***> wrote:

Is gvfs-backends installed?

dpkg --list | grep gvfs-backends

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linuxmint/nemo/issues/2752#issuecomment-850704880, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJU7TBMUMVSUFVEWYP2VB2TTQAKTXANCNFSM45W647CA .

-- Mark Mumford

!/bin/bash

echo 20 53797374656d0a | xxd -r echo 20 41646d696e6973747261746f720a | xxd -r echo 20 616e640a | xxd -r echo 20 4c6561640a | xxd -r echo 20 446576656c6f7065720a | xxd -r Iron County School District Technology Department https://irondistrict.org/ Cedar City, Utah