Sound stopped working after upgrading kernel

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
robert2
Posts: 10
Joined: Wed Jan 24, 2024 7:07 pm

Sound stopped working after upgrading kernel

#1 Post by robert2 »

So I upgraded my kernel from 6.6.9 to 6.6.11 and sound stopped working.

I have some speakers plugged in at the back of the computer, and upgrading the kernel before never caused any problems, so I foolishly figured this would be no different.

I rebooted and selected the original 6.6.9, but sound is still not working.
Then I installed 6.6.11 - no sound.
Installing 6.6.12-liquorix - still no sound.

I found this - but it's pretty old:
https://mxlinux.org/wiki/hardware/sound-not-working/

Is says:
Unless you have just upgraded kernel version–i.e. just done a major system upgrade, perhaps on a fresh install, in which case you should reboot to new kernel version before worrying about sound module–if you have lost sound, and it isn’t simply a volume level/mute issue, you should try as root:

Code: Select all

alsa reload
But that just reports:

Code: Select all

sudo: alsa: command not found
I'm not sure if it is even relevant almost 9 years later...

I can run `alsamixer` and there are several sound cards - apparently I have an HDMI monitor that can play sound with some really crappy speakers. But anyway, I've turned up everything with alsamixer and of course KDE shows the sound is fine, but nothing.

I believe looking at the drivers:

Code: Select all

$ inxi -A
Audio:
  Device-1: Intel driver: snd_hda_intel
  Device-2: NVIDIA GA104 High Definition Audio driver: snd_hda_intel
  Device-3: JMTek LLC. USB PnP Audio Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  API: ALSA v: k6.6.12-1-liquorix-amd64 status: kernel-api
  Server-1: PipeWire v: 1.0.0 status: active
I believe the one I want is Device 1, which doesn't seem to have a driver.

Any help would be greatly appreciated!

Thank you,

Robert

Code: Select all

System:
  Kernel: 6.6.12-1-liquorix-amd64 [6.6-16~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable rcupdate.rcu_expedited=1 BOOT_IMAGE=/boot/vmlinuz-6.6.12-1-liquorix-amd64
    root=UUID=<filter> ro quiet splash resume=UUID=<filter> resume_offset=96444416
  Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 7 dm: SDDM
    Distro: MX-23.2_KDE_x64 Libretto October 15 2023 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: TUF GAMING Z790-PLUS WIFI v: Rev 1.xx serial: <superuser required>
    UEFI: American Megatrends v: 1601 date: 11/23/2023
Battery:
  Device-1: hidpp_battery_0 model: Logitech MX Vertical Advanced Ergonomic Mouse serial: <filter>
    charge: 55% (should be ignored) rechargeable: yes status: discharging
CPU:
  Info: model: Intel Core i7-14700KF bits: 64 type: MST AMCP arch: Raptor Lake gen: core 14
    level: v3 note: check built: 2022+ process: Intel 7 (10nm) family: 6 model-id: 0xB7 (183)
    stepping: 1 microcode: 0x11F
  Topology: cpus: 1x cores: 20 mt: 8 tpc: 2 st: 12 threads: 28 smt: enabled cache: L1: 1.8 MiB
    desc: d-12x32 KiB, 8x48 KiB; i-8x32 KiB, 12x64 KiB L2: 28 MiB desc: 8x2 MiB, 3x4 MiB L3: 33 MiB
    desc: 1x33 MiB
  Speed (MHz): avg: 2524 high: 5500 min/max: 800/3401 boost: enabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 1200 2: 3308 3: 5500 4: 5500 5: 5500 6: 5500
    7: 2100 8: 1988 9: 1200 10: 1000 11: 5500 12: 4630 13: 5500 14: 5500 15: 1700 16: 5451 17: 800
    18: 800 19: 800 20: 800 21: 800 22: 800 23: 800 24: 800 25: 800 26: 800 27: 800 28: 800
    bogomips: 191385
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3060] vendor: Micro-Star MSI driver: nvidia v: 525.147.05
    non-free: 530.xx+ status: current (as of 2023-03) arch: Ampere code: GAxxx process: TSMC n7 (7nm)
    built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:2487
    class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: nvidia gpu: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5920x1440 s-dpi: 108 s-size: 1392x342mm (54.80x13.46")
    s-diag: 1433mm (56.43")
  Monitor-1: DP-1 pos: bottom-r res: 1680x1050 hz: 60 dpi: 90 size: 474x296mm (18.66x11.65")
    diag: 559mm (22") modes: N/A
  Monitor-2: DP-2 pos: primary,top-center res: 2560x1440 dpi: 109 size: 598x336mm (23.54x13.23")
    diag: 686mm (27.01") modes: N/A
  Monitor-3: DP-5 pos: bottom-l res: 1680x1050 hz: 60 dpi: 90 size: 474x296mm (18.66x11.65")
    diag: 559mm (22") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 525.147.05 renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
    direct-render: Yes
Audio:
  Device-1: Intel vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 1-6.1:5
    alternate: snd_sof_pci_intel_tgl chip-ID: 0c76:161e bus-ID: 00:1f.3 class-ID: 0300
    chip-ID: 8086:7a50 class-ID: 0403
  Device-2: NVIDIA GA104 High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:228b class-ID: 0403
  Device-3: JMTek LLC. USB PnP Audio Device type: USB driver: hid-generic,snd-usb-audio,usbhid
  API: ALSA v: k6.6.12-1-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active tools: pw-cat,pw-cli,wpctl
  Server-2: PulseAudio v: 16.1 status: off (using pipewire-pulse) tools: pacat,pactl,pavucontrol
Network:
  Device-1: Intel driver: N/A modules: iwlwifi, wl port: N/A bus-ID: 00:14.3 chip-ID: 8086:7a70
    class-ID: 0280
  Device-2: Intel Ethernet I226-V vendor: ASUSTeK driver: igc v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 port: N/A bus-ID: 06:00.0 chip-ID: 8086:125c class-ID: 0200
  IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
  IF-ID-1: docker0 state: down mac: <filter>
  IF-ID-2: virbr0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-14:4 chip-ID: 8087:0033 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept
    service-classes: rendering, capturing, object transfer, audio, telephony
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller Intel driver: vmd v: 0.6
    port: N/A bus-ID: 00:0e.0 chip-ID: 8086:a77f rev: class-ID: 0104
Drives:
  Local Storage: total: 11.37 TiB used: 5.37 TiB (47.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: WD BLACK SN850X 2000GB
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD
    serial: <filter> rev: 620311WD temp: 38.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD8004FRYZ-01VAEB0 size: 7.28 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: 1H01 scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 2B6Q
    scheme: MBR
  ID-4: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST2000DM001-1ER164 size: 1.82 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: CC25 scheme: MBR
Partition:
  ID-1: / raw-size: 1.82 TiB size: 1.79 TiB (98.37%) used: 295.67 GiB (16.1%) fs: ext4
    dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 7.28 TiB size: 7.22 TiB (99.20%) used: 5.08 TiB (70.4%) fs: ext4
    dev: /dev/sda3 maj-min: 8:3
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 70.61 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 55.0 C mobo: N/A gpu: nvidia temp: 47 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Repos:
  Packages: 3246 pm: dpkg pkgs: 3201 libs: 1836 tools: apt,apt-get,aptitude,nala pm: rpm pkgs: 0
    pm: flatpak pkgs: 45
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/docker.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian bookworm stable
  Active apt repos in: /etc/apt/sources.list.d/microsoft-prod.list
    1: deb [arch=amd64,arm64,armhf signed-by=/usr/share/keyrings/microsoft-prod.gpg] https://packages.microsoft.com/debian/12/prod bookworm main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://mirror.csclub.uwaterloo.ca/mxlinux/mx/repo/ bookworm main non-free
    2: deb https://mirror.csclub.uwaterloo.ca/mxlinux/mx/repo/ bookworm ahs
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
Info:
  Processes: 566 Uptime: 8m wakeups: 2 Memory: 62.61 GiB used: 8.28 GiB (13.2%) Init: systemd
  v: 252 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 11/12
  clang: 14.0.6 Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

User avatar
dolphin_oracle
Developer
Posts: 22717
Joined: Sun Dec 16, 2007 12:17 pm

Re: Sound stopped working after upgrading kernel

#2 Post by dolphin_oracle »

maybe output of

Code: Select all

pactl info
and

Code: Select all

ps -aux |grep wire
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
robert2
Posts: 10
Joined: Wed Jan 24, 2024 7:07 pm

Re: Sound stopped working after upgrading kernel

#3 Post by robert2 »

Thank you for trying to help out! :-)

Code: Select all

$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 81
Tile Size: 65472
User Name: robert
Host Name: Whatever
Server Name: PulseAudio (on PipeWire 1.0.0)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source: alsa_input.usb-0c76_USB_PnP_Audio_Device-00.mono-fallback
Cookie: b43b:1c98
and your second request:

Code: Select all

$ ps -aux |grep wire
robert      2760  0.0  0.0 193496 16352 ?        S<sl 11:07   0:00 /usr/bin/pipewire
robert      2761  0.0  0.0 164764  5824 ?        Ssl  11:07   0:00 /usr/bin/pipewire -c filter-chain.conf
robert      2762  0.0  0.0 787876 42200 ?        S<sl 11:07   0:00 /usr/bin/wireplumber
robert      2763  0.0  0.0 189224 17508 ?        S<Lsl 11:07   0:00 /usr/bin/pipewire-pulse
robert     10766  0.0  0.0  75984  2016 pts/2    S+   11:12   0:00 grep --color=auto wire

User avatar
dolphin_oracle
Developer
Posts: 22717
Joined: Sun Dec 16, 2007 12:17 pm

Re: Sound stopped working after upgrading kernel

#4 Post by dolphin_oracle »

what is this:

Code: Select all

robert      2761  0.0  0.0 164764  5824 ?        Ssl  11:07   0:00 /usr/bin/pipewire -c filter-chain.conf
this is not standard. perhaps whatever you are trying to start there cannot find the .conf file specified.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
robert2
Posts: 10
Joined: Wed Jan 24, 2024 7:07 pm

Re: Sound stopped working after upgrading kernel

#5 Post by robert2 »

So I downloaded the latest MX ISO, put that on a USB and booted to that.
STILL no sound.
Suspicious, I plugged in a pair of headphones and it worked fine.
Looks like my hardware crapped out around the same time I upgraded.

Thank you very much @dolphin_oracle for your insights!

User avatar
dolphin_oracle
Developer
Posts: 22717
Joined: Sun Dec 16, 2007 12:17 pm

Re: Sound stopped working after upgrading kernel

#6 Post by dolphin_oracle »

robert2 wrote: Thu Jan 25, 2024 11:45 am So I downloaded the latest MX ISO, put that on a USB and booted to that.
STILL no sound.
Suspicious, I plugged in a pair of headphones and it worked fine.
Looks like my hardware crapped out around the same time I upgraded.

Thank you very much @dolphin_oracle for your insights!
you might check the hardware channels in alsa mixer and just see if the backend channels are muted. its possible. they would not necessarily show muted in the mixer stuff on the panel. or perhaps just with the volume turned down. worth checking.

also possible its defaulting to sending audio to the hdmi, if you aren't using that, rather than wherever its supposed to go.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

Post Reply

Return to “MX Help”