Hello everybody,
I want to configure 5.1 surround sound with NVIDIA Tegra TX2.
( Like a linked picture. )
5.1 surround sound ("five-point one") is the common name for surround sound audio systems. 5.1 is the most commonly used layout in home theatres. It uses five full bandwidth channels and one low-frequency effects channel (the "point one"). Dolby Digital, Dolby Pro Logic II, DTS, SDDS, and THX are all common 5.1 systems. 5.1 is also the standard surround sound audio component of digital broadcast and music.
All 5.1 systems use the same speaker channels and configuration, having a front left and...
Currently, two items are listed in the Sound configuration of ubuntu 16.04 LTS.
[Menu] System Settings → Sound → Output
1.HDMI/DisplayPort2 tegra-hda ( Stereo )
2.Analog output tegra-snd-t186ref-mobile-rt565x ( Analog Mono Output or Analog Stereo Output )
Can you give me information about the devices or software I need to configure 5.1 surround sound?
Thanks.
DaneLLL
December 17, 2019, 1:50am
2
Hi,
It is not supported on default board since hardware is not designed for 6 channels. Do you plan to design your own custom board?
With further investigation, it is possilbe to have 5.1 audio output through HMDI. The information will be shared soon.
Hello!
Yes we can support 5.1 audio output via the HDMI interface on Jetson. It is also possible to output upto 16 channels via the I2S interface as well.
What do you have the HDMI output connected to? What does the following command display when executing via a terminal …
cat /proc/asound/tegrahda/eld#4.0
Another option would be to use a USB audio card that can provide a 5.1 output.
Regards,
Jon
Thank you for your reply.
I’ll try it
Output for the hdmi that is now connected.
nvidia@tegra-ubuntu:~$ cat /proc/asound/tegrahda/eld#4.0
monitor_present 1
eld_valid 1
monitor_name Onlap1002
connection_type HDMI
eld_version [0x2] CEA-861D or below
edid_version [0x3] CEA-861-B, C or D
manufacture_id 0x8
product_id 0xa31c
port_id 0x10
support_hdcp 0
support_ai 0
audio_sync_delay 0
speakers [0x1] FL/FR
sad_count 1
sad0_coding_type [0x1] LPCM
sad0_channels 2
sad0_rates [0xe0] 32000 44100 48000
sad0_bits [0xe0000] 16 20 24
Hello!
The above shows that the device you have connected your HDMI cable to, only supports 2 channels. Do you have a 5.1 soundbar or A/V receiver you can connect to?
I have a HDMI audio extractor [0] and when I set to 5.1 on the extractor itself, then I see …
$ cat /proc/asound/tegrahda/eld#4.0
monitor_present 1
eld_valid 1
monitor_name LEN LS2421pwA
connection_type HDMI
eld_version [0x2] CEA-861D or below
edid_version [0x3] CEA-861-B, C or D
manufacture_id 0x1355
product_id 0xae30
port_id 0x10
support_hdcp 0
support_ai 0
audio_sync_delay 0
speakers [0xf] FL/FR LFE FC RL/RR
sad_count 4
sad0_coding_type [0x1] LPCM
sad0_channels 2
sad0_rates [0x1ee0] 32000 44100 48000 88200 96000 176400 192000
sad0_bits [0xe0000] 16 20 24
sad1_coding_type [0x1] LPCM
sad1_channels 6
sad1_rates [0x1ee0] 32000 44100 48000 88200 96000 176400 192000
sad1_bits [0xe0000] 16 20 24
sad2_coding_type [0x2] AC-3
sad2_channels 6
sad2_rates [0x0]
sad3_coding_type [0x7] DTS
sad3_channels 6
sad3_rates [0x0]
In the above you will see the sadX_channels is 6 and not 2.
Regards,
Jon
[0] https://www.amazon.co.uk/gp/product/B01LL5RI3Y/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
Hello.
I purchased HDMI Audio Extractor.
nvidia@tegra-ubuntu:~$ cat /proc/asound/tegrahda/eld#4.0
monitor_present 1
eld_valid 1
monitor_name Onlap1002
connection_type HDMI
eld_version [0x2] CEA-861D or below
edid_version [0x3] CEA-861-B, C or D
manufacture_id 0x8
product_id 0xa31c
port_id 0x10
support_hdcp 0
support_ai 0
audio_sync_delay 0
speakers [0xf] FL/FR LFE FC RL/RR
sad_count 4
sad0_coding_type [0x1] LPCM
sad0_channels 2
sad0_rates [0x1ee0] 32000 44100 48000 88200 96000 176400 192000
sad0_bits [0xe0000] 16 20 24
sad1_coding_type [0x1] LPCM
sad1_channels 6
sad1_rates [0x1ee0] 32000 44100 48000 88200 96000 176400 192000
sad1_bits [0xe0000] 16 20 24
sad2_coding_type [0x2] AC-3
sad2_channels 6
sad2_rates [0x1ee0] 32000 44100 48000 88200 96000 176400 192000
sad2_max_bitrate 640000
sad3_coding_type [0x7] DTS
sad3_channels 6
sad3_rates [0x1ee0] 32000 44100 48000 88200 96000 176400 192000
sad3_max_bitrate 1536000
However, the sound setting is still 2 channels. Is this correct?
https://drive.google.com/open?id=1cdEkuyOWB0ci8cQrWUU3Aq3WGRdZuall
Thanks.
Hello!
Sorry for the delay. It should show up in the menu. Pulseaudio should detect changes to the soundcards at runtime as far as I know, and so I am wondering if there may be an intermittent problem with these HDMI audio extractors. I noticed with mine that sometimes it would show both 5.1 and stereo and then sometime only stereo. Now the extractor I have has a switch to select between 5.1 and stereo. It maybe worth connecting the extractor and selecting 5.1 and then either reboot the board or restart pulseaudio by opening a terminal and executing the command …
$ pulseaudio -k
If you see the attached screenshots from my board you will see that the 5.1 output is detected.
Regards,
Jon
External Media
External Media
Hi jonathanh
Thanks very much.
It works well.