Kodi Community Forum

Full Version: Unable to get 5.1 over intel HDMI correctly
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I'm writing because I've a problem that I'm unable to solve; I've try everything I've found with no result

I have a PC with an Intel Haswell processor that is connected via HDMI to an AV, and from the AV to the TV. In Windows 7 i have sound over HDMI in 5.1 perfectly but linux is another story (kubuntu 13.10), so it's a configuration problem.

There is no problem with sound throught HDMI in stereo, but when I select 5.1 it's not ok. When 5.1 in some of the speakers (the most of them) sound is outputted over the speaker it's supposed to, but over another speaker too, with a distorsion and noise (like scratches).

I mean, front left sound ok, but rear left sounds via itself but via font left too, and right ones sounds via front and rear.

In audio preferences I have two HDMI stereo and two HDMI surround, ¿why? I think it could be part of the problem:

Image

I didn't pay attention to this when I used stereo since works ok, but now that I need 5.1 it makes me think that it's not ok.

In pulseaudio I've the same think, but each one appears three times:

Image

The first thing I tried is edit /etc/pulse/daemon.con file and add lines:

default-sample-channels = 6
enable-lfe-remixing = yes


I also tryed to edit /etc/modprobe.d/alsa-base.conf and add:

options snd-hda-intel model=3stack-6ch-dig

But problem reamains

Then I installed PulseAudio Manager to check all volumen on it was at 100% and not below, but nothing...

In alsamixer there is no much to do, it appears on the sound card:

Image

From the two HDMI 5.1 that appears on audio preferences, the working one (bad working) matches with left one in alsamixer (named SPDIF2), I know it becouse when I mute it with "M" key sound mutes, when muting the other ones in alsamixer nothing happends.

I've been handling volumes of each speaker in pulseadio and it seems that 6 channels are correctely recognized, but some of the channels transmit sound via more than one speaker. When I silent for example all speakers but front right, i get sound only when I try this front left on audio preferences, but rear front also sounds, and I have noise and scratches.

I've been reading something about mapping channels and editing He estado ley /etc/asound.conf file. My system had not this file, I created it and include a code that is supposed to solve the problem, but problem remains exactly the same. Perhaps I need the content of asound.conf for just this model of sound card (the one on Intel HD Haswell).

To sum up, I can't get sound over 5.1 correctly and I don't know what to do, so I really thank any help.

Thanks in advance.
The cracks in here need a Debug log
Not yet needed here. He has a general problem with his operating system, not xbmc related.
Many thanks for the answers,

As fritsch says, is a problem related with operative system, not with XBMC, but I thought that someone could give some help since is a question highly involved in HTPC usages.

¿Any idea?

Regards and thanks again
Yes. I can. Let's start it with alsa first.

Get me: aplay -L | pastebinit

then try, e.g. speaker-test -c 6 -Dplughw:0,X
X is the hdmi device.