XBMC Community Forum
[LINUX] HOW-TO get multi-channel HD sound output working over NVIDIA HDMI - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: Tips, tricks, and step by step guides (/forumdisplay.php?fid=110)
+--- Thread: [LINUX] HOW-TO get multi-channel HD sound output working over NVIDIA HDMI (/showthread.php?tid=59877)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44


alsa crashed - Drumaster12 - 2010-03-21 19:00

I get the same New line unexpected error, and like an idiot I decided to continue through the guide anyway. now alsa is completely screwed up. I get a string of errors just trying to open alsamixer. I tried reinstalling all the alsa and libasound packages to no avail. Can anyone help. My XBMC now has no audio and crashed if I try to play anything with audio.
Pastebin of error here: http://pastebin.com/rR9wDcJa


- harryzimm - 2010-03-21 19:08

Make sure you delete /usr/share/alsa/cards/HDA-Intel.conf and /etc/asound.conf

Quote:sudo rm /usr/share/alsa/cards/HDA-Intel.conf

and

Quote:sudo rm /etc/asound.conf

that should get alsamixer back up and running

cheers


All undone - Drumaster12 - 2010-03-21 19:21

Thank you so much for the quick reply and help. I was just headed back here to let people know that's what they needed to do. I went back through the guide backwards undoing everything and that (removing asound.conf) is what did the trick. Too bad I didn't check back here sooner, you would have saved me a bunch of time.

Thanks again.

Of course now the question remains of how to get 5.1 with alsa 1.0.22.1 and nvidia driver 1.95


- chris2922 - 2010-03-21 21:49

I dont think its gonna be possible with nvidia 195 - the guide says its got to be 185. You may have to roll-back.

As for the script... im hoping Allan will swoop in and save the day (again). Its been a few months since he logged in though so im not going to hold my breath.

Fortunatley i have my old working usb stick install.


- myrison - 2010-03-22 02:10

Yes, don't hold your breath on 1.95. Every couple of weeks someone posts back to this thread saying 195.xx.zz still completely breaks multi-channel audio over HDMI. (so at least it's not just you) Smile


- chris2922 - 2010-03-22 11:40

I think the problem may be with script lines 183 and 184. Im basing this theory on the fact that the error i get seems to be generated by line 185. Sadly I have no idea what to do to fix them, and might be totally wrong!

183:
build-essential libsysfs-dev libncurses5-dev libncursesw5-dev gettext python-all-dev xmlto libpulse-dev libspeex-dev \

184:
libavcodec-dev libavformat-dev libavutil-dev libmpeg4ip-dev liba52-0.7.4-dev libavutil49 \

185:
linux-headers-$KERNEL || die "Problems downloading and installing the required dependencies..."


- harryzimm - 2010-03-22 13:24

Did you make sure to run

Quote:sudo apt-get update

Before you ran the script? Just a thought. Im going to test this on xbmc-live 9.11 today so i'll let you know how it goes.

cheers


- chris2922 - 2010-03-24 20:03

So.... how'd it go?


- harryzimm - 2010-03-24 20:27

Sorry i didn't have time to test unfortunately. Why not go the xbmcbuntu route, it acts the same as xbmc-live but its easier to customize. Its the setup i use and the alsa script works fine. The guide also lets you install nvidia 185 drivers. Its far easier than playing around with xbmc-live

Just an idea.

cheers


- chris2922 - 2010-03-24 20:55

Funny you should mention that - i decided to go the XBMCbuntu route.

Its all installed, up and running - but i still need Allans script to correctly map my channels for 5.1 playback through HDMI/ALSA. Without it i get the channels mixed up.

Unless you are saying Allans unedited script is working for you under XBMCbuntu? It isnt for me.