Thank you for your donation!


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


Solved: HDMI no sound Onkyo tx-nr474
#1
I am new to mooDe Audio and RPI after having used mooDe and like it at my friends place several times.

PROBLEM:  No sound from HDMI via Onkyo tx-nr474 AVR.

BACKGROUND:  I am running a Raspberry Pi 4 Model B 4GB board in an Argon ONE V2 Pi 4 Case (2021).  The Argon came with an adapter board that converts the mini-HDMI and power of the RPI to two full size HDMI back facing female receptors and power to the back position. 

I have done a clean installed of mooDe 7.0.1, as outlined below ("moodeutl -s"), and I can open mooDe and launch radio, test music, and usb files, however I hear no sound. 

I have also tested the HDMI cable as well as the Onkyo tx-nr474 STRM BOX ports with other sounds out that sounds fine from the Onkyo with the HDMI cable and through this port.

Are there any suggestions how to fix this problem, please?
 

Code:
S Y S T E M   P A R A M E T E R S                                                                                              
                                                                                                                               
moOde release           = 7.0.1 2020-12-23                                                                                      
RaspiOS                 = 10.6                                                                                                  
Linux kernel            = 5.4.77-v7l+ #1371                                                                                    
Platform                = Pi-4B 4GB v1.2                                                                                        
Architecture            = armv7l (32-bit)                                                                                      
System uptime           = up 31 minutes                                                                                        
Timezone                = localtime                                                                                            
Current time            = 2021-03-08 11:20:31                                                                                  
                                                                                                                               
Host name               = moode                                                                                                
Ethernet address        = 192.168.1.8                                                                                          
Ethernet MAC            = e4:5f:01:06:1b:1c                                                                                    
WLAN address            = unassigned                                                                                            
WLAN MAC                = e4:5f:01:06:1b:1d                                                                                    
WLAN country            = US                                                                                                    
                                                                                                                               
SoC identifier          = bcm2711                                                                                              
Core count              = 4                                                                                                    
Kernel timer freq       = 100 Hz                                                                                                
SDCard freq             = 50 MHz                                                                                                
USB boot                = not available                                                                                        
Warranty                = OK                                                                                                    
                                                                                                                               
Root size               = 3.4G                                                                                                  
Root used               = 83%                                                                                                  
Root available          = 584M                                                                                                  
Root expand             = not expanded                                                                                          
Memory free             = 3570 MB                                                                                              
Memory used             = 95 MB                                                                                                
SoC temperature         = 47.2°C                                                                                                
                                                                                                                               
CPU governor            = ondemand                                                                                              
Onboard WiFi            = On                                                                                                    
Onboard BT              = On                                                                                                    
HDMI output             = On                                                                                                    
LED state               = 1,1                                                                                                  
Eth addr wait           = On                                                                                                    
USB auto-mounter        = udisks-glue                                                                                          
Max USB current         = Off                                                                                                  
USB (UAC2) fix          = Off                                                                                                  
SSH term server         = On                                                                                                    
                                                                                                                               
PHP-FPM version         = 7.3.19                                                                                                
NGINX version           = 1.14.2                                                                                                
SQLite3 version         = 3.27.2                                                                                                
Hostapd version         = 2.8-devel                                                                                            
WiringPi version        = 2.50                                                                                                  
RPi.GPIO version        = 0.7.0                                                                                                
                                                                                                                               
A U D I O   P A R A M E T E R S                                                                                                
                                                                                                                               
Audio device            = Pi HDMI 1                                                                                            
Interface               = SOC                                                                                                  
Mixer name              = HDMI                                                                                                  
Hardware mixer          = Yes                                                                                                  
Max ALSA volume         = 100                                                                                                  
Max MPD volume          = 100                                                                                                  
Volume step limit       = 10                                                                                                    
Display dB volume       = Off                                                                                                  
Audio source            = Local                                                                                                
Output device           = Local                                                                                                
Resume MPD              = No                                                                                                    
Volume knob             = 0                                                                                                    
Volume mute             = Unmuted                                                                                              
Saved MPD vol           = 0                                                                                                    
Preamp volume           = 0                                                                                                    
ALSA version            = 1.1.8-1+rpt1                                                                                          
SoX version             = 0.1.2-3                                                                                              
                                                                                                                               
Bluetooth controller    = Off                                                                                                  
Pairing agent           = Off                                                                                                  
Airplay receiver        = Off                                                                                                  
Spotify receiver        = Off                                                                                                  
Squeezelite             = Off                                                                                                  
UPnP client             = Off                                                                                                  
DLNA server             = Off                                                                                                  
GPIO button handler     = Off                                                                                                  
UPnP browser            = Off                                                                                                  
                                                                                                                               
Auto-shuffle            = Off                                                                                                  
Ashuffle mode           = Track                                                                                                
Ashuffle filter         = None                                                                                                  
Autoplay                = Off                                                                                                  
Rotary encoder          = Off                                                                                                  
Encoder params          = 100 2 3 23 24                                                                                        
USB volume knob         = Off                                                                                                  
Polarity inversion      = Off                                                                                                  
Crossfeed               = Off                                                                                                  
Crossfade               = Off                                                                                                  
Parametric EQ           = Off                                                                                                  
Graphic EQ              = Off                                                                                                  
MPD httpd               = Off                                                                                                  
                                                                                                                               
P R E F E R E N C E S                                                                                                          
                                                                                                                               
Appearance                                                                                                                      
----------------------                                                                                                          
Theme                   = Default                                                                                              
Accent color            = Emerald                                                                                              
Alpha blend             = 1.0                                                                                                  
Adaptive background     = No                                                                                                    
Background image        = No                                                                                                    
Cover backdrop          = No                                                                                                    
Cover blur              = 20px                                                                                                  
Cover scale             = 1.25                                                                                                  
Renderer backdrop       = No                                                                                                    
Font size               = Normal                                                                                                
                                                                                                                               
Playback                                                                                                                        
----------------------                                                                                                          
Show Queue thumbs       = Yes                                                                                                  
Show extra metadata     = album,genre,track,disc,date,composer,conductor,performer,encoded                                      
Search site             = Google                                                                                                
Playback history log    = No                                                                                                    
                                                                                                                               
Library                                                                                                                        
----------------------                                                                                                          
One touch action        = Play                                                                                                  
Albumview sort order    = by Artist                                                                                            
Tagview sort order      = by Artist                                                                                            
Recently added          = 1 Month                                                                                              
Show sample rate        = No                                                                                                    
Cover search pri        = Embedded cover                                                                                        
Pixel ratio             = 1                                                                                                    
Thumbnail resolution    = Auto                                                                                                  
Thumbnail columns       = 6/2 (Default)                                                                                        
                                                                                                                               
Library (Advanced)                                                                                                              
----------------------                                                                                                          
Tag view artist         = Artist                                                                                                
Album key               = Album@Artist (Default)                                                                                
Include comment tag     = No                                                                                                    
Library filter          = full_lib                                                                                              
Library filter str      =                                                                                                      
Ignore articles         = a,an,the                                                                                              
Show tagview genres     = Yes                                                                                                  
Show tagview covers     = Yes                                                                                                  
Ellipsis limited text   = No                                                                                                    
UTF8 character filter   = No                                                                                                    
                                                                                                                               
CoverView                                                                                                                      
----------------------                                                                                                          
Automatic display       = Never                                                                                                
Backdrop style          = Gradient (Linear)                                                                                    
                                                                                                                               
R A D I O   M A N A G E R   S E T T I N G S                                                                                    
                                                                                                                               
Sort tag                = Name                                                                                                  
Group method            = No grouping                                                                                          
Show moOde stations     = No action                                                                                            
Show other stations     = No action                                                                                            
                                                                                                                               
M P D   S E T T I N G S                                                                                                        
                                                                                                                               
Version                 = 0.22.3_p0x3                                                                                          
Volume mixer            = software                                                                                              
ALSA device             = hw:0                                                                                                  
SoX resampling          = disabled                                                                                              
Selective resampling    = disabled                                                                                              
SoX quality             = high                                                                                                  
SoX multithreading      = off                                                                                                  
DSD over PCM (DoP)      = no                                                                                                    
Replaygain              = off                                                                                                  
Replaygain preamp       = 0                                                                                                    
Volume normalization    = No                                                                                                    
Audio buffer            = 4 (MB)                                                                                                
Output buffer size      = 128 (MB)                                                                                              
Max playlist items      = 16384                                                                                                
Input cache             = Disabled                                                                                              
                                                                                                                               
B L U E T O O T H   S E T T I N G S                                                                                            
                                                                                                                               
Bluetooth ver           = 5.50                                                                                                  
Bluealsa ver            = v3.0.0                                                                                                
Speaker sharing         = No                                                                                                    
Resume MPD              = No                                                                                                    
PCM buffer time         = 500000 (μs)                                                                                          
                                                                                                                               
A I R P L A Y   S E T T I N G S                                                                                                
                                                                                                                               
Version                 = 3.3.6                                                                                                
Friendly name           = Moode Airplay                                                                                        
ALSA device             = hw:0                                                                                                  
Interpolation           = soxr                                                                                                  
Output bit depth        = S16                                                                                                  
Output sample rate      = 44100                                                                                                
Session interruption    = no                                                                                                    
Session timeout         = 120 (ms)                                                                                              
Latency offset          = 0.0 (secs)                                                                                            
Audio buffer            = 0.2 (secs)                                                                                            
Resume MPD              = No                                                                                                    
                                                                                                                               
S P O T I F Y   S E T T I N G S                                                                                                
                                                                                                                               
Friendly name           = Moode Spotify                                                                                        
ALSA device             = plughw:0                                                                                              
Bit rate                = 160                                                                                                  
Initial volume          = 0                                                                                                    
Volume curve            = Logarithmic                                                                                          
Volume normalization    = No                                                                                                    
Normalization pregain   = 0                                                                                                    
Autoplay                = No                                                                                                    
Resume MPD              = No                                                                                                    
                                                                                                                               
S Q U E E Z E L I T E   S E T T I N G S                                                                                        
                                                                                                                               
Version                 = 1.9.7-1270 "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 -S /var/local                                                                          
Resume MPD              = No                                                                                                    
                                                                                                                               
L O C A L   D I S P L A Y   S E T T I N G S                                                                                    
                                                                                                                               
Local UI display        = Off                                                                                                  
Mouse cursor            = On                                                                                                    
Screen blank            = 600 Secs                                                                                              
Wake display on play    = Off                                                                                                  
Brightness              = 255                                                                                                  
Pixel aspect ratio      = Default                                                                                              
Rotate screen           = 0 Deg                                                                                                
                                                                                                                               
M O O D E   S T A R T U P   L O G                                                                                              
                                                                                                                               
20210308 104921 worker: -- Start                                                                                                
20210308 104921 worker: Successfully daemonized                                                                                
20210308 104921 worker: Integrity check (passed)                                                                                
20210308 104921 worker: File check (OK)                                                                                        
20210308 104921 worker: Session loaded                                                                                          
20210308 104921 worker: Debug logging (ON)                                                                                      
20210308 104921 worker: -- Device                                                                                              
20210308 104921 worker: ALSA cards: (0:b1 | 1:Headphones | 2:empty | 3:empty                                                    
20210308 104921 worker: Configured: (0:Pi HDMI 1 | mixer:(HDMI) | alsavol:0)                                                    
20210308 104922 worker: ALSA mixer actual (HDMI)                                                                                
20210308 104922 worker: ALSA HDMI volume set to (0%)                                                                            
20210308 104922 worker: -- System                                                                                              
20210308 104923 worker: Host     (moode)                                                                                        
20210308 104923 worker: moOde    (7.0.1 2020-12-23)                                                                            
20210308 104923 worker: RaspiOS  (10.6)                                                                                        
20210308 104923 worker: Kernel   (5.4.77-v7l+ #1371)                                                                            
20210308 104923 worker: Platform (Pi-4B 4GB v1.2)                                                                              
20210308 104923 worker: ARM arch (armv7l, 32-bit kernel)                                                                        
20210308 104923 worker: MPD ver  (0.22.3_p0x3)                                                                                  
20210308 104923 worker: CPU gov  (ondemand)                                                                                    
20210308 104923 worker: USB boot not available                                                                                  
20210308 104923 worker: File system not expanded yet                                                                            
20210308 104923 worker: HDMI port on                                                                                            
20210308 104923 worker: -- Network                                                                                              
20210308 104923 worker: eth0 exists                                                                                            
20210308 104923 worker: IP addr (192.168.1.8)                                                                                  
20210308 104923 worker: Netmask (255.255.255.0)                                                                                
20210308 104923 worker: Gateway (192.168.1.1)                                                                                  
20210308 104923 worker: Pri DNS (192.168.1.1)                                                                                  
20210308 104923 worker: Domain  (None)                                                                                          
20210308 104923 worker: wlan0 exists                                                                                            
20210308 104923 worker: wifi country (US)                                                                                      
20210308 104923 worker: wlan0 SSID is blank                                                                                    
20210308 104923 worker: eth0 addr exists, AP mode not started                                                                  
20210308 104923 worker: wlan0 address not assigned                                                                              
20210308 104923 worker: -- Audio                                                                                                
20210308 104923 worker: MPD conf updated                                                                                        
20210308 104923 worker: ALSA outputs unmuted                                                                                    
20210308 104923 worker: ALSA card number (0)                                                                                    
20210308 104924 worker: Audio output (Pi HDMI 1)                                                                                
20210308 104924 worker: Audio formats (U8, S16_LE)                                                                              
20210308 104924 worker: ALSA mixer name (HDMI)                                                                                  
20210308 104924 worker: MPD volume control (software)                                                                          
20210308 104924 worker: Hdwr volume controller exists                                                                          
20210308 104924 worker: Max ALSA volume (100%)                                                                                  
20210308 104924 worker: Reset renderer active flags                                                                            
20210308 104924 worker: -- MPD                                                                                                  
20210308 104924 worker: MPD started                                                                                            
20210308 104924 openMpdSocket(): error: connection failed (1) 111, Connection refused                                          
20210308 104925 worker: MPD accepting connections                                                                              
20210308 104925 worker: Configure MPD outputs                                                                                  
20210308 104925 worker: MPD output 1 ALSA default (on)                                                                          
20210308 104925 worker: MPD output 2 ALSA crossfeed (off)                                                                      
20210308 104925 worker: MPD output 3 ALSA parametric eq (off)                                                                  
20210308 104925 worker: MPD output 4 ALSA graphic eq (off)                                                                      
20210308 104925 worker: MPD output 5 ALSA polarity inversion (off)                                                              
20210308 104925 worker: MPD output 6 ALSA bluetooth (off)                                                                      
20210308 104925 worker: MPD output 7 HTTP stream (off)                                                                          
20210308 104925 worker: MPD crossfade (off)                                                                                    
20210308 104925 worker: -- Feature availability                                                                                
20210308 104925 worker: Source select (available)                                                                              
20210308 104925 worker: Source select (source: MPD)                                                                            
20210308 104925 worker: Source select (output: Pi HDMI 1)                                                                      
20210308 104925 worker: Bluetooth (available)                                                                                  
20210308 104925 worker: Airplay renderer (available)                                                                            
20210308 104925 worker: Spotify renderer (available)                                                                            
20210308 104925 worker: Squeezelite renderer (available)                                                                        
20210308 104925 worker: UPnP renderer (available)                                                                              
20210308 104925 worker: DLNA server (available)                                                                                
20210308 104925 worker: UPnP browser (available)                                                                                
20210308 104925 worker: GPIO button handler (available)                                                                        
20210308 104925 worker: Stream recorder (n/a)                                                                                  
20210308 104925 worker: -- Music sources                                                                                        
20210308 104925 worker: USB source (Onkyo Music USB 2)                                                                          
20210308 104925 worker: NAS and UPnP sources (none configured)                                                                  
20210308 104925 worker: -- Miscellaneous                                                                                        
20210308 104925 worker: USB volume knob (Off)                                                                                  
20210308 104925 worker: USB auto-mounter (udisks-glue)                                                                          
20210308 104925 worker: LED0 (On)                                                                                              
20210308 104925 worker: LED1 (On)                                                                                              
20210308 104925 worker: Saved MPD vol level (0)                                                                                
20210308 104925 worker: Preamp volume level (0)                                                                                
20210308 104925 worker: MPD volume level (0) restored                                                                          
20210308 104925 worker: ALSA HDMI volume (100%)                                                                                
20210308 104925 worker: Auto-play (Off)                                                                                        
20210308 104925 worker: Maintenance interval (3 hrs)                                                                            
20210308 104925 worker: Screen saver activation (Never)                                                                        
20210308 104925 worker: Session permissions (OK)                                                                                
20210308 104925 worker: Watchdog started                                                                                        
20210308 104925 worker: Ready                                                                                                  
20210308 104925 waitWorker(): Start (net-config, w_active=0)                                                                    
20210308 104925 waitWorker(): End   (net-config, w_active=0)                                                                    
20210308 105130 enhanceMetadata(): error: currentsong file is NULL                                                              
20210308 110325 waitWorker(): Start (lib-config, w_active=0)                                                                    
20210308 110325 waitWorker(): End   (lib-config, w_active=0)                                                                    
20210308 110416 waitWorker(): Start (lib-config, w_active=0)                                                                    
20210308 110416 waitWorker(): End   (lib-config, w_active=0)                                                                    
20210308 110433 waitWorker(): Start (lib-config, w_active=0)                                                                    
20210308 110433 waitWorker(): End   (lib-config, w_active=0)                                                                    
20210308 111345 waitWorker(): Start (sys-config, w_active=0)                                                                    
20210308 111345 waitWorker(): End   (sys-config, w_active=0)                                                                    
20210308 111356 waitWorker(): Start (sys-config, w_active=1)                                                                    
20210308 111357 waitWorker(): Wait  (1)                                                                                        
20210308 111357 worker: Job shellinabox                                                                                        
20210308 111358 waitWorker(): Wait  (2)                                                                                        
20210308 111358 waitWorker(): End   (sys-config, w_active=0)                                                                    
pi@moode:~ $
Reply
#2
Whats the level on moOde volume knob?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
It is at 90
Reply
#4
Hi!

You have to disable screen blanking to have audio on HDMI. Or you can set option in config.txt:

hdmi_blanking=0


Option "wake display on play" didn't work for me.

Hardware volume on HDMI is initially at 0, which can be a reason for no audio. Hardware volume doesn't use CEC commands, so it is probably no different than software volume. I set it to none.

Default HDMI audio is 16-bit. You can switch to vc4-kms-3d driver, but I haven't been able to configure it correctly. Maybe there is a guide for it?
Reply
#5
Thank you for trying to help. I did chage the hdmi_blanking from 1 to 0 as suggested, but still no sound via Onkyo AVR. Here is my config.txt as well sudo nano /boot/config.txt:

disable_splash=1
disable_overscan=1
hdmi_drive=2
hdmi_blanking=0
hdmi_force_edid_audio=1
hdmi_force_hotplug=1
hdmi_group=0
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=audio=on
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
enable_uart=1
Reply
#6
I also just added "config_hdmi_boost=5" to the config.txt as I read another moOde thread and that person also had this in the config.txt. 

Unfortunately, still no sound from Onyo AVR speakers.  resulting config.txt below:

disable_splash=1                                                                                                                         
disable_overscan=1                                                                                                                       
hdmi_drive=2                                                                                                                             
hdmi_blanking=0                                                                                                                          
hdmi_force_edid_audio=1                                                                                                                  
hdmi_force_hotplug=1                                                                                                                     
hdmi_group=0                                                                                                                             
config_hdmi_boost=5                                                                                                                      
dtparam=i2c_arm=on                                                                                                                       
dtparam=i2s=on                                                                                                                           
dtparam=audio=on                                                                                                                         
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
enable_uart=1
Reply
#7
Additionally was suggested to change hdmi_group=1 and add hdmi_mode=4.

Unfortunately, still no sound from Onkyo AVR speakers.  Resulting config.txt below:

disable_splash=1                                                                                                                        
disable_overscan=1                                                                                                                      
hdmi_drive=2                                                                                                                            
hdmi_blanking=0                                                                                                                          
hdmi_force_edid_audio=1                                                                                                                  
hdmi_force_hotplug=1                                                                                                                    
hdmi_group=1                                                                                                                            
hdmi_mode=4                                                                                                                              
config_hdmi_boost=5                                                                                                                      
dtparam=i2c_arm=on                                                                                                                      
dtparam=i2s=on                                                                                                                          
dtparam=audio=on                                                                                                                        
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
enable_uart=1
Reply
#8
Does video work for you? Display should be enabled in system configuration. You can check with Onkyo or with direct connection to TV.
Reply
#9
(03-09-2021, 02:29 PM)popej Wrote: Does video work for you? Display should be enabled in system configuration. You can check with Onkyo or with direct Good connection to TV.
moOde sound working well.  Display on boot up shows on my TV which is eArc with Onkyo.

Good news, and thank you Tim and popej for responding on this post originally.

I am now problem solving the casing hardware.  I now have sound working very well through the Onkyo AVR with moOde driving it via the pi with no casing on the pi and connecting with a MicroHDMI cable to the pi board directly.  Additionally, we have tested with both and official and generic MicroHDMI cable and both work fine.

There seems to be an issue with the Argon ONE V2 Pi 4 Case (2021) (below URL).  It may the adapter card which transforms the pi outlets into a standard two sized HDMI for back plugin, or it is the standard HDMI cable I was using, which was an Audioquest Cinnamon. 

I have ordered an official standard HDMI size cable, which is not as easy to find in the local market, and have to wait two weeks for stock to arrive.  I will post regarding the results of the Argon QA results once the Official Pi standard HDMI cable arrives and is tested. 

https://www.argon40.com/argon-one-m-2-ca...-pi-4.html
Reply
#10
(03-08-2021, 11:21 PM)popej Wrote: Hi!

You have to disable screen blanking to have audio on HDMI. Or you can set option in config.txt:

hdmi_blanking=0


Option "wake display on play" didn't work for me.

Hardware volume on HDMI is initially at 0, which can be a reason for no audio. Hardware volume doesn't use CEC commands, so it is probably no different than software volume. I set it to none.

Default HDMI audio is 16-bit. You can switch to vc4-kms-3d driver, but I haven't been able to configure it correctly. Maybe there is a guide for it?

Regarding your comment on vc4-kms-3d driver and default HDMI audio being 16-bit, you are correct that my 24 bit music is playing at an output rate of 16 bits, so I will dig into that next.
Reply


Forum Jump: