You are not logged in.

#1 2021-02-22 13:17:32

CountZukula
Member
Registered: 2017-11-04
Posts: 44

[solved] Audio issues: HP Zbook Create G7

I have just completed a fresh install on this Zbook Create G7 and after doing the usual I cannot seem to get audio working. Alsa and Pulseaudio are enabled. In Pulseaudio, I can only see a "Dummy output". Intel driver seems to be loaded.

After digging around, I think it has to do with missing drivers for this particular model, as only the HDMI playback devices are detected. Perhaps there's someone here with a similar laptop, or a fresh look on the problem?

For reference: I have tested on Windows (where audio works, output device is detected as Realtek - see screenshot) and Manjaro Gnome (where I am seeing the same behaviour as under Arch).

lspci -nn

00:00.0 Host bridge [0600]: Intel Corporation 10th Gen Core Processor Host Bridge/DRAM Registers [8086:9b44] (rev 02)
00:01.0 PCI bridge [0604]: Intel Corporation 6th-9th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics [8086:9bc4] (rev 05)
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903] (rev 02)
00:12.0 Signal processing controller [1180]: Intel Corporation Comet Lake PCH Thermal Controller [8086:06f9]
00:14.0 USB controller [0c03]: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller [8086:06ed]
00:14.2 RAM memory [0500]: Intel Corporation Comet Lake PCH Shared SRAM [8086:06ef]
00:14.3 Network controller [0280]: Intel Corporation Comet Lake PCH CNVi WiFi [8086:06f0]
00:15.0 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH Serial IO I2C Controller #0 [8086:06e8]
00:15.1 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH Serial IO I2C Controller #1 [8086:06e9]
00:16.0 Communication controller [0780]: Intel Corporation Comet Lake HECI Controller [8086:06e0]
00:16.3 Serial controller [0700]: Intel Corporation Device [8086:06e3]
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:06ba] (rev f0)
00:1c.4 PCI bridge [0604]: Intel Corporation Device [8086:06bc] (rev f0)
00:1d.0 PCI bridge [0604]: Intel Corporation Comet Lake PCI Express Root Port #9 [8086:06b0] (rev f0)
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:068e]
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Comet Lake PCH cAVS [8086:06c8]
00:1f.4 SMBus [0c05]: Intel Corporation Comet Lake PCH SMBus Controller [8086:06a3]
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH SPI Controller [8086:06a4]
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU106M [GeForce RTX 2070 Mobile / Max-Q Refresh] [10de:1f14] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation TU106 High Definition Audio Controller [10de:10f9] (rev a1)
01:00.2 USB controller [0c03]: NVIDIA Corporation TU106 USB 3.1 Host Controller [10de:1ada] (rev a1)
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU106 USB Type-C UCSI Controller [10de:1adb] (rev a1)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01)
03:00.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
04:00.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
04:01.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
04:02.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
04:04.0 PCI bridge [0604]: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] [8086:15ea] (rev 06)
05:00.0 System peripheral [0880]: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 4C 2018] [8086:15eb] (rev 06)
39:00.0 USB controller [0c03]: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 4C 2018] [8086:15ec] (rev 06)
6d:00.0 Non-Volatile memory controller [0108]: Micron Technology Inc Device [1344:5405]

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 0xe1000000 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 = "10f9"
		device.product.name = "TU106 High Definition Audio Controller"
		device.string = "0"
		device.description = "TU106 High Definition Audio Controller"
		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"

aplay -lL

null
    Discard all samples (playback) or generate zero samples (capture)
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio 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
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream 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

sudo dmesg | grep -i -E "hda|snd" 

[    1.711831] pci 0000:01:00.0: optimus capabilities: enabled, status dynamic power, hda bios codec supported
[    1.717269] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    1.717282] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    1.717453] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    1.717660] snd_hda_intel 0000:01:00.1: Disabling MSI
[    1.717665] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    1.861937] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input14
[    1.861958] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input15
[    1.861976] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input16
[    1.861995] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input17
[    1.862012] input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input18
[    1.862029] input: HDA NVidia HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input19
[    1.963502] snd_soc_skl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    1.963516] snd_soc_skl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    2.887587] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
[    2.989971] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[    2.989972] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[   12.370283] Modules linked in: ccm tpm_crb snd_hda_codec_realtek snd_hda_codec_generic btusb uvcvideo btrtl btbcm videobuf2_vmalloc btintel videobuf2_memops videobuf2_v4l2 bluetooth videobuf2_common videodev ecdh_generic ecc crc16 joydev mousedev snd_soc_dmic mc uas usb_storage hid_multitouch iTCO_wdt intel_pmc_bxt mei_hdcp mei_wdt ee1004 iTCO_vendor_support intel_rapl_msr ucsi_ccg snd_sof_pci snd_sof_intel_byt snd_sof_intel_ipc snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_xtensa_dsp snd_sof_intel_hda intel_wmi_thunderbolt snd_sof x86_pkg_temp_thermal intel_powerclamp ledtrig_audio hp_wmi wmi_bmof coretemp iwlmvm snd_soc_skl kvm_intel snd_soc_sst_ipc snd_soc_sst_dsp mac80211 kvm snd_hda_codec_hdmi snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation libarc4 soundwire_cadence irqbypass crct10dif_pclmul crc32_pclmul nouveau iwlwifi snd_hda_codec ghash_clmulni_intel aesni_intel i915 snd_hda_core crypto_simd
[   12.370306]  cryptd glue_helper snd_hwdep soundwire_bus rapl intel_cstate mxm_wmi intel_uncore snd_soc_core cfg80211 ttm snd_compress pcspkr i2c_algo_bit ac97_bus snd_pcm_dmaengine drm_kms_helper thunderbolt snd_pcm i2c_i801 i2c_smbus snd_timer cec snd processor_thermal_device ucsi_acpi intel_gtt mei_me intel_lpss_pci typec_ucsi intel_rapl_common syscopyarea intel_lpss sysfillrect sysimgblt mei rfkill idma64 soundcore i2c_nvidia_gpu fb_sys_fops intel_soc_dts_iosf typec intel_pch_thermal wmi i2c_hid tpm_tis int3403_thermal soc_button_array int340x_thermal_zone tpm_tis_core video tpm int3400_thermal intel_hid acpi_thermal_rel rng_core hp_wireless mac_hid sparse_keymap acpi_pad drm fuse crypto_user agpgart bpf_preload ip_tables x_tables btrfs blake2b_generic libcrc32c crc32c_generic rtsx_pci_sdmmc xor raid6_pq mmc_core crc32c_intel serio_raw rtsx_pci xhci_pci xhci_pci_renesas
[  281.659402] Modules linked in: ccm tpm_crb snd_hda_codec_realtek snd_hda_codec_generic btusb uvcvideo btrtl btbcm videobuf2_vmalloc btintel videobuf2_memops videobuf2_v4l2 bluetooth videobuf2_common videodev ecdh_generic ecc crc16 joydev mousedev snd_soc_dmic mc uas usb_storage hid_multitouch iTCO_wdt intel_pmc_bxt mei_hdcp mei_wdt ee1004 iTCO_vendor_support intel_rapl_msr ucsi_ccg snd_sof_pci snd_sof_intel_byt snd_sof_intel_ipc snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_xtensa_dsp snd_sof_intel_hda intel_wmi_thunderbolt snd_sof x86_pkg_temp_thermal intel_powerclamp ledtrig_audio hp_wmi wmi_bmof coretemp iwlmvm snd_soc_skl kvm_intel snd_soc_sst_ipc snd_soc_sst_dsp mac80211 kvm snd_hda_codec_hdmi snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation libarc4 soundwire_cadence irqbypass crct10dif_pclmul crc32_pclmul nouveau iwlwifi snd_hda_codec ghash_clmulni_intel aesni_intel i915 snd_hda_core crypto_simd
[  281.659424]  cryptd glue_helper snd_hwdep soundwire_bus rapl intel_cstate mxm_wmi intel_uncore snd_soc_core cfg80211 ttm snd_compress pcspkr i2c_algo_bit ac97_bus snd_pcm_dmaengine drm_kms_helper thunderbolt snd_pcm i2c_i801 i2c_smbus snd_timer cec snd processor_thermal_device ucsi_acpi intel_gtt mei_me intel_lpss_pci typec_ucsi intel_rapl_common syscopyarea intel_lpss sysfillrect sysimgblt mei rfkill idma64 soundcore i2c_nvidia_gpu fb_sys_fops intel_soc_dts_iosf typec intel_pch_thermal wmi i2c_hid tpm_tis int3403_thermal soc_button_array int340x_thermal_zone tpm_tis_core video tpm int3400_thermal intel_hid acpi_thermal_rel rng_core hp_wireless mac_hid sparse_keymap acpi_pad drm fuse crypto_user agpgart bpf_preload ip_tables x_tables btrfs blake2b_generic libcrc32c crc32c_generic rtsx_pci_sdmmc xor raid6_pq mmc_core crc32c_intel serio_raw rtsx_pci xhci_pci xhci_pci_renesas

lsmod | grep snd

snd_hda_codec_realtek   143360  0
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
snd_soc_dmic           16384  0
snd_sof_pci            24576  0
snd_sof_intel_byt      20480  1 snd_sof_pci
snd_sof_intel_ipc      20480  1 snd_sof_intel_byt
snd_sof_intel_hda_common    98304  1 snd_sof_pci
snd_soc_hdac_hda       24576  1 snd_sof_intel_hda_common
snd_sof_xtensa_dsp     16384  2 snd_sof_intel_hda_common,snd_sof_intel_byt
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof               139264  4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_sof
snd_soc_skl           180224  0
snd_soc_sst_ipc        20480  1 snd_soc_skl
snd_soc_sst_dsp        40960  1 snd_soc_skl
snd_hda_codec_hdmi     73728  1
snd_hda_ext_core       36864  4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_acpi_intel_match    45056  3 snd_sof_pci,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_acpi           16384  4 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_soc_skl
snd_hda_intel          57344  1
snd_intel_dspcfg       24576  4 snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_common,snd_soc_skl
soundwire_intel        45056  2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec         172032  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core          106496  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_hwdep              16384  1 snd_hda_codec
snd_soc_core          323584  6 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_soc_dmic
snd_compress           32768  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_pcm               147456  11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_timer              45056  1 snd_pcm
snd                   114688  12 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
soundcore              16384  1 snd

xuyeT2Y.jpg

Device driver output in Windows

Device SWD\MMDEVAPI\{0.0.0.00000000}.{3f5854af-6733-44b3-a62a-5fa238c37c68} was configured.

Driver Name: audioendpoint.inf
Class Guid: {c166523c-fe0c-4a94-a586-f1a80cfbbf3e}
Driver Date: 03/18/2019
Driver Version: 10.0.18362.1
Driver Provider: Microsoft
Driver Section: NO_DRV
Driver Rank: 0xFF0000
Matching Device Id: MMDEVAPI\AudioEndpoints
Outranked Drivers: c_swdevice.inf:SWD\GenericRaw:00FF3001
Device Updated: false
Parent Device: INTELAUDIO\FUNC_01&VEN_10EC&DEV_0285&SUBSYS_103C8736&REV_1000\5&38d6b26b&0&0001

Last edited by CountZukula (2021-02-22 14:16:32)

Offline

#2 2021-02-22 13:55:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 12,698

Re: [solved] Audio issues: HP Zbook Create G7

It's a sof card so you'd need the sof-firmware and alsa-ucm-conf packages. If you have them (and you rebooted) and it doesn't work try /etc/modprobe.d/dsp-fix.conf

options snd-intel-dspcfg dsp_driver=1

Offline

#3 2021-02-22 14:15:59

CountZukula
Member
Registered: 2017-11-04
Posts: 44

Re: [solved] Audio issues: HP Zbook Create G7

Installing sof-firmware was sufficient in this case, alsa-ucm-conf was already present. After a reboot all the relevant audio devices appeared. Didn't know about sof cards, this is the first time I'm confronted with them...

You've helped me out of a bind a couple of times V1del, much gratitude once again!

Offline

Board footer

Powered by FluxBB