Posts: 9
Joined: Dec 2010
Reputation:
0
I have a problem. I HAVE searched both this forum and Googled extensively. I have not found my specific problem, as far as I can tell.
OK. Ubuntu 10.04 64bit. HDMI sound works perfectly, even 5.1 DD and DTS in VLC.
My problem is - what specific XBMC config file do I have to manipulate to make XBMC recognize hw:0,7 as my default HDMI sound port when playing DVD's? XBMC wants to use hw:0,3 which is not valid. Changing things in "Settings" only creates 'no sound card' errors.
All other sounds work fine (analog PCM) through TV/home theatre system.
Please ask what other info you need to help me out.
Thanks in advance.
Posts: 230
Joined: Oct 2008
Reputation:
-3
I ran through the alsa upgrade guide with complete scripts and stuff to fix hdmi-audio on 64bit minimal ubuntu. Google alsa sound fix hdmi ubuntu --I'll see if I can dig it up for you if you can't find it. I have no way of knowing if it was working prior to, since I didnt install gdm/x.
What type of soundcard/pc is it? I've only done this on zotacs, doing my third tomorrow when it gets here...
Posts: 172
Joined: May 2008
Reputation:
0
One issue I have had is that if I set the output device in Ubuntu Desktop to the digital output then I can't use digital output in XBMC. So I set Ubuntu Desktop to 5.1 analog output, then set XBMC to iec958, set the device at the top to HDMI. Then I turn on DD and DTS switches and everything works. If I have the digital output set as default in Ubuntu Desktop then all I ever get with these settings is "device failed to initialize". Maybe not the issue you're having but it's what's worked for me on 10.04.
Posts: 172
Joined: May 2008
Reputation:
0
Yeah I'm not sure exactly what XBMC was doing for me....just figured out how to fix it lol. I'm not sure why it would be trying to use the wrong device? Do you have more then one audio device? If so disable the others you aren't using.
Posts: 1,456
Joined: May 2009
Reputation:
7
ubuntu (pulseaudio) and XBMC (alsa) are "fighting" over the hardware devices. we have these problems all the time with people who use XBMC inside of a full ubuntu desktop install.
sydbat, I'd really like to see the output for aplay -l and aplay -L even if you are sure that plughw:0,7 should be the device to use
for everything else, see the various pulseaudio-related fixes here in the forum