Hi all,
I have installed a centos 6.2 x86_64 box to use as a multimedia center. All works ok, except sound over hdmi using nvidia graphics card. My lspci output:
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:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2) 00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40) 00:12.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 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.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 42) 00:14.1 IDE interface: ATI Technologies Inc SB7x0/SB8x0/SB9x0 IDE Controller (rev 40) 00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller (rev 40) 00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40) 00:16.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:16.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI 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 GT218 [GeForce 210] (rev a2) 01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1) 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5723 Gigabit Ethernet PCIe (rev 10)
Under gnome control panel, all seems ok: under sound preferences, sound output is configured to use HDMI channel.
I am using nvidia drivers from elrepo.org (nvidia-x11-drv-290.10 and kmod-nvidia-290.10). Somebody knows where can I find some doc to resolve this? Any idea?
Thanks
On 08/01/12 10:29, C. L. Martinez wrote:
I am using nvidia drivers from elrepo.org (nvidia-x11-drv-290.10 and kmod-nvidia-290.10). Somebody knows where can I find some doc to resolve this? Any idea?
Thanks
I would also try the nvidia Linux support forums:
On 01/08/2012 11:29 AM, C. L. Martinez wrote:
I am using nvidia drivers from elrepo.org (nvidia-x11-drv-290.10 and kmod-nvidia-290.10). Somebody knows where can I find some doc to resolve this? Any idea?
I've added the file /etc/modprobe.d/sound.conf with:
options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2
I think that the probe_mask depends upon which card you have.
At least this should give you something to google.
When it works, you should right-click on the volume control, select Sound Preferences, and select HDMI on the Output tab.
Mogens
Under gnome control panel, all seems ok: under sound preferences, sound output is configured to use HDMI channel.
I am using nvidia drivers from elrepo.org (nvidia-x11-drv-290.10 and kmod-nvidia-290.10). Somebody knows where can I find some doc to resolve this? Any idea?
I recall doing this on Fedora 14 for my HTPC so it should be similar or at least point you in the right direction. I wrote something for it (GeForce 210) here:
http://taiter.com/techlog/2010/07/nvidia-gt210---hdmi-audio.html
I remember having to update the alsa-driver package to something newer than what was default via ATrpms repo. I believe you need version 1.0.23 or newer for it to work (version can be checked by looking at /proc/asound/version).
Then I had to go into alsamixer and unmute the line.
Tait
http://taiter.com/techlog/2010/07/nvidia-gt210---hdmi-audio.html
My mistake, the correct link is here:
http://blog.taiter.com/tech/2010/07/nvidia-gt210---hdmi-audio.html
Forgot I was testing my redesign and had the wrong server in my host file :)
On 09/01/12 15:43, Tait Clarridge wrote:
http://taiter.com/techlog/2010/07/nvidia-gt210---hdmi-audio.html
My mistake, the correct link is here:
http://blog.taiter.com/tech/2010/07/nvidia-gt210---hdmi-audio.html
Forgot I was testing my redesign and had the wrong server in my host file :)
Nvidia's documentation may also be found here:
ftp://download.nvidia.com/XFree86/gpu-hdmi-audio-document/gpu-hdmi-audio.html
Apologies for hijacking this thread, but I have posted here before and received not a single response. This is on CentOS5.
http://lists.centos.org/pipermail/centos/2011-November/119707.html
Other than the OP, I don't want HDMI sound, but the builtin sound device is not working. In a nutshell, a machine with this sound configuration
# lspci |grep -i aud 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller 02:00.1 Audio device: nVidia Corporation GF108 High Definition Audio Controller (rev a1) #
does not play any sound, whereas this otherwise identical one works
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
In the non-working case, /etc/modprobe.conf has
alias snd-card-1 snd-hda-intel options snd-card-1 index=1 options snd-hda-intel index=1 remove snd-hda-intel { /usr/sbin/alsactl store 1 >/dev/null 2>&1 || : ; }; /sbin /modprobe -r --ignore-remove snd-hda-intel
and on the working machine,
options snd-hda-intel index=0 remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-hda-intel
The non-working config has /dev/audio1, which plays horribly distorted sound (cat file >/dev/audio1). The working config has /dev/audio, which works fine.
The BIOS only has an option to enable sound, when I disable it, the snd* modules don't get loaded and volume prefs etc. don't work (kinda logical).
I presume the problem is that there is no driver for the nvidia sound device, yet it is configured as card 0 (default). Again, in the non-working case I have
# cat /proc/asound/cards 1 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xf7ffc000 irq 169 #
and in the working case, I have
# cat /proc/asound/cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xf7ffc000 irq 82 #
Any ideas how I can get sound working on this machine?
(It works very well under CentOS6, btw., PA let's me choose either device and the speaker tests are successful.)
On 18/01/12 15:21, Lars Hecking wrote:
Apologies for hijacking this thread, but I have posted here before and received not a single response. This is on CentOS5.
http://lists.centos.org/pipermail/centos/2011-November/119707.html
Other than the OP, I don't want HDMI sound, but the builtin sound device is not working. In a nutshell, a machine with this sound configuration
# lspci |grep -i aud 00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller 02:00.1 Audio device: nVidia Corporation GF108 High Definition Audio Controller (rev a1) #
does not play any sound, whereas this otherwise identical one works
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
In the non-working case, /etc/modprobe.conf has
alias snd-card-1 snd-hda-intel options snd-card-1 index=1 options snd-hda-intel index=1 remove snd-hda-intel { /usr/sbin/alsactl store 1>/dev/null 2>&1 || : ; }; /sbin /modprobe -r --ignore-remove snd-hda-intel
Try changing the above to:
alias snd-card-0 snd-hda-intel options snd-card-0 index=0 options snd-hda-intel index=0 remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-hda-intel
Save and reboot.
Try changing the above to:
alias snd-card-0 snd-hda-intel options snd-card-0 index=0 options snd-hda-intel index=0 remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-hda-intel
Save and reboot.
I tried that yesterday and it did not work, but I found out that this happened for an entirely different reason. Tested again today and it works. Thanks, Ned!
On 01/19/2012 10:58 AM, Lars Hecking wrote:
I tried that yesterday and it did not work, but I found out that this happened for an entirely different reason. Tested again today and it works. Thanks, Ned!
Can you please inform us as well what was the cause?
Ljubomir Ljubojevic writes:
On 01/19/2012 10:58 AM, Lars Hecking wrote:
I tried that yesterday and it did not work, but I found out that this happened for an entirely different reason. Tested again today and it works. Thanks, Ned!
Can you please inform us as well what was the cause?
I followed another suggestion to disable the nvidia sound through /sys, but that broke nvidia graphics as well. The console was messed up, X didn't load, and I didn't get to test the sound config at all. So, saying that this approach didn't work is not quite correct.