Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


New user - boot time question
#11
What is output from Moode log?

moodeutl -l
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#12
Here it is. 

Code:
Connecting to 172.24.1.1 port 22, please wait...
login as:
pi@172.24.1.1's password:
Kernel 4.19.97-v7l+ #1293, Raspbian 10.2, moOde 6.4.2 2020-02-12
                         ____     __  
             __ _  ___  / __ \___/ /__
            /  ' \/ _ \/ /_/ / _  / -_)
           /_/_/_/\___/\____/\_,_/\__/
                                         
                moOde audio player
               (C) 2014 Tim Curtis

The programs included with Moode are free software; the
exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright.
Moode comes with absolutely no warranties expressed or
implied, or any other guarantees.

Last login: Thu Mar 12 20:57:11 2020 from 172.24.1.140

pi@moode:~ $ moodeutl -l
20200312 195921 worker: -- Start
20200312 195922 worker: Successfully daemonized
20200312 195922 worker: Integrity check (passed)
20200312 195922 worker: Session loaded
20200312 195922 worker: Debug logging (off)
20200312 195922 worker: Device raw: (0:ALSA|1:empty|i2s:none)
20200312 195922 worker: Device cfg: (On-board audio device|0|0|PCM|0)
20200312 195922 worker: ALSA volume set to (0%)
20200312 195922 worker: -- System
20200312 195923 worker: Host name     (moode)
20200312 195923 worker: moOde release (6.4.2 2020-02-12)
20200312 195923 worker: Raspbian OS   (10.2)
20200312 195923 worker: Linux kernel  (4.19.97-v7l+ #1293)
20200312 195923 worker: Platform      (Pi-4B 4GB v1.1)
20200312 195923 worker: Architecture  (armv7l)
20200312 195923 worker: MPD version   (0.21.16)
20200312 195923 worker: CPU governor  (ondemand)
20200312 195923 worker: USB boot not available
20200312 195923 worker: File system not expanded yet
20200312 195923 worker: HDMI port off
20200312 195924 worker: File check (OK)
20200312 195924 worker: -- Network
20200312 195924 worker: eth0 exists
20200312 195924 worker: eth0 address not assigned
20200312 195924 worker: wlan0 exists
20200312 195924 worker: wifi country (JP)
20200312 195924 worker: wlan0 SSID is blank
20200312 195924 worker: wlan0 AP mode started
20200312 195956 worker: wlan0 wait 0 for IP address
20200312 200000 worker: wlan0 wait 1 for IP address
20200312 200003 worker: IP addr (172.24.1.1)
20200312 200003 worker: Netmask (255.255.255.0)
20200312 200003 worker: Gateway (0.0.0.0)
20200312 200003 worker: Pri DNS (127.0.0.1)
20200312 200003 worker: Domain  (None)
20200312 200003 worker: -- Audio
20200312 200003 worker: ALSA outputs unmuted
20200312 200003 worker: ALSA card number (0)
20200312 200003 worker: Audio output (On-board audio device)
20200312 200003 worker: Audio formats (U8, S16_LE)
20200312 200003 worker: ALSA mixer name (PCM)
20200312 200003 worker: MPD volume control (software)
20200312 200003 worker: Hdwr volume controller exists
20200312 200003 worker: Max ALSA volume (100%)
20200312 200003 worker: -- Services
20200312 200003 worker: Reset renderer active state
20200312 200004 worker: MPD conf updated
20200312 200004 worker: MPD started
20200312 200004 worker: MPD accepting connections
20200312 200004 worker: Configure MPD outputs
20200312 200005 worker: MPD output 1 ALSA default (on)
20200312 200005 worker: MPD output 2 ALSA crossfeed (off)
20200312 200005 worker: MPD output 3 ALSA parametric eq (off)
20200312 200005 worker: MPD output 4 ALSA graphic eq (off)
20200312 200005 worker: MPD output 5 ALSA polarity inversion (off)
20200312 200005 worker: MPD output 6 ALSA bluetooth (off)
20200312 200005 worker: MPD output 7 HTTP stream (off)
20200312 200005 worker: MPD crossfade (off)
20200312 200005 worker: Audio source (Local)
20200312 200005 worker: Output device (Local)
20200312 200005 worker: Shellinabox SSH started
20200312 200005 worker: USB auto-mounter (udisks-glue)
20200312 200005 worker: -- Music sources
20200312 200005 worker: USB sources (none attached)
20200312 200005 worker: NAS and UPnP sources (none configured)
20200312 200005 worker: -- Miscellaneous
20200312 200005 worker: Saved MPD vol level (0)
20200312 200005 worker: Preamp volume level (0)
20200312 200005 worker: MPD volume level (0) restored
20200312 200005 worker: ALSA volume level (100%)
20200312 200005 worker: Auto-play (Off)
20200312 200005 worker: Auto-shuffle service (Off)
20200312 200005 worker: Maintenance interval (3 hrs)
20200312 200005 worker: Screen saver activation (Never)
20200312 200005 worker: Session permissions (OK)
20200312 200005 worker: Watchdog started
20200312 200005 worker: Ready
pi@moode:~ $
Reply
#13
Looks like AP mode startup takes a while. I think that the way it's always been. 

Code:
20200312 195924 worker: wlan0 AP mode started
20200312 195956 worker: wlan0 wait 0 for IP address
20200312 200000 worker: wlan0 wait 1 for IP address
20200312 200003 worker: IP addr (172.24.1.1)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#14
I should mention couple other things that can slow down boot and affect performance.

- Debug logging ON in System config
- Using a USB drive as boot media instead of uSD card.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#15
Awesome! Thank you for the confirmation. I have the debugging off and am booting from the SD. I have as many things turned off as I can. I will just suck it up and deal with the boot time. I really like what I see so far. The whole reason why I am trying to troubleshoot the boot time is because I will be using it as a player for my car plugged directly to my DSP via USB. 1 1/2 isn't terrible.   

Fantastic software. Thank you for the support.

Sam
Reply
#16
(03-12-2020, 02:33 PM)screwfunk Wrote: Awesome! Thank you for the confirmation. I have the debugging off and am booting from the SD. I have as many things turned off as I can. I will just suck it up and deal with the boot time. I really like what I see so far. The whole reason why I am trying to troubleshoot the boot time is because I will be using it as a player for my car plugged directly to my DSP via USB. 1 1/2 isn't terrible.   

Fantastic software. Thank you for the support.

Sam

Hell Screwfunk,
even it is a little bit late to give you some more Informations about your Problem, i will try it.

I am Using moode for Years now in my car, and it works perfect.

But i was running in the same issue like you in the past years.
With some new Version of Raspian (i think, moode itself is not the Problem), the boot time starts to go up.

But one Point you have to look at, in the car you have possible only running wlan.
In this case the boot time is going up to 90 sec. 

In all my tests, i fugured out, that with lan connection, the boot time is somwhere between 30-40 sec.

Even when you disable the wait for lan in moode, the boot time is way to long.



What i did was realy simple, i used a small wlan router from TP-Link, connectet to the lan Port of the Pi.
Disabled Wlan on the Pi and now i have Wlan and acceptable boot time.

I hope, this will help you with your boot time.

Best regeards, Mirko
Reply
#17
(06-15-2020, 05:16 AM)howlow Wrote:
(03-12-2020, 02:33 PM)screwfunk Wrote: Awesome! Thank you for the confirmation. I have the debugging off and am booting from the SD. I have as many things turned off as I can. I will just suck it up and deal with the boot time. I really like what I see so far. The whole reason why I am trying to troubleshoot the boot time is because I will be using it as a player for my car plugged directly to my DSP via USB. 1 1/2 isn't terrible.   

Fantastic software. Thank you for the support.

Sam

Hell Screwfunk,
even it is a little bit late to give you some more Informations about your Problem, i will try it.

I am Using moode for Years now in my car, and it works perfect.

But i was running in the same issue like you in the past years.
With some new Version of Raspian (i think, moode itself is not the Problem), the boot time starts to go up.

But one Point you have to look at, in the car you have possible only running wlan.
In this case the boot time is going up to 90 sec. 

In all my tests, i fugured out, that with lan connection, the boot time is somwhere between 30-40 sec.

Even when you disable the wait for lan in moode, the boot time is way to long.



What i did was realy simple, i used a small wlan router from TP-Link, connectet to the lan Port of the Pi.
Disabled Wlan on the Pi and now i have Wlan and acceptable boot time.

I hope, this will help you with your boot time.

Best regeards, Mirko

Sorry for the super late reply. That is great. I know the Wlan certainly takes time to boot. Can I ask what wireless router you are using and how you are powering it. 

Sam
Reply
#18
(01-10-2021, 08:55 AM)screwfunk Wrote: Sam

Hi,

i am using a TP-Link TL-WR802N Access Point.

To Power ii in the Car, i have bouht a cheap 12V to 5 Volt Converter from Ebay.
This works fine now for the last two years.

Best regard, Mirko
Reply
#19
Thank you 
,
I just ordered a TL-WR902AC. It has 4 modes. I'm thinking router mode will work fine. Can you tell me how you have it set up to the pi. Is there any strange config I will have to do to get this to work. 
Sam
Reply


Forum Jump: