Skip to content

[BUG][BYT-NOCODEC]Input/output error when aplay via (0,1) using format s24_le/s32_le #3171

Closed

Description

@Liviali155

Describe the bug
Input/output error when aplay via (0,1) using format s24_le/s32_le
After error occured all the pipeline can work

To Reproduce
1."sudo reboot" to reboot system
2.cd sof-test
3.cd test-case
4.export TPLG=sof-byt-nocodec.tplg
5.check-playback.sh -d 3 -l 1 -r 1 -F

Reproduction Rate
10/10

Expected behavior
No error occured

Impact
Input/output error when aplay via (0,1) using format s24_le/s32_le

Capture

ubuntu@jf-byt-mb-nocodec-1:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofnocodec [sof-nocodec], device 0: PCM (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofnocodec [sof-nocodec], device 1: PCM Deep Buffer (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0


ubuntu@jf-byt-mb-nocodec-1:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: sofnocodec [sof-nocodec], device 0: PCM (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

No error dmesg,no error sof error trace

Environment
Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
Kernel: {sof-dev fa7850de}
SOF: {master:318dc9f7}
Name of the topology file
Topology: {sof-byt-nocodec.tplg }
Name of the platform(s) on which the bug is observed.
Platform: {BYT MB with nocodec}
sof-logger_0713.log

dmesg_0713.log

Activity

  1. added
    bugSomething isn't working as expected
    BYTApplies to Baytrail platform
    P2Critical bugs or normal features
    on Jul 13, 2020
  2. Liviali155 commented on Jul 13, 2020

    @Liviali155
    Author

    BYT_MB_RT5682 also has this issue

  3. mengdonglin commented on Jul 14, 2020

    @mengdonglin
    Collaborator

    sof-byt-nocodec.tplg is created from "sof-cht-nocodec.m4", updated in #3080 to remove SRC for Baytrail and CherryTrail by @plbossart

  4. lgirdwood commented on Jul 14, 2020

    @lgirdwood
    Member

    @Liviali155 as @mengdonglin says lets reduce the BYT/CHT tests to reflect the new topologies.

  5. plbossart commented on Jul 14, 2020

    @plbossart
    Member

    we use the same pipe type of the two PCM devices, so not sure why one would support a format and not the other. This looks like a fundamental bug or a topology edit issue.

  6. plbossart commented on Jul 29, 2020

    @plbossart
    Member

    Can you retry with SOF PR ##3245
    Thanks!

  7. Liviali155 commented on Jul 29, 2020

    @Liviali155
    Author

    After applied #3245,issue still can be reproduced on BYT MB with nocodec
    Capture
    0729dmesg.log
    sof-logger0729.log

  8. plbossart commented on Jul 29, 2020

    @plbossart
    Member

    @Liviali155 work-around suggested with #3257

    Can you double-check the results? Also shouldn't this test be part of CI? It's been reporting no issues on this.

  9. Liviali155 commented on Jul 30, 2020

    @Liviali155
    Author

    Tried with #3257,error not seen on byt-nocodec and byt-mb-rt5682

  10. slawblauciak commented on Aug 10, 2020

    @slawblauciak
    Collaborator

    @Liviali155 that change has been merged, good to close now?

  11. plbossart commented on Aug 10, 2020

    @plbossart
    Member

    @Liviali155 that change has been merged, good to close now?

    I'd like to keep it for now, there's no rational explanation as to why reducing the period size solves the problem. I think we have more fundamental problem with scheduling.

  12. slawblauciak commented on Sep 15, 2020

    @slawblauciak
    Collaborator

    @mengdonglin please assign it to somebody who maintains legacy platforms.

  13. keqiaozhang commented on Sep 15, 2020

    @keqiaozhang
    Collaborator

    Confirmed that this issue is not reproducible for a long time.

  14. mengdonglin commented on Sep 15, 2020

    @mengdonglin
    Collaborator

    @plbossart @keqiaozhang Close this issue . We can monitor if this issue will happen again on BYT.

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

Metadata

Metadata

Assignees

Labels

BYTApplies to Baytrail platformFix confirmedFix for the issue has been found and verifiedP2Critical bugs or normal featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions