Bug 2393552
| Summary: | No sound, only dummy output since updating alsa-lib to 1.2.14 | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adrien D <email> | ||||||||||||
| Component: | alsa-lib | Assignee: | Jaroslav Kysela <jkysela> | ||||||||||||
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||
| Severity: | high | Docs Contact: | |||||||||||||
| Priority: | unspecified | ||||||||||||||
| Version: | 42 | CC: | chiappone, email, fuzzballmobile, jkysela, potsawat.think, tim | ||||||||||||
| Target Milestone: | --- | ||||||||||||||
| Target Release: | --- | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Linux | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Fixed In Version: | Doc Type: | --- | |||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||
| Clone Of: | Environment: | ||||||||||||||
| Last Closed: | Type: | --- | |||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||
| Documentation: | --- | CRM: | |||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
| Embargoed: | |||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Adrien D
2025-09-05 18:25:06 UTC
Probably dup of bug#2384324 . Please, try to gather logs as described there. Created attachment 2105834 [details]
Alsa INFO on working alsa-lib
Created attachment 2105835 [details]
Alsa INFO on non-working alsa-lib
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
Created attachment 2105836 [details]
alsaucm-alsalibs-1.2.13-work.txt
Created attachment 2105837 [details]
alsaucm-alsalibs-1.2.14-nowork.txt
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 {
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 Just testing with OpenSuse Tumbleweed Live GNOME ISO. alsalib is libasound2-1.2.14 Same issue, Dummy Output 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)? Created attachment 2105838 [details]
WIREPLUMBER_DEBUG="spa.*:5" wireplumber
Just sent the full debug, i started it via SSH, now started the debug in connected user ! 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.
The workarround "#CaptureChannels 1" works (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. (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. Ok thanks, created Bug 2397820 https://bugzilla.redhat.com/show_bug.cgi?id=2397820 |