[quote=olympia]
This is how i used OLYMPIA's post to get HDMI audio on my ASUS M3N78-VM
Features are working:
- AUDIO over SPDIF or HDMI (including navigation sounds, stereo MP3s, DTS, etc)
Remaining issues:
- Suspend is not working (that would require new kernel)
- Shutdown splash is collapsed on this board, but this is the same with standard ubuntu installation as well (didn't find the reason yet)
- because of the 2GB space limit on XBMC Live root partition, XBMC rebuild from SVN is possible only once (after we install ASLA upgrade, there will be no space any more to do an other compilation of XBMC)
STEP1
Download and install XBMC Live 8.10 (I installed to an USB stick, but I would assume, the belows can be used in case of HDD install as well).
STEP2
Download the newest nvidia linux driver from nvidia.com (the file name is „NVIDIA-Linux-x86-185.19-pkg1.run” today)
STEP3
Download ALSA upgrade script (AlsaUpgrade-1.0.x-rev-1.16.tar) from here:
http://ubuntuforums.org/showthread.php?p...ost6589810
STEP4
Untar the ALSA upgrade sript somehow (eg. Total Commander has a built in feature for this), than you will get a file, named: AlsaUpgrade-1.0.x-rev-1.16.sh (i used winrar)
STEP5
Make a new dir and name it „install” on the flash drive and copy over the freshly downloaded nvidia driver and ALSA upgrade srcipt into this dir.
STEP6
Boot into XBMC Live, than quit from XBMC (choose exit XBMC in the shutdown menu)
login on the console or ssh in remotely as per your convinience, using the user/pass: xbmc/xbmc
First of all, update the repos, and install all prerequisites using:
STEP7
Code:
#sudo apt-get update
STEP8
Code:
#sudo apt-get install -y subversion make g++ gcc gawk pmount libtool nasm automake cmake gperf unzip bison libsdl1.2-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-sound1.2-dev libsdl-stretch-dev libfribidi-dev liblzo-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound-dev python-sqlite libglew-dev libcurl4-gnutls-dev x11proto-xinerama-dev libxinerama-dev libxrandr-dev libxrender-dev libmad0-dev libtre-dev libogg-dev libvorbis-dev libmysqlclient15-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libfaac-dev libenca-dev libxt-dev libxmu-dev libpng12-dev libjpeg-dev libpulse-dev mesa-utils wget zip curl build-essential linux-headers-`uname -r`
Obviously it is a bit long to type in from the console, that’s why it would be more convinient to use ssh for that. (than you can use copy-paste). (I tried to use build dependencies from the repo, but I have difficulties with that, that’s why I recommend this manual way)
To upgrade nvidia driver:
STEP9
Code:
#sudo sh /mnt/install/NVIDIA-Linux-x86-185.19-pkg1.run
In the nvidia installer: accept the Licence agreement, choose „YES” for „No precompiled kernel interface...”, choose „OK” for „No matching precompiled kernel interface...”, than choose „NO” to update X configuration file, than finally „OK” again at the end.
Now it’s a good time to an interim check if everything went OK, so reboot the system:
STEP10
STEP11
Than quit from XBMC (choose exit XBMC in the shutdown menu) again and log in, as in the very begining. To check if nvidia driver update was OK:
Code:
#grep -i "x driver" /var/log/Xorg.0.log
You will see the driver version here.
I hope, everything is fine, than we can continue with the ALSA upgrade.
To upgrade ALSA and enable digital (SPDIF or HDMI sound):
STEP13
Code:
#sudo /mnt/install/AlsaUpgrade-1.0.x-rev-1.16.sh -di
(did a fresh install only needed -di to make HDMI sound work)
then run alsamixer:
STEP16
Note that you should see Alsamixer v1.0.19 in the title.
Navigate right with cursor keys until IEC958 and unmute all of them (IEC958, IEC958-D, IEC958-1) with „M” key. You should see in case of all IEC958 a „00” in green background. Press „ESC” to quit from alsamixer.
Reboot the computer:
STEP17
STEP18
After booted into XBMC switch to „digital” audio output, than choose the AC3 and DTS capabilities according to your receiver.
For SPDIF: leave audio output device: default and passthrough on IEC958
For HDMI: change both audio output device and passthrough to hdmi (you will loose analog sound eg. navigation sound in case of hdmi)
Thanks To Olympia i now have hdmi sound (had to do the two changes he had later in his thread)
I did not have luck with the svn it kept crashing
I used Putty for SSH
http://www.chiark.greenend.org.uk/~sgtatham/putty/
im now using rodercot's guide with a couple of changes
Code:
sudo sh ~/AlsaUpgrade-1.0.x-rev-1.16.sh -di
[/CODE]