Kodi Community Forum

Full Version: It's 1:30am and I STILL have no 5.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Can someone please help me, I have been at this for hours. I previously could only get 2.0 stereo but I believed this to be because my TV was negotiating this. However I have just picked up a fancy new Yamaha RX-467 and I am still getting 2.0 channel HDMI.

I have an Asus AT3N7A-I, Nvidia ION mobo with an VT1708S audio chip, I am running Ubuntu 10.04 LTS and I have XBMC installed on top of that. I updated to the latest Nvidia drivers but I still only get the option for "internal audio HDMI stereo" why cant I use 5.1?

I tried every combination of settings in XBMC I can think of, I can still only get stereo over HDMI, please can someone help.

xbmc@xbmc-htpc:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 0: NVidia [HDA NVidia], device 1: VT1708S Digital [VT1708S Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0

xbmc@xbmc-htpc:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 0: NVidia [HDA NVidia], device 1: VT1708S Digital [VT1708S Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0
Did you make sure that you turned on the 5.1 or 7.1 output and checked the DTS capable receiver radio buttons in the audio settings?

I know, for my son's TV, I have to put it to 2.0 and uncheck those buttons to get it to work on his TV. If I leave all that turned on for a high end receiver, it just says failed to initialize audio device and I get no sound.
yes I did

I also tried this

http://wiki.xbmc.org/index.php?title=HOW...controller

its also 2.0 channel if I use optical, i'm almost ready to switch to windows Sad
i do notice however this bit doesnt work

xbmc@xbmc-htpc:~$ speaker-test -D hdmi -c6 -r19200 -FS32_LE

speaker-test 1.0.22

Playback device is hdmi
Stream parameters are 19200Hz, S32_LE, 6 channels
Using 16 octaves of pink noise
Rate 19200Hz not available for playback: Invalid argument
Setting of hwparams failed: Invalid argument
ok I found this in lspci

00:08.0 Audio device: nVidia Corporation MCP79 High Definition Audio (rev b1)
Subsystem: ASUSTeK Computer Inc. Device 83f7
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
Memory at f9f78000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel



00:08.0 Audio device: nVidia Corporation MCP79 High Definition Audio (rev b1)
Subsystem: ASUSTeK Computer Inc. Device 83f7
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
Memory at f9f78000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

am I using the wrong driver?
doesn't look like it, i'm pretty close to resorting to windows
Ok, time to up the ante. I will offer £20 via paypal to anyone who can solve this for me.

Just to be clear, thats solve it without reinstalling, on my current ubuntu install, on my current hardware.

go.........
What audio device do you have selected in XBMC? Both for analog and passthrough.

Does your receiver display what type of audio it's receiving? ie. Stereo, Dolby DTS, etc.

Have you tried plugging the receiver into another device just to make sure it's not downmixing things?

speaker-test may not work - multichannel PCM is still a bit iffy with alsa.

Edit: Also, I'm using optical audio. Probably best place to start, move on to HDMI once you have optical going so you can troubleshoot methodically.
I made some progress

this works

mplayer -ac hwac3 -ao alsa:device=iec958=0 testfile.mkv

5.1 overoptical
this also works
mplayer -ac hwac3 -ao alsa:device=hdmi=0 Fringe\ -\ S03E06\ -\ 6995\ kHz.mkv
My settings are as follows:
Optical/Coax
Speaker config: 5.1
All settings on
Audio out: iec958
Passthrough out: iec958

You on the same?
still cant get it working in XBMC however,
hjbotha Wrote:My settings are as follows:
Optical/Coax
Speaker config: 5.1
All settings on
Audio out: iec958
Passthrough out: iec958

You on the same?

Tried that, I can get 2.0 audio that way if I leave AC3 and DTS set to off but otherwise I get nothing,
I tried the guide here

http://wiki.xbmc.org/index.php?title=XBM...ital_audio

but xbmg.log says

ALSA lib pcm_dmix.c:1010Sadsnd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1010Sadsnd_pcm_dmix_open) unable to open slave
Does speaker-test -c 6 work on iec958? I get audio through front left and front right, because optical audio only does stereo PCM, but it's a start.

Have you created any .asoundrc file in your home dir? (tbh this should affect mplayer equally but is worth double-checking)

Again this should have affected mplayer as well, but just make sure iec958 isn't muted. Maybe mplayer automatically unmutes the line when it starts (haven't used it myself). Use alsamixer.

Have you tried running xbmc as root?

Can you post the output of aplay -L ?
Pages: 1 2