Skip to content

[BUG] MTL: sound distortion for SDW devices on SOF topology2 #8846

@mstrozek

Description

@mstrozek

Describe the bug
On MTL laptop running Fedora 40 (most recent rawhide as of 06.02.2024) ) with the following topology:

  • Link0: CS42L43 Jack and mics
  • Link2: 2x CS35L56 Speaker (amps 3 and 4, right)
  • Link3: 2x CS35L56 Speaker (amps 1 and 2, left)

occasionally the audio becomes strongly distorted (see attached files audio_example.tar.gz).
There is a chance this distortion will occur after waking the laptop from suspend, though it was observed to sometimes happen after restarting gnome sound settings GUI. It is possible that the sound can return to normal after some time or another wake/suspend cycle, but no clear pattern was observed.
The same distortion effect can be heard through both CS42L43 (jack) and CS35L56 (speakers). Also routing audio to bypass CS35L56's firmware has been tried, resulting in no change to distortion. This seems to suggest that the corruption happens before the sound is processed by CS42L43/CS35L56

To Reproduce
Try any audio output (tested mainly with gnome sound settings GUI) after waking the laptop from suspend.

Reproduction Rate
Should encounter the distortion after 5-10 attempts.

Expected behavior
No distortion should be present

Impact
Major

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
  2. Name of the topology file
  3. Name of the platform(s) on which the bug is observed.
    • Platform: Meteor lake laptop
  4. ALSA UCM config
  5. Cirrus FW

Screenshots or console output
sdw_reg_dump.tar.gz

Metadata

Metadata

Labels

MTLApplies to Meteor Lake platformP1Blocker bugs or important featuresSDWSoundWirebugSomething isn't working as expected

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions