Kodi Community Forum
[LINUX] Nvidia 9300 Audio over 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] Nvidia 9300 Audio over HDMI? (/showthread.php?tid=40850)



[LINUX] Nvidia 9300 Audio over HDMI? - Weez - 2008-11-22

Does anyone have audio working over HDMI in linux? I bought the MSI P7NGM and am just getting started. I know people are successfully running audio over hdmi on windows boxes but i would like to attempt this in Linux. Its probably over my head but ive got nothing better to do today so might as well attempt it.


- mlmc - 2008-12-04

This id like to know as well!

Haven't had the time to examine the possibilities myself. Right now im running my media setup on Vista64Bit, installed MPC-HC and I can output video/audio through my HDMI. Audio is sent via LPCM. Everything works flawless. Hardware acceleration, DXVA, is not that important to me, but the LPCM feature is a necessity.

I'd like to replace this setup to Ubuntu + XBMC, is it possible at this moment?


- LolitaRainking - 2008-12-10

Weez Wrote:Does anyone have audio working over HDMI in linux? I bought the MSI P7NGM and am just getting started. I know people are successfully running audio over hdmi on windows boxes but i would like to attempt this in Linux. Its probably over my head but ive got nothing better to do today so might as well attempt it.

It works with ati - for sure - and is supposed to work on nvidia, too, but I never got it running. But in Linux you get all sorts of other problems - with ati you got underscan and the fix for it isn't really that great since it breaks x11 on restart. With nvidia, at least I, had an issue that made ALL sound disappear - even from a separate soundblaster card - when installing the nvidia-drivers (all kind of versions). And then there's the x264 decoding that seems kind of broken running Ubuntu. Phew. Hold out for a new mac mini, since the only operating system that runs xbmc flawlessly is macos x. Yes, I have tried windows, linux and mac os.


- mlmc - 2009-01-18

Apparently they're working on OSX for the 9300/9400 mainboards, it's some 'hack'. Read all about it here: http://forum.insanelymac.com/index.php?showtopic=136510


- jpmur - 2009-05-01

Hello,

Does someone succeeded to have audio over HDMI with this board ?

All checks/config I done are ok but still no sound.

I read elsewhere in old posts that sound will never work.

Is it true ?

JP


- kxmas - 2009-05-01

I spend a lot of time getting HDMI audio working with my Asus M3N78-EM and Ubuntu 9.04. I posted this on the ubuntuforums.org earlier this week.

Here's what works for me...

1. Use Alsa 1.0.19. There are other threads on how to upgrade ALSA, but here's something real quick. If my instructions don't work, I suggest finding a method that uses built debian packages and module-assistant. Anything that mentions /usr/local will probably cause you problems later on. I uploaded the alsa source packages to my ppa, https://launchpad.net/~kachristmas/+archive/ppa, who knows if it will build. If it does, install all the alsa packages, including alsa-source. Then run

Code:
m-a -f --text-mode auto-install alsa-source

2. Reboot.
3. Use
Code:
aplay -L
to find the name of the HDMI output. My output looked like
Code:
hdmi:CARD=NVidia
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)
4. Again, use output from
Code:
aplay -L
to create /etc/asound.conf. My two line /etc/asound.conf looks like this:
Code:
pcm.!default hdmi:NVidia
pcm.iec958 hdmi:NVidia
5. Reboot.

The newer version, 0.9.15, of pulseaudio handles passthrough audio a lot better than the version found in ubuntu 9.04. You can find that in my ppa as well. However, it's probably a good idea to completely disable pulseaudio until you get something working first.


- jpmur - 2009-05-02

I have same config as yours.
I modified the asound.conf but still no sound.
Sad


- kxmas - 2009-05-02

jpmur Wrote:I have same config as yours.
I modified the asound.conf but still no sound.
Sad

You might want to read through alsa wiki page too, http://alsa.opensrc.org/index.php/DigitalOut


- tmpdir - 2009-05-04

LolitaRainking Wrote:It works with ati - for sure - and is supposed to work on nvidia, too, but I never got it running. But in Linux you get all sorts of other problems - with ati you got underscan and the fix for it isn't really that great since it breaks x11 on restart. With nvidia, at least I, had an issue that made ALL sound disappear - even from a separate soundblaster card - when installing the nvidia-drivers (all kind of versions). And then there's the x264 decoding that seems kind of broken running Ubuntu. Phew. Hold out for a new mac mini, since the only operating system that runs xbmc flawlessly is macos x. Yes, I have tried windows, linux and mac os.


None of these problems at all on Linux or Windows with this, try to adjust your settings or ask for help in a new thread.


- User 29008 - 2009-05-04

Actually for my setup audio over hdmi was a peace of cake in Jaunty.
I got onboard sound on my mainboard. Connected the spdif i/o connector from the mainboard to my Nvidia 9400GT input. Enabled digital sound in alsamixer, and that's it. I got sound over hdmi directly to my Panasonic Plasma plus digital sound via the digital output from my motherboard to my dolby surround receiver.

No extra packages or config needed on my end.

Edit: of course I am running the latest Nvidia beta drivers for my 9400gt.

boba


- jpmur - 2009-05-05

Obviously it works with other motherboards but not with the MSI one... in linux

I connected an old harddrive, installed windows XP, XBMC and it works !
I have sound over hdmi.

So I ordered a 750G drive and will install XP Blush

JP


- tmpdir - 2009-05-05

jpmur Wrote:Obviously it works with other motherboards but not with the MSI one... in linux
JP

have you tried posting your question on http://www.ubuntuforums.org, because this question is more related to the operating system itself than XBMC? A lot of knowledge there and the developers themself are also very active on the forums.


- klato - 2009-07-09

I tried for a week to get sound in XBMC over HDMI and I could never get it to fly...ended up with XP SP3