Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-02-08, 04:20 AM   #1
scottwaye
Registered User
 
Join Date: Mar 2004
Posts: 10
Default Audio over HDMI with ASUS M2N VM HDMI

Trying to get audio output working on this board. I am using 177.82 and OpenSuse 11 with kernel 2.6.25 and manually upgraded ALSA driver/libs to 18a. This board uses the snd-hda-intel driver and I can get analog sound ok. But I cannot get an HDMI sound device. If I force the sound card model to 6stack-dig in modprobe.conf I get the IEC958 checkboxes in alsamixer but I cannot get aplay -l or aplay -L to list an HDMI device. Can I start with 2 basic questions: what is the minimum requirements regards kernel and ALSA to get HDMI audio and is there an order that needs be followed in installing the modules (nvidia and snd-hda-intel)?
scottwaye is offline   Reply With Quote
Old 12-02-08, 07:41 AM   #2
apaige
Registered User
 
Join Date: Apr 2008
Posts: 106
Default Re: Audio over HDMI with ASUS M2N VM HDMI

Compile alsa-driver 1.0.18a with --with-cards=hda-intel --with-card-options=hda-codec-nvhdmi.
apaige is offline   Reply With Quote
Old 12-02-08, 03:46 PM   #3
scottwaye
Registered User
 
Join Date: Mar 2004
Posts: 10
Smile Re: Audio over HDMI with ASUS M2N VM HDMI

Thanks, I tried that and got no sound cards at all. I then tried just

./configure --with-cards=hda-intel

to get the hda-intel card with all the options, which gave me the sound card back but no HDMI device. I then checked amixer info and compared it with the patch_nvhdmi.c in the ALSA tree (18a) and my ID was not there (this board uses a MCP67 as shown by lspci) so I added :

{ .id = 0x10de0067, .name = "NVIDIA MCP67 HDMI", .patch = patch_nvhdmi },

to the struct at the end of the file, and hey presto, sound on my TV over HDMI

Not sure if thats the right thing to do but it works for me. I submitted it as a patch to ALSA so should find out.
scottwaye is offline   Reply With Quote
Old 01-04-09, 03:57 PM   #4
dbenoy
Registered User
 
Join Date: Nov 2007
Posts: 22
Default Re: Audio over HDMI with ASUS M2N VM HDMI

Quote:
Originally Posted by scottwaye View Post
Thanks, I tried that and got no sound cards at all. I then tried just

./configure --with-cards=hda-intel

to get the hda-intel card with all the options, which gave me the sound card back but no HDMI device. I then checked amixer info and compared it with the patch_nvhdmi.c in the ALSA tree (18a) and my ID was not there (this board uses a MCP67 as shown by lspci) so I added :

{ .id = 0x10de0067, .name = "NVIDIA MCP67 HDMI", .patch = patch_nvhdmi },

to the struct at the end of the file, and hey presto, sound on my TV over HDMI

Not sure if thats the right thing to do but it works for me. I submitted it as a patch to ALSA so should find out.
I tried doing the same thing, only my code seemed to be:

{ .id = 0x10de8001, .name = "NVIDIA MCP73 HDMI", .patch = patch_nvhdmi },

which I got from /proc/asound/card0/codec#3, and from what I learned about the card from the PCI ID.

I still don't get any sound. It seems to play, but nothing comes out.

Here's the output of aplay -l for me (after I did that patch)

Code:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC883 Analog [ALC883 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC883 Digital [ALC883 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
And aplay -L

Code:
default:CARD=NVidia
    HDA NVidia, ALC883 Analog
    Default Audio Device
front:CARD=NVidia,DEV=0
    HDA NVidia, ALC883 Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, ALC883 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, ALC883 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, ALC883 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, ALC883 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, ALC883 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
    HDA NVidia, ALC883 Digital
    IEC958 (S/PDIF) Digital Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)
Code:
# cat /proc/asound/NVidia/codec#3
Codec: Generic 10de NVIDIA MCP73 HDMI
Address: 3
Vendor Id: 0x10de8001
Subsystem Id: 0x10de0101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  PCM:
    rates [0x40]: 48000
    bits [0x2]: 16
    formats [0x5]: PCM AC3
Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x185601f0: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x04
I've noticed that I don't have an 'hdmi' entry under aplay -L which is strange because I see it all over other people's, even one who says he has the exact same motherboard with on-board HDMI as I have.

Nvidia 7150/630i motherboard
alsa-driver 1.0.18a alsa-tools/alsa-utils 1.0.18
Gentoo Linux

Can anyone tell me what I'm doing wrong?
dbenoy is offline   Reply With Quote
Reply


Thread Tools

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
Upgrade from 290.10 to 295.49 on GeForce 8300 = no hdmi audio + overscan tbubel NVIDIA Linux 2 06-15-12 04:55 AM
$189.99 - Asus VE248H Black 24" Full HD HDMI LED Backlight LCD Monitor w/Speakers News 24-Inch 0 06-10-12 02:35 PM
$279.99 - ASUS VG Series VG23AH Black 23" 5ms HDMI Widescreen 3D LED Monitor 250 cd/m News 23-Inch 0 06-10-12 02:30 PM
No HDMI audio on 302.07 fldc NVIDIA Linux 5 06-01-12 05:46 PM
HDMI audio ELD weirdness RockHound NVIDIA Linux 0 05-11-12 04:45 AM

All times are GMT -5. The time now is 12:18 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.