Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 2 abnormal sampling points during alsabat testing on MTL-HDA #8476

Open
keqiaozhang opened this issue Nov 13, 2023 · 8 comments
Open
Labels
area:alsa-bat bug Something isn't working as expected MTL Applies to Meteor Lake platform mtl-006 P3 Low-impact bugs or features

Comments

@keqiaozhang
Copy link
Collaborator

keqiaozhang commented Nov 13, 2023

Describe the bug
This issue happens on MTL-006 branch, the reproduction rate is low, but it can be manually reproduced. No reproductions on main branch so far.

image

To Reproduce
~/sof-test/test-case/check-alsabat.sh -p hw:sofhdadsp,0 -c hw:CODEC,0 -C 2 -F 821

Reproduction Rate
less than 10%.

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
  2. Name of the topology file
    • Topology: {sof-ace-tplg/sof-hda-generic-4ch.tplg}
  3. Name of the platform(s) on which the bug is observed.
    • Platform: {MTL-RVP-HDA w/ Gen3.1 AIOC}
@keqiaozhang keqiaozhang added bug Something isn't working as expected P3 Low-impact bugs or features area:alsa-bat MTL Applies to Meteor Lake platform mtl-006 labels Nov 13, 2023
@lgirdwood
Copy link
Member

@keqiaozhang just at the start of the playback/capture or randomly during playback/capture ?

@keqiaozhang
Copy link
Collaborator Author

@keqiaozhang just at the start of the playback/capture or randomly during playback/capture ?

It happened during playback test. From the 2 waveforms, it happens between 0.46s~0.47s.

@abonislawski
Copy link
Member

abonislawski commented Nov 14, 2023

@wszypelt please assign someone from validation team to check if we are testing exactly the same scenario in CI python tests (and have repro)

@lgirdwood
Copy link
Member

@keqiaozhang just at the start of the playback/capture or randomly during playback/capture ?

It happened during playback test. From the 2 waveforms, it happens between 0.46s~0.47s.

Interesting, Btw, what's the host side buffer size in this test ?

@lgirdwood lgirdwood added this to the v2.8 milestone Nov 14, 2023
@keqiaozhang
Copy link
Collaborator Author

Interesting, Btw, what's the host side buffer size in this test ?

Buffer size is 2 ms (384 bytes).

kernel: snd_sof:sof_ipc4_prepare_copier_module: sof-audio-pci-intel-mtl 0000:00:1f.3: copier host-copier.0.playback, dma buffer: 2 ms (384 bytes)

@lrudyX
Copy link

lrudyX commented Nov 21, 2023

@keqiaozhang please provide logs with payloads

@lgirdwood
Copy link
Member

Interesting, Btw, what's the host side buffer size in this test ?

Buffer size is 2 ms (384 bytes).

kernel: snd_sof:sof_ipc4_prepare_copier_module: sof-audio-pci-intel-mtl 0000:00:1f.3: copier host-copier.0.playback, dma buffer: 2 ms (384 bytes)

Ok, so this is the DSP side buffer and it looks correct. The aplay command line can dump the host side buffer size, my feeling is that the buffer size could be 0.46 seconds long.

@kv2019i
Copy link
Collaborator

kv2019i commented Nov 29, 2023

Only on the mtl-006 release branch, so removing the v2.8 milestone. FYI @lgirdwood @abonislawski

@kv2019i kv2019i removed this from the v2.8 milestone Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:alsa-bat bug Something isn't working as expected MTL Applies to Meteor Lake platform mtl-006 P3 Low-impact bugs or features
Projects
None yet
Development

No branches or pull requests

5 participants