XBMC Live - No Sound on Nvidia ION System
#1
Hi All

Tried the XBMC live download on my NVidia ION based system (built round Asus AT3N7A-I motherboard with Atom 330 CPU). Video is fine both running from CD and installed to hard drive, but in both cases I have no sound at all. Not even in the XBMC menus.
The ION box is connected to my TV via HDMI, and I've also got an optical cable running to my amp. However, I can't get any sound out of the TV or the amp - any ideas?
Completely clueless when it comes to Linux so forgive me if I'm being stupid1

TIA

Si.
Reply
#2
I had a similar issue and had to do the following to get my sound working under ubuntu:

1) First thing is to find out where you need to send your output. Run the following command:

Code:
aplay -l

You'll get back something like this:

Code:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Then to determine exactly which of those devices on card 1 you'll want to use, try the following command:

Code:
grep eld_valid /proc/asound/NVidia/eld*

Which should give you something like this:

Code:
/proc/asound/NVidia/eld#0.0:eld_valid        0
/proc/asound/NVidia/eld#1.0:eld_valid        1
/proc/asound/NVidia/eld#2.0:eld_valid        0
/proc/asound/NVidia/eld#3.0:eld_valid        0

Whichever one has the 1 beside it is the one you want. In my case, it's card 1, device 7.

So then I added this line to /etc/pulse/default.pa

Code:
load-module module-alsa-sink device=plughw:1,7

At the end of this section:

Code:
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

Reboot. Then you need to use alsamixer to unmute the HDMI sound:

1) Type alsamixer on the command line
2) Press F6 and select the NVidia card
3) Make sure all the S/PDIF items have white 00 on a green background

Once that's done, I had to set the audio and passthrough in XBMC to alsa:plughw:1,7

Now I have sound for music and video... no menu navigation sounds, but that's ok for now.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC Live - No Sound on Nvidia ION System0