nVidia HDMI Audio not working! Any suggestions?

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Postby naithen » 2009-03-17 13:34

GNU.Wasabi wrote:When using S/PDIF output, will it carry the audio to HDMI?


I think this depends on the manufacturer. In older cards, if you could get the digital (IEC958 i.e. S/PDIF) channel working then you are more likely to have audio through the HDMI channel. But on later models they have two seperate channels for HDMI and S/PDIF in which case simply having the S/PDIF output will not solve the problem.

This is the exact problem for me. I have a nVidia 9500GS GPU. I can get the S/PDIF digital audio output but cannot get the HDMI audio. After crawling the web and reading hundreds of threads I came to realise that nVidia has not yet released a driver for 9500 GS which supports HDMI audio. So no matter how updated you are you still won't be able to see the HDMI audio channel until the proper driver is installed.

With their latest (180.29) driver they have supported the 9300GE GPU so I guess with a bit of luck I'll be able to hear audio through the HDMI channel with their next driver release. :)
User avatar
naithen
 
Posts: 213
Joined: 2008-03-03 15:33

Postby buscha » 2009-03-17 14:07

I don't think my issue is hardware related, because i can hear audio on the hdmi channel but only when (i unfortunatley run windows or when) i compile the alsa-drivers manually with --with-all-cards --with-all-options but the sound is delayed so it's not quite there yet. I think this is a problem (at least in my case and maybe yours) with "alsa" not recognizing there is a spdif to route sound to on the card, or just doing it incorrectly based upon the detection of the audio hardware.

When i compile with --with-all-cards, i have (3) ie958, ie958 capture and ie958 default pcm checkboxes in the alsamixer but when i just use out of the box alsa from rpm, i only have (2) ie958, ie958 default pcm. Even though i can hear delayed sound with the compiled alsa-driver, the extra checkbox doesn't affect the sound, only the ie958 checkbox will enable the delayed sound or not.
buscha
 
Posts: 7
Joined: 2009-02-22 18:57

Re: nVidia HDMI Audio not working! Any suggestions?

Postby boogachamp » 2009-07-10 13:20

Here is how I got HDMI Audio working for me.

Query for Playback Devices:
Code: Select all
% aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC1200 Analog [ALC1200 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC1200 Digital [ALC1200 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 0/1
  Subdevice #0: subdevice #0



Now that we have the info for the HDMI device, lets try a test! Digging around I found I needed to use HDMI as a plughw device. In the example below, 0 is the card number and 3 is the device number. If this works, continue on. If not, I have not a clue.
Code: Select all
% aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav



Finally we can edit/create asound.conf in /etc to set HDMI as the default audio device. There might be a better way to do this, but I was just happy to get this far.
Code: Select all
% cat /etc/asound.conf
pcm.!default {
     type plug
     slave.pcm {
             type hw
             card 0
             device 3
     }
}
boogachamp
 
Posts: 1
Joined: 2009-07-10 12:52

Re: nVidia HDMI Audio not working! Any suggestions?

Postby naithen » 2009-08-01 01:59

boogachamp wrote:Here is how I got HDMI Audio working for me.


Could you please list your configuration? ALSA version? kernel? nVidia version? etc.
User avatar
naithen
 
Posts: 213
Joined: 2008-03-03 15:33

Re: nVidia HDMI Audio not working! Any suggestions?

Postby buscha » 2009-08-02 17:27

I'd like to know booga's info too. I've tried the plughw solution, my card only has device 0,1 so i replaced 3 with 1 in my case but i still only have audio through the analog chanel. I have a cable that connects my mobo spdif to the nvidia card so i don't think it's an nvndia problem.

Code: Select all
[root@localhost d]# aplay -L
front:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC888 Digital
    IEC958 (S/PDIF) Digital Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default
[root@localhost d]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


when i aplay file.wav or aplay -D pulse file.wav or aplay -D hw:0,0 I get audio through analog chanel
when i aplay -D hw:0,1 file.wav or aplay -d plughw:0,1 the program streams the file.wav but no audio with all chanels and iec958 switches turned on.

softwares
xorg-x11-drv-nv-2.1.12-6.fc10.x86_64
alsa-tools-firmware-1.0.20-1.fc10.x86_64
alsa-lib-1.0.20-1.fc10.x86_64
alsa-tools-1.0.20-1.fc10.x86_64
alsa-firmware-1.0.20-1.fc10.noarch
alsa-lib-devel-1.0.20-1.fc10.x86_64
alsamixergui-0.9.0-0.4.rc1.fc9.2.x86_64
alsa-utils-1.0.20-2.fc10.x86_64
alsa-plugins-pulseaudio-1.0.18-2.fc10.x86_64
kernel-firmware-2.6.27.25-170.2.72.fc10.noarch
kernel-devel-2.6.27.25-170.2.72.fc10.x86_64
buscha
 
Posts: 7
Joined: 2009-02-22 18:57

Re: nVidia HDMI Audio not working! Any suggestions?

Postby dexter cruz » 2009-09-11 19:04

this might help
:D
nvidia 9400 gt hdmi audio route.jpg
nvidia 9400 gt hdmi audio route.jpg (126.66 KiB) Viewed 8088 times
dexter cruz
 
Posts: 1
Joined: 2009-09-11 18:58

Re: nVidia HDMI Audio not working! Any suggestions?

Postby buscha » 2009-09-11 19:47

thanks, but did have all the cables plugged in. What solved it was (fc11) fedora core 11, fc10 did not support the digital hdmi audio for my setup. Now i can do hdmi in linux, very nice.
buscha
 
Posts: 7
Joined: 2009-02-22 18:57

Re: nVidia HDMI Audio not working! Any suggestions?

Postby milomak » 2009-09-18 20:28

if i remember correctly the 17x drivers don't support HDMI sound
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: Lenovo ideapad Y700-15ISK - Sid, Win10, Solus
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
milomak
 
Posts: 2081
Joined: 2009-06-09 22:20

Previous

Return to Hardware

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable