Skip to content

[BUG] toplogy1 : error: tuple SOF_TKN_BUF_SIZE: Numerical result out of range when pipeline period size increases beyond 40ms #7476

@Vamshigopal

Description

@Vamshigopal

Describe the bug
when we increase the period size beyond 40ms in PIPELINE_PCM_ADD and DAI_ADD in *.m4 , it fails to build the topology with below error.

ALSA lib data.c:854:(parse_tuple_set) tuple SOF_TKN_BUF_SIZE: Numerical result out of range
ALSA lib parser.c:212:(tplg_load_config) failed to parse topology
Unable to load configuration: Invalid argument

Branch: main
alsatplg version 1.2.8
libasound version 1.2.8
libatopology version 1.2.8

To Reproduce

"sof-tgl-max98357a-rt5682;sof-adl-max98360a-rt5682;-DCODEC=MAX98360A;-DFMT=s32le;-DPLATFORM=adl;-DLINUX_MACHINE_DRIVER=sof_rt5682;-DAMP_SSP=1;-DBT_OFFLOAD;-DSPK_MIC_PERIOD_US=500000"

./scripts/build-tools.sh

Reproduction Rate
10/10

Expected behavior
Build should work without any errors.

Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
    • Kernel: {SHA}
    • SOF: main
  2. Name of the topology file
    • Topology: tools/topology/topology1/sof-tgl-max98357a-rt5682.m4
  3. Name of the platform(s) on which the bug is observed.
    • Platform: RPL

Screenshots or console output
tplg-build.log

Metadata

Metadata

Assignees

Labels

ADLApplies to Alder Lake platformTGLApplies to Tiger LakebugSomething 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