alsa-project / alsa-ucm-conf

ALSA Use Case Manager configuration
BSD 3-Clause "New" or "Revised" License
69 stars 208 forks source link

Dummy output with ES8326 codec #407

Open Henrythek opened 3 months ago

Henrythek commented 3 months ago

Description

During the process of using the ES8326 codec, I encountered a dummy output issue. killall pulseaudio do not work, even after masking and then unmasking the pulseaudio service and attempting to restart it, the issue persists. The dummy output occurs intermittently when plugging in or unplugging headphones, and rebooting can temporarily resolve the issue. I am using the following configuration:

Error Messages

E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.

E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="pci-0000_00_1f.3-platform-sof-essx8336" card_name="alsa_card.pci-0000_00_1f.3-platform-sof-essx8336" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.

I: [pulseaudio] module-udev-detect.c: Card /devices/pci0000:00/0000:00:1f.3/sof-essx8336/sound/card0 (alsa_card.pci-0000_00_1f.3-platform-sof-essx8336) failed to load module.

Additional Information

The UCM (Use Case Manager) configuration used is from the following repository: alsa-ucm-conf/ucm2/Intel/sof-essx8336

Steps to Reproduce

  1. Use the ES8326 codec on a Debian GNU/Linux 12 system with Kernel 6.7.0.
  2. Attempt to use the audio functionality.
  3. Plug in or unplug headphones.
  4. Observe the dummy output issue and the error messages mentioned above.

Additional Context

alsa-info.txt aplay.txt pulseaudio_v.txt Screenshot from 2024-03-27 21-44-34

perexg commented 3 months ago

The driver is not ready for initialization:

I: [pulseaudio] alsa-ucm.c: UCM available for card hw:0
D: [pulseaudio] alsa-ucm.c: UCM _alibpref=_ucm0001.
I: [pulseaudio] alsa-ucm.c: Set UCM verb to HiFi
I: [pulseaudio] (alsa-lib)main.c: unable to execute cset 'name='DAC Mono Mix Switch' off'
I: [pulseaudio] (alsa-lib)main.c: error: failed to initialize new use case: HiFi
E: [pulseaudio] alsa-ucm.c: Failed to get the verb HiFi

You should report this to driver maintainers.