Linux audio over HDMI on ASRock Vision 3D 137B
#1
Hi there,

I have been using xbmc 10.0 with ASRock Vision 3D 137B and ubuntu minimal 11.0 for almost a year without any issue ( had to play a little bit with ~/.asoundrc and HDA-intel.conf in /usr/share/alsa/cards though ).
I took a backup with clonezilla just to be on the safe side and gave xbmc 11.0 a try.

I installed ubuntu minimal 12.04 and then the following packages to get an xbmc 11.0 fully working except audio over hdmi

Quote:* nvidia-current
* lightdm ( needed but NOT referenced as a dependency by xbmc-live package )
* xbmc-live
* alsa-utils and pulseaudio

Of course I unmuted the necessary cards too.

The problem is that I am not able to use audio over hdmi. I tried different settings, used aplay, speaker-test but none of them worked out.

Here are some details about my system :

Quote:gettons@xbmc:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
gettons@xbmc:~$ lspci -v|grep -i audio
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
gettons@xbmc:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
gettons@xbmc:~$ dpkg -l |grep xbmc
ii xbmc 2:11.0~git20120423.cd20772-1 XBMC Media Center (arch-independent data package)
ii xbmc-bin 2:11.0~git20120423.cd20772-1 XBMC Media Center (binary data package)
ii xbmc-live 2:11.0~git20120423.cd20772-1 XBMC Media Center (XBMC Live package)
gettons@xbmc:~$ dpkg -l|grep nvidia
ii nvidia-current 295.40-0ubuntu1.1 NVIDIA binary Xorg driver, kernel module and VDPAU library
ii nvidia-settings 295.33-0ubuntu1 Tool of configuring the NVIDIA graphics driver
gettons@xbmc:~$ cat /proc/asound/card0/codec* | grep Codec
Codec: Realtek ALC892

I am not using ANY ~/.asoundrc OR /etc/asound.conf NOR changed any module settings ( like options snd-hda-intel model=6stack-dig for example ) at the moment.
I tried using the same settings used for my previous xbmc installation but that didn't help, I guess something has changed quite a lot around the audio system.
However, I tried xbmcbuntu 11.0 live but I encountered the same issues.



Thanks in advance.

Reply
#2
unmute spdif 1 in alsamixer.

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

uNi

Reply
#3
Hi there,


unfortunately I did unmute all of them already mate.

Thanks for helping anyway
Reply
#4
did you, I didn't mind read that.

Can I see how the alsamixer looks?

Screenshot would be nice.

Also install alsa-utils and PURGE pulseaudio

uNi
Reply
#5
Yes, I did mention that, no worries :-)

Image

Image

Alsa-utils is ALREADY installed and pulseaudio has NOW been purged.



FYI In the meantime I sort of managed to get the audio working.
It is working for movies, but NOT for xbmc system sounds. ( not a big deal, but I would like to know why at least ).

Also, this is what I have in my homedir now
Quote:gettons@xbmc:~$ cat .asoundrc
pcm.!default {
type hw
card NVidia
device 7
}

ctl.!default {
type hw
card NVidia
}

and this is the xbmc audio output config

Image

Let me know if I have to change anything, or you might think about something better to do here.


Thanks



Reply
#6
idk what have you got connected to the 3rd plug HDMI

But if the problem is system sounds I would consider it a win, tbh this close to Frodo I dont really know if it worth it.

There's another million threads on this very problem.

you won.

uNi
Reply
#7
You are probably right. Frodo is just around the corner, RC2 is in a good shape already.

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
audio over HDMI on ASRock Vision 3D 137B0