Skip to content

Suspicious buffer position reported with insanely large delays #4686

@plbossart

Description

@plbossart

We seem to have a generic IPC4 delay reporting issue on SoundWire devices:

LNL:

aplay -Dhw:0,0 -c2 -r48000 -fS32_LE /dev/zero -B20000 -F10000 -d1800 --fatal-errors -v --test-position
Suspicious buffer position (3044 total): avail = 48, delay = 7493989779945237086, buffer = 960
Status(R/W) (standalone avail=48 delay=7493989779945237086):
  state       : RUNNING
  trigger_time: 568.697921
  tstamp      : 583.905174
  delay       : 7493989779945237086

TGL (from @bardliao)

Suspicious buffer position (35432 total): avail = 0, delay = 8646911284551353162, buffer = 960
Status(R/W) (standalone avail=0 delay=8646911284551353162):
  state       : RUNNING
  trigger_time: 120.072871
  tstamp      : 0.000000
  delay       : 8646911284551353162
  avail       : 0
  avail_max   : 0

@kv2019i @ujfalusi @RanderWang isn't the firmware supposed to provide timestamps that are used for the delay reporting?

This looks like we have a plumbing issue...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions