HDMI – display but no sound

Max2Play Home Forums Max2Play as Squeezebox (Player / Server) HDMI – display but no sound

Viewing 5 posts - 1 through 5 (of 5 total)
  • 15. November 2020 at 15:01 #50221

    Hello there,

    I’ve been struggling with getting sound through HDMI. This last worked in Max2Play 2.51. I’ve since tried 2.52, 2.53, and now beta, without success; and I am hoping I’m just getting a configuration detail wrong.

    It’s an RPI4 2GB without HAT, connected to a Marantz receiver via HDMI. Playing to the same receiver via Bluetooth worked, but has a maddening delay to another room of maybe half a second: Hence the desire to get this working with HDMI again.

    Jivelite is installed and shows on the attached TV.

    I’ve tried „force HDMI“, I’ve tried setting HDMI Mode to „HDMI“ – which backfires, it then shows as DVI/VGA instead, so back to „not set“ it went – and HDMI Force Hotplug is on.

    I’ve tried it with and without -C 10. I’ve tried ::32:0 and ::16:0.

    I’ve connected another device (an XBox) to the same HDMI port and I am getting sound. I’ve connected the Pi to the port the Xbox is usually on, I don’t get sound. This issue is with the Rpi/Max2Play, not with the receiver settings.

    Here’s debug output. What am I missing here?

    #### SQUEEZELITE VERSION ####
    Squeezelite Max2Play v1.0.3 based on v1.8.7-999, Copyright 2012-2015 Adrian Smith, 2015-2017 Ralph Irving.
     
    
    #### SQUEEZELITE BUILDOPTIONS ####
    Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR GPIO DSD CONTROLSBS ALSASYNC BLUETOOTHSYNC
     
    
    #### AUDIOPLAYER CONFIG ####
    ### Configuration of Audioplayers
    SQUEEZELITE_PARAMETER=-o sysdefault:CARD=ALSA -a ::16:0 -v -C 10
    SQUEEZESLAVE_PARAMETER=-n plugequal
    SHAIRPORT_PARAMETER=-d sysdefault:CARD=ALSA
    USE_USB_DAC=0
    USE_EQUALIZER=0
    SYSTEM_USER=pi
    GMEDIARENDERER_ALSA_DEVICE=plug:jack
    BLUEALSA_PLAY_AUDIOCARD=hw:0,0
     
    
    #### SQUEEZELITE -l ####
    Output devices:
      null                           - Discard all samples (playback) or generate zero samples (capture)
      jack                           - JACK Audio Connection Kit
      pulse                          - PulseAudio Sound Server
      equal                         
      plugequal                      - Equalizer for plughw:0,0
      bluetooth                      - Your Bluetooth device 00:05:CD:E5:9C:19
      default:CARD=ALSA              - bcm2835 ALSA, bcm2835 ALSA - Default Audio Device
      sysdefault:CARD=ALSA           - bcm2835 ALSA, bcm2835 ALSA - Default Audio Device
      dmix:CARD=ALSA,DEV=0           - bcm2835 ALSA, bcm2835 ALSA - Direct sample mixing device
      dmix:CARD=ALSA,DEV=1           - bcm2835 ALSA, bcm2835 IEC958/HDMI - Direct sample mixing device
      dsnoop:CARD=ALSA,DEV=0         - bcm2835 ALSA, bcm2835 ALSA - Direct sample snooping device
      dsnoop:CARD=ALSA,DEV=1         - bcm2835 ALSA, bcm2835 IEC958/HDMI - Direct sample snooping device
      hw:CARD=ALSA,DEV=0             - bcm2835 ALSA, bcm2835 ALSA - Direct hardware device without any conversions
      hw:CARD=ALSA,DEV=1             - bcm2835 ALSA, bcm2835 IEC958/HDMI - Direct hardware device without any conversions
      plughw:CARD=ALSA,DEV=0         - bcm2835 ALSA, bcm2835 ALSA - Hardware device with all software conversions
      plughw:CARD=ALSA,DEV=1         - bcm2835 ALSA, bcm2835 IEC958/HDMI - Hardware device with all software conversions
      usbstream:CARD=ALSA            - bcm2835 ALSA - USB Stream Output
    
     
    
    #### SHAIRPORT (SYNC) VERSION ####
    3.3.1-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/usr/local/etc
     
    
    #### OUTPUT SOUND DETAILS CARD 0 ####
    access: RW_INTERLEAVED
    format: S16_LE
    subformat: STD
    channels: 2
    rate: 44100 (44100/1)
    period_size: 444
    buffer_size: 1776
     
    
    #### OUTPUT SOUND DETAILS CARD 1 ####
    17. November 2020 at 16:24 #50258

    Hi yorickdowne,

    Make sure that your Squeezelite audio output is set to „sysdefault“ and Squeezelite is running. Further down in the audio player tab you will also find the setting whether to use the headphone output or HDMI as the preferred audio output. „Standard“ should be set there. In this case, when you start playback through the Squeezebox Server, you should be able to hear sound through both the headphone jack and HDMI.

    13. Dezember 2020 at 16:25 #50483

    Yup sysdefault, and I had tried both default and force HDMI for Audio Output.

    If you’re out of ideas, I’m triply so. This last worked on 2.51. I can try a fresh install on 2.53. Fresh install on 2.51 might be instructive as well, but I did not save that image. A quick jaunt through the max2play site didn’t find it. Are you aware of a download location for m2p_buster_rpi-v251 ?

    13. Dezember 2020 at 17:39 #50484

    SOLVED.

    TL;DR: RaspPi 4B has two micro-HDMI, only the one closest to power plug does sound by default (HDMI 0). Both can show display, but only one has sound. I had to move my cable and reboot.

    Things I tried that were likely unnecessary:

    
    sudo apt update && sudo apt dist-upgrade
    sudo apt remove kodi kodi-bin kodi-data kodi-repository-kodi
    sudo apt install kodi
    sudo apt autoremove
    sudo rpi-eeprom-update
    sudo reboot
    sudo rpi-eeprom-update -a
    sudo reboot
    sudo rpi-eeprom-update
    

    Currently have player set to sysdefault - bcm2834 HDMI 1 and Audio Output at default – I had set it to „force HDMI“ but it seems to have reverted on boot. sysdefault counts from 1, its „HDMI 1“ is HDMI 0 and its „HDMI 2“ is HDMI 1.

    Debug for good measure, in case others run into this. Choosing the right port should be sufficient though. D’oh.

    
    #### SQUEEZELITE VERSION ####
    Squeezelite Max2Play v1.0.3 based on v1.8.7-999, Copyright 2012-2015 Adrian Smith, 2015-2017 Ralph Irving.
     
    
    #### SQUEEZELITE BUILDOPTIONS ####
    Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR GPIO DSD CONTROLSBS ALSASYNC BLUETOOTHSYNC
     
    
    #### AUDIOPLAYER CONFIG ####
    ### Configuration of Audioplayers
    SQUEEZELITE_PARAMETER=-o sysdefault:CARD=b1 -a 80:4:: -v
    SQUEEZESLAVE_PARAMETER=-n plugequal
    SHAIRPORT_PARAMETER=-d plug:jack
    USE_USB_DAC=0
    USE_EQUALIZER=0
    SYSTEM_USER=pi
    GMEDIARENDERER_ALSA_DEVICE=plug:jack
     
    
    #### SQUEEZELITE -l ####
    Output devices:
      null                           - Discard all samples (playback) or generate zero samples (capture)
      jack                           - JACK Audio Connection Kit
      pulse                          - PulseAudio Sound Server
      equal                         
      plugequal                      - Equalizer for plughw:0,0
      bluetooth                      - Your Bluetooth device 00:05:CD:E5:9C:19
      default:CARD=b1                - bcm2835 HDMI 1, bcm2835 HDMI 1 - Default Audio Device
      sysdefault:CARD=b1             - bcm2835 HDMI 1, bcm2835 HDMI 1 - Default Audio Device
      dmix:CARD=b1,DEV=0             - bcm2835 HDMI 1, bcm2835 HDMI 1 - Direct sample mixing device
      dsnoop:CARD=b1,DEV=0           - bcm2835 HDMI 1, bcm2835 HDMI 1 - Direct sample snooping device
      hw:CARD=b1,DEV=0               - bcm2835 HDMI 1, bcm2835 HDMI 1 - Direct hardware device without any conversions
      plughw:CARD=b1,DEV=0           - bcm2835 HDMI 1, bcm2835 HDMI 1 - Hardware device with all software conversions
      usbstream:CARD=b1              - bcm2835 HDMI 1 - USB Stream Output
      default:CARD=Headphones        - bcm2835 Headphones, bcm2835 Headphones - Default Audio Device
      sysdefault:CARD=Headphones     - bcm2835 Headphones, bcm2835 Headphones - Default Audio Device
      dmix:CARD=Headphones,DEV=0     - bcm2835 Headphones, bcm2835 Headphones - Direct sample mixing device
      dsnoop:CARD=Headphones,DEV=0   - bcm2835 Headphones, bcm2835 Headphones - Direct sample snooping device
      hw:CARD=Headphones,DEV=0       - bcm2835 Headphones, bcm2835 Headphones - Direct hardware device without any conversions
      plughw:CARD=Headphones,DEV=0   - bcm2835 Headphones, bcm2835 Headphones - Hardware device with all software conversions
      usbstream:CARD=Headphones      - bcm2835 Headphones - USB Stream Output
    
     
    
    #### SHAIRPORT (SYNC) VERSION ####
    3.3.1-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/usr/local/etc
     
    
    #### OUTPUT SOUND DETAILS CARD 0 ####
    closed
     
    
    #### OUTPUT SOUND DETAILS CARD 1 ####
    closed
    
    • This reply was modified 3 years, 11 months ago by yorickdowne.
    • This reply was modified 3 years, 11 months ago by yorickdowne.
    • This reply was modified 3 years, 11 months ago by yorickdowne. Reason: Clarified steps taken to update system
    15. Dezember 2020 at 14:35 #50491

    Hi yorickdowne,

    Thank you for the detailed description and sharing your experience! I am glad you found the solution to the problem.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Register here