Skip to content

Conversation

@plbossart
Copy link
Member

#3156 does not work, so if we can't get a quick fix let's revert and redo. Nothing personal, just that we can't break CI for a month and keep going this way.

This reverts commit 1f092df.

Signed-off-by: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com

This reverts commit 1f092df.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
@paulstelian97
Copy link
Collaborator

I would like to discuss about the situation of turning circular buffers into linear memory regions, especially when the buffer size might not be a multiple of the conversion unit size. That is very interesting for compressed playback since the available algorithms expect linear buffers of a certain minimum size and might not even consume all of the data if there's something.

Copy link

@mmaka1 mmaka1 left a comment

Choose a reason for hiding this comment

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

Seems that simple sample processing is working vs. audio-stream api returning errors. So handling of audio stream objects must be fixed in host and/or dai components to ensure their consistent state before reapplying the change being reverted.

@lgirdwood
Copy link
Member

CI does show cliiping and that looks due to PGA2.0 on the capture path being > 0dB.
@aiChaoSONG good work on the CI, can we check/change that the audio config for all capture paths to be 0dB

@lgirdwood lgirdwood merged commit 08022aa into thesofproject:master Jul 10, 2020
@plbossart
Copy link
Member Author

CI does show cliiping and that looks due to PGA2.0 on the capture path being > 0dB.

how did you find this?

@aiChaoSONG good work on the CI, can we check/change that the audio config for all capture paths to be 0dB

I am still worried about kmod tests failed with no obvious failure reported.

@lgirdwood
Copy link
Member

CI does show cliiping and that looks due to PGA2.0 on the capture path being > 0dB.

how did you find this?

An alsa-bat wav file is available when you click on the test results which can be loaded into audacity. Then checked the topology diagram and logs for PGA gains and could see the gain value for each PGA

#define VOL_QXY_Y 16

/** \brief Volume 0dB value. */
#define VOL_ZERO_DB	BIT(VOL_QXY_Y)

The volume for PGA2.0 was above this value.

@plbossart
Copy link
Member Author

CI does show cliiping and that looks due to PGA2.0 on the capture path being > 0dB.

how did you find this?

An alsa-bat wav file is available when you click on the test results which can be loaded into audacity. Then checked the topology diagram and logs for PGA gains and could see the gain value for each PGA

I must be really think, I can't see any wav files -

#define VOL_QXY_Y 16

/** \brief Volume 0dB value. */
#define VOL_ZERO_DB	BIT(VOL_QXY_Y)

The volume for PGA2.0 was above this value.

CI does show cliiping and that looks due to PGA2.0 on the capture path being > 0dB.

how did you find this?

An alsa-bat wav file is available when you click on the test results which can be loaded into audacity. Then checked the topology diagram and logs for PGA gains and could see the gain value for each PGA

Well of course I clicked on the Cyan case where there are no results. When I click on Minnowboard w/ rt5682 then my browser downloads a wav file. But if I click on other test cases that passed, then also no wav results and some really strange error messages.

Try different columns for check-alsabat-headset-playback.sh in https://sof-ci.01.org/sofpr/PR3159/build6557/devicetest/

@plbossart
Copy link
Member Author

plbossart commented Jul 10, 2020

Try different columns for check-alsabat-headset-playback.sh in https://sof-ci.01.org/sofpr/PR3159/build6557/devicetest/

Update: if I use Firefox then I get the two files for the two cases that fail. There's a nice menu that selects Audacity by default. But with Chrome it looks random and there's no menu at all. @aiChaoSONG @xiulipan FYI, you may want to look into HTML generation issues here?

@marc-hb
Copy link
Collaborator

marc-hb commented Sep 14, 2020

I am still worried about kmod tests failed with no obvious failure reported

I started with a cleanup of this particular test, please help review: thesofproject/sof-test#368

No functional change yet.

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.

6 participants