You are not logged in.

#1 2015-04-10 11:38:12

harlequix
Member
Registered: 2015-04-10
Posts: 1

Pulseaudio doesn't detect all profiles

Hello archlinux forum
I have problems setting up pulseaudio on my new archlinux installation, it fails to detect the full capabilities of my soundcards.
alsa detects every sound card (there are 3: my audigy sound card, my internal intel hda and my graphics card's hdmi), but pulseaudio only registers the inputs of my audigy and the intel hda, so i have no sound without tinkering

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Audigy2 [SB Audigy 2 ZS [SB0350]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
  Subdevices: 32/32
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
  Subdevice #8: subdevice #8
  Subdevice #9: subdevice #9
  Subdevice #10: subdevice #10
  Subdevice #11: subdevice #11
  Subdevice #12: subdevice #12
  Subdevice #13: subdevice #13
  Subdevice #14: subdevice #14
  Subdevice #15: subdevice #15
  Subdevice #16: subdevice #16
  Subdevice #17: subdevice #17
  Subdevice #18: subdevice #18
  Subdevice #19: subdevice #19
  Subdevice #20: subdevice #20
  Subdevice #21: subdevice #21
  Subdevice #22: subdevice #22
  Subdevice #23: subdevice #23
  Subdevice #24: subdevice #24
  Subdevice #25: subdevice #25
  Subdevice #26: subdevice #26
  Subdevice #27: subdevice #27
  Subdevice #28: subdevice #28
  Subdevice #29: subdevice #29
  Subdevice #30: subdevice #30
  Subdevice #31: subdevice #31
card 0: Audigy2 [SB Audigy 2 ZS [SB0350]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2                                                                                                                                                       
  Subdevice #3: subdevice #3                                                                                                                                                       
  Subdevice #4: subdevice #4                                                                                                                                                       
  Subdevice #5: subdevice #5                                                                                                                                                       
  Subdevice #6: subdevice #6                                                                                                                                                       
  Subdevice #7: subdevice #7
card 0: Audigy2 [SB Audigy 2 ZS [SB0350]], device 3: emu10k1 [Multichannel Playback]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audigy2 [SB Audigy 2 ZS [SB0350]], device 4: p16v [p16v]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 1: ALC1150 Digital [ALC1150 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pacmd list-cards
3 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_01_00.1>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "3"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 17"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card3"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "0fba"
                device.string = "3"
                device.description = "HDA NVidia"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: unknown)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: unknown)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: unknown)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: unknown)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: unknown)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: unknown)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <output:hdmi-stereo>
        sinks:
                alsa_output.pci-0000_01_00.1.hdmi-stereo/#0: HDA NVidia Digital Stereo (HDMI)
        sources:
                alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor/#0: Monitor of HDA NVidia Digital Stereo (HDMI)
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "S27C350
     "
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 1
        name: <alsa_card.pci-0000_00_1b.0>
        driver: <module-alsa-card.c>
        owner module: 8
        properties:
                alsa.card = "2"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xf7230000 irq 31"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1b.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card2"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "8ca0"
                device.product.name = "9 Series Chipset Family HD Audio Controller"
                device.form_factor = "internal"
                device.string = "2"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <input:analog-stereo>
        sources:
                alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analog Stereo
        ports:
                analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
                        properties:

    index: 2
        name: <alsa_card.pci-0000_04_02.0>
        driver: <module-alsa-card.c>
        owner module: 9
        properties:
                alsa.card = "0"
                alsa.card_name = "SB Audigy 2 ZS [SB0350]"
                alsa.long_card_name = "SB Audigy 2 ZS [SB0350] (rev.4, serial:0x20021102) at 0xd000, irq 17"
                alsa.driver_name = "snd_emu10k1"
                device.bus_path = "pci-0000:04:02.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/0000:04:02.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "1102"
                device.vendor.name = "Creative Labs"
                device.product.id = "0004"
                device.product.name = "SB Audigy (2 ZS (SB0350))"
                device.string = "0"
                device.description = "SB Audigy (2 ZS (SB0350))"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:multichannel: Multichannel Input (priority 1, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <input:multichannel>
        sources:
                alsa_input.pci-0000_04_02.0.multichannel/#2: SB Audigy (2 ZS (SB0350)) Multichannel

sound works if i manually load the modules for my audigy and my intel sound card and set them as defaults, but this stinks because alsa seems to randomly renumber the cards after reboot

I hope for some helpful input

thanks harlequix

Offline

#2 2015-04-10 22:21:02

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 624

Re: Pulseaudio doesn't detect all profiles

Why do you use alsa and pulseaudio at the same time? You could have only pulseaudio and in, for an example, pavucontrol (gui for pulseaudio settings) you could choos which should be first, and rest mark as the spare. If you want to use pulse and alsa (in my case i have this option because i use mainly alsa and pulseaudio only for skype) you could set index for alsa (you have to crate file in /etc/modprobe.d/ and name it alsa-base.conf) and configure pulse to not grab alsa hadrware by editing /etc/pulse/default.pa. Both of these metods are explained on archwiki in pulseaudio and alsa pages.

BTW - about nvidia hdmi. nvidia sound chip use the same driver, that intel hda does:

lspci -vvvv
01:00.1 Audio device: NVIDIA Corporation GK106 HDMI Audio Controller (rev a1)
        Subsystem: Gigabyte Technology Co., Ltd Device 354e
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 17
        Region 0: Memory at f6080000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

but also something that in my opinion is an front end for it:

[firekage@arch_desktop ~]$ lsmod | grep snd_
snd_hda_codec_hdmi     49263  1 
snd_usbmidi_lib        27571  0 
snd_rawmidi            26806  1 snd_usbmidi_lib
snd_seq_device         13307  1 snd_rawmidi
snd_hda_intel          26387  2 
snd_hda_controller     26857  1 snd_hda_intel
snd_hda_codec         112621  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller
snd_ctxfi             104184  3 
snd_hwdep              17244  1 snd_hda_codec
snd_pcm                88779  6 snd_ctxfi,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26614  1 snd_pcm
snd                    73436  19 snd_ctxfi,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore              13031  2 snd,snd_hda_codec
usbcore               199382  9 uas,usblp,uvcvideo,usb_storage,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid
[firekage@arch_desktop ~]$ 

you should see snd_hda_codec_hdmi and _snd_hda_codec.

Last edited by firekage (2015-04-10 22:24:50)

Offline

Board footer

Powered by FluxBB