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

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-25-10, 05:58 AM   #1
fuzzy2010
Registered User
 
Join Date: May 2010
Posts: 4
Default GT220 HDMI sound problems Fedora 12

I cannot seem to get HDMI sound working on my GT 220. I tried following the xbmc wiki and their thread as well.

lspci |grep Audio
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
01:00.1 Audio device: nVidia Corporation Device 0be2 (rev a1)

Mythdora 12.23 (I upgraded from the install kernel along with the nvidia kmod and sound kmdl):

uname -a
Linux localhost.localdomain 2.6.32.12-115.fc12.x86_64 #1 SMP Fri Apr 30 19:46:25 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

rpm -qa|grep alsa
alsa-utils-1.0.22-1.fc12.x86_64
alsa-lib-1.0.23-1.fc12.x86_64
alsa-kmdl-2.6.32.12-115.fc12-1.0.23-83.fc12.x86_64

rpm -qa|grep nv
libgnomecanvas-2.26.0-2.fc12.x86_64
nvidia-xconfig-1.0-2.fc12.x86_64
kmod-nvidia-2.6.32.12-115.fc12.x86_64-195.36.24-1.fc12.2.x86_64
nvidia-settings-1.0-3.4.fc12.x86_64
xorg-x11-drv-nv-2.1.15-2.fc12.x86_64
kmod-nvidia-195.36.24-1.fc12.2.x86_64
gnome-python2-canvas-2.28.0-1.fc12.x86_64
xorg-x11-drv-nvidia-libs-195.36.24-1.fc12.x86_64
kmod-nvidia-2.6.32.11-99.fc12.x86_64-195.36.15-1.fc12.2.x86_64
xorg-x11-drv-nvidia-195.36.24-1.fc12.x86_64

cat sound.conf
options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2 index=1

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

speaker-test -Dhwplug:0,3

speaker-test 1.0.22

Playback device is hwplug:0,3
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm.c:2211snd_pcm_open_noupdate) Unknown PCM hwplug:0,3
Playback open error: -2,No such file or directory

aplay -D plughw:0,3 Noise.wav
Playing WAVE 'Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

aplay -D hdmi Noise.wav
Playing WAVE 'Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: set_params:996: Channels count non available

speaker-test

speaker-test 1.0.22

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Channels count (1) not available for playbacks: Invalid argument
Setting of hwparams failed: Invalid argument

speaker-test -D hdmi

speaker-test 1.0.22

Playback device is hdmi
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Channels count (1) not available for playbacks: Invalid argument
Setting of hwparams failed: Invalid argument
[root@localhost alsa]# speaker-test -D hw:0,3

speaker-test 1.0.22

Playback device is hw:0,3
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Channels count (1) not available for playbacks: Invalid argument
Setting of hwparams failed: Invalid argument

lsmod | grep hdmi
snd_hda_codec_nvhdmi 12743 1
snd_hda_codec 83951 3 snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda _intel
snd 60294 29 snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda _intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_dev ice,snd_pcm,snd_timer
[root@localhost alsa]#

In alsamixer I can see Intel and the nvidia sound. I unmuted both and all spdifs. MythTV sound is set to plughw:0,3.

there was no sound, but no errors like the others:

speaker-test -Dplughw:0,3 -c2 (and tried -c6).

speaker-test 1.0.22

Playback device is plughw:0,3
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
0 - Front Left
1 - Front Right
Time per period = 5.633466
0 - Front Left
1 - Front Right

I just tried removing entries from sound.conf to at least get sound working. It appears to be showing up now in aplay -l without those entries, but there were four mutes on the nvidia (I believe the extra ,0xffff2 supresses the others). I didn't try any further testing.

I read something about plugging into SPDIF and then plugging the other end of the cable as input to? Is this something I am missing?

What else might I be missing or is wrong?
fuzzy2010 is offline   Reply With Quote
Old 05-25-10, 07:12 AM   #2
paoleary
Registered User
 
Join Date: Feb 2010
Posts: 37
Default Re: GT220 HDMI sound problems Fedora 12

Links: nV News thread, the XBMC thread, and the XBMC Wiki page. So go ahead and read through those if you haven't, and take it to one of the open threads if you're still stumped. Yes, I know the nV News thread isn't titled with your card, but the HDMI chip is the same, and it's easier to keep all that together.

All that said, the device setup in ALSA seems to be the problem. One of your speaker-tests used the nonexistent-ever device "hwplug" (should be plughw); besides that, your ALSA configuration files are probably messed up.

If you don't need any per-user configuration of ALSA--and for now, you don't--delete all /home/*/.asoundrc files and use the /etc/asound.conf listed at the bottom of the wiki page. If you're still having problems, please repost to the main thread. Thanks!
paoleary is offline   Reply With Quote
Old 05-26-10, 10:58 AM   #3
lintweaker
Registered User
 
Join Date: Oct 2004
Posts: 44
Thumbs up Re: GT220 HDMI sound problems Fedora 12

I am using Fedora 12 (x86_64) with a GT220 (Asus BRAVO 220 SILENT/DI/1GD2(LP) (I updated the xbmc wiki) with the latest stock kernel and alsa packages. I only, manually, updated the alsa drivers to a recent alsa snapshot from http://ftp.kernel.org/pub/linux/kern...a/alsa-driver/.

I see you use updated alsa drivers from atrpms. I guess 1.0.23 should be new enough.

Last edited by lintweaker; 05-26-10 at 10:59 AM. Reason: typo
lintweaker is offline   Reply With Quote
Old 05-27-10, 05:25 AM   #4
fuzzy2010
Registered User
 
Join Date: May 2010
Posts: 4
Default Re: GT220 HDMI sound problems Fedora 12

Ya, I was having problems compiling the alsa drivers while using the xbmc wiki instructions.
fuzzy2010 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


All times are GMT -5. The time now is 03:55 AM.


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