Menu

#216 xournal extremely slow to initialize

v1.0_(example)
open
nobody
None
5
2020-11-30
2020-11-30
Jim Cline
No

I recently installed xournal on my new laptop (Thinkpad X1 Carbon, running Ubuntu 20.04.1 LTS).
It takes a very long time to start: about 25 s. After that it seems to work normally. I can't imagine what it's doing during those 25 s. To check whether Ubuntu screwed it up, I installed it from scratch using the sourceforge download, but got exactly the same behavior.

Related

Bugs: #216

Discussion

  • Denis Auroux

    Denis Auroux - 2020-11-30

    I also can't imagine what it's doing during all that time, apart from a network timeout of some sort in the initialization of some library that xournal relies on. It does sound like something is messed up with your system. Do any other GTK2 or Gnome applications slow down at start (for example... gimp? eog?)

    I know this was about an older release of Ubuntu, but just in case, see
    https://askubuntu.com/questions/1184774/some-applications-on-ubuntu-19-10-very-slow-to-start
    pointing back to an even older issue
    https://bbs.archlinux.org/viewtopic.php?id=230036

    The latter especially says that 25 seconds is the standard timeout delay when dbus is unable to connect to something (X server, etc.). I have no idea which of the GTK dependencies causes dbus to be necessary to run Xournal, we certainly don't use it directly, but eventually one dependency relying on another one and so on... dbus is a fairly common piece of infrastructure for GTK/Gnome applications. Based on the coincidence of the 25-second delay, and the lack of other reports of this issue with xournal, I would assume that it's an issue with dbus on your system. I am afraid I can't really figure out further what the problem is, as I'm not very familiar with Ubuntu. I hope some of the potential fixes offered in the bug reports above will help you sort it out, or at least determine whether the problem is with dbus. (also try other internet searches related to ubuntu 20.04 dbus slowdown ... ? I didn't see anything obvious, except for a large number of slowdowns of GTK applications at startup being caused by dbus errors).

    Hope this helps.
    Denis

     
    • Jim Cline

      Jim Cline - 2020-12-01

      Yes, if I do "dbus-launch xournal" or run xournal as root, there is no
      delay, so definitely a dbus issue. thanks again!

      On Mon, 30 Nov 2020, Denis Auroux wrote:

      I also can't imagine what it's doing during all that time, apart from a network timeout of some
      sort in the initialization of some library that xournal relies on. It does sound like something
      is messed up with your system. Do any other GTK2 or Gnome applications slow down at start (for
      example... gimp? eog?)

      I know this was about an older release of Ubuntu, but just in case, see
      https://askubuntu.com/questions/1184774/some-applications-on-ubuntu-19-10-very-slow-to-start
      pointing back to an even older issue
      https://bbs.archlinux.org/viewtopic.php?id=230036

      The latter especially says that 25 seconds is the standard timeout delay when dbus is unable to
      connect to something (X server, etc.). I have no idea which of the GTK dependencies causes dbus
      to be necessary to run Xournal, we certainly don't use it directly, but eventually one
      dependency relying on another one and so on... dbus is a fairly common piece of infrastructure
      for GTK/Gnome applications. Based on the coincidence of the 25-second delay, and the lack of
      other reports of this issue with xournal, I would assume that it's an issue with dbus on your
      system. I am afraid I can't really figure out further what the problem is, as I'm not very
      familiar with Ubuntu. I hope some of the potential fixes offered in the bug reports above will
      help you sort it out, or at least determine whether the problem is with dbus. (also try other
      internet searches related to ubuntu 20.04 dbus slowdown ... ? I didn't see anything obvious,
      except for a large number of slowdowns of GTK applications at startup being caused by dbus
      errors).

      Hope this helps.
      Denis


      [bugs:#216] xournal extremely slow to initialize

      Status: open
      Group: v1.0_(example)
      Created: Mon Nov 30, 2020 09:50 PM UTC by Jim Cline
      Last Updated: Mon Nov 30, 2020 09:50 PM UTC
      Owner: nobody

      I recently installed xournal on my new laptop (Thinkpad X1 Carbon, running Ubuntu 20.04.1 LTS).
      It takes a very long time to start: about 25 s. After that it seems to work normally. I can't
      imagine what it's doing during those 25 s. To check whether Ubuntu screwed it up, I installed it
      from scratch using the sourceforge download, but got exactly the same behavior.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/xournal/bugs/216/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #216

    • Jim Cline

      Jim Cline - 2020-12-01

      Hi Denis, I think you nailed it; I will investigate further. Thanks very
      much for your suggestion. regards, Jim

      On Mon, 30 Nov 2020, Denis Auroux wrote:

      I also can't imagine what it's doing during all that time, apart from a network timeout of some
      sort in the initialization of some library that xournal relies on. It does sound like something
      is messed up with your system. Do any other GTK2 or Gnome applications slow down at start (for
      example... gimp? eog?)

      I know this was about an older release of Ubuntu, but just in case, see
      https://askubuntu.com/questions/1184774/some-applications-on-ubuntu-19-10-very-slow-to-start
      pointing back to an even older issue
      https://bbs.archlinux.org/viewtopic.php?id=230036

      The latter especially says that 25 seconds is the standard timeout delay when dbus is unable to
      connect to something (X server, etc.). I have no idea which of the GTK dependencies causes dbus
      to be necessary to run Xournal, we certainly don't use it directly, but eventually one
      dependency relying on another one and so on... dbus is a fairly common piece of infrastructure
      for GTK/Gnome applications. Based on the coincidence of the 25-second delay, and the lack of
      other reports of this issue with xournal, I would assume that it's an issue with dbus on your
      system. I am afraid I can't really figure out further what the problem is, as I'm not very
      familiar with Ubuntu. I hope some of the potential fixes offered in the bug reports above will
      help you sort it out, or at least determine whether the problem is with dbus. (also try other
      internet searches related to ubuntu 20.04 dbus slowdown ... ? I didn't see anything obvious,
      except for a large number of slowdowns of GTK applications at startup being caused by dbus
      errors).

      Hope this helps.
      Denis


      [bugs:#216] xournal extremely slow to initialize

      Status: open
      Group: v1.0_(example)
      Created: Mon Nov 30, 2020 09:50 PM UTC by Jim Cline
      Last Updated: Mon Nov 30, 2020 09:50 PM UTC
      Owner: nobody

      I recently installed xournal on my new laptop (Thinkpad X1 Carbon, running Ubuntu 20.04.1 LTS).
      It takes a very long time to start: about 25 s. After that it seems to work normally. I can't
      imagine what it's doing during those 25 s. To check whether Ubuntu screwed it up, I installed it
      from scratch using the sourceforge download, but got exactly the same behavior.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/xournal/bugs/216/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #216


Log in to post a comment.

MongoDB Logo MongoDB