Tiny Core Base > TCB Q&A Forum

Fluxbox slow startup (~15 seconds)

<< < (3/5) > >>

coreplayer2:
after cleaning up your base install, you can try removing Xorg, xf86-video-ati, graphics-4.14.10-tinycore and fluxbox from your onboot.lst

then at the command line, enter:

tce-load -i graphics-4.14.10-tinycore xf86-video-ati Xorg-7.7 fluxbox
check for errors, then enter

--- Code: ---startx
--- End code ---
and time with stopwatch to the Desktop

In my tests both fluxbox and hackedbox with Xorg-7.7 and Nvidia drivers take approximately 6 seconds (which allows for a 2 second human reaction element)

It takes this long to load because of Xorg and the Nvidia drivers

check /var/log/Xorg.0.log for Errors and Warnings

I suspect Xvesa produces considerably faster results

coreplayer2:
Ok, to test this further..
I setup a  boot menu item which represented a minimalist TC9 x86 system with syslog bootcode enabled and set to load the onboot.lst file as previously suggested specific to my test system (Xorg + Nvidia drivers + sample Window Manager + other hardware drivers).

I rebooted three times each with a different Window Manager;  fluxbox, hackedbox and flwm_topside

Syslog reported no more than 9 seconds from installing extensions to desktop with each window manager.  So, put another way;  all Wm's booted in equal time.

Syslog also showed that approximately 6 of those 9 seconds to desktop was consumed by building icons for the desktop wbar and loading of the Xorg/Nvidia driver

In other words, I can't reproduce this issue as IMO each window manager loaded within a second or two..




hobophil:

--- Quote from: coreplayer2 on September 29, 2018, 02:35:16 PM ---1. Please show the contents of your boot config file

:)

--- End quote ---

Current bootcodes:

--- Quote ---tc@box:~$ showbootcodes
BOOT_IMAGE=/tce/boot/vmlinuz quiet nodhcp tce=sda1/tce home=sda1 initrd=/tce/boot/core.gz

--- End quote ---

I did the timing test you suggested above, with this onboot.lst below. I forgot to remove vlc2, but I don't really want to remove it anyways because that is one of the main things I'm using this PC for and I want it on the wbar on login.

--- Code: ---aterm.tcz
wbar.tcz
ezremaster.tcz
nano.tcz
alsa-config.tcz
firmware-radeon.tcz
terminus-fonts.tcz
vlc2.tcz

--- End code ---

Loaded the graphics extensions and then did "startx" as you directed. Time was about 14 seconds per stopwatch.

By the way, when I tried adding these extensions to onboot.lst through Apps, it didn't do anything to onboot.lst. Maybe because they are already depended on by Xorg?

--- Code: ---imlib2-bin.tcz
libxcb.tcz
libXfont.tcz
libXi.tcz
libXmu.tcz
libXpm.tcz
libXrandr.tcz

--- End code ---

hobophil:
Bottom part of syslog output (syslog bootcode enabled):

--- Code: ---Oct  5 23:04:24 box user.info kernel: [drm] Initialized radeon 2.50.0 20080528 for 0000:01:00.0 on minor 0
Oct  5 23:04:26 box authpriv.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/chown -R root.staff /usr/local/tce.installed
Oct  5 23:04:26 box authpriv.notice sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/chmod -R 775 /usr/local/tce.installed
Oct  5 23:04:26 box authpriv.notice sudo:     root : TTY=console ; PWD=/ ; USER=root ; COMMAND=/bin/tar -C / -zxf /mnt/sda1/tce/mydata.tgz
Oct  5 23:04:26 box daemon.info init: starting pid 3425, tty '/dev/tty1': '/sbin/getty -nl /sbin/autologin 38400 tty1'
Oct  5 23:04:26 box auth.info login[3425]: root login on 'tty1'
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=unknown ; PWD=/home/tc ; USER=root ; COMMAND=/usr/bin/tee /etc/sysconfig/backup
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/rm -rf /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/cp /usr/local/share/wbar/dot.wbar /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/chown root.staff /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/chmod g+w /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/mv /tmp/wbar.3486 /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/chmod g+w /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/mv /tmp/wbar.3501 /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/chmod g+w /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/mv /tmp/wbar.3509 /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/chmod g+w /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/mv /tmp/wbar.3524 /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/chmod g+w /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/rm -rf /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/cp /usr/local/share/wbar/dot.wbar /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/chown root.staff /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/chmod g+w /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/mv /tmp/wbar.3556 /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/chmod g+w /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/mv /tmp/wbar.3571 /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/chmod g+w /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/mv /tmp/wbar.3579 /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/chmod g+w /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/mv /tmp/wbar.3594 /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/chmod g+w /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/usr/local/bin/fluxbox_initmenu
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/mv /tmp/newmenu /usr/local/tce.fluxbox
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/mv /tmp/wbar.3707 /usr/local/tce.icons
Oct  5 23:04:26 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/chmod g+w /usr/local/tce.icons
Oct  5 23:04:27 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/mv /tmp/newmenu /usr/local/tce.fluxbox
Oct  5 23:04:27 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/mv /tmp/wbar.3744 /usr/local/tce.icons
Oct  5 23:04:27 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/chmod g+w /usr/local/tce.icons
Oct  5 23:04:27 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/mv /tmp/work3752 /usr/local/tce.icons
Oct  5 23:04:43 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/mv /tmp/work3991 /usr/local/tce.icons
Oct  5 23:04:43 box authpriv.notice sudo:       tc : TTY=tty1 ; PWD=/home/tc ; USER=root ; COMMAND=/bin/mv /tmp/work4009 /usr/local/tce.icons
Oct  5 23:04:46 box user.notice kernel: random: crng init done

--- End code ---

hobophil:
Xorg.0.log errors:


--- Quote ---tc@box:/var/log$ cat Xorg.0.log | grep EE
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    15.223] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    15.251] (EE) RADEON(0): glamor detected, failed to initialize EGL.
[    15.399] (II) Initializing extension MIT-SCREEN-SAVER
[    15.399] (EE) AIGLX error: dlopen of /usr/local/lib/dri/r600_dri.so failed (/usr/local/lib/dri/r600_dri.so: cannot open shared object file: No such file or directory)
[    15.399] (EE) AIGLX error: unable to load driver r600
[    15.399] (EE) AIGLX error: dlopen of /usr/local/lib/dri/swrast_dri.so failed (/usr/local/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
[    15.399] (EE) AIGLX error: unable to load driver swrast
[    15.399] (EE) GLX: could not load software renderer
[    15.689] (II) Initializing extension MIT-SCREEN-SAVER
[    15.689] (EE) AIGLX error: dlopen of /usr/local/lib/dri/r600_dri.so failed (/usr/local/lib/dri/r600_dri.so: cannot open shared object file: No such file or directory)
[    15.689] (EE) AIGLX error: unable to load driver r600
[    15.689] (EE) AIGLX error: dlopen of /usr/local/lib/dri/swrast_dri.so failed (/usr/local/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
[    15.689] (EE) AIGLX error: unable to load driver swrast
[    15.689] (EE) GLX: could not load software renderer

--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version