You are not logged in.

#1 2015-04-22 20:33:46

predmijat
Member
Registered: 2014-09-30
Posts: 39

[SOLVED] PulseAudio doesn't detect HDA Intel, only HDA NVidia

Hi,

I get sound only through my monitor (DP - HDA Nvidia), my external speakers or headphones (HDA Intel) are not recognized by PulseAudio. Both worked in the past, I don't know what broke it.

 aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1150 Digital [ALC1150 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 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

but in pacmd "list-cards" shows only NVidia...

I do not have ~/.asound.conf, but I do have /etc/asound.conf (I never changed this):

# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}

# vim:set ft=alsaconf:

Also, when I do "pulseaudio --kill" it seems to restart automatically and journalctl -f shows "[pulseaudio] pid.c: Daemon already running."...

If you need any more info on this, I'll provide it as soon as possible...

Thanks!

Last edited by predmijat (2015-04-27 18:17:53)

Offline

#2 2015-04-22 20:53:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,662

Re: [SOLVED] PulseAudio doesn't detect HDA Intel, only HDA NVidia

That pulseaudio restarts is normal behaviour, set autospawn to off in /etc/pulse/client.conf if you want to prevent that. Maybe you have a corrupted cache try deleting ~/.pulse and/or ~/.config/pulse

Last edited by V1del (2015-04-22 20:57:08)

Online

#3 2015-04-22 20:58:17

predmijat
Member
Registered: 2014-09-30
Posts: 39

Re: [SOLVED] PulseAudio doesn't detect HDA Intel, only HDA NVidia

~/.pulse does not exist. I've tried deleting ~/.config/pulse, no results...

Offline

#4 2015-04-23 18:59:22

predmijat
Member
Registered: 2014-09-30
Posts: 39

Re: [SOLVED] PulseAudio doesn't detect HDA Intel, only HDA NVidia

Any ideas/hints are welcomed really, I have no idea what to do...

Offline

#5 2015-04-24 01:41:38

headkase
Member
Registered: 2011-12-06
Posts: 1,976

Re: [SOLVED] PulseAudio doesn't detect HDA Intel, only HDA NVidia

I had a similar problem at one time.  You can try: This.  With aplay try the different audio outputs on your system and when you get results from one of them then modify your pulse configuration to explicitly point to the correct output.

Offline

#6 2015-04-24 05:55:30

predmijat
Member
Registered: 2014-09-30
Posts: 39

Re: [SOLVED] PulseAudio doesn't detect HDA Intel, only HDA NVidia

All my S/PDIF devices for HDA NVidia are already unmuted in alsamixer. Doing aplay -D plughw: for any combination found in aplay -l doesn't produce any sound...

Offline

#7 2015-04-24 12:51:15

headkase
Member
Registered: 2011-12-06
Posts: 1,976

Re: [SOLVED] PulseAudio doesn't detect HDA Intel, only HDA NVidia

Well, sorry, that was my only suggestion.  There is one thing to check though: are the speakers plugged into both the power and computer?  I know, I know, just check..

Offline

#8 2015-04-25 06:40:04

predmijat
Member
Registered: 2014-09-30
Posts: 39

Re: [SOLVED] PulseAudio doesn't detect HDA Intel, only HDA NVidia

They are plugged in smile mic is not recognized also...front panel is also ignored, it doesn't see the HDA Intel...but, 'progress' - I didn't do anything except reboot my pc and I got sound on external speakers, headphones, and the mic is working...it's like there is some conflict, and if on boot one thing runs before the other, I don't get my sound...wild guess

EDIT: Yeah...had to restart today, HDA Intel not working again...

Last edited by predmijat (2015-04-26 12:49:58)

Offline

#9 2015-04-27 03:44:56

headkase
Member
Registered: 2011-12-06
Posts: 1,976

Re: [SOLVED] PulseAudio doesn't detect HDA Intel, only HDA NVidia

Here, I dug up an old file I have kicking around.

Put it in /etc/modprobe.d/alsa.conf

Name it anything you want instead of "alsa.conf" as long as the file name ends in ".conf"

options snd_hda_intel enable=1,0 vid=8086,10de pid=3b56,0bea
options snd_hda_intel index=0 vid=8086 pid=3b56

The VID and PID numbers are from my hardware.  You will have to replace them from your hardware.  Do:

lspci -nn | grep -i audio

And you will see both your on-board and nVidia audio devices.  Look for [xxxx:xxxx] in the listing.  The first xxxx is your VID - vendor, and the second xxxx is your PID - product/part.

In the "enable=1,0" line put the two VID's first with you on-board being the first VID and then put your two PID's with your on-board being the first PID.  Then in the "index=0" line put your on-board VID and PID.

This will disable the nVidia audio and just enable your on-board audio.  It will explicitly set your on-board audio to be the first audio device on your system.  This will fix a race condition.

Remember, you must put in the appropriate VID and PID's for your specific hardware.

PulseAudio builds on top of ALSA so you are configuring your ALSA devices at a lower level before Pulse starts and when Pulse starts it adds its layer on top of that.

Another assumption is that both audio devices are using snd_hda_intel which is a pretty safe assumption.  Use "lsmod" to confirm this.

Offline

#10 2015-04-27 18:17:39

predmijat
Member
Registered: 2014-09-30
Posts: 39

Re: [SOLVED] PulseAudio doesn't detect HDA Intel, only HDA NVidia

That helped smile
Thanks headkase!

Offline

#11 2015-04-28 10:15:13

headkase
Member
Registered: 2011-12-06
Posts: 1,976

Re: [SOLVED] PulseAudio doesn't detect HDA Intel, only HDA NVidia

Right on, you're welcome. smile

Offline

Board footer

Powered by FluxBB