Skip to content

White noise when doing 16 bit playback/record via I2S on ICL #552

Closed

Description

@DarrenxWang

Summary:
White noise when doing 16 bit playback/record by I2S on firware branch icl-001-drop-stable. 24 bit/32bit playback/capture works well w/o this issue.

And this issue seems to be a branch-specific firmware issue for icl-001-drop-stable.
Because with the same kernel & topology, this issue cannot be reproduced on firmware master branch (commit 33e4b99) plus the patch below 0001-DMIC-Enable-power-for-DMIC-for-ICL-platform.patch

Test steps:
aplay -D hw:0,0 Music/48California_Dreaming.wav -d 20 & arecord -Dhw:0,0 -f S16_LE -r 48000 -c 2 test.wav -d 20

Test env:
Sof- icl-001-drop-stable: 40c054a

Soft-Soft- master: 937032f + 1 Patch
0001-topology-sample-code-for-icl-topology.patch.txt

Linux kernel: topic/sof-dev: af44aa9 + 3 Kernel patches
0001-ASoC-Intel-hdac_hdmi-add-Icelake-support.patch.txt
0002-ASoC-intel-add-icelake-dummy-codec-match-table.patch.txt
0003-ASoC-Intel-add-ICL-machine-driver.patch.txt

Firmware patch:
0001-DMIC-Enable-power-for-DMIC-for-ICL-platform.patch.txt

Log&Wav:
There is no obvious error in kmesg.
linux_dmesg.log
logger.txt
wav.zip

Activity

  1. added
    bugSomething isn't working as expected
    on Nov 8, 2018
  2. added
    ICLApplies to IceLake platform
    P1Blocker bugs or important features
    on Nov 8, 2018
  3. mrajwa commented on Nov 8, 2018

    @mrajwa
    Contributor

    The only significant difference between the commit that is fine 33e4b99 and the icl-001-drop-stable is this commit 4fa9a7b. @singalsu, could you please check if you see reported noise issue caused by your commit changes?

  4. singalsu commented on Nov 8, 2018

    @singalsu
    Collaborator

    @mrajwa I don't have ICL. Do you know which bits -> bits conversion is the suspected volume controller doing?

  5. self-assigned this
    on Nov 8, 2018
  6. singalsu commented on Nov 8, 2018

    @singalsu
    Collaborator

    I made just PR #555. That's an obvious error, sorry for that. If the playback / capture pipelines in ICL did s24 -> s16 sample format conversion in volume that should impact.

  7. changed the title [-]White noise when doing playback/record via I2S on ICL[/-] [+]White noise when doing 16 bit playback/record via I2S on ICL[/+] on Nov 9, 2018
  8. DarrenxWang commented on Nov 9, 2018

    @DarrenxWang
    Author

    There is white noise when doing 16 bit playback/record by I2S.
    There is no white noise when doing 24/32 bit playback/record by I2S.

  9. singalsu commented on Nov 9, 2018

    @singalsu
    Collaborator

    @DarrenxWang I don't have device to test this conversion. Can you please test if PR #555 fixes this.

    Edit: no need to get PR, it's merged to git master now.

  10. bardliao commented on Nov 9, 2018

    @bardliao
    Collaborator

    @mrajwa @singalsu This issue is fixed by PR #555 . Thanks

  11. singalsu commented on Nov 9, 2018

    @singalsu
    Collaborator

    @bardliao Excellent, thanks!

  12. singalsu commented on Nov 9, 2018

    @singalsu
    Collaborator

    Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

ICLApplies to IceLake platformP1Blocker bugs or important featuresbugSomething isn't working as expectedverifiedQA/Bug reporter verifies solution worked.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions