1b150 Nvidia (specifically ION) HDMI Sound - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Multimedia

Multimedia Having problems running your new shiny and blinking gadget or watching DVDs, listening to CDs etc.?

Reply
 
Thread Tools Display Modes
  #1  
Old February 1st, 2011, 19:27
BigDaveyL BigDaveyL is offline
Junior Member
 
Join Date: Jan 2011
Location: Rochester, NY, USA
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Nvidia (specifically ION) HDMI Sound

Hi all,

Just curious - for kicks. Does anyone have sound woriking through their NVidia cards, specifically, ION? I have a Zotac ION board with a 9400M.

I plugged it into my 5 year old TV and it doesn't 'just work.' Anyone have any hints?

(I may buy a reciever with HDMI ports down the road so I'd like to get this to work before I invest the cash. I can take out my dedicated DVD player and replace it with my ION - and use it to play DVD's)
Reply With Quote
  #2  
Old February 2nd, 2011, 08:52
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Have you tried x11/nvidia-driver?

If you have any problems or questions regarding that driver they're probably best asked on the NVidia support forum (there are NVidia developers there too).

http://www.nvnews.net/vbulletin/forumdisplay.php?f=47
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #3  
Old February 3rd, 2011, 13:30
BigDaveyL BigDaveyL is offline
Junior Member
 
Join Date: Jan 2011
Location: Rochester, NY, USA
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

x11/nvidia-drivers are installed.

Doesn't appear to "just work" nor does when I set hw.snd.default_device to the hdmi port.

If I connect to my current reciever via speaker jack, I get sound.

Last edited by DutchDaemon; February 3rd, 2011 at 19:06.
Reply With Quote
  #4  
Old February 3rd, 2011, 13:47
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Also make sure the correct audio driver is loaded for the sound chip on the videocard.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #5  
Old November 30th, 2011, 21:40
brianc brianc is offline
Junior Member
 
Join Date: Aug 2009
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I have been trying to get this to work also. I posted on nvidia's forum and so far no response, but did see something from a while back stating at this point hdmi sound on ion boards does not work with freebsd FreeBSD.

Last edited by DutchDaemon; December 1st, 2011 at 02:51.
Reply With Quote
  #6  
Old December 1st, 2011, 12:40
mix_room mix_room is offline
Member
 
Join Date: Aug 2009
Posts: 499
Thanks: 9
Thanked 39 Times in 36 Posts
Default

I have HDMI audio working with a Nvidia GT520.

Are you sure that you have set the right value?
I don't have hw.snd.default_device, but I do have hw.snd.default_unit
Reply With Quote
The Following User Says Thank You to mix_room For This Useful Post:
francl (May 22nd, 2012)
  #7  
Old December 1st, 2011, 20:33
brianc brianc is offline
Junior Member
 
Join Date: Aug 2009
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Yeah, I tried all the devices and was never able to get anything through the HDMI port. Had no issues with, front panel, rear panel and optical out. Good to know it works on the GT520 as I was thinking about changing out the ion with a standard motherboard and video card.
Reply With Quote
  #8  
Old December 2nd, 2011, 10:52
mix_room mix_room is offline
Member
 
Join Date: Aug 2009
Posts: 499
Thanks: 9
Thanked 39 Times in 36 Posts
Default

What do you mean it doesn't work?

Does the HDMI pairing work properly? Is the resolution properly transmitted?

I had troubles with mine, it wasnt performing the handshake properly. This was solved with a firmware update in the TV.
Reply With Quote
  #9  
Old December 2nd, 2011, 20:55
brianc brianc is offline
Junior Member
 
Join Date: Aug 2009
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Sorry, to be clear... HDMI works fine, just no sound through HDMI and my tv only does sound over hdmi, or regular rca (red/white combo).
Reply With Quote
  #10  
Old December 2nd, 2011, 21:02
mav@ mav@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: Dnepropetrovsk, Ukraine
Posts: 554
Thanks: 0
Thanked 136 Times in 119 Posts
Default

HDMI sound depends on two components: Xorg video driver should negotiate sound parameters with your TV and snd_hda driver should play sound via HDMI HDA device. I have no idea about NVIDIA, but I know AMD drivers have special Xorg options to enable HDMI audio. Make sure you have configured everything right there. Looking on Linux code, seems like NVIDIA (unlike AMD) uses nonstandard HDA extensions, so I have no idea whether it works now.
Reply With Quote
  #11  
Old December 3rd, 2011, 06:25
brianc brianc is offline
Junior Member
 
Join Date: Aug 2009
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
Default

As far as I can tell everything is configured properly. I could not find anything in the NVidia docs about having to add anything to xorg.conf like AMD.

dmesg:
Code:
hdac0: HDA Codec #0: Realtek ALC887
hdac0: HDA Codec #3: NVidia MCP7A HDMI
pcm0: <HDA Realtek ALC887 PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Realtek ALC887 PCM #1 Analog> at cad 0 nid 1 on hdac0
pcm2: <HDA Realtek ALC887 PCM #2 Digital> at cad 0 nid 1 on hdac0
pcm3: <HDA NVidia MCP7A HDMI PCM #0 Digital> at cad 3 nid 1 on hdac0
cat /dev/sndstat
Code:
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA Realtek ALC887 PCM #0 Analog> (play/rec)
pcm1: <HDA Realtek ALC887 PCM #1 Analog> (play/rec)
pcm2: <HDA Realtek ALC887 PCM #2 Digital> (play)
pcm3: <HDA NVidia MCP7A HDMI PCM #0 Digital> (play) default
pcm0,1,2 all work properly.

Last edited by DutchDaemon; December 4th, 2011 at 02:44. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #12  
Old December 6th, 2011, 09:26
mix_room mix_room is offline
Member
 
Join Date: Aug 2009
Posts: 499
Thanks: 9
Thanked 39 Times in 36 Posts
Default

>cat /dev/sndstat

Code:
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA NVidia (Unknown) PCM #0 DisplayPort> (play)
pcm1: <HDA NVidia (Unknown) PCM #1 DisplayPort> (play) default
pcm2: <HDA Realtek ALC885 PCM #0 Analog> (play)
pcm3: <HDA Realtek ALC885 PCM #1 Analog> (play)
pcm4: <HDA Realtek ALC885 PCM #2 Digital> (play/rec)
>sysctl -a
Code:
... 
hw.snd.default_unit: 1
...
It seems as though your settings are similar to mine. I have no extra information in Xorg.conf like I used to have with my Radeon-card.

Even though you say that everything works properly, take a look at updating your TVs firmware. Mine wouldn't pair at all with my PS3, and only improperly with other things. It did exchange of the picture information, but not audio. It's worth a shot - mine was very easy. FAT32 USB-stick with a single image file on it, plug it into the TV, press power for 5 seconds, click YES-YES-YES-YES, **WAIT**, finished.
Reply With Quote
  #13  
Old December 18th, 2011, 13:50
taliz taliz is offline
Junior Member
 
Join Date: Dec 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have also tried this on my ION platform, a Zotac 330 D mobo, with FreeBSD 8.2 amd64 and the nVidia 285 driver. The ION platform is quite popular for HTPC boxes, and as I have a great FreeBSD install with ZFS, timemachine etc I was thinking I could combine the HTPC and my FreeBSD server into one box.

So, the goal was to get XBMC working with VDPAU and video as well as audio via HDMI, and a MCE remote to control it, just as I have it working in Linux.

I managed to get XBMC working with VDPAU and everything via HDMI, except for the audio. I spent all day yesterday googling and trying various things, but it seems to be hopeless right now. FreeBSD finds the card like this on my box:
Code:
pcm0: <HDA NVidia MCP7A HDMI PCM #0 Digital> (play) default
So it looks good, it's the only card and it's the default, but it just doesn't work. I'm going to try it with FreeBSD 9 shortly and the latest 290 nvidia driver, just so that I have tried all options.

Last edited by DutchDaemon; December 19th, 2011 at 04:09.
Reply With Quote
  #14  
Old December 19th, 2011, 09:47
brianc brianc is offline
Junior Member
 
Join Date: Aug 2009
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by taliz View Post
I have also tried this on my ION platform, a Zotac 330 D mobo, with FreeBSD 8.2 amd64 and the nVidia 285 driver. The ION platform is quite popular for HTPC boxes, and as I have a great FreeBSD install with ZFS, timemachine etc I was thinking I could combine the HTPC and my FreeBSD server into one box.

So, the goal was to get XBMC working with VDPAU and video as well as audio via HDMI, and a MCE remote to control it, just as I have it working in Linux.

I managed to get XBMC working with VDPAU and everything via HDMI, except for the audio. I spent all day yesterday googling and trying various things, but it seems to be hopeless right now. FreeBSD finds the card like this on my box:
Code:
pcm0: <HDA NVidia MCP7A HDMI PCM #0 Digital> (play) default
So it looks good, it's the only card and it's the default, but it just doesn't work. I'm going to try it with FreeBSD 9 shortly and the latest 290 nvidia driver, just so that I have tried all options.
I tried 290 driver and still no go. I posted a message on NVidia's forum but still have no responses.

Brian
Reply With Quote
  #15  
Old December 19th, 2011, 12:57
mix_room mix_room is offline
Member
 
Join Date: Aug 2009
Posts: 499
Thanks: 9
Thanked 39 Times in 36 Posts
Default

Have you tried firmware updating your TV?
I would give it a try if nothing else works.
Reply With Quote
  #16  
Old December 20th, 2011, 06:36
brianc brianc is offline
Junior Member
 
Join Date: Aug 2009
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
Default

mix_room, no not yet, but will probably try in the future. Just have not had any time.

Update: Just looked into firmware update for my TV and does not appear to be anything available. Next step is probably try XBMC Live or Ubuntu Live and see if it works.

Last edited by brianc; December 20th, 2011 at 06:50.
Reply With Quote
  #17  
Old December 20th, 2011, 11:37
taliz taliz is offline
Junior Member
 
Join Date: Dec 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by mix_room View Post
Have you tried firmware updating your TV?
I would give it a try if nothing else works.
I don't see how a firmware update would be relevant, as it works fine under Linux or Windows. I would think it is something with either the nvidia drivers, or more likely freebsds FreeBSD's sound system and the snd_hda driver specifically. Would be interesting if we could find someone who knows exactly how that driver works.

Last edited by DutchDaemon; December 21st, 2011 at 01:14.
Reply With Quote
Reply

Tags
hdmi, ion, mythtv, nvidia, xorg

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] HDMI audio codec of NVidia G210 graphic card doesn't work on FreeBSD. crocket Multimedia 6 September 16th, 2011 23:55
Nvidia-settings HDMI LCD detect mibeas Peripheral Hardware 0 November 21st, 2010 23:32
[Solved] nVidia ION Supported? fbsd_fuse System Hardware 40 August 22nd, 2010 05:01
HDMI sound output mix_room Multimedia 13 January 2nd, 2010 12:43
laptop support, specifically thinkpad x61 asdf System Hardware 3 February 12th, 2009 20:39


All times are GMT +1. The time now is 11:50.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0