Moode Forum

Full Version: Volume is abnormal in Moode 4.x
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hi,

I use a Raspberry 3B conneted with a UAC2.0 compatible DAC via usb.

In Moode 3.8.4,the volume is normal.But in 4.1 or 4.2,the volume is very low.

In all versions I can't play high resolution files such as 96KHz or DSD files while other DAC works well.

When I connect the DAC with a PC,everything is fine.

Is this a bug or incompatibility?Thank you in advance.
Post the complete output from System info and I'll have a look.

Menu, Configure, System
Menu, System info
(09-16-2018, 12:46 PM)Tim Curtis Wrote: [ -> ]Post the complete output from System info and I'll have a look.

Menu, Configure, System
Menu, System info

Hi Tim,

Thanks for your reply.

3.8.4


S Y S T E M    P A R A M E T E R S  

Date and time = 2018-09-16 22:57:52
System uptime = up 8 minutes
Timezone = Asia/Shanghai
moOde = Release 3.8.4, 2017-08-28
moodeOS = Version 3.0 multi-kernel

Host name = moode
ETH0  IP = 192.168.1.112
ETH0  MAC = b8:27:eb:47:1a:97
WLAN0 IP = unassigned
WLAN0 MAC = no adapter

HDWR REV = Pi-3B 1GB
SoC = BCM2835
CORES = 4
ARCH = armv7l
KERNEL = 4.9.41-rt30-moode1
KTIMER FREQ =  Hz
USB BOOT = not enabled
Warranty = OK

ROOT size = 30G
ROOT used = 5%
ROOT avail = 27G
FS expand = expanded
MEM free = 712 MB
MEM used = 215 MB
Temperature = 48.3°C

CPU GOV = performance
MPD SCHDPOL = fifo
WIFI/BT = Off
HDMI = off
ETH0 CHECK = On
MAX USB CUR = Off
UAC2 FIX = Off

LED0 = on
LED1 = on

 C P U    L O A D  

CPU %usr %sys %idle
all 0.00 0.00 99.87
0 0.00 0.00 100.00
1 0.00 0.00 100.00
2 0.00 0.00 100.00
3 0.00 0.00 99.50

 P R O C E S S    L O A D  

PRI RTPRIO COMMAND         %MEM PSR %CPU
19      - sysinfo.sh       0.2   3  2.0
19      - sudo             0.2   0  0.5
19      - systemd          0.3   3  0.4
90     50 irq/62-dwc_otg_  0.0   0  0.2
19      - worker.php       1.1   3  0.2
83     43 mpd              2.1   1  0.2
19      - ksoftirqd/0      0.0   0  0.1
90     50 irq/62-dwc_otg   0.0   3  0.1
90     50 irq/62-dwc_otg_  0.0   2  0.1

 C L O C K    F R E Q U E N C I E S  

    arm   = 1200 MHz       pwm   = 0 MHz
    core  = 400 MHz       emmc  = 249 MHz
    h264  = 300 MHz       pixel = 0 MHz
    isp   = 300 MHz       vec   = 0 MHz
    v3d   = 300 MHz       hdmi  = 0 MHz
    uart  = 0 MHz       dpi   = 0 MHz

SD card = 50 MHz

 S Y S T E M    V O L T A G E S  

core = 1.3312V
sdram controller = 1.2000V
sdram I/O = 1.2000V
sdram chip = 1.2250V

 U I  C U S T O M I Z A T I O N S  

Theme color = River
Playback history = No
Extra metadata = Yes
Library = Use Artist

 A U D I O    P A R A M E T E R S  

Audio device = USB audio device
Interface = USB
Hdwr volume = 100
Mixer name = PCM
Output stream = Closed
ALSA version = 1.0.28-1+rpi3
SoX version = 0.1.1-1

Volume knob = 0
Volume mute = Off
Volume limit = 100

Airplay receiver = On
Squeezelite = Off
UPnP renderer = On
DLNA server = Off

Rotary encoder = Off
Crossfeed DSP = Off
Equalizer DSP = Off
Auto-shuffle = Off
Autoplay = Off
MPD crossfade = Off

 M P D    S E T T I N G S  

Version = 0.20.10
Volume control = disabled
ALSA device = hw:1
SoX resampling = disabled
SoX quality = very high
SoX multithreading = off
Audio buffer (kb) = 4096
Buffer before play = 20%
Output buffer size (kb) = 81920
Volume normalization = no
DSD over PCM (DoP) = yes
Replay gain = off

 A I R P L A Y    S E T T I N G S  

Version = 3.0.2
Friendly name = Moode Airplay
Metadata display = Off
ALSA device = hw:1
Volume mixer = auto
Resume MPD after = No
Output bit depth = S16
Output sample rate = 44100
Session interruption = no
Session timeout (ms) = 120
Audio buffer (secs) = 0.15

 S Q U E E Z E L I T E    S E T T I N G S  

Version = 1.8.6-938 "DSD/SRC enabled"
Friendly name = Moode
ALSA device = hw:0
ALSA params = 80:4::1
Output buffers = 40000:100000
Task priority = 45
Codec list = flac,pcm,mp3,ogg,aac,alac,dsd
Other options = -W -D 500 -R E

 M O O D E    L O G  

   20180902 091738 worker: Startup
   20180902 091740 worker: Host (moode)
   20180902 091740 worker: Hdwr (Pi-3B 1GB)
   20180902 091740 worker: Arch (armv7l)
   20180902 091740 worker: Kver (4.9.41-rt30-moode1)
   20180902 091740 worker: Ktyp (Advanced-RT)
   20180902 091740 worker: Gov  (performance)
   20180902 091740 worker: OS   (moodeOS 3.0)
   20180902 091740 worker: Rel  (Moode 3.8.4 2017-08-28)
   20180902 091740 worker: Upd  (None)
   20180902 091740 worker: MPD  (0.20.10)
   20180902 091740 worker: USB boot not enabled yet
   20180902 091740 worker: File system expanded
   20180902 091740 worker: Session loaded
   20180902 091740 worker: Debug logging (off)
   20180902 091740 worker: File check...
   20180902 091740 worker: File check ok
   20180902 091740 worker: USB sources (none attached)
   20180902 091740 worker: MPD scheduler policy (fifo)
   20180902 091740 worker: MPD started
   20180902 091741 worker: wlan0 does not exist (off)
   20180902 091741 worker: UPnP renderer started
   20180902 091741 worker: HDMI port off
   20180902 091741 worker: Audio (USB audio device)
   20180902 091741 worker: ALSA outputs unmuted
   20180902 091741 worker: ALSA mixer name (PCM)
   20180902 091741 worker: MPD volume control (disabled)
   20180902 091741 worker: MPD output 1 ALSA default (on)
   20180902 091741 worker: MPD output 2 ALSA crossfeed (off)
   20180902 091741 worker: MPD output 3 ALSA equalizer (off)
   20180902 091742 worker: Hdwr volume controller exists
   20180902 091742 worker: wlan0 address not assigned
   20180902 091742 worker: eth0 exists
   20180902 091742 worker: eth0 (192.168.1.112)
   20180902 091742 worker: Airplay receiver started
   20180902 091742 worker: Airplay volume (auto)
   20180902 091742 worker: NAS sources (mountall initiated)
   20180902 091742 worker: MPD crossfade (off)
   20180902 091743 worker: Volume level (0) restored
   20180902 091743 worker: Watchdog started
   20180902 091743 worker: End startup
   20180902 091743 worker: Ready


4.2

S Y S T E M    P A R A M E T E R S  

Date and time = 2018-09-16 23:03:33
System uptime = up
Timezone = Asia/Shanghai
moOde = Release 4.2 2018-07-11

Host name = moode
ETH0  IP = 192.168.1.112
ETH0  MAC = b8:27:eb:47:1a:97
WLAN0 IP = unassigned
WLAN0 MAC = no adapter
WiFi country = US

HDWR REV = Pi-3B 1GB v1.2
SoC = BCM2835
CORES = 4
ARCH = armv7l
RASPBIAN = 9.4
KERNEL = 4.14.54-v7+
KTIMER FREQ = 100 Hz
USB BOOT = not enabled
Warranty = OK

ROOT size = 2.9G
ROOT used = 65%
ROOT avail = 975M
FS expand = not expanded
MEM free = 641 MB
MEM used = 65 MB
Temperature = 51.0°C

CPU GOV = performance
MPD SCHDPOL = TS
P3-WIFI = Off
P3-BT = Off
HDMI = Off
ETH0 CHECK = On
MAX USB CUR = Off
UAC2 FIX = On
SSH server = Off

LED0 = on
LED1 = on

 C O R E    S E R V E R S  

PHP-FPM = 7.0.30
NGINX = 1.10.3
SQLite = 3.16.2

 C P U    L O A D  

CPU %usr %sys %idle
all 0.00 0.13 99.87
0 0.00 0.00 100.00
1 0.00 0.00 100.00
2 0.00 0.50 99.50
3 0.00 0.00 100.00

 P R O C E S S    L O A D  

PRI RTPRIO COMMAND         %MEM PSR %CPU
19      - systemd          0.6   0  4.0
29      - mpd              3.6   3  3.3
19      - kworker/1:1      0.0   1  2.0
19      - systemd-journal  0.4   1  1.1
19      - sysinfo.sh       0.2   3  1.0
19      - systemd-udevd    0.3   1  0.9
19      - mmcqd/0          0.0   1  0.5
19      - kworker/1:2      0.0   1  0.4
19      - worker.php       1.1   1  0.4

 C L O C K    F R E Q U E N C I E S  

    arm   = 1200 MHz       pwm   = 0 MHz
    core  = 400 MHz       emmc  = 200 MHz
    h264  = 300 MHz       pixel = 0 MHz
    isp   = 300 MHz       vec   = 0 MHz
    v3d   = 300 MHz       hdmi  = 0 MHz
    uart  = 47 MHz       dpi   = 0 MHz

SD card = 50 MHz

 S Y S T E M    V O L T A G E S  

core = 1.3375V
sdram controller = 1.2000V
sdram I/O = 1.2000V
sdram chip = 1.2250V

 U I  C U S T O M I Z A T I O N S  

Theme = Standard
Accent color = River
Alpha blend = 1.0
Adaptive background = No
Background image = No
Playback history = No
Extra metadata = Yes
Library = Artist

 A U D I O    P A R A M E T E R S  

Audio device = USB audio device
Interface = USB
Hdwr volume = Controller detected
Mixer name = PCM
Output stream = Closed
ALSA version = 1.1.3-5+rpi3
SoX version = 0.1.2-2

Volume knob = 0
Volume mute = Unmuted

Bluetooth controller = Off
Airplay receiver = On
Squeezelite = Off
UPnP client = On
DLNA server = Off

Rotary encoder = Off
Encoder params = 100 2 3 4 5
Crossfeed = Off
Parametric EQ = Off
Graphic EQ = Off
Auto-shuffle = Off
Autoplay = Off
MPD crossfade = Off

 M P D    S E T T I N G S  

Version = 0.20.20
Volume control = disabled
ALSA device = hw:1
SoX resampling = disabled
SoX quality = very high
SoX multithreading = off
Audio buffer (kb) = 4096
Buffer before play = 10%
Output buffer size (kb) = 81920
Volume normalization = no
DSD over PCM (DoP) = yes
Replay gain = off

 B L U E T O O T H    S E T T I N G S  

Bluetooth ver = 5.49
Bluealsa ver = Turn BT on for version info
Speaker sharing = No
Resume MPD = No

 A I R P L A Y    S E T T I N G S  

Version = 3.2.1
Friendly name = Moode Airplay
ALSA device = hw:1
Volume mixer = auto
Resume MPD = No
Output bit depth = S16
Output sample rate = 44100
Session interruption = no
Session timeout (ms) = 120
Audio buffer (secs) = 0.0

/var/www/command/sysinfo.sh: line 181: squeezelite: command not found
/var/www/command/sysinfo.sh: line 182: squeezelite: command not found
 S Q U E E Z E L I T E    S E T T I N G S  

Version =  "DSD/SRC disabled"
Friendly name = Moode
ALSA device = hw:0
ALSA params = 80:4::1
Output buffers = 40000:100000
Task priority = 45
Codec list = flac,pcm,mp3,ogg,aac,alac,dsd
Resume MPD = No
Other options = -W -D 500 -R E -S /var/loca

 M O O D E    L O G  

   20180902 093426 worker: - Start
   20180902 093426 worker: Successfully daemonized
   20180902 093426 worker: Session loaded
   20180902 093426 worker: Debug logging (off)
   20180902 093426 worker: - Platform
   20180902 093428 worker: Host (moode)
   20180902 093428 worker: Hdwr (Pi-3B 1GB v1.2)
   20180902 093428 worker: Arch (armv7l)
   20180902 093428 worker: Rasp (9.4)
   20180902 093428 worker: Kver (4.14.54-v7+)
   20180902 093428 worker: Ktyp (Standard)
   20180902 093428 worker: Gov  (performance)
   20180902 093428 worker: Rel  (Moode 4.2 2018-07-11)
   20180902 093428 worker: Upd  (2018-07-18)
   20180902 093428 worker: MPD  (0.20.20)
   20180902 093428 worker: USB boot not enabled yet
   20180902 093428 worker: File system not expanded yet
   20180902 093428 worker: HDMI port off
   20180902 093428 worker: File check ok
   20180902 093428 worker: - Network
   20180902 093428 worker: eth0 exists
   20180902 093428 worker: eth0 (192.168.1.112)
   20180902 093428 worker: wlan0 does not exist
   20180902 093428 worker: - Audio
   20180902 093428 worker: ALSA outputs unmuted
   20180902 093428 worker: ALSA card number (1)
   20180902 093428 worker: Audio output (USB audio device)
   20180902 093429 worker: ALSA mixer name (PCM)
   20180902 093429 worker: MPD volume control (disabled)
   20180902 093429 worker: Hdwr volume controller exists
   20180902 093429 worker: - Services
   20180902 093429 worker: Reset renderer active
   20180902 093431 worker: MPD started
   20180902 093431 worker: MPD scheduler policy (time-share)
   20180902 093431 worker: Configure MPD outputs
   20180902 093431 worker: MPD output 1 ALSA default (on)
   20180902 093431 worker: MPD output 2 ALSA crossfeed (off)
   20180902 093431 worker: MPD output 3 ALSA parametric eq (off)
   20180902 093431 worker: MPD output 4 ALSA graphic eq (off)
   20180902 093431 worker: MPD output 5 ALSA bluetooth (off)
   20180902 093431 worker: MPD crossfade (off)
   20180902 093431 worker: Airplay receiver started
   20180902 093431 worker: Airplay volume mgt (auto)
   20180902 093431 worker: UPnP renderer started
   20180902 093431 worker: - Music sources
   20180902 093431 worker: USB sources (none attached)
   20180902 093431 worker: NAS sources (mountall initiated)
   20180902 093431 worker: - Miscellaneous
   20180902 093431 worker: Volume level (0) restored
   20180902 093431 worker: Maintenance interval (21600)
   20180902 093431 worker: Screen saver timeout (Never)
   20180902 093431 worker: Watchdog started
   20180902 093431 worker: Ready
This is not normal

/var/www/command/sysinfo.sh: line 181: squeezelite: command not found
/var/www/command/sysinfo.sh: line 182: squeezelite: command not found

The cmd below should return the path of the squeezelite binary

pi@rp3:~ $ which squeezelite
/usr/local/bin/squeezelite
(09-16-2018, 04:10 PM)Tim Curtis Wrote: [ -> ]This is not normal

/var/www/command/sysinfo.sh: line 181: squeezelite: command not found
/var/www/command/sysinfo.sh: line 182: squeezelite: command not found

The cmd below should return the path of the squeezelite binary

pi@rp3:~ $ which squeezelite
/usr/local/bin/squeezelite

Hi Tim,

I will try reinstalling squeezelite.But there seem to be some difference in two versions that Hdwr volume = 100 in 3.8.4 while Hdwr volume = Controller detected in 4.2.
Thank you!
moOde 4.2 includes Squeezelite.

Squeezelite v1.8.7-1052, Copyright 2012-2015 Adrian Smith, 2015-2017 Ralph Irving. See -t for license terms

Why the need to reinstall?
(09-17-2018, 12:55 AM)Tim Curtis Wrote: [ -> ]moOde 4.2 includes Squeezelite.

Squeezelite v1.8.7-1052, Copyright 2012-2015 Adrian Smith, 2015-2017 Ralph Irving. See -t for license terms

Why the need to reinstall?

Maybe it's my misunderstanding.Just run the cmd?
What the output from the cmd below?

which squeezelite
(09-17-2018, 01:06 AM)Tim Curtis Wrote: [ -> ]What the output from the cmd below?

which squeezelite

I will feedback to you when I go home tonight.
(09-16-2018, 04:10 PM)Tim Curtis Wrote: [ -> ]This is not normal

/var/www/command/sysinfo.sh: line 181: squeezelite: command not found
/var/www/command/sysinfo.sh: line 182: squeezelite: command not found

The cmd below should return the path of the squeezelite binary

pi@rp3:~ $ which squeezelite
/usr/local/bin/squeezelite

Hi Tim,

I guess the reason of the error infomation is I skipped the squeezelite module when compiling the 4.2 img.

In order to save time,I restore a 4.1 img including squeezelite and the system info is below.The volume issue remains unsolved.


 S Y S T E M    P A R A M E T E R S  

Date and time = 2018-09-17 19:48:17
System uptime = up 1 minute
Timezone = Asia/Shanghai
moOde = Release 4.1 2018-04-02

Host name = moode
ETH0  IP = 192.168.1.112
ETH0  MAC = b8:27:eb:47:1a:97
WLAN0 IP = unassigned
WLAN0 MAC = no adapter
WiFi country = US

HDWR REV = Pi-3B 1GB v1.2
SoC = BCM2835
CORES = 4
ARCH = armv7l
RASPBIAN = 9.4
KERNEL = 4.14.30-v7+
KTIMER FREQ = 100 Hz
USB BOOT = not enabled
Warranty = OK

ROOT size = 2.9G
ROOT used = 63%
ROOT avail = 1.1G
FS expand = not expanded
MEM free = 629 MB
MEM used = 59 MB
Temperature = 53.7°C

CPU GOV = performance
MPD SCHDPOL = TS
P3-WIFI = Off
P3-BT = Off
HDMI = Off
ETH0 CHECK = On
MAX USB CUR = Off
UAC2 FIX = Off
SSH server = Off

LED0 = on
LED1 = on

 C O R E    S E R V E R S  

PHP-FPM = 7.0.27
NGINX = 1.10.3
SQLite = 3.16.2
Bluetooth = 5.49

 C P U    L O A D  

CPU %usr %sys %idle
all 0.13 0.00 99.87
0 0.00 0.00 100.00
1 0.50 0.00 99.50
2 0.00 0.00 100.00
3 0.00 0.00 100.00

 P R O C E S S    L O A D  

PRI RTPRIO COMMAND         %MEM PSR %CPU
19      - systemd          0.6   2  3.3
29      - mpd              2.7   1  2.5
19      - sysinfo.sh       0.2   0  2.0
19      - kworker/0:1      0.0   0  1.6
19      - systemd-journal  0.4   3  0.9
19      - systemd-udevd    0.3   3  0.6
19      - sudo             0.3   3  0.5
19      - kworker/0:2      0.0   0  0.4
19      - mmcqd/0          0.0   0  0.4

 C L O C K    F R E Q U E N C I E S  

    arm   = 1200 MHz       pwm   = 0 MHz
    core  = 400 MHz       emmc  = 200 MHz
    h264  = 300 MHz       pixel = 0 MHz
    isp   = 300 MHz       vec   = 0 MHz
    v3d   = 300 MHz       hdmi  = 0 MHz
    uart  = 48 MHz       dpi   = 0 MHz

SD card = 50 MHz

 S Y S T E M    V O L T A G E S  

core = 1.3375V
sdram controller = 1.2000V
sdram I/O = 1.2000V
sdram chip = 1.2250V

 U I  C U S T O M I Z A T I O N S  

Theme = Standard
Accent color = River
Alpha blend = 1.0
Adaptive background = No
Background image = No
Playback history = No
Extra metadata = Yes
Library = Use Artist

 A U D I O    P A R A M E T E R S  

Audio device = USB audio device
Interface = USB
Hdwr volume = 100
Mixer name = PCM
Output stream = Closed
ALSA version = 1.1.3-5+rpi3
SoX version = 0.1.2-2

Volume knob = 0
Volume mute = Unmuted

Bluetooth controller = Off
Airplay receiver = On
Squeezelite = Off
UPnP renderer = On
DLNA server = Off

Rotary encoder = Off
Encoder params = 100 2 3 4 5
Crossfeed = Off
Parametric EQ = Off
Graphic EQ = Off
Auto-shuffle = Off
Autoplay = Off
MPD crossfade = Off

 M P D    S E T T I N G S  

Version = 0.20.18
Volume control = disabled
ALSA device = hw:1
SoX resampling = disabled
SoX quality = very high
SoX multithreading = off
Audio buffer (kb) = 4096
Buffer before play = 10%
Output buffer size (kb) = 81920
Volume normalization = no
DSD over PCM (DoP) = no
Replay gain = off

 A I R P L A Y    S E T T I N G S  

Version = 3.2RC2
Friendly name = Moode Airplay
ALSA device = hw:1
Volume mixer = auto
Resume MPD after = No
Output bit depth = S16
Output sample rate = 44100
Session interruption = no
Session timeout (ms) = 120
Audio buffer (secs) = 0.0

 S Q U E E Z E L I T E    S E T T I N G S  

Version = 1.8.7-1052 "DSD/SRC enabled"
Friendly name = Moode
ALSA device = hw:0
ALSA params = 80:4::1
Output buffers = 40000:100000
Task priority = 45
Codec list = flac,pcm,mp3,ogg,aac,alac,dsd
Other options = -W -D 500 -R E

 M O O D E    L O G  

   20180917 194726 worker: - Start
   20180917 194726 worker: Successfully daemonized
   20180917 194726 worker: - Init
   20180917 194726 worker: Session loaded
   20180917 194726 worker: Debug logging (off)
   20180917 194728 worker: Host (moode)
   20180917 194728 worker: Hdwr (Pi-3B 1GB v1.2)
   20180917 194728 worker: Arch (armv7l)
   20180917 194728 worker: Rasp (9.4)
   20180917 194728 worker: Kver (4.14.30-v7+)
   20180917 194728 worker: Ktyp (Standard)
   20180917 194728 worker: Gov  (performance)
   20180917 194728 worker: Rel  (Moode 4.1 2018-04-02)
   20180917 194728 worker: Upd  (None)
   20180917 194728 worker: MPD  (0.20.18)
   20180917 194728 worker: USB boot not enabled yet
   20180917 194728 worker: File system not expanded yet
   20180917 194728 worker: HDMI port off
   20180917 194728 worker: File check ok
   20180917 194728 worker: - Network
   20180917 194728 worker: eth0 exists
   20180917 194728 worker: eth0 (192.168.1.112)
   20180917 194728 worker: wlan0 does not exist
   20180917 194728 worker: - Audio
   20180917 194728 worker: ALSA outputs unmuted
   20180917 194728 worker: Audio output (USB audio device)
   20180917 194728 worker: ALSA mixer name (PCM)
   20180917 194728 worker: MPD volume control (disabled)
   20180917 194728 worker: Hdwr volume controller exists
   20180917 194728 worker: - Services
   20180917 194730 worker: MPD started
   20180917 194730 worker: MPD scheduler policy (time-share)
   20180917 194730 worker: Configure MPD outputs
   20180917 194730 worker: MPD output 1 ALSA default (on)
   20180917 194730 worker: MPD output 2 ALSA crossfeed (off)
   20180917 194730 worker: MPD output 3 ALSA parametric eq (off)
   20180917 194730 worker: MPD output 4 ALSA graphic eq (off)
   20180917 194730 worker: MPD output 5 ALSA bluetooth (off)
   20180917 194730 worker: MPD crossfade (off)
   20180917 194730 worker: Airplay receiver started
   20180917 194730 worker: Airplay volume mgt (auto)
   20180917 194731 worker: UPnP renderer started
   20180917 194731 worker: - Last
   20180917 194731 worker: USB sources (none attached)
   20180917 194731 worker: NAS sources (mountall initiated)
   20180917 194731 worker: Volume level (0) restored
   20180917 194731 worker: Maintenance interval (21600)
   20180917 194731 worker: Watchdog started
   20180917 194731 worker: Ready
Pages: 1 2 3