No 5.1 HD audio pass through via HDMI

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
fillmore73

No 5.1 HD audio pass through via HDMI

Post by fillmore73 »

Problem: No 5.1 audio output through HDMI
Tried a lot of workarounds and setting changes however not able to get 5.1 audio output out of my HDMI port.

OS : I have Linux mint 13 and Ubuntu 13.10 running on 2 partitions. (Same problem on both installs)
Processor : AMD E-350D APU with Radeon(tm) HD Graphics x2
RAM : 4gb

Setups : I have a home theater pc hooked to the TV via a Denon AVR with HDMI pass through. Running XBMC.

Details

Code: Select all

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: ALC887-VD Analog [ALC887-VD Analog]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 1: ALC887-VD Digital [ALC887-VD Digital]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
Changes Made
/etc/pulse/daemon.conf
changed the default sample channels from 2 to 6
changed the channel map from 2 to all speakers

Code: Select all

 default-sample-channels = 6
 default-channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
 enable-deferred-volume = yes
/etc/pulse/client.conf
set the default sink

Code: Select all

default-sink = 0
/etc/pulse/default.pa
here also set the default sink

Code: Select all

set-default-sink alsa_output.pci-0000_00_01.1.hdmi-stereo
Re-started all pulseaudio services
Re-booted as well.

No 5.1 pass through via HDMI.
However if I switch it to Analog in XBMC there is 2 channel sound.

Some observations.

When I run a speaker test, I get sound only out of the front 2 and center speakers

Code: Select all

speaker-test 1.0.25

Playback device is hw:0,3
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 5440
Period size range from 32 to 2720
Using max buffer size 5440
Periods = 4
was set period_size = 1088
was set buffer_size = 5440
 0 - Front Left
 4 - Center
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 5 - LFE
Time per period = 17.815867
Listing of Sinks

Code: Select all

bmc@xbmchtpc /etc/pulse $ pacmd list-sinks 
Welco
me to PulseAudio! Use "help" for usage information.
>>> 2 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_01.1.hdmi-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9950
	volume: 0:  78% 1:  78%
	        0: -6.46 dB 1: -6.46 dB
	        balance 0.00
	base volume: 100%
	             0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 371.52 ms
	card: 0 <alsa_card.pci-0000_00_01.1>
	module: 4
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 0"
		alsa.id = "HDMI 0"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "3"
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfe020000 irq 42"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:01.1"
		sysfs.path = "/devices/pci0000:00/0000:00:01.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices [AMD] nee ATI"
		device.product.name = "Wrestler HDMI Audio [Radeon HD 6250/6310]"
		device.form_factor = "internal"
		device.string = "hdmi:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo"
		device.profile.description = "Digital Stereo (HDMI)"
		device.description = "Built-in Audio Digital Stereo (HDMI)"
		alsa.mixer_name = "ATI R6xx HDMI"
		alsa.components = "HDA:1002aa01,00aa0100,00100200"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
	active port: <hdmi-output-0>
    index: 1
	name: <alsa_output.pci-0000_00_14.2.iec958-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9958
	volume: 0:  63% 1:  63%
	        0: -12.13 dB 1: -12.13 dB
	        balance 0.00
	base volume: 100%
	             0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 2
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 371.52 ms
	card: 2 <alsa_card.pci-0000_00_14.2>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC887-VD Digital"
		alsa.id = "ALC887-VD Digital"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "1"
		alsa.card = "1"
		alsa.card_name = "HDA ATI SB"
		alsa.long_card_name = "HDA ATI SB at 0xfe024000 irq 16"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:14.2"
		sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices [AMD] nee ATI"
		device.product.name = "SBx00 Azalia (Intel HDA)"
		device.form_factor = "internal"
		device.string = "iec958:1"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "iec958-stereo"
		device.profile.description = "Digital Stereo (IEC958)"
		device.description = "Built-in Audio Digital Stereo (IEC958)"
		alsa.mixer_name = "Realtek ALC887-VD"
		alsa.components = "HDA:10ec0887,1458a002,00100302"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <iec958-stereo-output>
Another Observation.
When I go to Alamixer and select the 1st card - HDMI, I dont get any options for the volume control
Alsa_1.JPG
However the index 2 card gives this
Alsa_2.JPG
Any tips on how to proceed ?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
ytsurk

Re: No 5.1 HD audio pass through via HDMI

Post by ytsurk »

Hi fillmore73

I know it is a long time ago since you post here, but I have exact the same problem on my linuxmint 17 cinnamon......Did you figure it out how to get the 5.1?
User avatar
Oscar799
Level 20
Level 20
Posts: 10414
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: No 5.1 HD audio pass through via HDMI

Post by Oscar799 »

ytsurk
If you have a question about a different release of Mint it is best to start a new thread with it
Image
User avatar
Ben2talk2
Level 1
Level 1
Posts: 26
Joined: Wed Mar 07, 2018 5:14 am
Location: Samutprakarn Thailand

Re: No 5.1 HD audio pass through via HDMI

Post by Ben2talk2 »

Lolz same problems in 2019 - linux sound architecture sucks big time.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No 5.1 HD audio pass through via HDMI

Post by MrEen »

There is no problem in 2019. May not have been one back then either. The OP just needed to install and run PulseAudio Volume Control and change the Profile on the Configuration tab from Digital Stereo (HDMI) Output to Digital Surround 5.1 (HDMI) Output.

The only thing that sucks is that it can be hard for some to find that information.
User avatar
Ben2talk2
Level 1
Level 1
Posts: 26
Joined: Wed Mar 07, 2018 5:14 am
Location: Samutprakarn Thailand

Re: No 5.1 HD audio pass through via HDMI

Post by Ben2talk2 »

Sorry - my mistake. My experience doing that is that STEREO input also generates sound from the rear speakers.
Now can you explain that?
YES it works for something like PLEX on a dolby movie, giving distinct channels out, but it doesn't work when you go back to the desktop and play stereo music.
It also disables any settings from being enabled on the receiver (like Neo cinema which is good for older TV, or movies with only stereo downmixes).

Smarty pants :P
Locked

Return to “Sound”