Kodi Community Forum
[LINUX] HOW-TO get multi-channel HD sound output working over NVIDIA HDMI - 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: [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


alsa crashed - Drumaster12 - 2010-03-21

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

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

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

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

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

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

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

So.... how'd it go?


- harryzimm - 2010-03-24

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

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.


- harryzimm - 2010-03-24

No, there are a few thing you have to change. Are you using ssh from another pc?


- chris2922 - 2010-03-24

Yes, im using Putty from a Windows box.


- harryzimm - 2010-03-24

Ok, delete previous versions of the script if you have any from your home folder.

Follow the guide but when it refers to pastebin, use these links instead.

Quote:wget http://pastebin.com/download.php?i=f29c37574 -O Alsa_upgrade-1.0.21_hd.sh

Quote:wget http://pastebin.com/download.php?i=f5f9654bb -O /etc/asound.conf

Quote:wget http://pastebin.com/download.php?i=f2e38265 -O /usr/share/alsa/cards/HDA-Intel.conf

Now you should be able to complete the process

cheers


- chris2922 - 2010-03-24

Thank you soooo much - thats sorted it.

I think my initial attempt at running the script may have confused ALSA a bit, because it still reports version 1.0.20 when i run "cat /proc/asound/version", but other than that its all working. I tested Allan's mkv files to be sure.

I may do a clean XBMCbuntu install and run the guide again now i know it works just to see if that fixes the version number.

This is great. Many thanks.

Out of interest - what did you change in the scripts? Are they going to be ok for a while or will they need updating again to keep working?


- harryzimm - 2010-03-24

No problem

I didn't change the script at all. Pastebin changed the way they hosted files so the links had to be fixed that's all. Those links should as long as pastebin doesn't change again.

cheers