Howto: working GT2XX HDMI audio out with alsa

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
snoopy20 Offline
Junior Member
Posts: 9
Joined: Mar 2010
Reputation: 0
Post: #101
Looking like a NVIDIA bug: http://www.nvnews.net/vbulletin/showthre...999&page=3
find quote
paoleary Offline
Junior Member
Posts: 32
Joined: Feb 2010
Reputation: 0
Post: #102
That seems to only affect mainboard HDMI, though. Discrete cards are working for most everyone, myself included, even on 195.xx drivers.
find quote
snoopy20 Offline
Junior Member
Posts: 9
Joined: Mar 2010
Reputation: 0
Post: #103
I've sorted it, it's a bug with the NVIDIA drivers. If the resolution of the HDMI port is switched to "off" in NVIDIA control panel then SPDIF isn't passed through either.

In windows this can be done, in my case I have a Sony Reciever attached which doesn't need video. Having to use "clone" instead of "off" means you cant use Twinview on the other two video outputs.
find quote
josefwells Offline
Junior Member
Posts: 3
Joined: Apr 2010
Reputation: 0
Post: #104
I've got an ASUS GT240 512MB DDR5, installed XBMCFreak Generic 4 yesterday, ran the ALSA update script with snapshot and xbmc no longer complains about the hdmi device.

In my: /etc/modprobe.d/alsa-base.conf

options snd-hda-intel enable_msi=0

(perhaps I should add the probe_mask=0xfff2)

However, it didn't produce sound...

aplay -l shows the devices, alsamixer shows the spdifs are unmuted.

speaker-test -Dhdmi gives nothing.

speaker-test -Dhwplug:0,3 give nothing

Then...

speaker-test -Dhwplug:0,7

works, then, everything else works.

speaker-test -Dhdmi works, speaker-test -Dhwplug:0,3 works...
xbmc works.

I suppose I could just tell xbmc to use hwplug:0,3 directly. Or setup asound.conf to use that as default, but early attempts seemed to result in a syntax error Sad

pcm.!default plughw:0,7
pcm:iec958 plughw:0,7

Any ideas?
find quote
josefwells Offline
Junior Member
Posts: 3
Joined: Apr 2010
Reputation: 0
Post: #105
josefwells Wrote:I've got an ASUS GT240 512MB DDR5, installed XBMCFreak Generic 4 yesterday, ran the ALSA update script with snapshot and xbmc no longer complains about the hdmi device.

In my: /etc/modprobe.d/alsa-base.conf

options snd-hda-intel enable_msi=0

(perhaps I should add the probe_mask=0xfff2)

However, it didn't produce sound...

aplay -l shows the devices, alsamixer shows the spdifs are unmuted.

speaker-test -Dhdmi gives nothing.

speaker-test -Dhwplug:0,3 give nothing

Then...

speaker-test -Dhwplug:0,7

works, then, everything else works.

speaker-test -Dhdmi works, speaker-test -Dhwplug:0,3 works...
xbmc works.

I suppose I could just tell xbmc to use hwplug:0,3 directly. Or setup asound.conf to use that as default, but early attempts seemed to result in a syntax error Sad

pcm.!default plughw:0,7
pcm:iec958 plughw:0,7

Any ideas?


(FIXED)
I just set XMBC audio device to plughw:0,7 and it works.
find quote
dafart Offline
Junior Member
Posts: 24
Joined: Sep 2008
Reputation: 0
Post: #106
I'm running an GT220 card and can confirm the audio over hdmi is working with a 2.6.33 kernel, a recent alsa-driver snapshot (not all recent ones seem to compile..) on my archlinux setup using nvidia 195.36.15 drivers.
I do, however, stil have trouble playing multichannel audio with 44.1 kHz DTS files (DTS wav) which is only possible as stereo, when I set audio settings to 5.1 I get noise. (see this thread: http://forum.xbmc.org/showthread.php?tid=59877 )
Also when I run speaker-test I get no errors but also no sound.

Downgrading my nvidia drivers to an older version seems to be a bit problematic on my archlinux setup (xorg not happy etc) so I have not tried that. Also I read somewhere that the GTX card should have proper multichannel sound using the latest nvidia drivers.

Could someone confirm this issue? And maybe some archlinux guru who knows how to downgrade my nvidia drivers? (my post in the archlinux forums is still unanswered)

Thanks in advance
find quote
dafart Offline
Junior Member
Posts: 24
Joined: Sep 2008
Reputation: 0
Post: #107
Let me reply my own post,
I'm using XBMC svn r29323.
It appears that if I'm selecting 5.1 digital output in the sound hardware section I'm getting noise and my receiver indicates it's recieving an "mch pcm 5.1" signal.
If however i select 2.0 digital output in xbmc sound hardware configuration, it gives perfect sound and my receiver shows "DTS 5.1" in the info tab.

Most likely it's an small issue related to the fact that this is an svn build and might be fixed in a future release..
find quote
sjakub Offline
Junior Member
Posts: 1
Joined: Apr 2010
Reputation: 0
Post: #108
Hi.

Does anybody by any chance know how to get HDMI audio working on nVidia NVS 3100M?
I followed some of the instructions here, and with Alsa 1.0.23 I got four SPDIF outputs. After adding "options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2" I have a single SPDIF output. But there is still no sound. My graphics cards is 10de:0a6c, and the audio part of it is 10de:0be3. Any tips, suggestions, etc? Smile

Or maybe anybody knows how to disable HDMI audio completely? With my previous laptop I was able to have video sent over HDMI, and audio using separate cable. With this one, my TV refuses using the audio from the separate cable - I think it's because it thinks it is getting audio over HDMI (which was not capable of sending audio before and now it is). Is there a way to disable it?

Thanks!
find quote
paoleary Offline
Junior Member
Posts: 32
Joined: Feb 2010
Reputation: 0
Post: #109
sjakub Wrote:Does anybody by any chance know how to get HDMI audio working on nVidia NVS 3100M?

This thread is focused on the GT2xx discrete cards, so you might have better luck asking on nV News, or a new thread in the general help section here at XBMC, wherever that is, which may do a better job of attracting the right knowledge. (Not that I mind you asking here--just trying to get you results!)
find quote
Nede Offline
Junior Member
Posts: 1
Joined: Apr 2010
Reputation: 0
Post: #110
Hello everyone, I apologize for my English, I'm using the translator of google because they do not speak English
I bought a Asus SCED ENGT240 1Gb DDR-3 and I do not work the audio over HDMI.
Using Ubuntu 9.10 and have a real incapable!
Who helps me easily?
find quote
Post Reply