LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   nVidia HDMI Audio (https://www.linuxquestions.org/questions/linux-hardware-18/nvidia-hdmi-audio-933109/)

sherb114 03-06-2012 09:37 PM

nVidia HDMI Audio
 
I just installed Slackware 13.37 on my desktop and I went to nVidia's website and downloaded the driver for my Geforce GT 430. The driver works for video but there is no sound. I have tried to configure Alsa but i dont know how to get the nVIdia card to be the default audio output. Im losin my mind with no sound is anyone familiar with this problem??

Code:

root@Sherbeyn:~# /sbin/lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS880 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5)                                                                                       
00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]                                                                                       
00:12.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller                                                                                               
00:12.1 USB Controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller                                                                                                           
00:12.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller                                                                                                 
00:13.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller                                                                                               
00:13.1 USB Controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller                                                                                                           
00:13.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller                                                                                                 
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3c)                                                                                                               
00:14.1 IDE interface: ATI Technologies Inc SB7x0/SB8x0/SB9x0 IDE Controller                                                                                                       
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)                                                                                                               
00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller                                                                                                     
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge                                                                                                                   
00:14.5 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI2 Controller                                                                                               
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration                                                                               
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map                                                                                                 
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller                                                                                             
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control                                                                                       
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control                                                                                               
01:00.0 VGA compatible controller: nVidia Corporation GF108 [GeForce GT 430] (rev a1)                                                                                             
01:00.1 Audio device: nVidia Corporation GF108 High Definition Audio Controller (rev a1)                                                                                           
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)                                                       
03:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)                                                                                   
root@Sherbeyn:~# uname -r
2.6.37.6-smp
root@Sherbeyn:~# lspci -v | grep -i audio
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
01:00.1 Audio device: nVidia Corporation GF108 High Definition Audio Controller (rev a1
root@Sherbeyn:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC889A Analog [ALC889A Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC889A Digital [ALC889A 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


John VV 03-06-2012 10:41 PM

and why wold a 3d VIDEO driver do anything for the sound from a DIFFERENT sound card

are you 100% sure that the sound is not just muted ( turned off )

Daedra 03-06-2012 11:04 PM

it looks like your nvidia card is occupying sound card slot 1, but if you want it to be your default sound device it needs to be in slot 0, see this post for more details.

http://www.linuxquestions.org/questi...device-713793/

JaSauders 03-06-2012 11:05 PM

I'm using the same graphics card on my HTPC. I'm currently within seconds of passing out or I'd get out of bed and check it for you, but I had to adjust a setting somewhere in my sound preferences. I had to make sure the HDMI options were selected, but even then I had no audio. Under either the Hardware or Output tab, I had quite a few selections there. I recall seeing a few that ended with nr#. I remember seeing nr2, nr3, nr4, etc. I think nr4 was what worked for me. What is it? I have no idea. I realized only one out of the bunch worked. When you find those options, try each one while playing an audio file, once you hit it within 1-2 seconds the audio should kick on.

For what it's worth, I'm using Ubuntu 11.10 on this HTPC with the GT430. Good luck.

sherb114 03-07-2012 12:28 AM

Im positive its not muted because I hear the login sounds. I really appreciate all your help.

H_TeXMeX_H 03-07-2012 06:10 AM

See:
http://www.linuxquestions.org/questi...2/#post4032980

ekj 04-05-2012 10:03 AM

This is what I did to get audio over HDMI to work on my computer (inspired by this thread):
  1. Run
    Code:

    sudo killall pulseaudio
  2. Run
    Code:

    alsamixer
  3. Press F6 and choose "1 HDA NVidia".
  4. Unmute all SPDIF.
  5. Change line 44 & 45 in /etc/pulse/default.pa by decomment and change:
    Code:

    load-module module-alsa-sink
    load-module module-alsa-source device=hw:1,7

  6. (KDE specific) Open the mixer by clicking on the volume control in the lower right corner.
  7. (KDE specific) Choose Settings > Audio Setup
  8. (KDE specific) For "Music" & "Video": Enable in "Show advanced devices" and move "HDA NVidia (HDMI 0) #7" up to the top of the list.

Then it worked for me!

cascade9 04-06-2012 05:50 AM

Quote:

Originally Posted by John VV (Post 4620443)
and why wold a 3d VIDEO driver do anything for the sound from a DIFFERENT sound card

are you 100% sure that the sound is not just muted ( turned off )

Because the audio signal passes through the video card, and nouveau HDMI audio support for the 4XX nVidia cards only dates back to decemeber 2011-

Quote:

Nouveau Commits: Fermi Reclocking, PM, MXM, Etc
Posted by Michael Larabel on December 19, 2011

Here are some of the interesting commits that landed last week into the public Nouveau kernel driver tree.

- HDMI audio support for NVA3 through NVD0 chipsets (commit). This HDMI audio support is for graphics cards from the GeForce GT 240 through some GeForce 400/500 "Fermi" GPUs.
http://www.phoronix.com/scan.php?pag...tem&px=MTAzMDI

descendant_command 04-06-2012 06:42 AM

Thanks to Stephen Warren at nVidia.

ftp://download.nvidia.com/XFree86/gp...dmi-audio.html

Quote:

This document attempts to describe everything you need to know about configuring audio-over-HDMI on recent NVIDIA GPUs and chipsets. A fair level of detail is provided, in an attempt to fully explain everything, rather than hiding useful details.

For brevity, the phrase GPU below includes both GPUs on standalone graphics cards, and GPUs integrated within chipsets. The phrase GPU specifically covers only NVIDIA GPUs, and never includes GPUs from other manufacturers. In some cases, chipsets and GPUs may be explicitly discussed separately due to differing feature sets.

For brevity, this document discusses HDMI audio. However, everything herein applies equally to Display Port, and in many cases also DVI ports when connected to an HDMI port on the display device.

The references to a "monitor" within this document apply equally to any device capable of receiving an HDMI signal containing an audio signal. In particular, an A/V receiver with an HDMI input may be used to receive the HDMI signal, process just the audio portion of the signal, and either ignore the video portion completely, or pass that video on to a display device.


All times are GMT -5. The time now is 10:01 AM.