Skip to content

[BUG][BSW] unable to install params when aplay on PCM0 in S24_LE/S32_LE #3340

Closed

Description

@fredoh9

Describe the bug
aplay -Dhw:0,0 -r 48000 -c 2 -f S32_LE -d 10 /dev/zero

aplay: set_params:1407: Unable to install hw params:

https://sof-ci.01.org/sofpr/PR3324/build6974/devicetest/

from etrace, looks buffer size is the problem.

[306878054.218750] ( 67879896.000000) c0 mixer        1.2          src/audio/mixer.c:202  ERROR mixer_params(): sink buffer size is insufficient
[306878063.489583] (        9.270833) c0 pipe         3.21      src/audio/pipeline.c:491  ERROR pipeline_params(): ret = -12, host->comp.id = 17
[306878074.843750] (       11.354167) c0 ipc                       src/ipc/handler.c:274  ERROR ipc: pipe 3 comp 17 param

To Reproduce
aplay -Dhw:0,0 -r 48000 -c 2 -f S32_LE -d 10 /dev/zero
aplay -Dhw:0,0 -r 48000 -c 2 -f S24_LE -d 10 /dev/zero

Reproduction Rate
100%,
check-playback-all-formats.sh in PR/Daily test failed

Expected behavior
aplay should play and return no error

**topology graph
sof-cht-max-98090.tplg
sof-cht-max98090

Activity

  1. added
    bugSomething isn't working as expected
    BSWBraswell
    on Aug 24, 2020
  2. self-assigned this
    on Aug 24, 2020
  3. aiChaoSONG commented on Aug 25, 2020

    @aiChaoSONG
    Collaborator

    This is a general issue on every platform. Some pipelines are created with S16_LE, but the template we use just hard code the PCM capabilities. we may need a discussion.

  4. plbossart commented on Jun 10, 2021

    @plbossart
    Member

    @fredoh9 @aiChaoSONG does this problem still exist? I think it was a duplicate of other problems with BYT/CHT mixers. please close if this isn't a problem any longer.

  5. added
    BYTApplies to Baytrail platform
    CHTApplies to Cherry Trail platform
    on Jun 10, 2021
  6. aiChaoSONG commented on Jun 11, 2021

    @aiChaoSONG
    Collaborator

    fixed by e4fa878, close

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

Metadata

Metadata

Assignees

Labels

BSWBraswellBYTApplies to Baytrail platformCHTApplies to Cherry Trail platformbugSomething isn't working as expectedtopologyTopology issues

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions