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

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
climbingrock
Posts: 13
Joined: 2022-01-25 17:54
Been thanked: 1 time

No sound on Debian 11

#1 Post by climbingrock »

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!

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: No sound on Debian 11

#2 Post by 4D696B65 »

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.

climbingrock
Posts: 13
Joined: 2022-01-25 17:54
Been thanked: 1 time

Re: No sound on Debian 11

#3 Post by climbingrock »

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.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: No sound on Debian 11

#4 Post by FreewheelinFrank »

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

Code: Select all

$ pacmd list-sinks
This is everything you can see in pavucontrol but in text form.

climbingrock
Posts: 13
Joined: 2022-01-25 17:54
Been thanked: 1 time

Re: No sound on Debian 11

#5 Post by climbingrock »

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>

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: No sound on Debian 11

#6 Post by FreewheelinFrank »

climbingrock wrote: 2022-01-27 08:11 Did everything you said and still no sound.
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
Hit F6 ans select the ALC3246 Analog card and see what playback options are available.

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

climbingrock
Posts: 13
Joined: 2022-01-25 17:54
Been thanked: 1 time

Re: No sound on Debian 11

#7 Post by climbingrock »

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

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

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: No sound on Debian 11

#8 Post by FreewheelinFrank »

OK, let's check firmware:

Output of

Code: Select all

# dmesg  | grep 'snd\|firmware\|audio'
please.

Alsamixer should switch to the connected output automatically. Non-connected outputs should be muted (MM under the bar).

climbingrock
Posts: 13
Joined: 2022-01-25 17:54
Been thanked: 1 time

Re: No sound on Debian 11

#9 Post by climbingrock »

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

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: No sound on Debian 11

#10 Post by FreewheelinFrank »

I believe you are going to need to install

Code: Select all

firmware-misc-nonfree
to get the sound driver module working correctly. Do that and reboot. Dmesg output would be useful too.
On Skylake and Kabylake platforms, the Intel DSP is handled by the snd-soc-skl module which relies on closed-source firmware.
https://thesofproject.github.io/latest/ ... ction.html

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: No sound on Debian 11

#11 Post by FreewheelinFrank »

Ok, you beat me to it. Please install firmware in my previous post and I'll check dmesg output.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: No sound on Debian 11

#12 Post by FreewheelinFrank »

Yes, you need

Code: Select all

firmware-misc-nonfree
and also

Code: Select all

firmware-atheros
and

Code: Select all

firmware-realtek
for wireless/Bluetooth.

Also, have you added a dmic_detect option to

Code: Select all

/etc/modprobe.d/alsa.conf
?

climbingrock
Posts: 13
Joined: 2022-01-25 17:54
Been thanked: 1 time

Re: No sound on Debian 11

#13 Post by climbingrock »

I have installed all 3 modules and no sound after reboot.
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
Can you please specify how exactly to do that? I am a complete noob...
Also, have you added a dmic_detect option to
CODE: SELECT ALL

/etc/modprobe.d/alsa.conf

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: No sound on Debian 11

#14 Post by FreewheelinFrank »

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:

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.

I think the information here is relevant:

PCI 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
https://thesofproject.github.io/latest/ ... ction.html

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
to

Code: Select all

 /etc/modprobe.d/alsa.conf 
and reboot.

To create and edit the file (or just edit, if it exists) do the following:

Code: Select all

# nano /etc/modprobe.d/alsa.conf 
Copy and paste the line, then CTRL O to save and CTRL X to exit. Don't forget to reboot.

climbingrock
Posts: 13
Joined: 2022-01-25 17:54
Been thanked: 1 time

Re: No sound on Debian 11

#15 Post by climbingrock »

I did not put any options in the file, and checked that there is nothing there
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.
I don't think there's a setting for that, at least I could not find it.
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?
Did exactly as you said, still no sound after reboot
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.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: No sound on Debian 11

#16 Post by FreewheelinFrank »

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:

Code: Select all

options snd-intel-dspcfg dsp_driver=3
You would need to install the firmware and reboot before trying that.

Code: Select all

firmware-sof-signed
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.

climbingrock
Posts: 13
Joined: 2022-01-25 17:54
Been thanked: 1 time

Re: No sound on Debian 11

#17 Post by climbingrock »

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?

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: No sound on Debian 11

#18 Post by FreewheelinFrank »

Code: Select all

$ amixer

Code: Select all

$ aplay -l
Again with that option then to check that please.

climbingrock
Posts: 13
Joined: 2022-01-25 17:54
Been thanked: 1 time

Re: No sound on Debian 11

#19 Post by climbingrock »

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

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: No sound on Debian 11

#20 Post by FreewheelinFrank »

There is a diiference, but I don't know why it would prevent the card appearing in alsamixer.

Before:

Code: Select all

card 0: PCH [HDA Intel PCH], device 0: ALC3246 Analog [ALC3246 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
After:

Code: Select all

card 0: PCH [HDA Intel PCH], device 0: ALC3246 Analog [ALC3246 Analog]
  Subdevices: 1/1
 Subdevice #0: subdevice #0
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.)

Code: Select all

aplay /dev/urandom -f dat -D plughw:1,0

Post Reply