Comments (13)
Can you please try this pass-through topology version:
0001-Tools-Topology2-Add-sof-hda-generic-ace1-4ch-48k-pas.patch.gz
Issue is reproducible with this topology, but the frequency seems less.
from sof.
Please try also this, 2ch with pdm1 (the controller that handles in 4ch channels 3-4):
0001-Tools-Topology2-Add-topology-sof-hda-generic-ace1-2c.patch.gz
The issue is not reproducible with this topology.
from sof.
@syedk008 is there any capture WAV file that you can share here ? Does it also matter if capture is started 1st then playback 2nd ?
from sof.
@lgirdwood attached is the WAV file, rename it to .wav.
rec.txt
I could not reproduce the issue when capture starts 1st and playback 2nd. Also the issue always in last two channels 3-4.
from sof.
Can you please try this pass-through topology version:
0001-Tools-Topology2-Add-sof-hda-generic-ace1-4ch-48k-pas.patch.gz
from sof.
Please try also this, 2ch with pdm1 (the controller that handles in 4ch channels 3-4):
0001-Tools-Topology2-Add-topology-sof-hda-generic-ace1-2c.patch.gz
from sof.
@syedk008 could you please attach dmesg log with IPC payload data? (for full iteration - aplay - arecord - end)
Our validation will try to reproduce exactly the same scenario on ARL-S without linux driver.
I can confirm it works fine in basic dmic 4ch tests.
from sof.
@syedk008 could you please attach dmesg log with IPC payload data? (for full iteration - aplay - arecord - end) Our validation will try to reproduce exactly the same scenario on ARL-S without linux driver.
I can confirm it works fine in basic dmic 4ch tests.
Attached are the dmesg logs.
dmesg_clean.txt
dmesg_noisy.txt
from sof.
I did yesterday testing with the ARL-S device. Some observations:
- Issues happen with both gcc and xcc builds
- The DSP load seems to impact occurrence, more frequent corruption with higher load topologies. With DMIC capture in passthough but normal HDA playback pipelines the occurrence is low. Also generally the occurrence varies a lot, sometimes many successive runs are corrupt, sometimes it takes even with full topology a lot of runs to see the issue.
- Switched DCCOMP off in DMIC blob. Also set capture IIR to passthrough with sof-ctl. When corruption happens, the DC level of corrupted signal shifts the noise to fully to positive PCM codes side.
- Set in DMIC blob FIR coefficients to zero to force decimator output to zero. Then applied with DC channel registers a fixed offset to channels. With these forced DC values I was never able to see corruption, after some 20 runs of Karim's script. Just clean stream of constant PCM code values, except the start gain ramps. But this needs more runs to confirm this configuration never corripts, so not 100% sure about this.
from sof.
Fix proposal: zephyrproject-rtos/zephyr#74414
from sof.
With zephyrproject-rtos/zephyr#74414 this problem couldn't be reproduced any more so far. Since the noise when it appears with unpatched firmware begins directly at the start of a capture, it makes sense that modifying DMIC initialisation flow fixes the problem.
from sof.
Fixed part of release v2.10 (a Zephyr fix so backported directly), removing the tag. Let's close once the Zephyr fix lands in SOF main via west.yml update (i.e. #9258 or similar).
from sof.
Related Issues (20)
- [BUG] pipeline with DP-scheduled src_lite upon 0x13000002 IPC HOT 6
- [BUG] Fail to compile topology HOT 5
- [BUG] build error undefined reference to `__udivdi3 in mimx93_evk_a55 build HOT 4
- [BUG] [stable-v2.2] ERROR pipeline_comp_reset(): failed to recover (multiple-pipeline-all) HOT 1
- [BUG] [WHL] [stable-v2.2] capture overrun in pause/resume tests HOT 1
- LNL HDA alsabat capture failed, "Peak freq too low" HOT 37
- [BUG] arecord fails with non-zero exit status HOT 3
- [BUG] SOF build fails with Zephyr main since June 1st HOT 3
- [BUG] MFCC HiFi4 optimized version is broken HOT 1
- [RFC] Explore the CPU cost benefits of using deinterleaved data along the internal path of the pipeline HOT 1
- [BUG] [HIFI4] PeakVol.Quality issues for audio formats HOT 3
- [FEATURE] GUI to demonstrate and control SOF components on target hardware HOT 4
- [FEATURE] Add IIR equalizer to every microphone and generally any acoustical endpoint
- [BUG][LLEXT] Logging is impossible during module unloading HOT 2
- [BUG] SOF fails to load on MTL (with Linux 6.8 or older driver) HOT 5
- [BUG] Zephyr panic with pause-resume test on LNL/nocodec HOT 10
- Alderlake/Amstonlake da7219 support in I2S HOT 4
- [BUG] PTL doesn't have an open source toolchain, "xtensa-build-zephyr.py ptl" fails by default HOT 4
- [BUG] DSP panic with Zephyr on Intel MTL, regression 27th June HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sof.