You are not logged in.

#1 2020-07-20 17:01:10

Rendevon
Member
Registered: 2020-04-24
Posts: 6

[SOLVED]Intel audio chip detection on Arch

So I just installed Arch on my new computer(Hp Spectre), and one of the first things that I noticed after going into KDE was that under audio devices, it says that no input or output devices are found

Interestingly, it seems to be detecting my NVIDIA soundcard(I have both a intel and Nvidia chip in my computer), as shown in pacmd list-cards

pacmd list-cards
1 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_01_00.1>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0x90080000 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/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "10fa"
                device.string = "0"
                device.description = "HDA NVidia"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
                output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
                output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
                output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (priority 5700, available: no)
                output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (priority 600, available: no)
                output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (priority 600, available: no)
                off: Off (priority 0, available: unknown)
        active profile: <off>
        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: no)
                        properties:
                                device.icon_name = "video-display"
                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"
                hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-5: HDMI / DisplayPort 6 (priority 5400, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"

Also, when I am playing audio on firefox, the kernel seems to be detecting it fine

 pacmd list-sink-inputs
1 sink input(s) available.
    index: 19
        driver: <protocol-native.c>
        flags: START_CORKED 
        state: RUNNING
        sink: 0 <auto_null>
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        muted: no
        current latency: 125.00 ms
        requested latency: 75.00 ms
        sample spec: float32le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        resample method: copy
        module: 8
        client: 12 <Firefox>
        properties:
                media.name = "AudioStream"
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "33"
                application.process.id = "1318"
                application.process.user = "User"
                application.process.host = "Arch"
                application.process.binary = "firefox"
                application.language = "en_US.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "755364dcf3c1443ebba2e7673c422d3d"
                application.process.session_id = "2"
                application.icon_name = "firefox"
                module-stream-restore.id = "sink-input-by-application-name:Firefox"

I think the problem may be that Arch fails to detect the intel sound card. When I go into alsamixer, the only card that shows up is my NVIDIA card. Under KDE advanced audio options, it seems to detect HDA NVIDIA under device profiles, but there are no devices detected, which leads me to think that it may be on my Intel sound card, which has yet to be detected. This may have something to do with the dual graphics card system that I have. What I did for that was install the NVIDIA and intel drivers and then optimus-manager, which I set to hybrid mode.

Output to lspci -k:

lspci -k
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: skl_uncore
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
        Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
        DeviceName:  Onboard IGD
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: i915
        Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal
00:13.0 Serial controller: Intel Corporation Device a37c (rev 10)
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: intel_ish_ipc
        Kernel modules: intel_ish_ipc
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
        Subsystem: Hewlett-Packard Company Device 863e
00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:15.1 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #1 (rev 10)
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #17 (rev f0)
        Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
        Kernel driver in use: pcieport
00:1d.6 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #15 (rev f0)
        Kernel driver in use: pcieport
00:1d.7 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #16 (rev f0)
        Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Device a30d (rev 10)
        Subsystem: Hewlett-Packard Company Device 863e
00:1f.3 Multimedia audio controller: Intel Corporation Cannon Lake PCH cAVS (rev 10)
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: sof-audio-pci
        Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: intel-spi
        Kernel modules: intel_spi_pci
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
        DeviceName: NVIDIA GeForce GTX 1650
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
02:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
        Kernel driver in use: pcieport
03:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
        Kernel driver in use: pcieport
03:01.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
        Kernel driver in use: pcieport
03:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
        Kernel driver in use: pcieport
03:04.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
        Kernel driver in use: pcieport
04:00.0 System peripheral: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 4C 2018] (rev 06)
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: thunderbolt
        Kernel modules: thunderbolt
38:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 4C 2018] (rev 06)
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
6d:00.0 Non-Volatile memory controller: SK hynix Device 1627
        Subsystem: SK hynix Device 1627
        Kernel driver in use: nvme
6e:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
        DeviceName: Intel Dual Band Wireless-AC 9560 802.11 AC 2x2 WiFi + BT 5 Combo Adapter
        Subsystem: Intel Corporation Device 008c
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
6f:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
        DeviceName: Realtek PCIE CardReader
        Subsystem: Hewlett-Packard Company Device 863e
        Kernel driver in use: rtsx_pci
        Kernel modules: rtsx_pci

aplay -Ll

aplay -Ll
null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=4
    HDA NVidia, HDMI 4
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=5
    HDA NVidia, HDMI 5
    HDMI Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I went on alsamixer and I'm pretty sure it isnt muted. Any help would be welcome. Thanks in advance!

Last edited by Rendevon (2020-07-20 22:23:54)

Offline

#2 2020-07-20 21:30:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,231

Re: [SOLVED]Intel audio chip detection on Arch

What's your output for

dmesg | grep -E 'snd|sof'

? It really does look quite dire, it does recognize an intel card but it doesn't allocate an accessible node. Is linux-firmware installed? I also have a faint recollection of certain HP models having  broken verb tables, in which case a BIOS/UEFI update might help if applicable.

Offline

#3 2020-07-20 21:45:46

Rendevon
Member
Registered: 2020-04-24
Posts: 6

Re: [SOLVED]Intel audio chip detection on Arch

Thanks for the reply!

The output to

dmesg | grep -E 'snd|sof'
dmesg | grep -E 'snd|sof'
[    0.549886] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.549887] software IO TLB: mapped [mem 0x4141d000-0x4541d000] (64MB)
[    2.180697] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    2.181440] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    2.181515] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    2.181571] snd_hda_intel 0000:01:00.1: Disabling MSI
[    2.181576] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    2.477194] snd_soc_skl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    2.477814] snd_soc_skl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    2.642689] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    2.643245] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    2.643253] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[    2.643351] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    3.533485] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.579976] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[    3.638339] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[    3.638341] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    3.639120] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-cfl.ri failed with error -2
[    3.639122] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-cfl.ri failed err: -2
[    3.639124] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2
[    3.639411] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -2
[    3.766210] uvcvideo 1-6:1.0: Entity type for entity Microsoft Extended Controls Uni was not initialized!
[    3.815163] uvcvideo 1-6:1.2: Entity type for entity Microsoft Extended Controls Uni was not initialized!

I checked, and linux firmware is installed.  I'll check on the UEFI update thing. Thanks!

Offline

#4 2020-07-20 22:06:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,231

Re: [SOLVED]Intel audio chip detection on Arch

It's a sof firmware card, so you'll need the sof-firmware package as well (I only didn't initially suggest this because I didn't read properly, there's mention of this in lspci roll).

Offline

#5 2020-07-20 22:21:33

Rendevon
Member
Registered: 2020-04-24
Posts: 6

Re: [SOLVED]Intel audio chip detection on Arch

Installed the package and everything worked perfectly. Thank you for your time!

Offline

Board footer

Powered by FluxBB