12

I've got an issue whereby after each reboot the first time I log into my session it takes ages. That is, it can take up to five minutes from the moment I enter my password until I can use the desktop.

I was trying to use bootchart to debug the issue, but while bootchart itself worked, the graphics output are cropped at 105 seconds, so I cannot even see when compiz starts.

Looking at /etc/init/bootchart.conf, it seems the graphic is cropped indeed after compiz start, but it doesn't seem to be my case

bootchart --format=$format \
    --crop-after=compiz,metacity,mutter,kwin,xfwm4 \
    --annotate=ureadahead,mountall,hostname,hwclock \
    --annotate=Xorg \
    --annotate=gdm-session-worker \
    --output="/var/log/bootchart" "$TARBALL"

Here is some example output.

Is there any way I can see a longer time axis on the graph, at least until the desktop is loaded?

8
  • Have you looked in dmesg or ~/.xsession-errors to see what errors or problems are occurring?
    – popey
    Jul 16, 2012 at 11:03
  • The documentation does not mention a hard limit of 105 seconds, only that 'The logger will try to detect the end of the boot process by looking for specific processes.' Examples are gdmgreeter or kdm_greet. Are you sure it is possible to get what you want with this program? Jul 16, 2012 at 11:17
  • I haven't looked at dmesg, but I had a chat with the guys on the #ubuntu-desktop channel to try to debug it, couldn't see anything obvious on ~/.xsession-errors pastebin.ubuntu.com/1094584 Jul 16, 2012 at 11:18
  • @TomBrossman, I don't know if it's possible, hence the question too. Jul 16, 2012 at 11:18
  • 2
    Looks like bootchart2 supports customizing the exit condition.
    – ændrük
    Aug 24, 2013 at 23:29

3 Answers 3

1

Please use pybootchartgui (available in Software Centre). It'd create a graphical log after each boot. Checking dmesg output would be equally good, but less 'visual'.

Please disable from Startup Application whatever you don't need, and make sure that the HDD is the 1st boot device in the BIOS.

1

The bootchart displays how much time a service takes while the system boots up

Zoom in the existing image That's what I do

Images are stored in /var/log/bootchart folder

-1

Check /var/log/messages after you booted? It has a log with the times from during the boot sequence.

You might try running bootchart.

Check out this question also How can I see what happens during the boot process?

an alternative application to bootchart called pybootchartgui available in Ubuntu Software Center.

http://code.google.com/p/pybootchartgui/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .