-
Notifications
You must be signed in to change notification settings - Fork 322
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] SSP tplg2 fails when built with upstream alsa-utils #226 #8396
Comments
P2 as we don't have this alsa-utils patch in our toolchain we use to create SOF releases (yet). |
@marc-hb, FYI |
Comment alsa-project/alsa-utils#226 (comment) said "this was only a preview that can't be merged yet, please revert it". Was it not reverted? |
@jsarha @ranj063 Can you help look at this issue? |
|
Adding to v2.8 for tracking, although not a v2.8 blocker |
Is this bug still valid? I see that thesofproject/linux#4667 was merged, even if alsa-project/alsa-utils#226 was not reverted. At least I saw no problems when I built alsa-utils from upstream master (with alsa-lib from v1.2.10 tag), and used the produced alsatplg to build our topologies from sof main, and the used the produced sof-mtl-nocodec.tplg with our daily build on a Nest RVP, and tried both "aplay -D hw:0,0 -vv -d 5 -f cd /dev/zero" and "arecord -D hw:0,0 -vv -d 5 -f cd /dev/null". Is there something more to this bug, or should this be closed? |
@lgirdwood @jsarha Not sure. Now the problem is that unless you have a very, very new kernel (i.e. latest sof-dev), a topology built with upstream alsa-utils will NOT work. If we need to update the docker image for any reason, this requirement will kick in for SOF official releases as well, and bump the minimum required Linux kernel version to v6.7+ something. I'm not comfortable with this. (UPDATE: despite all the above, this is not really related to v2.8 release, we will be using old alsa-utils to make v2.8 still, so this is more a kernel/alsa-utils issue that is independent from SOF) |
@plbossart @ranj063 What's your take? Do we keep the alsa-utils PR and just live with the kernel dependency? |
We either submit a revert to alsa-utils repo (and possibly request a point release) OR submit the above to Linux as a "Fix" patch for backporting. If alsa-utils has NOT released this update then easiest is to revert and fix in alsa-utils ? |
No more comments, so I'll close this via thesofproject/linux#4667 . This is now sent upstream and we need to ensure it gets backported - FYI to @ujfalusi . This only affects I2S configs and if hit, happens 100% so hard to miss. |
Describe the bug
With merge of alsa-project/alsa-utils#226 , any targetting Intel devics with SSP, will no longer work with upstream SOF driver.
Following change is needed in kernel to use the upstream-built topologies:
The text was updated successfully, but these errors were encountered: