Thank you for your donation!


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


Trouble with music output from HDMI 1 & 2 when pi 2 display is on
#7
(06-22-2025, 11:57 AM)sriram76 Wrote:
(06-22-2025, 10:05 AM)Tim Curtis Wrote: I don't know what configuration settings (if any) would enable a DSI display plus HDMI audio but if it can work the AVR connected to the HDMI port has to be on before the Pi starts up or the Pit won't detect the connection.

The command below prints a status of the HDMI ports.
Code:
# Print HDMI port status
kmsprint

# Example
pi@lcd:~ $ kmsprint
Connector 0 (33) HDMI-A-1 (connected)
  Encoder 0 (32) TMDS
    Crtc 3 (100) 1600x900@60.00 108.000 1600/24/80/96/+ 900/1/3/96/+ 60 (60.00)  
      Plane 3 (89) fb-id: 722 (crtcs: 3) 0,0 1600x900 -> 0,0 1600x900 (XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU24 YV24 YU12 YV12 NV12 NV21 NV16 NV61 P030 XR30 AR30 AB30 XB30 RGB8 BGR8 XR12 AR12 XB12 AB12 BX12 BA12 RX12 RA12)
        FB 722 1600x900 XR24
Connector 1 (42) HDMI-A-2 (disconnected)
  Encoder 1 (41) TMDS

(06-22-2025, 11:45 AM)sriram76 Wrote: I tried this but it didn't work. What use is to disable all ports when we connect an audio less display to the pi?
Is there any other thing I can do to get some audio with dsi?

This is what I see

pi@raspberrypi5:~ $ kmsprint
Connector 0 (36) DSI-2 (connected)
  Encoder 0 (35) NONE
    Crtc 0 (34) 720x1280@60.04 83.330 720/239/33/50/? 1280/20/2/30/? 60 (60.04)  
      Plane 0 (32) fb-id: 38 (crtcs: 0) 0,0 720x1280 -> 0,0 720x1280 (XR24 XB24 AR24 AB24 RG24 BG24 RG16)
        FB 38 720x1280 XR24

AFAIK the DSI interface does not support audio.

Moode does not disable any ports. I have no idea why the HDMI port does not show up in your kmsprint output assuming the device connected to the HDMI port was on before booting the Pi.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Trouble with music output from HDMI 1 & 2 when pi 2 display is on - by Tim Curtis - 06-22-2025, 12:18 PM

Forum Jump: