[Kernel-packages] [Bug 2091248] [NEW] No sound from speakers or phone jack, Bluetooth works

2024-12-08 Thread Ignatius J. Reilly
Public bug reported:

The problem has persisted since upgrading to Linux Mint 22 and kernel
version 6.8x.

There is no sound out of speakers or when the phone jack is plugged in.
Bluetooth earbuds work fine. When nothing is connected, three devices
appear in the GUI Settings>Sound, and when "Test sound" is clicked, each
shows up without left or right speakers. In Alsamixer, the three S/PDIF
items have volume at 00, and it cannot be adjusted. When pipewire was
removed and pulseaudio re-enabeled, it didn't help--but it did hose the
Bluetooth speakers.

Other things tried: running Ubuntu 24x from Live USB; running Linux Mint
22 from Live USB; running Fedora 41 from Live USB. It seems to be a
kernel bug for my particular system. I also added the following lines in
/etc/modprobe.d/alsa-base.conf:

options snd-hda-intel dmic_detect=0
options snd-intel-dspcfg dsp_driver=3

I subsequently removed them since it didn't help with my problem.

inxi -Axxx

Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Lenovo
driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3 chip-ID: 8086:51c8
class-ID: 0403
  API: ALSA v: k6.8.0-49-generic status: kernel-api with: apulse
type: pulse-emulator
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa
type: plugin 4: pw-jack type: plugin

System info:

System:
  Kernel: 6.8.0-49-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0 
clocksource: tsc
  Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm: 
LightDM v: 1.30.0
Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble
Machine:
  Type: Laptop System: LENOVO product: 21CB000DUS v: ThinkPad X1 Carbon Gen 10
serial:  Chassis: type: 10 serial: 
  Mobo: LENOVO model: 21CB000DUS v: SDK0T76530 WIN serial: 
part-nu: LENOVO_MT_21CB_BU_Think_FM_ThinkPad X1 Carbon Gen 10 uuid: 

UEFI: LENOVO v: N3AET62W (1.27 ) date: 06/24/2022
Battery:
  ID-1: BAT0 charge: 56.0 Wh (100.0%) condition: 56.0/57.0 Wh (98.1%) volts: 
17.4 min: 15.4
model: SMP 5B10W13973 type: Li-poly serial:  status: full cycles: 
218
CPU:
  Info: 14-core (6-mt/8-st) model: 12th Gen Intel Core i7-1280P bits: 64 type: 
MST AMCP
smt: enabled arch: Alder Lake rev: 3 cache: L1: 1.2 MiB L2: 11.5 MiB L3: 24 
MiB
  Speed (MHz): avg: 644 high: 1232 min/max: 400/4700:4800:3600 cores: 1: 400 2: 
400 3: 400
4: 1019 5: 681 6: 949 7: 1232 8: 400 9: 400 10: 1197 11: 1013 12: 1180 13: 
400 14: 400 15: 400
16: 400 17: 400 18: 400 19: 816 20: 400 bogomips: 79872
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Alder Lake-P GT2 [Iris Xe Graphics] vendor: Lenovo driver: 
i915 v: kernel
arch: Gen-12.2 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, HDMI-A-1 
bus-ID: 00:02.0
chip-ID: 8086:46a6 class-ID: 0300
  Device-2: Bison Integrated Camera driver: uvcvideo type: USB rev: 2.0 speed: 
480 Mb/s lanes: 1
bus-ID: 3-8:3 chip-ID: 5986:1178 class-ID: fe01 serial: 
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: 
loaded: modesetting
unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.00x12.48") 
s-diag: 599mm (23.57")
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x1417 res: 1920x1200 hz: 60 dpi: 162
size: 301x188mm (11.85x7.4") diag: 355mm (14") modes: 1920x1200
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris device: 1 
drv: swrast
surfaceless: drv: iris x11: drv: iris inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.9-0ubuntu0.2 
glx-v: 1.4
direct-render: yes renderer: Mesa Intel Graphics (ADL GT2) device-ID: 
8086:46a6
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Lenovo
driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3 chip-ID: 8086:51c8 
class-ID: 0403
  API: ALSA v: k6.8.0-49-generic status: kernel-api with: apulse type: 
pulse-emulator
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: 
active
2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack 
type: plugin
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel bus-ID: 
00:14.3
chip-ID: 8086:51f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: 
  IF-ID-1: wwan0 state: down mac: N/A
Bluetooth:
  Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0 
speed: 12 Mb/s lanes: 1
bus-ID: 3-10:4 chip-ID: 8087:0033 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 2 state: up address:  bt-v: 5.3 
lmp-v: 12
sub-v: 363c hci-v: 12 rev: 363c class-ID: 7c010c
Drives:
  Local Storage: total: 953.87 GiB used: 441.02 GiB (46.2%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVL21T0HCLR-00BL7 size: 953.87 GiB 
speed: 63.2 Gb/s
lanes: 4 tech: SSD serial:  fw-rev: EL2QGXA7 temp: 42.9 C scheme: 
GPT
Partition:
  ID-1: / size: 937.33 GiB 

[Kernel-packages] [Bug 2091248] Re: No sound from speakers or phone jack, Bluetooth works

2024-12-11 Thread Ignatius J. Reilly
** Description changed:

  The problem has persisted since upgrading to Linux Mint 22 and kernel
  version 6.8x.
+ 
+ ETA: including 6.8.0-50.
  
  There is no sound out of speakers or when the phone jack is plugged in.
  Bluetooth earbuds work fine. When nothing is connected, three devices
  appear in the GUI Settings>Sound, and when "Test sound" is clicked, each
  shows up without left or right speakers. In Alsamixer, the three S/PDIF
  items have volume at 00, and it cannot be adjusted. When pipewire was
  removed and pulseaudio re-enabeled, it didn't help--but it did hose the
  Bluetooth speakers.
  
  Other things tried: running Ubuntu 24x from Live USB; running Linux Mint
  22 from Live USB; running Fedora 41 from Live USB. It seems to be a
  kernel bug for my particular system. I also added the following lines in
  /etc/modprobe.d/alsa-base.conf:
  
  options snd-hda-intel dmic_detect=0
  options snd-intel-dspcfg dsp_driver=3
  
  I subsequently removed them since it didn't help with my problem.
  
  inxi -Axxx
  
  Audio:
-   Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Lenovo
- driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3 chip-ID: 8086:51c8
- class-ID: 0403
-   API: ALSA v: k6.8.0-49-generic status: kernel-api with: apulse
- type: pulse-emulator
-   Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
- status: active 2: wireplumber status: active 3: pipewire-alsa
- type: plugin 4: pw-jack type: plugin
+   Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Lenovo
+ driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3 chip-ID: 8086:51c8
+ class-ID: 0403
+   API: ALSA v: k6.8.0-49-generic status: kernel-api with: apulse
+ type: pulse-emulator
+   Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
+ status: active 2: wireplumber status: active 3: pipewire-alsa
+ type: plugin 4: pw-jack type: plugin
  
  System info:
  
  System:
-   Kernel: 6.8.0-49-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0 
clocksource: tsc
-   Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm: 
LightDM v: 1.30.0
- Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble
+   Kernel: 6.8.0-49-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0 
clocksource: tsc
+   Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm: 
LightDM v: 1.30.0
+ Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble
  Machine:
-   Type: Laptop System: LENOVO product: 21CB000DUS v: ThinkPad X1 Carbon Gen 10
- serial:  Chassis: type: 10 serial: 
-   Mobo: LENOVO model: 21CB000DUS v: SDK0T76530 WIN serial: 
- part-nu: LENOVO_MT_21CB_BU_Think_FM_ThinkPad X1 Carbon Gen 10 uuid: 

- UEFI: LENOVO v: N3AET62W (1.27 ) date: 06/24/2022
+   Type: Laptop System: LENOVO product: 21CB000DUS v: ThinkPad X1 Carbon Gen 10
+ serial:  Chassis: type: 10 serial: 
+   Mobo: LENOVO model: 21CB000DUS v: SDK0T76530 WIN serial: 
+ part-nu: LENOVO_MT_21CB_BU_Think_FM_ThinkPad X1 Carbon Gen 10 uuid: 

+ UEFI: LENOVO v: N3AET62W (1.27 ) date: 06/24/2022
  Battery:
-   ID-1: BAT0 charge: 56.0 Wh (100.0%) condition: 56.0/57.0 Wh (98.1%) volts: 
17.4 min: 15.4
- model: SMP 5B10W13973 type: Li-poly serial:  status: full cycles: 
218
+   ID-1: BAT0 charge: 56.0 Wh (100.0%) condition: 56.0/57.0 Wh (98.1%) volts: 
17.4 min: 15.4
+ model: SMP 5B10W13973 type: Li-poly serial:  status: full cycles: 
218
  CPU:
-   Info: 14-core (6-mt/8-st) model: 12th Gen Intel Core i7-1280P bits: 64 
type: MST AMCP
- smt: enabled arch: Alder Lake rev: 3 cache: L1: 1.2 MiB L2: 11.5 MiB L3: 
24 MiB
-   Speed (MHz): avg: 644 high: 1232 min/max: 400/4700:4800:3600 cores: 1: 400 
2: 400 3: 400
- 4: 1019 5: 681 6: 949 7: 1232 8: 400 9: 400 10: 1197 11: 1013 12: 1180 
13: 400 14: 400 15: 400
- 16: 400 17: 400 18: 400 19: 816 20: 400 bogomips: 79872
-   Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
+   Info: 14-core (6-mt/8-st) model: 12th Gen Intel Core i7-1280P bits: 64 
type: MST AMCP
+ smt: enabled arch: Alder Lake rev: 3 cache: L1: 1.2 MiB L2: 11.5 MiB L3: 
24 MiB
+   Speed (MHz): avg: 644 high: 1232 min/max: 400/4700:4800:3600 cores: 1: 400 
2: 400 3: 400
+ 4: 1019 5: 681 6: 949 7: 1232 8: 400 9: 400 10: 1197 11: 1013 12: 1180 
13: 400 14: 400 15: 400
+ 16: 400 17: 400 18: 400 19: 816 20: 400 bogomips: 79872
+   Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Graphics:
-   Device-1: Intel Alder Lake-P GT2 [Iris Xe Graphics] vendor: Lenovo driver: 
i915 v: kernel
- arch: Gen-12.2 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, 
HDMI-A-1 bus-ID: 00:02.0
- chip-ID: 8086:46a6 class-ID: 0300
-   Device-2: Bison Integrated Camera driver: uvcvideo type: USB rev: 2.0 
speed: 480 Mb/s lanes: 1
- bus-ID: 3-8:3 chip-ID: 5986:1178 class-ID: fe01 serial: 
-   Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: 
loaded: modesetting
-