Skip to content

[BUG] topology2/rtc-aec: missing include file #8357

Closed

Description

@plbossart

Describe the bug
error in topology build ....

To Reproduce
./sof/scripts/docker-run.sh ./scripts/build-tools.sh

Reproduction Rate
100%

Expected behavior
no warnings on topology

Impact
annoyance or showstopper, who knows what is generated

Environment
* SOF: 054003f

Screenshots or console output

[584/601] Generating sof-tgl-nocodec-rtcaec.tplg
ALSA lib conf.c:838:(get_char_skip_comments) Cannot access file include/components/google-rtc-aec/rtc-aec-blob.conf
saving nhlt as binary in nhlt-sof-tgl-nocodec-rtcaec.bin

Activity

  1. added
    bugSomething isn't working as expected
    on Oct 19, 2023
  2. plbossart commented on Oct 19, 2023

    @plbossart
    MemberAuthor
  3. singalsu commented on Oct 20, 2023

    @singalsu
    Collaborator

    Seems I have missed to include this blob conversion from tplg1 to 64fcebb. Thanks for reporting @plbossart !

  4. self-assigned this
    on Oct 20, 2023
  5. singalsu commented on Oct 20, 2023

    @singalsu
    Collaborator

    Actually it seems that commit 9e9120a removed the file.

    But I think it's a mistake, the blob should be duplicated from tplg1 to tplg2:

    https://github.com/thesofproject/sof/blob/main/tools/topology/topology1/m4/google_rtc_audio_processing_default.m4

  6. added a commit that references this issue on Oct 20, 2023
    b617dd2
  7. marc-hb commented on Oct 20, 2023

    @marc-hb
    Collaborator

    Why is this error not fatal? As of version 1.2.10, alsatplg returns success status 0 and generates a topology file anyway!

    Much more than an SOF bug, this looks like a serious alsatplg include bug. Who knows what other includes are missing in other files and what content gets generated. I know error handling is rarely ever tested and that C does not care about errors but this seems to go a bit too far.

  8. plbossart commented on Oct 20, 2023

    @plbossart
    MemberAuthor

    @ranj063 any comments?

  9. ranj063 commented on Nov 6, 2023

    @ranj063
    Collaborator

    Actually it seems that commit 9e9120a removed the file.

    But I think it's a mistake, the blob should be duplicated from tplg1 to tplg2:

    @singalsu thats not correct. The blob was needed for IPC3 to set the audio format for the reference. But with IPC4 we send all audio formats with the init module instance IPC. So, no it wasnt a mistake. It is the right thing to do

  10. singalsu commented on Nov 6, 2023

    @singalsu
    Collaborator

    Thanks, I'll do another fix, just not reference the missing blob in test topology.

  11. added a commit that references this issue on Nov 6, 2023
    9ed740d
  12. added a commit that references this issue on Nov 9, 2023
    304dfd7
  13. marc-hb commented on Nov 10, 2023

    @marc-hb
    Collaborator

    Why is this error not fatal? As of version 1.2.10, alsatplg returns success status 0 and generates a topology file anyway!

    Ping?

  14. singalsu commented on Feb 8, 2024

    @singalsu
    Collaborator

    This was fixed by #8453.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething 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