No sound following a fresh installation

Hi,
I’ve been a Manjaro/Arch user for only about 2 years, so still kind of a newbie. I’ve recently decided to reinstall Manjaro completely, to clean up a bunch of loose files and upgrade my kernel as part of the cleanup.

It turns out, I don’t get any audio from any kernel above 5.15 (i.e. 5.15.102-1-MANJARO).
Running pactl info tells me that the sink used is auto_null. However, installing 5.15 using the default kernel manager makes audio work absolutely fine - all on a fresh installation.

I could provide a bunch of ALSA/PulseAudio debug info, but I don’t think it’s the audio server’s fault. However, here’s my system information using inxi -Fazy:

System:
  Kernel: 5.15.102-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.15-x86_64
    root=UUID=fbcb40ac-683d-4ea7-b427-b4e25ab217be rw rootflags=subvol=@ quiet
    cryptdevice=UUID=4cc2c91f-3c83-4508-9eb1-3fc5e01992a1:luks-4cc2c91f-3c83-4508-9eb1-3fc5e01992a1
    root=/dev/mapper/luks-4cc2c91f-3c83-4508-9eb1-3fc5e01992a1 splash
    resume=/dev/mapper/luks-6375b826-da53-48ba-b47a-ec15ecd5fa33
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: HUAWEI product: NBLB-WAX9N v: M1220
    serial: <superuser required>
  Mobo: HUAWEI model: NBLB-WAX9N-PCB v: M1220 serial: <superuser required>
    UEFI: HUAWEI v: 1.41 date: 02/21/2022
Battery:
  ID-1: BAT1 charge: 46.4 Wh (92.2%) condition: 50.3/54.9 Wh (91.5%) volts: 8.3
    min: 7.6 model: Desay HB4692Z9ECW-22T type: Li-ion serial: <filter>
    status: discharging cycles: 122
CPU:
  Info: model: Intel Core i5-10210U bits: 64 type: MT MCP
    arch: Comet/Whiskey Lake note: check gen: core 10 level: v3 note: check
    built: 2018 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 0xC (12) microcode: 0xF4
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 801 high: 838 min/max: 400/4200 scaling:
    driver: intel_pstate governor: powersave cores: 1: 785 2: 800 3: 838 4: 800
    5: 788 6: 800 7: 800 8: 800 bogomips: 33615
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 status: Vulnerable: eIBRS with unprivileged eBPF
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] vendor: QUANTA driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:9b41
    class-ID: 0300
  Device-2: Quanta ov9734_techfront_camera type: USB driver: uvcvideo
    bus-ID: 1-6:2 chip-ID: 0408:1040 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.7 compositor: kwin_x11 driver: X:
    loaded: modesetting alternate: fbdev,vesa dri: iris gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: BOE Display 0x0877 built: 2019 res: 1920x1080
    hz: 60 dpi: 158 gamma: 1.2 size: 309x173mm (12.17x6.81") diag: 354mm (13.9")
    ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 22.3.5 renderer: Mesa Intel UHD Graphics (CML GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Comet Lake PCH-LP cAVS vendor: QUANTA driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:02c8 class-ID: 0403
  Sound API: ALSA v: k5.15.102-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.22 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.65 running: yes
Network:
  Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:02f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
    driver: btusb v: 0.8 bus-ID: 1-10:3 chip-ID: 8087:0aaa class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 10.41 GiB (2.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: N/A
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: AGXA4103 temp: 31.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 459.73 GiB size: 459.73 GiB (100.00%)
    used: 10.41 GiB (2.3%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-4cc2c91f-3c83-4508-9eb1-3fc5e01992a1
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 752 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 459.73 GiB size: 459.73 GiB (100.00%)
    used: 10.41 GiB (2.3%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-4cc2c91f-3c83-4508-9eb1-3fc5e01992a1
  ID-4: /var/log raw-size: 459.73 GiB size: 459.73 GiB (100.00%)
    used: 10.41 GiB (2.3%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-4cc2c91f-3c83-4508-9eb1-3fc5e01992a1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 16.91 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-6375b826-da53-48ba-b47a-ec15ecd5fa33
Sensors:
  System Temperatures: cpu: 42.0 C pch: 38.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 269 Uptime: 18h 1m wakeups: 5 Memory: 15.37 GiB
  used: 2.51 GiB (16.3%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman
  pkgs: 1117 libs: 319 tools: pamac pm: flatpak pkgs: 0 Shell: Zsh v: 5.9
  running-in: konsole inxi: 3.3.25

You could simply say “why don’t you keep using 5.15?”, but I’d like to upgrade, and I don’t think the solution to the problem should be simply avoiding it unless there’s no other way.

Any help would be greatly appreciated!

Hi @mfpx, and welcome!

Welp, according to this page the driver is in the kernel. So it’s possibly not that and the sound server.

Please provide the same inxi output as above, but for both the working and the non-working kernels. Also while you’re at it, please do provide the other outputs you mentioned. It can’t do harm and will possibly help diagnose the problem.

2 Likes

Hi Mirdarthos,
Thanks for your reply, here’s the information:

pactl info on 6.1 LTS:

Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 2
Tile Size: 65472
User Name: david
Host Name: pleb-laptop
Server Name: pulseaudio
Server Version: 16.1
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: auto_null
Default Source: auto_null.monitor
Cookie: 2bee:1a61

Here’s the hw-probe ID (links seem to be disallowed): c393e49ce3
Here’s pacmd list-sinks:

1 sink(s) available.
  * index: 0
        name: <auto_null>
        driver: <module-null-sink.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 1000
        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: yes
        current latency: 0.00 ms
        max request: 344 KiB
        max rewind: 344 KiB
        monitor source: 0
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
        module: 14
        properties:
                device.description = "Dummy Output"
                device.class = "abstract"
                device.icon_name = "audio-card"

Now, here’s the same output but on 5.15 LTS, where the audio works without any issues:
pactl info on 5.15:

Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 2
Tile Size: 65472
User Name: david
Host Name: pleb-laptop
Server Name: pulseaudio
Server Version: 16.1
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source: alsa_input.pci-0000_00_1f.3.analog-stereo
Cookie: ce5c:be82

Here’s the hw-probe ID (links seem to be disallowed): c62f186f6b
And finally, here’s pacmd list-sinks:

1 sink(s) available.
  * index: 0
        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: SUSPENDED
        suspend cause: IDLE
        priority: 9039
        volume: front-left: 40632 /  62% / -12.46 dB,   front-right: 40632 /  62% / -12.46 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: yes
        current latency: 0.00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 0
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.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 = "ALC256 Analog"
                alsa.id = "ALC256 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 0xb121c000 irq 148"
                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 = "02c8"
                device.product.name = "Comet Lake PCH-LP cAVS"
                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>

Let me know if you need anything else, and thanks for your time!

1 Like

I have a similar problem. New installation and no sound via the docking station. I suspect a very similar problem solution.

https://forum.manjaro.org/t/no-internal-speaker-audio-when-connected-to-dockingstation/128984/3

1 Like

Just bumping the thread :slight_smile:

Just bumping

Please do not post no-content responses — forum.manjaro.org/guidelines - Keep it Tidy


New users are not permiited to post active links (to prevent spam and bot posts) but inactive links can be posted in preformatted text:

https://linux-hardware.org/?probe=c393e49ce3

There is no data in this probe for sound devices (amixer, aplay and arecord) but inxi’ data is showing ALSA in kernel v6.1 is trying to use Sound Open Firmware driver snd_sof_pci_intel_cnl instead of legacy driver snd_hda_intel used with kernel v5.15

Dummy Output auto_null sink is created by PulseAudio module-always-sink if no ALSA playback devices are detected

Please post more information about ALSA for both kernels v5.15 and v6.1

sudo alsa-info.sh --upload

The URLs to uploaded data will probably need to be posted in preformatted text

Hi @nikgnomic,
Sorry for the “bump”, here’s the information you requested:

5.15 is http://alsa-project.org/db/?f=21150c200ca8f6cf3962f36ee7f8c7b6cff81a40
6.1 is http://alsa-project.org/db/?f=8fe91f3acd8310ef6dbe7d8047523809b9b44258

Thanks for your time!

I’ve tried kernels prior to 5.15 and all version 5 kernels seem to work fine - so it seems that something changed after 5.15 that breaks sound.
My understanding of C and the Linux sound architecture isn’t as good as I’d like it to be, so I can’t really read the code changes.

I have solved this. I added snd-intel-dspcfg.dsp_driver=1 to the kernel arguments.
It turns out that I had to override the driver selection, hence the DSP selection.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.