Fedora Linux Support Community & Resources Center
  #1  
Old 21st January 2012, 07:15 AM
bobDole Offline
Registered User
 
Join Date: Jan 2012
Location: Mountain View
Posts: 6
windows_xp_2003firefox
Unhappy Nvidia HDMI Audio Not working after multiple attempts

I have tried to get audio via HDMI to work with my GTX 570 without success. I have searched and tried quite a few approaches which I'll outline below.

First, HDMI audio does work with my setup. I dual boot with Windows 7 and it works perfectly fine there.

The motherboard is an Asus P8Z68 Deluxe/gen3 (it has onboard audio). The video card is NVidia GTX 570. I'm running Fedora 16.

Code:
# uname -a
Linux dis 3.1.9-1.fc16.x86_64 #1 SMP Fri Jan 13 16:37:42 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Code:
# cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module  290.10  Wed Nov 16 17:39:29 PST 2011
GCC version:  gcc version 4.6.2 20111027 (Red Hat 4.6.2-1) (GCC)
The following is the onboard audio output from lspci -v:
Code:
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
        Subsystem: ASUSTeK Computer Inc. P8P67 Deluxe Motherboard
        Flags: fast devsel, IRQ 4
        Memory at fb620000 (64-bit, non-prefetchable) [disabled] [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Root Complex Link
        Kernel modules: snd-hda-intel
The following is the GTX 570 audio output from lspci -v:
Code:
01:00.1 Audio device: nVidia Corporation GF110 High Definition Audio Controller (rev a1)
        Subsystem: Micro-Star International Co., Ltd. Device 2571
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at fb080000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd-hda-intel
Output from aplay -l with a vanilla /etc/modprobe.d/sound.conf:
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC889 Analog [ALC889 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC889 Digital [ALC889 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
Most of the guides out there have you test each one until you hear audio. Running aplay -D plughw:1,7 somefile.wav plays and confirms that the device is working! The guides then generally have you modify /etc/modprobe.d/sound.conf with a probe_mask. Others will have you modify /etc/pulse/default.pa Whenever I modify /etc/pulse/default.pa, pulse audio doesn't load. So I reset that file to the default. I've had success with sound.conf

I managed to change my aplay -l output to this with the following sound.conf:
Code:
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

# cat /etc/modprobe.d/sound.conf
options snd-hda-intel probe_mask=-1,0x02 index=1,0 enable=0,1
Doing aplay -D plughw:0,3 somefile.wav works with this. I would expect with only one active card and one active device that pulse audio or alsa would have no choice but to choose it. Yet, applications such as mplayer and vlc do not emit any sound.

A handful of guides suggest setting up a .asoundrc file as follows:
Code:
$ cat ~/.asoundrc
pcm.!default {
    type hw
    card 0
    device 3
}
This has no effect. I've tried it with/without sound.conf and adjusting card 0 to card 1 and device 3 to device 7 and still no effect.

This is where I'm stuck. Any help would be appreciated!

edit: I did make sure the outputs were unmuted when testing with vlc or mplayer or aplay -D. I checked and unmuted the outputs with alsamixer

Last edited by bobDole; 21st January 2012 at 07:50 AM. Reason: forgot to mention
Reply With Quote
  #2  
Old 21st January 2012, 08:18 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfirefox
Re: Nvidia HDMI Audio Not working after multiple attempts

http://forums.fedoraforum.org/showthread.php?t=261378
Reply With Quote
  #3  
Old 21st January 2012, 08:19 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfirefox
Re: Nvidia HDMI Audio Not working after multiple attempts

Or

ftp://download.nvidia.com/XFree86/gp...dmi-audio.html
Reply With Quote
  #4  
Old 21st January 2012, 09:16 AM
bobDole Offline
Registered User
 
Join Date: Jan 2012
Location: Mountain View
Posts: 6
linuxfirefox
Re: Nvidia HDMI Audio Not working after multiple attempts

Ahh yes, those two links. I've read those a fair number of times haha. As I mentioned before, anytime I add to default.pa, pulse audio doesn't start. So, the first problem I encounter with that link is adding 'load-module module-alsa-sink device=hw:1,3' to the default.pa. The next problem is when it says and then if you want output to BOTH HDMI and Analog add...well, I don't want both, I only want hdmi audio. Even so, following those instructions fully results in no sound.

One thing I notice is that with a vanilla default.pa, vlc doesn't give any error messages and alsamixer seems to work fine. If I change default.pa, then vlc complains about not being able to connect to pulse audio and then not being able to open /dev/dsp. Alsamixer complains about not being able to connect to pulse audio IIRC. With or wihtout a vanilla default.pa, aplay -D plughw:1,3 somefile.wav still works.

Last thought of the night: I've tried adding the load-module lines and set-default-sink lines at the middle of the file, at the end of default.pa, and separted as recommended in the first link. None of that makes a difference.
Reply With Quote
  #5  
Old 18th February 2012, 10:28 PM
Oberon Offline
Registered User
 
Join Date: Feb 2012
Location: Tel Aviv
Posts: 1
linuxfirefox
Re: Nvidia HDMI Audio Not working after multiple attempts

In case anyone else is having difficulties. This is what worked for me.

*** if you have aplay working, your problem may have been the same as mine (step 6)****


Fedora 16 64 bit
Kernel: 3.2.6-3.fc16.x86_64
Graphics card: GT 430

1. Assuming "aplay -D plughw:...." is working
2.. Download pavucontrol
3. Add the line "load-module module-alsa-sink device=plughw:x,x" to /etc/pulse/default.pa in its designated place
4. type 'killall pulseaudio' in the command line
5. type 'pavucontrol' in the command line
6. Go to the tab 'configuration' and make sure that all profiles are 'off'
7. Under the tab 'Output' you should see your audio controller, make sure that volume is set to 100 and that it is unmuted.
8. Fire up rhythmbox and try it out.

I hope this helps
Reply With Quote
  #6  
Old 21st February 2012, 12:42 AM
psyklops's Avatar
psyklops Offline
Registered User
 
Join Date: Apr 2005
Posts: 344
linuxfirefox
Re: Nvidia HDMI Audio Not working after multiple attempts

Quote:
Originally Posted by Oberon View Post
In case anyone else is having difficulties. This is what worked for me.

*** if you have aplay working, your problem may have been the same as mine (step 6)****


Fedora 16 64 bit
Kernel: 3.2.6-3.fc16.x86_64
Graphics card: GT 430

1. Assuming "aplay -D plughw:...." is working
2.. Download pavucontrol
3. Add the line "load-module module-alsa-sink device=plughw:x,x" to /etc/pulse/default.pa in its designated place
4. type 'killall pulseaudio' in the command line
5. type 'pavucontrol' in the command line
6. Go to the tab 'configuration' and make sure that all profiles are 'off'
7. Under the tab 'Output' you should see your audio controller, make sure that volume is set to 100 and that it is unmuted.
8. Fire up rhythmbox and try it out.

I hope this helps
Perfect. Thanks for that. This worked for me.

I also wanted to get combined output to the analog ports (headphones etc.), so I added the following lines in addition to the above:

Code:
load-module module-combine
set-default-sink combined
So my /etc/pulse/default.pa now looks:
Code:
## Psyk
load-module module-alsa-sink device=plughw:1,7
load-module module-combine
set-default-sink combined
## End
__________________
Intel Core i7-2700K
16Gig RAM
Asus GTX 560 Ti
Fedora 16 x86_64
Reply With Quote
Reply

Tags
attempts, audio, hdmi, multiple, nvidia, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Nvidia HDMI out and Analog audio out combined! CronoCloud Guides & Solutions (No Questions) 3 26th December 2011 07:02 AM
Nvidia GTX 580 HDMI audio not working on Fedora 16 Verne Resilldoux Hardware & Laptops 2 26th November 2011 10:37 AM
HDMI Audio on NVidia GT218 [ION] schplat Hardware & Laptops 0 8th December 2010 02:33 AM
[SOLVED] Nvidia HDMI audio/sound jtang613 Hardware & Laptops 6 23rd September 2010 07:19 PM
Multiple login attempts before access to desktop arturius Using Fedora 4 9th October 2009 12:27 PM


Current GMT-time: 05:43 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat