Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
No sound on Debian 11
-
- Posts: 13
- Joined: 2022-01-25 17:54
- Been thanked: 1 time
No sound on Debian 11
Hi all,
I have recently installed Debiann 11 on my DELL XPS13 laptop. It runs very smooth, but I have a strange problem with audio. After the installation it worked fine for a couple of days, but then after watching a movie through a HDMI connected screen I have no longer any audio output on my laptop. Since I am a complete novice with linux I do not really know how to properly identify or fix the problem. I would appreciate any help in the matter!
I have recently installed Debiann 11 on my DELL XPS13 laptop. It runs very smooth, but I have a strange problem with audio. After the installation it worked fine for a couple of days, but then after watching a movie through a HDMI connected screen I have no longer any audio output on my laptop. Since I am a complete novice with linux I do not really know how to properly identify or fix the problem. I would appreciate any help in the matter!
Re: No sound on Debian 11
What desktop are you using? gnome? kde? other?
Most desktops have sound settings in the ummm settings. Check that it is set to the output you what.
If still no joy we will dive deeper.
Most desktops have sound settings in the ummm settings. Check that it is set to the output you what.
If still no joy we will dive deeper.
-
- Posts: 13
- Joined: 2022-01-25 17:54
- Been thanked: 1 time
Re: No sound on Debian 11
I am using GNOME.
Sorry, could you please explain which exactly settings do you mean? Sound setting from the settings meniu seem good, but the test fails.
Sorry, could you please explain which exactly settings do you mean? Sound setting from the settings meniu seem good, but the test fails.
- FreewheelinFrank
- Global Moderator
- Posts: 2107
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 230 times
Re: No sound on Debian 11
Install pavucontrol (PulseAudio Volume Control). It has fuller options compared to Gnome. In the Configuration tab, make sure HDMI is off and the Analogue option you want is selected - usually Analog Stereo Duplex. In Output Devices, make sure the output you want is selected, not muted or turned right down, and set as default.
Post the output of
This is everything you can see in pavucontrol but in text form.
Post the output of
Code: Select all
$ pacmd list-sinks
-
- Posts: 13
- Joined: 2022-01-25 17:54
- Been thanked: 1 time
Re: No sound on Debian 11
Did everything you said and still no sound.
$ pacmd list-sinks
1 sink(s) available.
* index: 4
name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: IDLE
suspend cause: (none)
priority: 9039
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 39.06 ms
max request: 6 KiB
max rewind: 6 KiB
monitor source: 7
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 1
configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms
card: 0 <alsa_card.pci-0000_00_1f.3>
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC3246 Analog"
alsa.id = "ALC3246 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xdc428000 irq 136"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "9d71"
device.product.name = "Sunrise Point-LP HD Audio"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-speaker>
$ pacmd list-sinks
1 sink(s) available.
* index: 4
name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: IDLE
suspend cause: (none)
priority: 9039
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 39.06 ms
max request: 6 KiB
max rewind: 6 KiB
monitor source: 7
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 1
configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms
card: 0 <alsa_card.pci-0000_00_1f.3>
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC3246 Analog"
alsa.id = "ALC3246 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xdc428000 irq 136"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "9d71"
device.product.name = "Sunrise Point-LP HD Audio"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-speaker>
- FreewheelinFrank
- Global Moderator
- Posts: 2107
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 230 times
Re: No sound on Debian 11
Yes, the code output tells me that everything in PulseAudio looks OK.
(Please put code in code tags, by the way.)
I suspect the problem is at a lower level, and that using HDMI switched the output.
You can try:
Code: Select all
$ alsamixer
Also post output (in separate code tags) of:
Code: Select all
$ amixer
Code: Select all
$ lspci | grep -i audio
Code: Select all
$ lsmod | grep '^snd' | column -t
Code: Select all
$ aplay -l
-
- Posts: 13
- Joined: 2022-01-25 17:54
- Been thanked: 1 time
Re: No sound on Debian 11
The playback options available are: Master, Headphone, Headphone Mic Boost, Speakers, PCM, Mic Mute-LED Mode, S/PDIF, S/PDIF1, S/PDIF1, S/PDIF2, S/PDIF3, S/PDIF4, S/PDIF1, Auto-Mute Mode.
Perhaps its a stupid question, but I did not find how to select a desired playback output while in Alsa...
Here's the output you asked
Perhaps its a stupid question, but I did not find how to select a desired playback output while in Alsa...
Here's the output you asked
Code: Select all
$ amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 65536 [100%] [on]
Front Right: Playback 65536 [100%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 65536
Front Left: Capture 65540 [100%] [on]
Front Right: Capture 65540 [100%] [on]
Code: Select all
$ lspci | grep -i audio
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
Code: Select all
$ lsmod | grep '^snd' | column -t
snd_hda_codec_hdmi 73728 1
snd_hda_codec_realtek 159744 1
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
snd_soc_skl 180224 0
snd_soc_hdac_hda 24576 1 snd_soc_skl
snd_hda_ext_core 36864 2 snd_soc_hdac_hda,snd_soc_skl
snd_soc_sst_ipc 20480 1 snd_soc_skl
snd_soc_sst_dsp 36864 1 snd_soc_skl
snd_soc_acpi_intel_match 45056 1 snd_soc_skl
snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_soc_skl
snd_hda_intel 57344 6
snd_intel_dspcfg 28672 2 snd_hda_intel,snd_soc_skl
snd_soc_core 315392 3 soundwire_intel,snd_soc_hdac_hda,snd_soc_skl
snd_compress 32768 1 snd_soc_core
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 110592 8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 135168 10 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core
snd_timer 49152 1 snd_pcm
snd 110592 20 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
Code: Select all
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3246 Analog [ALC3246 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
- FreewheelinFrank
- Global Moderator
- Posts: 2107
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 230 times
Re: No sound on Debian 11
OK, let's check firmware:
Output of
please.
Alsamixer should switch to the connected output automatically. Non-connected outputs should be muted (MM under the bar).
Output of
Code: Select all
# dmesg | grep 'snd\|firmware\|audio'
Alsamixer should switch to the connected output automatically. Non-connected outputs should be muted (MM under the bar).
-
- Posts: 13
- Joined: 2022-01-25 17:54
- Been thanked: 1 time
Re: No sound on Debian 11
Here:
Code: Select all
# dmesg | grep 'snd\|firmware\|audio'
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.10.0-11-amd64 root=UUID=393e8fa2-4068-4ff8-b498-be3d14a457e2 ro quiet splash snd_hda_intel.dmic_detect=0
[ 0.016195] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.10.0-11-amd64 root=UUID=393e8fa2-4068-4ff8-b498-be3d14a457e2 ro quiet splash snd_hda_intel.dmic_detect=0
[ 0.051949] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 1.248330] i915 0000:00:02.0: firmware: failed to load i915/kbl_dmc_ver1_04.bin (-2)
[ 1.248334] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[ 1.248337] i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_04.bin failed with error -2
[ 1.248339] i915 0000:00:02.0: [drm] Failed to load DMC firmware i915/kbl_dmc_ver1_04.bin. Disabling runtime power management.
[ 1.248340] i915 0000:00:02.0: [drm] DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[ 4.271189] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[ 4.271323] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[ 4.653767] snd_hda_intel 0000:00:1f.3: dmic_detect option is deprecated, pass snd-intel-dspcfg.dsp_driver=1 option instead
[ 4.653785] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[ 4.654057] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 4.760302] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3246: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 4.760306] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 4.760308] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 4.760309] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 4.760310] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 4.760312] snd_hda_codec_realtek hdaudioC0D0: Headset Mic=0x19
[ 4.760313] snd_hda_codec_realtek hdaudioC0D0: Headphone Mic=0x1a
[ 4.760314] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
[ 4.955918] ath10k_pci 0000:3a:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:3a:00.0.bin (-2)
[ 4.955944] ath10k_pci 0000:3a:00.0: firmware: failed to load ath10k/cal-pci-0000:3a:00.0.bin (-2)
[ 4.957801] ath10k_pci 0000:3a:00.0: firmware: failed to load ath10k/QCA6174/hw3.0/firmware-6.bin (-2)
[ 4.957820] ath10k_pci 0000:3a:00.0: firmware: failed to load ath10k/QCA6174/hw3.0/firmware-5.bin (-2)
[ 4.960116] ath10k_pci 0000:3a:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/firmware-4.bin
[ 4.960608] ath10k_pci 0000:3a:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
[ 5.081809] ath10k_pci 0000:3a:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/board-2.bin
[ 5.177898] bluetooth hci0: firmware: failed to load qca/rampatch_usb_00000302.bin (-2)
[ 5.177903] bluetooth hci0: Direct firmware load for qca/rampatch_usb_00000302.bin failed with error -2
[ 58.980235] r8152 4-1.4:1.0: firmware: failed to load rtl_nic/rtl8153a-3.fw (-2)
[ 58.980242] r8152 4-1.4:1.0: Direct firmware load for rtl_nic/rtl8153a-3.fw failed with error -2
[ 58.980246] r8152 4-1.4:1.0: unable to load firmware patch rtl_nic/rtl8153a-3.fw (-2)
[12870.805480] (NULL device *): firmware: direct-loading firmware regulatory.db
[12870.805503] (NULL device *): firmware: direct-loading firmware regulatory.db.p7s
[15914.092250] bluetooth hci0: firmware: failed to load qca/rampatch_usb_00000302.bin (-2)
[15914.092254] bluetooth hci0: Direct firmware load for qca/rampatch_usb_00000302.bin failed with error -2
- FreewheelinFrank
- Global Moderator
- Posts: 2107
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 230 times
Re: No sound on Debian 11
I believe you are going to need to install
to get the sound driver module working correctly. Do that and reboot. Dmesg output would be useful too.
Code: Select all
firmware-misc-nonfree
https://thesofproject.github.io/latest/ ... ction.htmlOn Skylake and Kabylake platforms, the Intel DSP is handled by the snd-soc-skl module which relies on closed-source firmware.
- FreewheelinFrank
- Global Moderator
- Posts: 2107
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 230 times
Re: No sound on Debian 11
Ok, you beat me to it. Please install firmware in my previous post and I'll check dmesg output.
- FreewheelinFrank
- Global Moderator
- Posts: 2107
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 230 times
Re: No sound on Debian 11
Yes, you need
and also
and
for wireless/Bluetooth.
Also, have you added a dmic_detect option to
?
Code: Select all
firmware-misc-nonfree
Code: Select all
firmware-atheros
Code: Select all
firmware-realtek
Also, have you added a dmic_detect option to
Code: Select all
/etc/modprobe.d/alsa.conf
-
- Posts: 13
- Joined: 2022-01-25 17:54
- Been thanked: 1 time
Re: No sound on Debian 11
I have installed all 3 modules and no sound after reboot.
here's the output of dmesg again after the install:
Can you please specify how exactly to do that? I am a complete noob...
here's the output of dmesg again after the install:
Code: Select all
# dmesg | grep 'snd\|firmware\|audio'
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.10.0-11-amd64 root=UUID=393e8fa2-4068-4ff8-b498-be3d14a457e2 ro quiet splash snd_hda_intel.dmic_detect=0
[ 0.019084] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.10.0-11-amd64 root=UUID=393e8fa2-4068-4ff8-b498-be3d14a457e2 ro quiet splash snd_hda_intel.dmic_detect=0
[ 0.062149] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 1.354053] i915 0000:00:02.0: firmware: direct-loading firmware i915/kbl_dmc_ver1_04.bin
[ 1.354698] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[ 4.468290] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[ 4.468533] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[ 4.483438] snd_hda_intel 0000:00:1f.3: dmic_detect option is deprecated, pass snd-intel-dspcfg.dsp_driver=1 option instead
[ 4.483454] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[ 4.510448] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 4.666444] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3246: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 4.666447] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 4.666449] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 4.666450] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 4.666451] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 4.666453] snd_hda_codec_realtek hdaudioC0D0: Headset Mic=0x19
[ 4.666454] snd_hda_codec_realtek hdaudioC0D0: Headphone Mic=0x1a
[ 4.666456] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
[ 5.061010] ath10k_pci 0000:3a:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:3a:00.0.bin (-2)
[ 5.061014] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[ 5.061029] ath10k_pci 0000:3a:00.0: firmware: failed to load ath10k/cal-pci-0000:3a:00.0.bin (-2)
[ 5.062892] ath10k_pci 0000:3a:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/firmware-6.bin
[ 5.063361] ath10k_pci 0000:3a:00.0: firmware ver WLAN.RM.4.4.1-00157-QCARMSWPZ-1 api 6 features wowlan,ignore-otp,mfp crc32 90eebefb
[ 5.127040] ath10k_pci 0000:3a:00.0: firmware: direct-loading firmware ath10k/QCA6174/hw3.0/board-2.bin
[ 5.253031] bluetooth hci0: firmware: direct-loading firmware qca/rampatch_usb_00000302.bin
[ 5.253038] Bluetooth: hci0: QCA: patch rome 0x302 build 0x3e8, firmware rome 0x302 build 0x111
[ 5.336730] bluetooth hci0: firmware: direct-loading firmware qca/nvm_usb_00000302.bin
Also, have you added a dmic_detect option to
CODE: SELECT ALL
/etc/modprobe.d/alsa.conf
- FreewheelinFrank
- Global Moderator
- Posts: 2107
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 230 times
Re: No sound on Debian 11
Dmesg looks OK. There is one firmware warning but it seems to be a non-essential item.
https://unix.stackexchange.com/question ... 0k-cal-pci
This line suggests the driver is getting an instruction to detect a digital microphone:
Sometimes users put such an option in
Does that file exist and is there anything in it? From your answer I'm guessing you didn't put an option in that file, in which case I don't know why that message is appearing.
I think the information here is relevant:
You seem to have one card which handles both local accessories (ie speaker) and HDMI/DP interfaces, but it is not switching between the outputs correctly, so we have to explore the options given there.
Is there a setting in the BIOS for DSP (Digital Signal Processing)? What is it set to?
Try adding the following line
to
and reboot.
To create and edit the file (or just edit, if it exists) do the following:
Copy and paste the line, then CTRL O to save and CTRL X to exit. Don't forget to reboot.
https://unix.stackexchange.com/question ... 0k-cal-pci
This line suggests the driver is getting an instruction to detect a digital microphone:
Code: Select all
[ 4.483438] snd_hda_intel 0000:00:1f.3: dmic_detect option is deprecated, pass snd-intel-dspcfg.dsp_driver=1 option instead
Code: Select all
/etc/modprobe.d/alsa.conf
I think the information here is relevant:
https://thesofproject.github.io/latest/ ... ction.htmlPCI devices (introduced after 2016)¶
In newer devices, the same HDAudio controller can handle both local accessories and HDMI/DP interfaces. However, SOF is not always supported on those platforms.
When the Intel DSP is not enabled in the BIOS (OEM choice), audio interfaces are handled by the snd-hda-intel driver. The platform only exposes PCM devices and no audio processing capabilities.
When OEM platforms integrate digital microphones attached directly to the Intel chipset (aka DMIC), or they use I2C/I2S or SoundWire interfaces, the DSP must be enabled by the BIOS. There is, however, one more option. On Skylake and Kabylake platforms, the Intel DSP is handled by the snd-soc-skl module which relies on closed-source firmware.
SOF is available on Intel PCI devices starting with GeminiLake, and has since been the only solution provided by Intel for the following platforms: CometLake, IceLake, and TigerLake.
Since multiple drivers can register for the same PCI ID, it was (until recently) common for users and distributions to use the wrong driver, which could only be resolved by changing the Linux .config file or deselecting drivers in the /etc/modprobe.d configuration files.
The snd-intel-dspcfg module introduced in early 2020 exposes an API used by all drivers, and the user can now override default choices by setting the dsp_driver parameter. For example, setting
options snd-intel-dspcfg dsp_driver=1
will allow for the HDaudio legacy driver to be used. This will typically work for speakers and headphones/headsets, but will not allow DMIC capture.
Conversely, when a platform does not require a DSP-based platform, but the DSP is still enabled by the OEM, the user or integration can force the SOF Linux driver to be used.
options snd-intel-dspcfg dsp_driver=3
You seem to have one card which handles both local accessories (ie speaker) and HDMI/DP interfaces, but it is not switching between the outputs correctly, so we have to explore the options given there.
Is there a setting in the BIOS for DSP (Digital Signal Processing)? What is it set to?
Try adding the following line
Code: Select all
options snd-intel-dspcfg dsp_driver=1
Code: Select all
/etc/modprobe.d/alsa.conf
To create and edit the file (or just edit, if it exists) do the following:
Code: Select all
# nano /etc/modprobe.d/alsa.conf
-
- Posts: 13
- Joined: 2022-01-25 17:54
- Been thanked: 1 time
Re: No sound on Debian 11
I did not put any options in the file, and checked that there is nothing there
I don't think there's a setting for that, at least I could not find it.This line suggests the driver is getting an instruction to detect a digital microphone:
CODE: SELECT ALL
[ 4.483438] snd_hda_intel 0000:00:1f.3: dmic_detect option is deprecated, pass snd-intel-dspcfg.dsp_driver=1 option instead
Sometimes users put such an option in
CODE: SELECT ALL
/etc/modprobe.d/alsa.conf
Does that file exist and is there anything in it? From your answer I'm guessing you didn't put an option in that file, in which case I don't know why that message is appearing.
Did exactly as you said, still no sound after rebootYou seem to have one card which handles both local accessories (ie speaker) and HDMI/DP interfaces, but it is not switching between the outputs correctly, so we have to explore the options given there.
Is there a setting in the BIOS for DSP (Digital Signal Processing)? What is it set to?
ry adding the following line
CODE: SELECT ALL
options snd-intel-dspcfg dsp_driver=1
to
CODE: SELECT ALL
/etc/modprobe.d/alsa.conf
and reboot.
- FreewheelinFrank
- Global Moderator
- Posts: 2107
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 230 times
Re: No sound on Debian 11
Have you had a good look at alsamixer and pulseaudio settings with the new option added?
The only thing left to try is the SOF driver:
You would need to install the firmware and reboot before trying that.
I don't know if this will work for your card, but worth a shot.
Actually there is one more thing to try - as the sound drivers are in the kernel, and support for newer sound set ups is always improving, you could try getting the newest kernel from Debian backports, which is 5.14 or maybe 5.15 now.
https://backports.debian.org/Instructions/
Thanks for persevering; sorry we haven't had any luck.
The only thing left to try is the SOF driver:
Code: Select all
options snd-intel-dspcfg dsp_driver=3
Code: Select all
firmware-sof-signed
Actually there is one more thing to try - as the sound drivers are in the kernel, and support for newer sound set ups is always improving, you could try getting the newest kernel from Debian backports, which is 5.14 or maybe 5.15 now.
https://backports.debian.org/Instructions/
Thanks for persevering; sorry we haven't had any luck.
-
- Posts: 13
- Joined: 2022-01-25 17:54
- Been thanked: 1 time
Re: No sound on Debian 11
In pulse audio everything looks fine, however when I look at alsamixer, the default card and chip there is PulseAudio, I cannot switch it to ALC3246 sound card for some reason. I can view it, but cannot make it as default. Or I misunderstand how it supposed to work?
- FreewheelinFrank
- Global Moderator
- Posts: 2107
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 230 times
Re: No sound on Debian 11
Code: Select all
$ amixer
Code: Select all
$ aplay -l
-
- Posts: 13
- Joined: 2022-01-25 17:54
- Been thanked: 1 time
Re: No sound on Debian 11
Code: Select all
$ amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 65536 [100%] [on]
Front Right: Playback 65536 [100%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 65536
Front Left: Capture 20726 [32%] [off]
Front Right: Capture 20726 [32%] [off]
Code: Select all
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3246 Analog [ALC3246 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
- FreewheelinFrank
- Global Moderator
- Posts: 2107
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 230 times
Re: No sound on Debian 11
There is a diiference, but I don't know why it would prevent the card appearing in alsamixer.
Before:
After:
Is direct sound playback possible from that card and device? (This will generate random noises, so turn the volume down before you try it, just in case.)
Before:
Code: Select all
card 0: PCH [HDA Intel PCH], device 0: ALC3246 Analog [ALC3246 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
Code: Select all
card 0: PCH [HDA Intel PCH], device 0: ALC3246 Analog [ALC3246 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Code: Select all
aplay /dev/urandom -f dat -D plughw:1,0