Linux No hdmi audio with nvidia gt430 in Ubuntu
#1
Question 
I have a new HTPC and can't get HDMI audio to work through my Nvidia GT430 card. Sad

My system is as follows:
MB = Asrock Z68M-ITX/HT
CPU: Intel i5-2405S
Akasa low-profile CPU cooler
4 GB DDR3 memory
Asus Low profile GT430 video
XBMC live (EDEN newest release)
Patriot 64gb SSD
Wesena ITX-7 case
My XBMC media is located on a NAS configured to auto mount in Ubuntu.

aplay -l, outputs the following:

ruscat@ruscats-media-server:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

alsamixer shows (for the Nvidia card):

│ Chip: Nvidia GPU 14 HDMI/DP F2: System information │
│ View: F3:[Playback] F4: Capture F5: All F6: Select sound card │
│ Item: S/PDIF Esc: Exit │
│ │
│ ┌──┐ ┌──┐ ┌──┐ ┌──┐ │
│ │OO │ │OO│ │OO│ │OO│ │
│ └──┘ └──┘ └──┘ └──┘ │
│ < S/PDIF >S/PDIF 1 S/PDIF 2 S/PDIF 3 │

I've unmuted SPDIF for the NVidia card, but when I pull up the different audio cards I only see audio levels for the onboard HDA Intel PCH analog audio, which is also set as the default aduio. The NVidia card shows no levels at all, just several SPDIF entries (See above).

I've set audio to HDMI in XBMC and tried all possible combinations of the audio output devices (all of the NVidia ones).
Note: Audio in XBMC works just fine through the analog outputs when I connect to a set of old PC speakers, but my TV doesn't accept analog audio input when using HDMI for video.
I'm relatively new to both Linux (Ubuntu) & XBMC.
I've looked at a number of threads on both the XBMC & Ubuntu forums, but not sure where to start.
Can anyone get me on the right track?Card: HDA NVidia
Reply
#2
Ruscat,

I just did a write up on another post which may set you in the right direction.

Take a look at:
http://forum.xbmc.org/showthread.php?tid...pid1063134

I think it may solve your problem; mainly being that I have had great success with manually pointing XBMC to a Hardware ID. PM me if you get stuck.
Reply
#3
(2012-04-01, 19:47)Rubbernuts Wrote: Ruscat,

I just did a write up on another post which may set you in the right direction.

Take a look at:
http://forum.xbmc.org/showthread.php?tid...pid1063134

I think it may solve your problem; mainly being that I have had great success with manually pointing XBMC to a Hardware ID. PM me if you get stuck.

Everything in the wiki. Only people who dont read Wikis got these problems. Sad
Reply
#4
Yeah, well, I didn't find the solution in Wiki either....here's what I did for mine with a gt430.

From alsamixer, unmute all S/PDIF channels, which you did.

aplay -l

Note card # and device numbers (which you did)

speaker-test -D plughw:1,3

Where 1 is the card number is and 3 being the device, listen for fuzz coming thru the speakers.
Mine turned out to be 1,9 ...start at the bottom, good chance yours is the same as mine.

Now go back to XBMC Set Systems -> Settings -> System -> Audio Output

Audio output device -> Custom
and set device to "plughw:1,9" (minus the quotes) or whatever were the results of your speakertest.

Passthrough output device -> Custom and set device the same.
Reply
#5
Thanks everyone for you help. Got sound working by using the custom setting plughw:1,9. This was the only Nvidia device that would output via hdmi. Pleas note that originally when I tried this I used PLUGHW:1,9 which did not work. Must have been that the address is case sensitive. Thanks again Smile
Reply
#6
*nix operating systems are case sensitive for just about everything.
Reply
#7
Disable the onboard audio too. Just complicates troubleshooting.
If I helped out pls give me a +

A bunch of XBMC instances, big-ass screen in the basement + a 20TB FreeBSD, ZFS server.
Reply
#8
This might help: http://forum.xbmc.org/showthread.php?tid...pid1069025
Reply
#9
same Hardware here, same problem, but solved this way:

http://www.piggott.me.uk/blog/2011/03/26...nd-ubuntu/
HTPC Specs: Silverstone GD05B Case, ASUS P8H61-M LE/USB3, i5-3470S, GT1030, 8 GB RAM , 2 TB HDD, iHOS104 BluRay Drive, TT DVBS2-1600, Sony PS3 BD Remote control
PS3 BD Remote Control Daemon for Kodi/Linux
UNCHAINED Demo Group
Reply

Logout Mark Read Team Forum Stats Members Help
No hdmi audio with nvidia gt430 in Ubuntu0