Giter Site home page Giter Site logo

Comments (13)

syedk008 avatar syedk008 commented on August 15, 2024 1

Can you please try this pass-through topology version:

0001-Tools-Topology2-Add-sof-hda-generic-ace1-4ch-48k-pas.patch.gz

Issue is reproducible with this topology, but the frequency seems less.

from sof.

syedk008 avatar syedk008 commented on August 15, 2024 1

Please try also this, 2ch with pdm1 (the controller that handles in 4ch channels 3-4):

0001-Tools-Topology2-Add-topology-sof-hda-generic-ace1-2c.patch.gz

The issue is not reproducible with this topology.

from sof.

lgirdwood avatar lgirdwood commented on August 15, 2024

@syedk008 is there any capture WAV file that you can share here ? Does it also matter if capture is started 1st then playback 2nd ?

from sof.

syedk008 avatar syedk008 commented on August 15, 2024

@lgirdwood attached is the WAV file, rename it to .wav.
rec.txt
I could not reproduce the issue when capture starts 1st and playback 2nd. Also the issue always in last two channels 3-4.

from sof.

singalsu avatar singalsu commented on August 15, 2024

Can you please try this pass-through topology version:

0001-Tools-Topology2-Add-sof-hda-generic-ace1-4ch-48k-pas.patch.gz

from sof.

singalsu avatar singalsu commented on August 15, 2024

Please try also this, 2ch with pdm1 (the controller that handles in 4ch channels 3-4):

0001-Tools-Topology2-Add-topology-sof-hda-generic-ace1-2c.patch.gz

from sof.

abonislawski avatar abonislawski commented on August 15, 2024

@syedk008 could you please attach dmesg log with IPC payload data? (for full iteration - aplay - arecord - end)
Our validation will try to reproduce exactly the same scenario on ARL-S without linux driver.

I can confirm it works fine in basic dmic 4ch tests.

from sof.

syedk008 avatar syedk008 commented on August 15, 2024

@syedk008 could you please attach dmesg log with IPC payload data? (for full iteration - aplay - arecord - end) Our validation will try to reproduce exactly the same scenario on ARL-S without linux driver.

I can confirm it works fine in basic dmic 4ch tests.

Attached are the dmesg logs.
dmesg_clean.txt
dmesg_noisy.txt

from sof.

singalsu avatar singalsu commented on August 15, 2024

I did yesterday testing with the ARL-S device. Some observations:

  • Issues happen with both gcc and xcc builds
  • The DSP load seems to impact occurrence, more frequent corruption with higher load topologies. With DMIC capture in passthough but normal HDA playback pipelines the occurrence is low. Also generally the occurrence varies a lot, sometimes many successive runs are corrupt, sometimes it takes even with full topology a lot of runs to see the issue.
  • Switched DCCOMP off in DMIC blob. Also set capture IIR to passthrough with sof-ctl. When corruption happens, the DC level of corrupted signal shifts the noise to fully to positive PCM codes side.
  • Set in DMIC blob FIR coefficients to zero to force decimator output to zero. Then applied with DC channel registers a fixed offset to channels. With these forced DC values I was never able to see corruption, after some 20 runs of Karim's script. Just clean stream of constant PCM code values, except the start gain ramps. But this needs more runs to confirm this configuration never corripts, so not 100% sure about this.

from sof.

singalsu avatar singalsu commented on August 15, 2024

Fix proposal: zephyrproject-rtos/zephyr#74414

from sof.

lyakh avatar lyakh commented on August 15, 2024

With zephyrproject-rtos/zephyr#74414 this problem couldn't be reproduced any more so far. Since the noise when it appears with unpatched firmware begins directly at the start of a capture, it makes sense that modifying DMIC initialisation flow fixes the problem.

from sof.

kv2019i avatar kv2019i commented on August 15, 2024

Fixed part of release v2.10 (a Zephyr fix so backported directly), removing the tag. Let's close once the Zephyr fix lands in SOF main via west.yml update (i.e. #9258 or similar).

from sof.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.