LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-22-2011, 10:52 AM   #1
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
ALSA not cooperating with nVidia HD Audio


I went out to buy myself an nVidia G210 yesterday in order to play Quake Wars. I installed the 260.19 (latest from RPMFusion) nVidia drivers and 3D effects worked along with the game. What didn't work is the sound. I am using an HDMI cable to connect my monitor to the computer. It seems as though ALSA is not letting the digital stream through because when I play an audio file in Rhythmbox, PulseAudio Volume Control shows that the speakers are blasting music. This is strange, since nothing is coming out.

aplay -l:

Quote:
[alex@alex01 ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
I am currently employing card 2, device 3 in my PulseAudio configuration (/etc/pulse/default.pa). How can I make ALSA read the digital stream from my HDMI cable?

Thanks

Alex
 
Old 05-22-2011, 01:15 PM   #2
akuthia
Member
 
Registered: Oct 2007
Location: triad, nc, usa
Distribution: Ubuntu
Posts: 232

Rep: Reputation: 29
I would try the other devices, also, in bios, try to disable on board sound
 
Old 05-22-2011, 01:17 PM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Check the monitor and make sure to set audio input to HDMI. Also check alsamixer and make sure the right channels are unmuted.
 
Old 05-22-2011, 01:23 PM   #4
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Original Poster
Rep: Reputation: 38
Ok I will try to disable onboard audio in BIOS. As for unmuting, everything is already unmuted. I set everything to 00 instead of MM in alsamixer.

**edit**

Disabled Onboard Audio Controller in BIOS, unmuted everything in ALSA Mixer, still no sound. Do I need to install some connector between Pulse and ALSA? I already have alsa-plugins-pulseaudio. Is there an ALSA firmware package that needs to be installed in order to make certain hardware work? Or is ALSA just screwed up on its focusing point (what sound controller it needs to work with)?


Thanks

Alex

Last edited by abrinister; 05-22-2011 at 01:36 PM.
 
Old 05-22-2011, 01:53 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
If you think that is the case see:
http://www.linuxquestions.org/questi...3/#post4030608
 
Old 05-22-2011, 02:06 PM   #6
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Original Poster
Rep: Reputation: 38
There is a problem with that solution. My system does not have a modprobe.conf or a /etc/modprobe.d/sound. Additionally, there is no alsaconf in Fedora. So I put the options for indexes in /etc/modrobe.d/dist-alsa.conf because it seemed like the logical choice. Tell me if I'm wrong.

**edit**

I tried adding a sound.conf with the options found on the link you posted. That did nothing. It turns out that when I added

Quote:
load-module module-alsa-source device=hw:0,7
to /etc/pulse/default.pa, I forgot to uncomment it. When I did and restarted, PulseAudio had a coniption and stopped working. I also added

Quote:
load-module module-hal-detect
to the mix because on the top it said that it would auto-detect drivers or whatever, but it did no such thing. I commented both of those lines and everything went back to normal, which PulseAudio working. ALSA, on the other hand, still remains incorrectly set up. This is strange.

Alex

Last edited by abrinister; 05-22-2011 at 08:45 PM.
 
Old 05-22-2011, 09:18 PM   #7
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Original Poster
Rep: Reputation: 38
I have a new, rather rash idea of how to maybe fix my problem. I could try to reinstall Fedora (again) without my webcam or my onboard sound. That way the only sound-related peripheral is my nVidia card. I will do this tomorrow and will report back with my results. The problem with this solution is that I will not know the actual solution to the problem. That is rather upsetting, but better fixed than not.

Alex
 
Old 05-23-2011, 05:06 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I never used pulseaudio, and don't know if it is the source of the problem, but can you post the output of 'cat /proc/asound/modules'.
 
Old 05-23-2011, 05:16 AM   #9
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Original Poster
Rep: Reputation: 38
Ok here it is.
Quote:
[alex@alex01 etqw]$ cat /proc/asound/modules
0 snd_hda_intel
1 snd_usb_audio
Since the HDA Intel module is 0, it should be loaded first, shouldn't it? I could completely wipe ALSA off of my computer by deleting the packages and all the files associated with it. Then again, that could screw everything up and I'd rather not.
 
Old 05-23-2011, 05:24 AM   #10
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
There's a similar thread here, maybe there is a solution there:
http://www.linuxquestions.org/questi...-linux-819172/
 
1 members found this post helpful.
Old 05-23-2011, 02:08 PM   #11
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Original Poster
Rep: Reputation: 38
Wow thanks! That worked perfectly.

Alex
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Low volume with alsa on nVidia audio device duffydac Debian 3 03-06-2010 05:31 PM
QMail not cooperating dellthinker Linux - Server 2 06-19-2008 03:08 PM
ALSA problem, 3.1 sarge, nvidia onboard audio 2.6.8 kernel tsiMental Debian 2 01-19-2006 04:12 PM
.xinitrc not cooperating Feminista Linux - Software 4 02-21-2005 01:51 AM
SuSE - not cooperating !!! Misteree Linux - Distributions 16 03-21-2003 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration