LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ALSA not cooperating with nVidia HD Audio (https://www.linuxquestions.org/questions/linux-software-2/alsa-not-cooperating-with-nvidia-hd-audio-882105/)

abrinister 05-22-2011 10:52 AM

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

akuthia 05-22-2011 01:15 PM

I would try the other devices, also, in bios, try to disable on board sound

H_TeXMeX_H 05-22-2011 01:17 PM

Check the monitor and make sure to set audio input to HDMI. Also check alsamixer and make sure the right channels are unmuted.

abrinister 05-22-2011 01:23 PM

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

H_TeXMeX_H 05-22-2011 01:53 PM

If you think that is the case see:
http://www.linuxquestions.org/questi...3/#post4030608

abrinister 05-22-2011 02:06 PM

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

abrinister 05-22-2011 09:18 PM

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

H_TeXMeX_H 05-23-2011 05:06 AM

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'.

abrinister 05-23-2011 05:16 AM

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.

H_TeXMeX_H 05-23-2011 05:24 AM

There's a similar thread here, maybe there is a solution there:
http://www.linuxquestions.org/questi...-linux-819172/

abrinister 05-23-2011 02:08 PM

Wow thanks! That worked perfectly.

Alex


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