Kodi Community Forum
Passthrough troubles with Alsa on Lucid - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Passthrough troubles with Alsa on Lucid (/showthread.php?tid=71885)

Pages: 1 2 3


- havel - 2010-05-06

Thanks for the tip, but could you tel me how I add myself to the group "audio"?


- Gryph - 2010-05-06

havel Wrote:Thanks for the tip, but could you tel me how I add myself to the group "audio"?

sudo usermod -a -G audio USERNAME

You can find out what groups you are assigned by:

groups USERNAME

But, if you can display the soundcard, then you should be added into the audio group.
If not;

$ aplay -l
aplay: device_list:223: no soundcards found...


- havel - 2010-05-06

Thanks for the attention. My problem was a material problem. My digital out is a jack on Audigy 2 soundcard. I had to put in a mono male jack instead of stereo. Problem solved!


- Novin - 2010-05-06

Nice, this worked for me too. No custom asound.conf/.asoundrc. Just selecting Analog Duplex i Sound preferenses and ALSA + digital. XBMC passthrough works again (that was my problem).


- ramindia - 2010-05-09

Hi all

I have same issue and setup

not able to play audio in HDMI output in to TV
i get lot of noice like gssssssssssssssssss sound

here is my setup

xfx 9300 mother board
xbmc freaky live CD update nvidia driver to 195.X
and alsa 1.022X

my /etc/asound.conf

pcm.!default {
type plug
slave {
pcm "both"
}
}

pcm.both {
type route
slave {
pcm multi
channels 6
}
ttable.0.0 1.0
ttable.1.1 1.0
ttable.0.2 1.0
ttable.1.3 1.0
ttable.0.4 1.0
ttable.1.5 1.0
}

pcm.multi {
type multi
slaves.a {
pcm "tv"
channels 2
}
slaves.b {
pcm "receiver"
channels 2
}
slaves.c {
pcm "analog"
channels 2
}
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave b
bindings.2.channel 0
bindings.3.slave b
bindings.3.channel 1
bindings.4.slave c
bindings.4.channel 0
bindings.5.slave c
bindings.5.channel 1
}
pcm.tv {
type hw
card 0
device 3
channels 2
}
pcm.receiver {
type hw
card 0
device 1
channels 2
}
pcm.analog {
type hw
card 0
device 0
channels 2
}



i set in system settings
custom plug:both on both passthrough

If i setup in settings ac3 compatable receiver i get audio on Sony home theater

but TV hdmi audio totally horrible sound like grrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr


i have connected HDMI to TV
and Spdif output to my Sony home theater using toslink cable


this is my log when iam playing Video


http://pastebin.com/5YdbrJ8r


thanks for any advice

Ram


- neil.j1983 - 2010-05-09

i have a gt240 and have LPCM upto 7.1 channels working.

BUT, ac3 and dts passthrough do not Sad i just get static. does anyone have any ideas?

i'm on:

Lucid 10.04
Alsa 1.0.23
XBMC SVN (28042)
Zotac GT240 with nvidia drivers - 195.36.15

XBMC Settings:

Audio - Analog
SPeaker config - 5.1
Device - "HDA Nvidia hdmi"


- neil.j1983 - 2010-05-09

working great now Cool

passthrough and lpcm5.1 through a gt240. hooray!


- ramindia - 2010-05-09

post your asound config


- neil.j1983 - 2010-05-09

yettttthhhhh masssssster!

Code:
pcm.!default {
type hw
card 1
device 7
}

my steps (i'm not sure how many are necessary as i tried alot of stuff):

1. install 10.04
2. update
3. install nvidia (current) driver
4. remove pulse audio
5. download/compile/install alsa 1.0.23
6. unmute the gt240 with alsamixer
7. find the working nvidia output with gstreamer-properties
8. put the default numbers into the asound.conf
9. test the gt240 with speaker-test -Dhw:1,7 -c6 -r192000
10. add my username to group 'audio'
11. install xbmc
12. change xbmc audio output devices to custom and type in "hw:1,7" without the quotes
13. it worked Big Grin

Now LPCM works up to 5.1 (don't have 7.1) and bitsreaming of dts/dts-es/dd


- ylagace - 2010-05-11

Has anyone managed to get multi-channel pcm output via hdmi on the nvidia 9400M (Ion Zotac, Revo Aspire, etc...) with Lucid and alsa 1.0.22.1 or 1.0.23 and the 195 drivers?

I got it working perfectly on 9.04 and the 185 drivers. Under this configuration I automatically get the IEC958 settings in alsamixer. Under 10.04 Lucid and any alsa version, alsamixer is always showing only s/pdif, never IEC958.

Neil above has got a gt240 board, not the same at all...

It appears to be a bug in the nvidia drivers in the 195 series. Anybody has managed to get it working with Ion or Revo? And I mean multi-channel pcm, not DTS or AC3 over hdmi in XBMC (this always works).


- farbird - 2010-05-12

marking this thread for later reading..


- neil.j1983 - 2010-05-12

ylagace Wrote:Neil above has got a gt240 board, not the same at all...

sorry, i didn't realise they were so different.


- tiburcillo - 2010-09-20

Hi, I'm still having problems getting both sounds and DTS/AC3 passthrough via HDMI.
My system is:
  • Fresh Ubuntu 10.04.1 (updated till 20 sept)
  • nVidia current drivers (via x-drivers ppa) v260
  • standard included alsa
  • XBMC Dharma Beta 2 (svn ppa)

Basically the same as boba has, but then using HDMI for audio transport.
The problem arises when I choose Analog Stereo Duplex. In this case I don't have any sounds under gnome desktop (this is actually not a problem). When I go into XBMC though, I can select hdmi as passthrough device but I can't select hdmi as normal device. There I can only choose between Internal Analog Stereo and default. HDMI is nowhere to be found.
When I play a DTS/AC3 movie, I do get DTS/AC sound on the receiver.

When I change System > Sound > Hardware to HDMI, I can select hdmi both as audio device in xbmc, and as passthrough device. In this case unfortunately, pulseaudio keeps the HDMI output busy...

How did you guys get around this problem? gstreamer is set to ALSA and hdmi device.


- Hammi - 2011-01-12

I just wanted to say "Thank you!"

With the help of this thread (and there are lots and lots which deal with this issue) I managed to get spdif passthrough with my Zotac ION board working!


- Novin - 2011-01-12

I had a fully working setup for months but one day it just stopped working for no apparent reason. Maybe some update or something? I have Ubuntu 10.10 up-to-date as of 11-01-12 and xbmc 10.00~svn35648-lucid1 (oops, should change to maverick version).

ION 330-HT
SPDIF to receiver (optical)
No .asoundrc or /etc/asound.conf

I came up with a workaround to have sound in both desktop and XBMC with analog & digital outputs.

I choose profile Digital Stereo Duplex (IEC958) in Ubuntu. This makes the desktop sounds and other applications work OK.

When starting xbmc I do it with a startup-script that first runs 'pulseaudio -k' and then starts xbmc.

In xbmc I have selected Internal Audio Digital Stereo (IEC958) and IEC958 for passthrough-device.

Regular stereo mp3 sound works fine and also DTS etc.

Only thing I'm lacking now is navigation sounds in xbmc but I can live with that.