SparkyLinux Forums

Software & hardware support => Newbie questions => Topic started by: benton on January 14, 2020, 08:11:40 PM

Title: very long boottime <SOLVED>
Post by: benton on January 14, 2020, 08:11:40 PM
Hello to everyone

I installed Sparkylinux on a 32bit System, 2GB RAM, 150 GB HDD

CPU: Intel Dual T24010, 2x 2GHz
Sparkversion: 5.9 Nibiru (i868)
Linux Kernel: 4.19.0-6-686
Desktop: Cinnamon 3.8.8

My Question.

Sparky runs well, but the boottime is very long. Sparky starts with an Error, [drm_atomic_helper_wait_for_flip_done_helper, after this message in grub, the Sparky Logo is visible, but after that it takes more time to have a running system.

This Problem is well known, I found it on other Forums for Ubuntu, but there are different ways to solve it. Thatswhy Im asking here.

Im sure, some one of you will know, what to do. Please explain, like you would do explain it a child  ;), because Im just starting to explore Linux.

Thank you in advance
benton



Title: Re: very long boottime
Post by: lami07 on January 14, 2020, 08:35:51 PM
If your CPU is Intel Dual T2410 than internet says its 64bit processor. Can you download sparky 5.10 64bit ISO and give it a try ?
Title: Re: very long boottime
Post by: benton on January 14, 2020, 09:03:05 PM
Im not sure, if its a 64 bit system, is it? because of the 2GB RAM it should be a 32 bit machine.

In other Forums (Ubuntu), the same problem is documented as a bug, can I solve it with a Systemupgrade?

In the Ubuntu Forum, they solved it with commands, something like " GRUB_CMDLINE_LINUX_DEFAULT="splash quiet video=SVIDO-1:d"
is this the right way?
Title: Re: very long boottime
Post by: lami07 on January 14, 2020, 10:23:09 PM
Quote from: benton on January 14, 2020, 09:03:05 PM
Im not sure, if its a 64 bit system, is it? because of the 2GB RAM it should be a 32 bit machine.

Websites like those below state otherwise :
https://www.notebookcheck.net/Intel-Pentium-Dual-Core-T2410-Notebook-Processor.35520.0.html

http://www.cpu-world.com/CPUs/Pentium_Dual-Core/Intel-Pentium%20Dual-Core%20Mobile%20T2410%20LF80537GE0411M.html







QuoteIn other Forums (Ubuntu), the same problem is documented as a bug, can I solve it with a Systemupgrade?

In the Ubuntu Forum, they solved it with commands, something like " GRUB_CMDLINE_LINUX_DEFAULT="splash quiet video=SVIDO-1:d"
is this the right way?
Thats your system. Testing whatever random stuff found on the internet is up to you. Although I guess upgrading system won't hurt






Run those two commands in terminal and paste the results
systemd-analyze
systemd-analyze blame
Title: Re: very long boottime
Post by: benton on January 15, 2020, 03:03:13 PM
nanni@nanni-pc:~$ systemd-analyze
Startup finished in 2min 11.422s (kernel) + 34.667s (userspace) = 2min 46.090s
graphical.target reached after 32.784s in userspace

nanni@nanni-pc:~$ systemd-analyze blame
         15.352s man-db.service
         15.141s NetworkManager-wait-online.service
          9.041s ModemManager.service
          8.667s dev-sda1.device
          8.510s ufw.service
          7.856s udisks2.service
          6.115s accounts-daemon.service
          5.732s logrotate.service
          4.919s apparmor.service
          4.650s NetworkManager.service
          4.269s networking.service
          3.790s apt-daily-upgrade.service
          3.695s acpi-support.service
          3.669s avahi-daemon.service
          3.354s wpa_supplicant.service
          3.339s lm-sensors.service
          3.314s rsyslog.service
          3.237s systemd-logind.service
          2.878s lightdm.service
          2.497s rtkit-daemon.service
          2.420s polkit.service
          2.376s atd.service
          2.086s rpcbind.service
lines 1-23


Hi lami07, this is the result, thanks
Title: Re: very long boottime
Post by: lami07 on January 15, 2020, 03:43:40 PM
QuoteStartup finished in 2min 11.422s (kernel) + 34.667s (userspace) = 2min 46.090s
This suggests that your solution from second post might be the right one.
Other thing you may want to try is to remove intel GPU driver (which sparky installs by default).
sudo apt remove xserver-xorg-video-intel
This way KMS [kernel mode setting] will configure your GPU instead of intel driver (which is recommended way for last decade or so)
Title: Re: very long boottime
Post by: benton on January 15, 2020, 06:06:59 PM
This suggests that your solution from second post might be the right one.

Does it mean, I shall use this Code of this 2. post, is the Syntax correct? Maybe you give me the full Syntax, it seems not complete to me, would be kind.

First I will use "sudo apt remove xserver-xorg-video-intel", I guess, I have to restart.

Thank you very much for your help!
Title: Re: very long boottime
Post by: benton on January 15, 2020, 06:26:23 PM
I just typed in the command you given me (sudo apt remove xserver-xorg-video-intel ), but I cant type in the Password, is it the same I use for other operations on the System?
In other words, there is no way to type in anything, what is the problem?
Title: Re: very long boottime
Post by: paxmark1 on January 15, 2020, 06:39:06 PM
Yes.  The password you set up for your normal user  is the password that "sudo command-blah" wants. 

BTW  Mange tusen takk (many thousand thank yous) for the little gem about removing sudo apt remove xserver-xorg-video-intel       The  info can be found via
  "aptitude search  xserver-xorg-video-intel"

QuoteThe use of this driver is discouraged if your hw is new enough (ca. 2007 and newer). You can try uninstalling this driver and let the server use it's builtin modesetting driver instead.
Title: Re: very long boottime
Post by: lami07 on January 15, 2020, 06:46:35 PM
Yes, it's the same password. But there will be no visual feedback while typing it.
Title: Re: very long boottime
Post by: benton on January 15, 2020, 06:54:04 PM
its not possible to type in the Password, because I cant type in anything, whats wrong, do I have to do something special before?
Title: Re: very long boottime
Post by: benton on January 15, 2020, 07:06:37 PM
OK, Password works (didnt know it, concerning visibility).
Title: Re: very long boottime
Post by: benton on January 15, 2020, 07:10:31 PM
Entfernen von xserver-xorg-video-intel (2:2.99.917+git20180925-2) ...
Trigger für man-db (2.8.5-2) werden verarbeitet ...
Trigger für libc-bin (2.28-10) werden verarbeitet ...
nanni@nanni-pc:~$

do I have enter some code? Seems it waits for something.
Title: Re: very long boottime
Post by: lami07 on January 15, 2020, 07:12:34 PM
Intel driver has been removed. Reboot now
Title: Re: very long boottime
Post by: benton on January 15, 2020, 08:12:21 PM
ok, reboot done, do I have use the code from 2. post now?
I m not sure, was to remove the intel driver the solution for the problem of long time boot?
Title: Re: very long boottime
Post by: lami07 on January 15, 2020, 09:27:40 PM
Removing intel driver was one of 3 things worth trying. I guess it didn't help. So back to the idea from your second post.

Open terminal and run :
sudoedit /etc/default/grub
Modify the line there as:
GRUB_CMDLINE_LINUX_DEFAULT="video=SVIDEO-1:d quiet splash"
Save with ctrl+s and close with ctrl+x
Then:
sudo update-grub
Reboot.
Title: Re: very long boottime
Post by: benton on January 16, 2020, 12:34:55 PM
Hi lami07,
I just run the commands you gave me, after reboot, it started in approximately 10 Seconds, I guess its a good value.

Thank you very very much for your help!!!

Is there anything else to do in this case? If not, I type <SOLVED> in the title.
Title: Re: very long boottime
Post by: paxmark1 on January 16, 2020, 03:27:50 PM
To the best of my knowledge your action from the second post

" GRUB_CMDLINE_LINUX_DEFAULT="splash quiet video=SVIDO-1:d""

Sped up the boot hopefully.     It will remain in effect. 

The removal of the intel driver was another thing that could speed up things and is well documented to be helpful.     
Title: Re: very long boottime
Post by: lami07 on January 16, 2020, 04:37:17 PM
QuoteIs there anything else to do in this case? If not, I type <SOLVED> in the title.
It seems your issue with boot time has been resolved so mark this thread as solved and we can close it.
If you have other matters you want to discuss please open new thread in proper section of our forum. You can also join our irc channel or matrix room to hang out with us.
Title: Re: very long boottime <SOLVED>
Post by: benton on January 16, 2020, 06:13:40 PM
Yeah, hanging around sounds nice
till soon