Bug 2393552 - No sound, only dummy output since updating alsa-lib to 1.2.14
Summary: No sound, only dummy output since updating alsa-lib to 1.2.14
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: alsa-lib
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jaroslav Kysela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-05 18:25 UTC by Adrien D
Modified: 2025-09-29 09:48 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
Alsa INFO on working alsa-lib (46.32 KB, text/plain)
2025-09-06 09:27 UTC, Adrien D
no flags Details
Alsa INFO on non-working alsa-lib (46.35 KB, text/plain)
2025-09-06 09:28 UTC, Adrien D
no flags Details
alsaucm-alsalibs-1.2.13-work.txt (2.77 KB, text/plain)
2025-09-06 09:32 UTC, Adrien D
no flags Details
alsaucm-alsalibs-1.2.14-nowork.txt (2.79 KB, text/plain)
2025-09-06 09:32 UTC, Adrien D
no flags Details
WIREPLUMBER_DEBUG="spa.*:5" wireplumber (147.98 KB, text/plain)
2025-09-06 12:15 UTC, Adrien D
no flags Details

Description Adrien D 2025-09-05 18:25:06 UTC
Hello,
I don't often watch videos or listening music on my laptop but today no sound.
Audio card not detected, GNOME only shows "Dummy Output".
No sound over speakers or HDMI.
I downgraded the package alsa-lib (from alsa-lib-0:1.2.14-3.fc42.x86_64 to alsa-lib-0:1.2.13-4.fc42.x86_64) and now i have sound again.

Laptop model : Dell Latitude 3510
Audio Device : Intel Comet Lake PCH-LP cAVS
driver: sof-audio-pci-intel-cnl
API: ALSA 
version: k6.16.4-200.fc42.x86_64 
status: kernel-api

Reproducible: Always

Steps to Reproduce:
1. Update alsa-lib to 1.2.14-3.fc42.x86_64
2. Reboot
3. See you only have dummy output
Actual Results:
No sound

Expected Results:
Sound always here !

Additional Information:
Laptop model : Dell Latitude 3510
Audio Device : Intel Comet Lake PCH-LP cAVS
driver: sof-audio-pci-intel-cnl
API: ALSA 
version: k6.16.4-200.fc42.x86_64 
status: kernel-api

Comment 1 Jaroslav Kysela 2025-09-06 08:28:56 UTC
Probably dup of bug#2384324 . Please, try to gather logs as described there.

Comment 2 Adrien D 2025-09-06 09:27:11 UTC
Created attachment 2105834 [details]
Alsa INFO on working alsa-lib

Comment 3 Adrien D 2025-09-06 09:28:32 UTC
Created attachment 2105835 [details]
Alsa INFO on non-working alsa-lib

Comment 4 Adrien D 2025-09-06 09:29:42 UTC
Just uploaded the 2 files (1 with working and 1 with non working config)

Testing diff 2 files no major changes : 

--- alsa-info-1.2.13-4.fc42.x86_64.txt.GFlLL6THoe	2025-09-06 11:24:00.325515896 +0200
+++ alsa-info-1.2.14-3.fc42.x86_64.txt.KyxGWLXuGt	2025-09-06 11:25:36.292750323 +0200
@@ -3,7 +3,7 @@
 !!ALSA Information Script v 0.5.3
 !!################################
 
-!!Script ran on: Sat Sep  6 09:23:58 UTC 2025
+!!Script ran on: Sat Sep  6 09:25:34 UTC 2025
 
 
 !!Linux Distribution
@@ -87,7 +87,7 @@
 
 Driver version:     k6.16.4-200.fc42.x86_64
 Library version:    
-Utilities version:  1.2.13
+Utilities version:  1.2.14
 
 
 !!Loaded ALSA modules
@@ -350,7 +350,7 @@
   Control: name="Speaker Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
-  Amp-Out vals:  [0x38 0x38]
+  Amp-Out vals:  [0x51 0x51]
   Converter: stream=0, channel=0
   PCM:
     rates [0x60]: 44100 48000
@@ -463,7 +463,7 @@
   Control: name="Speaker Playback Switch", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-Out vals:  [0x00 0x00]
+  Amp-Out vals:  [0x80 0x80]
   Pincap 0x00010014: OUT EAPD Detect
   EAPD 0x2: EAPD
   Pin Default 0x90170110: [Fixed] Speaker at Int N/A
@@ -692,16 +692,16 @@
 crw-rw----+ 1 root audio 116, 12 Sep  6 11:22 /dev/snd/controlC0
 crw-rw----+ 1 root audio 116, 11 Sep  6 11:22 /dev/snd/hwC0D0
 crw-rw----+ 1 root audio 116, 10 Sep  6 11:22 /dev/snd/hwC0D2
-crw-rw----+ 1 root audio 116,  5 Sep  6 11:23 /dev/snd/pcmC0D0c
-crw-rw----+ 1 root audio 116,  4 Sep  6 11:23 /dev/snd/pcmC0D0p
-crw-rw----+ 1 root audio 116,  6 Sep  6 11:23 /dev/snd/pcmC0D31p
-crw-rw----+ 1 root audio 116,  7 Sep  6 11:23 /dev/snd/pcmC0D3p
-crw-rw----+ 1 root audio 116,  8 Sep  6 11:23 /dev/snd/pcmC0D4p
-crw-rw----+ 1 root audio 116,  9 Sep  6 11:23 /dev/snd/pcmC0D5p
-crw-rw----+ 1 root audio 116,  2 Sep  6 11:23 /dev/snd/pcmC0D6c
-crw-rw----+ 1 root audio 116,  3 Sep  6 11:23 /dev/snd/pcmC0D7c
-crw-rw----+ 1 root audio 116,  1 Sep  6 11:22 /dev/snd/seq
-crw-rw----+ 1 root audio 116, 33 Sep  6 11:22 /dev/snd/timer
+crw-rw----+ 1 root audio 116,  5 Sep  6 11:25 /dev/snd/pcmC0D0c
+crw-rw----+ 1 root audio 116,  4 Sep  6 11:25 /dev/snd/pcmC0D0p
+crw-rw----+ 1 root audio 116,  6 Sep  6 11:25 /dev/snd/pcmC0D31p
+crw-rw----+ 1 root audio 116,  7 Sep  6 11:25 /dev/snd/pcmC0D3p
+crw-rw----+ 1 root audio 116,  8 Sep  6 11:25 /dev/snd/pcmC0D4p
+crw-rw----+ 1 root audio 116,  9 Sep  6 11:25 /dev/snd/pcmC0D5p
+crw-rw----+ 1 root audio 116,  2 Sep  6 11:25 /dev/snd/pcmC0D6c
+crw-rw----+ 1 root audio 116,  3 Sep  6 11:25 /dev/snd/pcmC0D7c
+crw-rw----+ 1 root audio 116,  1 Sep  6 11:25 /dev/snd/seq
+crw-rw----+ 1 root audio 116, 33 Sep  6 11:25 /dev/snd/timer
 
 /dev/snd/by-path:
 total 0
@@ -789,8 +789,8 @@
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 87
   Mono:
-  Front Left: Playback 56 [64%] [-23.25dB] [on]
-  Front Right: Playback 56 [64%] [-23.25dB] [on]
+  Front Left: Playback 81 [93%] [-4.50dB] [off]
+  Front Right: Playback 81 [93%] [-4.50dB] [off]
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined
   Playback channels: Mono
@@ -931,8 +931,8 @@
 	control.3 {
 		iface MIXER
 		name 'Speaker Playback Volume'
-		value.0 56
-		value.1 56
+		value.0 81
+		value.1 81
 		comment {
 			access 'read write'
 			type INTEGER
@@ -940,15 +940,15 @@
 			range '0 - 87'
 			dbmin -6525
 			dbmax 0
-			dbvalue.0 -2325
-			dbvalue.1 -2325
+			dbvalue.0 -450
+			dbvalue.1 -450
 		}
 	}
 	control.4 {
 		iface MIXER
 		name 'Speaker Playback Switch'
-		value.0 true
-		value.1 true
+		value.0 false
+		value.1 false
 		comment {
 			access 'read write'
 			type BOOLEAN
@@ -1854,7 +1854,8 @@
 !!--------------------
 
 alsa-sof-firmware-2025.05.1-1.fc42.noarch
-alsa-lib-1.2.13-4.fc42.x86_64
-alsa-utils-1.2.13-3.fc42.x86_64
-alsa-lib-1.2.13-4.fc42.i686
+alsa-lib-1.2.14-3.fc42.x86_64
+alsa-ucm-1.2.14-3.fc42.noarch
+alsa-utils-1.2.14-1.fc42.x86_64
+alsa-lib-1.2.14-3.fc42.i686

Comment 5 Adrien D 2025-09-06 09:32:38 UTC
Created attachment 2105836 [details]
alsaucm-alsalibs-1.2.13-work.txt

Comment 6 Adrien D 2025-09-06 09:32:57 UTC
Created attachment 2105837 [details]
alsaucm-alsalibs-1.2.14-nowork.txt

Comment 7 Adrien D 2025-09-06 09:34:12 UTC
Just uploaded the 2 files (1 with working and 1 with non working config)

Testing diff 2 files no major changes : 


--- alsaucm-alsalibs-1.2.13-work.txt	2025-09-06 11:31:44.719443852 +0200
+++ alsaucm-alsalibs-1.2.14-nowork.txt	2025-09-06 11:31:13.734834391 +0200
@@ -15,24 +15,11 @@
 			TQ HiFi
 		}
 	}
-	Device.Speaker {
-		Comment Speaker
-		Values {
-			CaptureCTL "_ucm0001.hw:sofhdadsp"
-			PlaybackCTL "_ucm0001.hw:sofhdadsp"
-			PlaybackMasterElem Master
-			PlaybackMixerElem Speaker
-			PlaybackPCM "_ucm0001.hw:sofhdadsp"
-			PlaybackPriority 100
-			PlaybackSwitch "Speaker Playback Switch"
-			PlaybackVolume "Speaker Playback Volume"
-			TQ HiFi
-		}
-	}
 	Device.Mic1 {
 		Comment "Digital Microphone"
 		Values {
 			CaptureCTL "_ucm0001.hw:sofhdadsp"
+			CaptureChannels 1
 			CaptureMicInfoFile "/var/lib/alsa/card0.conf.d/dmics-nhlt.json"
 			CaptureMixerElem Dmic0
 			CapturePCM "_ucm0001.hw:sofhdadsp,6"
@@ -79,6 +66,20 @@
 			TQ HiFi
 		}
 	}
+	Device.Speaker {
+		Comment Speaker
+		Values {
+			CaptureCTL "_ucm0001.hw:sofhdadsp"
+			PlaybackCTL "_ucm0001.hw:sofhdadsp"
+			PlaybackMasterElem Master
+			PlaybackMixerElem Speaker
+			PlaybackPCM "_ucm0001.hw:sofhdadsp"
+			PlaybackPriority 100
+			PlaybackSwitch "Speaker Playback Switch"
+			PlaybackVolume "Speaker Playback Volume"
+			TQ HiFi
+		}
+	}
 	Device.HDMI1 {
 		Comment "HDMI / DisplayPort 1 Output"
 		Values {

Comment 8 Adrien D 2025-09-06 09:35:33 UTC
The command to ger WIREPLUMBER logs :

adrien@fedodell:~$ systemctl --user stop wireplumber
adrien@fedodell:~$ WIREPLUMBER_DEBUG="spa.*:5" wireplumber
D 11:34:59.440457            spa.cpu ../spa/plugins/support/cpu.c:262:impl_init: 0x5577cb1247e8: count:8 align:32 flags:0007cbdb
D 11:34:59.441083         spa.system ../spa/plugins/support/system.c:334:impl_init: 0x5577cb12e508: initialized
D 11:34:59.441092         spa.system ../spa/plugins/support/system.c:96:impl_pollfd_create: 0x5577cb12e508: new fd:4
D 11:34:59.441096         spa.system ../spa/plugins/support/system.c:203:impl_eventfd_create: 0x5577cb12e508: new fd:5
D 11:34:59.441100           spa.loop ../spa/plugins/support/loop.c:1296:impl_init: 0x5577cb1303f8: initialized
D 11:34:59.441396         spa.system ../spa/plugins/support/system.c:334:impl_init: 0x5577cb12e368: initialized
D 11:34:59.441404         spa.system ../spa/plugins/support/system.c:96:impl_pollfd_create: 0x5577cb12e368: new fd:6
D 11:34:59.441407         spa.system ../spa/plugins/support/system.c:203:impl_eventfd_create: 0x5577cb12e368: new fd:7
D 11:34:59.441410           spa.loop ../spa/plugins/support/loop.c:1296:impl_init: 0x5577cb135d68: initialized
D 11:34:59.441435         spa.system ../spa/plugins/support/system.c:203:impl_eventfd_create: 0x5577cb12e508: new fd:8
D 11:34:59.441954           spa.dbus ../spa/plugins/support/dbus.c:522:impl_init: 0x5577cb12e8b8: initialized
D 11:34:59.463647         spa.system ../spa/plugins/support/system.c:334:impl_init: 0x5577cb142258: initialized
D 11:34:59.463671         spa.system ../spa/plugins/support/system.c:96:impl_pollfd_create: 0x5577cb142258: new fd:10
D 11:34:59.463679         spa.system ../spa/plugins/support/system.c:203:impl_eventfd_create: 0x5577cb142258: new fd:11
D 11:34:59.463686           spa.loop ../spa/plugins/support/loop.c:1296:impl_init: 0x5577cb143b58: initialized
D 11:34:59.463695         spa.system ../spa/plugins/support/system.c:203:impl_eventfd_create: 0x5577cb142258: new fd:12
D 11:34:59.463801         spa.system ../spa/plugins/support/system.c:203:impl_eventfd_create: 0x5577cb142258: new fd:13
I 11:34:59.463807           spa.loop ../spa/plugins/support/loop.c:260:loop_create_queue: 0x5577cb143b58 created queue 0x5577cb1440c0 idx:0 0x7fc9b2fd5840
T 11:34:59.463813           spa.loop ../spa/plugins/support/loop.c:430:loop_queue_invoke: 0x5577cb1440c0: add item 0x5577cb1440f0 filled:0 block:0
T 11:34:59.463819           spa.loop ../spa/plugins/support/loop.c:301:put_queue: 0x5577cb1440c0 idx:0 0x7fc9b2fd5840
T 11:34:59.464239           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 0000001d -> 00000019
T 11:34:59.489964           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 00000019 -> 0000001d
T 11:34:59.489991           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 0000001d -> 00000019
T 11:34:59.490068           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 00000019 -> 0000001d
T 11:34:59.490146           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 0000001d -> 00000019
T 11:34:59.490159           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 00000019 -> 0000001d
T 11:34:59.490168           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 0000001d -> 00000019
T 11:34:59.494460           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 00000019 -> 0000001d
T 11:34:59.494484           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 0000001d -> 00000019
T 11:34:59.494572           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 00000019 -> 0000001d
T 11:34:59.494642           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 0000001d -> 00000019
T 11:34:59.494826           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 00000019 -> 0000001d
T 11:34:59.494914           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 0000001d -> 00000019
T 11:34:59.495090           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 00000019 -> 0000001d
T 11:34:59.495419           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 0000001d -> 00000019
T 11:34:59.522267           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 00000019 -> 0000001d
T 11:34:59.522319           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 0000001d -> 00000019
T 11:34:59.522463           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 00000019 -> 0000001d
T 11:34:59.522598           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 0000001d -> 00000019
T 11:34:59.526084           spa.loop ../spa/plugins/support/loop.c:290:get_queue: 0x5577cb1440c0 idx:0 0x7fc9b2fd5840
T 11:34:59.526100           spa.loop ../spa/plugins/support/loop.c:430:loop_queue_invoke: 0x5577cb1440c0: add item 0x5577cb144130 filled:0 block:0
T 11:34:59.526116           spa.loop ../spa/plugins/support/loop.c:301:put_queue: 0x5577cb1440c0 idx:0 0x7fc9b2fd5840
D 11:34:59.526143         spa.system ../spa/plugins/support/system.c:203:impl_eventfd_create: 0x5577cb12e368: new fd:19
I 11:34:59.526150           spa.loop ../spa/plugins/support/loop.c:260:loop_create_queue: 0x5577cb135d68 created queue 0x5577cb1e9f20 idx:0 0x7fc9b2fd5840
T 11:34:59.526156           spa.loop ../spa/plugins/support/loop.c:430:loop_queue_invoke: 0x5577cb1e9f20: add item 0x5577cb1e9f50 filled:0 block:0
T 11:34:59.526161           spa.loop ../spa/plugins/support/loop.c:301:put_queue: 0x5577cb1e9f20 idx:0 0x7fc9b2fd5840
D 11:34:59.526168         spa.system ../spa/plugins/support/system.c:203:impl_eventfd_create: 0x5577cb12e508: new fd:20
T 11:34:59.529368           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 00000019 -> 0000001d
T 11:34:59.529407           spa.loop ../spa/plugins/support/loop.c:801:loop_update_io: 0x5577cb163d20: update 0000001d -> 00000019

Comment 9 Adrien D 2025-09-06 09:50:50 UTC
Just testing with OpenSuse Tumbleweed Live GNOME ISO.
alsalib is libasound2-1.2.14
Same issue, Dummy Output

Comment 10 Jaroslav Kysela 2025-09-06 11:13:12 UTC
The wireplumber dump is not complete. You probably didn't wait for further lines like:

  I 13:10:57.861369           spa.alsa ../spa/plugins/alsa/acp/alsa-util.c:724:pa_alsa_open_by_device_string: ALSA device open '_ucm0005.hw:sofhdadsp' capture: 0x561a9bb175b0

The problem may be in the added 'CaptureChannels' line in UCM. Can you comment it out (add '#' character before Capture)?

Comment 11 Adrien D 2025-09-06 12:15:26 UTC
Created attachment 2105838 [details]
WIREPLUMBER_DEBUG="spa.*:5" wireplumber

Comment 12 Adrien D 2025-09-06 12:16:22 UTC
Just sent the full debug, i started it via SSH, now started the debug in connected user !

Comment 13 Jaroslav Kysela 2025-09-06 14:17:38 UTC
Yes, the CaptureChannels change is causing this bug:

  D 14:13:14.052350           spa.alsa ../spa/plugins/alsa/acp/alsa-util.c:714:pa_alsa_open_by_device_string: Trying _ucm0001.hw:sofhdadsp,6 without SND_PCM_NO_AUTO_FORMAT ...
  I 14:13:14.052399           spa.alsa ../spa/plugins/alsa/acp/alsa-util.c:724:pa_alsa_open_by_device_string: ALSA device open '_ucm0001.hw:sofhdadsp,6' capture: 0x5631f1896430
  D 14:13:14.052417           spa.alsa ../spa/plugins/alsa/acp/alsa-util.c:299:pa_alsa_set_hw_params: snd_pcm_hw_params_set_channels(1) failed: Argument invalide
  I 14:13:14.052422           spa.alsa ../spa/plugins/alsa/acp/alsa-util.c:677:pa_alsa_close: ALSA device close 0x5631f1896430

The driver reports only one digital microphone:

  Card sysdefault:0 'sofhdadsp'/'DellInc.-Latitude3510--0N2W0J'
  Mixer name	: 'Realtek ALC3204'
  Components	: 'HDA:8086280b,80860101,00100000 HDA:10ec0236,102809ed,00100002 cfg-dmics:1'
                                                                                 ^^^^^^^^^^^

So it's a driver issue or the https://github.com/alsa-project/alsa-ucm-conf/pull/579 change should be reconsidered (it's from Intel people).

Created https://github.com/thesofproject/linux/issues/5528 for the SOF team (driver maintainers).

Workaround is to remove or comment out the 'CaptureChannels 1' line in '/usr/share/alsa/ucm2/Intel/sof-hda-dsp/HiFi.conf' file.

Comment 14 Adrien D 2025-09-06 17:16:48 UTC
The workarround "#CaptureChannels 1" works

Comment 15 chiappone 2025-09-23 23:25:44 UTC
(In reply to Adrien D from comment #14)
> The workarround "#CaptureChannels 1" works

This wokarround does not work for me, after commenting it out and rebooting I still do not have an audio device.

Comment 16 Jaroslav Kysela 2025-09-24 08:29:34 UTC
(In reply to chiappone from comment #15)
> (In reply to Adrien D from comment #14)
> > The workarround "#CaptureChannels 1" works
> 
> This wokarround does not work for me, after commenting it out and rebooting
> I still do not have an audio device.

Create another issue and attach output from `alsa-info.sh --no-upload` there. You may have a different hardware.

Comment 17 chiappone 2025-09-24 14:32:35 UTC
Ok thanks, created Bug 2397820 https://bugzilla.redhat.com/show_bug.cgi?id=2397820


Note You need to log in before you can comment on or make changes to this bug.