Skip to content

Conversation

@singalsu
Copy link
Collaborator

We need to care about audio user experience and peak MCPS usage in production topologies.

The alsabat test is disturbed by longer ramp so it can be removed from nocodec topologies since the codec is never used by end users and also the peak MCPS mitigation is not relevant for a test topology, as long as higher MCPS is not triggering error reports. The curve duration becomes without explicit set the default 20 ms.

Fixes: #8238
Fixes: d0d74a4
("Tools: Topology2: Change in capture gain
curve_duration to 50 m")

We need to care about audio user experience and peak MCPS
usage in production topologies.

The alsabat test is disturbed by the longer ramp so the
change can be reverted from nocodec topologies. Those
topologies are never used by end users. Also the peak MCPS
mitigation is not relevant for test topologies, as long as
higher MCPS is not triggering error reports. The curve
duration is restored without explicit set to the default 20 ms.

Fixes: thesofproject#8238
Fixes: d0d74a4
       ("Tools: Topology2: Change in capture gain
       curve_duration to 50 m")

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu singalsu force-pushed the tplg2_nocodec_restore_20ms_curve_duration branch from b4dc316 to 2f163ad Compare September 21, 2023 15:25
Copy link
Contributor

@btian1 btian1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if CI can't make it pass with 50ms, then we have to revert, however, I would suggest tile and message use below:

Revert "Tools: Topology2: Change in capture gain curve_duration to 50 ms"

This reverts commit d0d74a4.

@singalsu
Copy link
Collaborator Author

if CI can't make it pass with 50ms, then we have to revert, however, I would suggest tile and message use below:

Revert "Tools: Topology2: Change in capture gain curve_duration to 50 ms"

This reverts commit d0d74a4.

No, it's not fully reverting the patch. Only the nocodec topologies those are tested in CI are changed back.

And really need to start to develop fix for alsabat. We can't continue changing default behavior to follow shortcomings of test tool.

@singalsu singalsu marked this pull request as ready for review September 25, 2023 06:56
@lgirdwood lgirdwood merged commit 2cdd11a into thesofproject:main Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] ramp time extended by 0.03s after capture gain curve_duration change

4 participants