![]() |
|
[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) |
- carlsberg - 2010-02-07 15:57 Should this also work with xbmclive installed to HD ? Been trying it but it dont seem to work , i used the Alsa way . And i have a Nvidia ion mini pc . - coalfield - 2010-02-07 16:55 [quote=carlsberg]Should this also work with xbmclive installed to HD ? Been trying it but it dont seem to work , i used the Alsa way . And i have a Nvidia ion mini pc .[/QUOTE I tried it on 9.11 Live and its killed my machine oh dear... reinstall time ![]() ERROR is: 'XBMC needs hardwareb accelerated OpenGL rendering. Install an appropriate graphics driver...' - gribbler - 2010-02-07 19:33 coalfield Wrote:[quote=carlsberg]Should this also work with xbmclive installed to HD ? Did you install the nvidia driver? - Shank - 2010-02-08 14:27 Shank Wrote:First thanks for this guide. I suppose this issue is related to the issue with Nvidia Drivers 190/195? Could anyone provide the necessary steps to downgrade to Nvidia 185.XX? My recipe for HDMI output on ION - W_v_W - 2010-02-08 15:31 HW: AT3N7A-I from ASUS OS: FC12 First steps done from KDE to make life easier. Standalone mode described later. 1. Get rid of nouveau driver and install nVIDIA driver. (BTW, I've used 190.53 and it is OK) This procedure described at other topics and out of scope here. Just get X working using native driver. It seems that only native driver initialize HW right way to make sound work. 2 No tricks with ALSA and PULSE config files needed. All works from the box. You need just turn on correct output. (You can hear sound from analog, correct ?). Use, for example, pavucontrol utility and select required profile. Use "alsamixer -c0" and unmute all channels (mine called "S/PDIF 1"). Set desired volume. Use alsamixer without options and set desired volume too. You should hear sound over HDMI at this point. 3. Make changes permanent and system wide: a) save ALSA state by "alsactl store". b) make HDMI profile selected at boot time: Code: # echo "set-card-profile 0 output:hdmi-stereo" >> /etc/pulse/default.paFrom this point, I've configured KDM for autologin using XBMC standalone session. A "XBMC-standalone" script seems to be outdated and does not start pulseaudio, I've modifyed it this way: Code: #!/bin/shHope, this will help for somebody. Look for full story :http://voleg.homelinux.org/HTPC/ (still in work). - rodercot - 2010-02-09 03:27 Has anyone tried the new Beta Nvidia drivers, I assumed they fixed the channel mapping issues, on a clean install with a new GT-220 PCi-e card HDMI output from the card. I still had to modify the win51 channel mapping in /usr/share/xbmc/system/asound.conf as per http://forum.xbmc.org/showpost.php?p=492685&postcount=254 I still had center channel information in the left rear speaker until I fixed the asound file as above. Regards, Dave - masuta - 2010-02-09 03:50 alanwww1 Wrote:PART 1 SETTING UP ALSA This is an awsome guide. Thanks so much for all of your effort Alanwww1. I'm a linux noob and it all worked perfectly. I applied this to an XBMCFreak livecd 9.11v11 install on an Asrock 330HT. Before this I had no HDMI regardless of what I did. ![]() I had to first donwgrade the nvidia drivers (from 190 to 185.18.36) and then followed your guide, now I have perfect HDMI audio.
- Shank - 2010-02-09 07:32 masuta Wrote:This is an awsome guide. Thanks so much for all of your effort Alanwww1. I'm a linux noob and it all worked perfectly. I applied this to an XBMCFreak livecd 9.11v11 install on an Asrock 330HT. Before this I had no HDMI regardless of what I did. Could you please post on how to downgrade the drivers to 185? I have zero clue on where to begin. - masuta - 2010-02-09 09:35 Shank Wrote:Could you please post on how to downgrade the drivers to 185? I have zero clue on where to begin. To update the drivers you first need to stop XBMC and X11: kill -9 `ps ax | grep xbmc.bin | grep -v grep | awk '{print $1}'` kill -9 `ps ax | grep startx | grep -v grep | awk '{print $1}'` The above didn't work for me so I just did: ps ux and killed the PID's. Next step is to remove the old nvidia module: lsmod | grep nvidia sudo rmmod nvidia Put nvidia.ko file to a temporary location: sudo mv /lib/modules/2.6.31-17-generic/updates/dkms/nvidia.ko ~ Download the drivers using wget: (I chose 185.18.36) wget ftp://download.nvidia.com/XFree86/Linux-x86/185.18.36/NVIDIA-Linux-x86-185.18.36-pkg1.run Install the necessary packages: sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf xserver-xorg-dev libstdc++5 dkms linux-headers-$(uname -r) Install the driver: sudo sh ./NVIDIA-Linux-x86-185.18.36-pkg1.run -k $(uname -r) --x-module-path=/usr/lib/xorg/modules --x-library-path=/usr/lib You should now have NVIDIA 185.18.36 and can follow the guide at the start on this thread. 8ch lpcm still broken in 195.36.15 - oy5tein - 2010-03-17 20:41 Just tested the new 195.36.15 No 8ch love, only stereo ![]() Reinstalled 185.18 and my center, surround and sub is alive again |