Skip to content

[BUG][CML][EQ]EQ test failed as no FIR/IIF pipelines available for pipeline 0~3 #2810

Closed

Description

@Liviali155

Describe the bug
EQ test failed
The pipeline aplay/arecord normally
Caused by 736762b https://github.com/thesofproject/sof/releases/tag/v1.5-rc3

ubuntu@cml-hda-mantis-1:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
ubuntu@cml-hda-mantis-1:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 6: DMIC (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 7: DMIC16kHz (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

To Reproduce
1.chmod +x sof-ctl
2.sudo mv sof-ctl /usr/bin/
3.get sof-hda-generic-eq-2ch.tplg,then renamed to sof-hda-generic-2ch.tplg
4.reboot
5.cd sof-test
6.cd test-case
7.export TPLG=/lib/firmware/intel/sof-hda-generic-2ch.tplg
8../check-audio-equalizer.sh(https://github.com/thesofproject/sof-test/blob/master/test-case/check-audio-equalizer.sh)

Reproduction Rate
10/10

Expected behavior
EQ test pass

Impact
EQ test failed
Capture

Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
Kernel: {202bac2} /sof/dev
SOF: {49cba21} https://github.com/thesofproject/sof/releases/tag/v1.5-rc3
Name of the topology file
Topology: {sof-hda-generic-eq-2ch.tplg rename to sof-hda-generic-2ch.tplg}
Name of the platform(s) on which the bug is observed.
Platform: {CML laptop with onboard codec ALC3204 in HDA mode

No sof_errortrace
No dmesg error log
sof-logger.logr

dmesg.log

Activity

  1. added
    bugSomething isn't working as expected
    CMLApplies to Comet Lake platform
    on Apr 20, 2020
  2. Liviali155 commented on Apr 20, 2020

    @Liviali155
    Author

    Issue also can be reproduced on master
    sof/dev 202bac2
    master 504ec43

  3. changed the title [-][BUG][CML][EQ]EQ test failed[/-] [+][BUG][CML][EQ]EQ test failed as no FIR/IIF pipelines available for pipeline 0~3[/+] on Apr 21, 2020
  4. added
    HDAApplies to HD-Audio bus for codec connection
    on Apr 21, 2020
  5. Liviali155 commented on Apr 21, 2020

    @Liviali155
    Author

    Without 736762b https://github.com/thesofproject/sof/releases/tag/v1.5-rc3,eq test is pass,result as below:

    ubuntu@ubuntu-Inspiron-5590:~/sof-test/test-case$ ./check-audio-equalizer.sh 
    2020-04-21 02:53:29 UTC [INFO] ./check-audio-equalizer.sh will use topology /lib/firmware/intel/sof-tplg/sof-hda-generic-2ch.tplg to run the test case
    2020-04-21 02:53:29 UTC [INFO] Pipeline list to ignore is specified, will ignore 'pcm=HDA Digital,Media Playback,DMIC16k' in test case
    2020-04-21 02:53:29 UTC [INFO] Run command to get pipeline parameters
    2020-04-21 02:53:29 UTC [COMMAND] sof-tplgreader.py /lib/firmware/intel/sof-tplg/sof-hda-generic-2ch.tplg -f type:playback -b pcm:'HDA Digital,Media Playback,DMIC16k' -s 0 -e
    2020-04-21 02:53:29 UTC [INFO] 0 - total pipeline= 4
    2020-04-21 02:53:29 UTC [INFO] eq_support= EQIIR1.0 EQFIR1.0
    2020-04-21 02:53:29 UTC [INFO] 0. Get amixer control id for IIR and FIR
    2020-04-21 02:53:29 UTC [INFO] IIR list 5 ./eqctl/eq_iir_bandpass.txt ./eqctl/eq_iir_bassboost.txt ./eqctl/eq_iir_flat.txt ./eqctl/eq_iir_loudness.txt ./eqctl/eq_iir_pass.txt
    2020-04-21 02:53:29 UTC [INFO] FIR list 4 ./eqctl/eq_fir_flat.txt ./eqctl/eq_fir_loudness.txt ./eqctl/eq_fir_mid.txt ./eqctl/eq_fir_pass.txt
    2020-04-21 02:53:29 UTC [INFO] [1/1] 1. Test IIR config list, IIR amixer control id=42
    2020-04-21 02:53:29 UTC [COMMAND] sof-ctl -Dhw:0 -n 42 -s ././eqctl/eq_iir_bandpass.txt
    Control size is 304.
    Applying configuration "././eqctl/eq_iir_bandpass.txt" into device hw:0 control numid=42.
    4607827,0,116,50331648,0,0,0,0,116,2,1,0,0,0,0,0,0,2,2,0,0,0,0,3316150158,2048164275,513807534,3267352229,513807534,0,16384,3867454526,1191025347,38870735,77741469,38870735,4294967292,24197
    Success.
    hdr: magic 0x00464f53
    hdr: type 0
    hdr: size 116 bytes
    hdr: abi 3:0:0
    4607827,0,116,50331648,0,0,0,0,116,2,1,0,0,0,0,0,0,2,2,0,0,0,0,3316150158,2048164275,513807534,3267352229,513807534,0,16384,3867454526,1191025347,38870735,77741469,38870735,4294967292,24197
    2020-04-21 02:53:29 UTC [COMMAND] aplay -Dhw:0,0 -f S16_LE -c 2 -r 48000 /dev/zero -d 5
    Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
    Warning: rate is not accurate (requested = 8000Hz, got = 48000Hz)
             please, try the plug plugin 
    2020-04-21 02:53:32 UTC [COMMAND] sof-ctl -Dhw:0 -n 42 -s ././eqctl/eq_iir_bassboost.txt
    Control size is 304.
    Applying configuration "././eqctl/eq_iir_bassboost.txt" into device hw:0 control numid=42.
    4607827,0,116,50331648,0,0,0,0,116,2,1,0,0,0,0,0,0,2,2,0,0,0,0,3227172081,2141520527,536653443,3221660410,536653443,0,16384,3260252783,2107733822,161646111,3961037800,172645501,4294967294,27910
    Success.
    hdr: magic 0x00464f53
    hdr: type 0
    hdr: size 116 bytes
    hdr: abi 3:0:0
    4607827,0,116,50331648,0,0,0,0,116,2,1,0,0,0,0,0,0,2,2,0,0,0,0,3227172081,2141520527,536653443,3221660410,536653443,0,16384,3260252783,2107733822,161646111,3961037800,172645501,4294967294,27910
    2020-04-21 02:53:32 UTC [COMMAND] aplay -Dhw:0,0 -f S16_LE -c 2 -r 48000 /dev/zero -d 5
    Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
    Warning: rate is not accurate (requested = 8000Hz, got = 48000Hz)
             please, try the plug plugin 
    2020-04-21 02:53:33 UTC [COMMAND] sof-ctl -Dhw:0 -n 42 -s ././eqctl/eq_iir_flat.txt
    Control size is 304.
    Applying configuration "././eqctl/eq_iir_flat.txt" into device hw:0 control numid=42.
    4607827,0,88,50331648,0,0,0,0,88,2,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,538145694,0,32690
    Success.
    hdr: magic 0x00464f53
    hdr: type 0
    hdr: size 88 bytes
    hdr: abi 3:0:0
    4607827,0,88,50331648,0,0,0,0,88,2,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,538145694,0,32690
    2020-04-21 02:53:33 UTC [COMMAND] aplay -Dhw:0,0 -f S16_LE -c 2 -r 48000 /dev/zero -d 5
    Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
    Warning: rate is not accurate (requested = 8000Hz, got = 48000Hz)
             please, try the plug plugin 
    2020-04-21 02:53:35 UTC [COMMAND] sof-ctl -Dhw:0 -n 42 -s ././eqctl/eq_iir_loudness.txt
    Control size is 304.
    Applying configuration "././eqctl/eq_iir_loudness.txt" into device hw:0 control numid=42.
    4607827,0,204,50331648,0,0,0,0,204,4,2,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,538145694,0,32690,3,3,0,0,0,0,3237960220,2130690484,297056159,3694463533,303476880,0,16384,3302357025,2064935920,245217319,3776455865,274003881,0,16384,4106268671,4130185751,69182517,4179658584,365641401,4294967292,25468
    Success.
    hdr: magic 0x00464f53
    hdr: type 0
    hdr: size 204 bytes
    hdr: abi 3:0:0
    4607827,0,204,50331648,0,0,0,0,204,4,2,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,538145694,0,32690,3,3,0,0,0,0,3237960220,2130690484,297056159,3694463533,303476880,0,16384,3302357025,2064935920,245217319,3776455865,274003881,0,16384,4106268671,4130185751,69182517,4179658584,365641401,4294967292,25468
    2020-04-21 02:53:35 UTC [COMMAND] aplay -Dhw:0,0 -f S16_LE -c 2 -r 48000 /dev/zero -d 5
    Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
    Warning: rate is not accurate (requested = 8000Hz, got = 48000Hz)
             please, try the plug plugin 
    2020-04-21 02:53:37 UTC [COMMAND] sof-ctl -Dhw:0 -n 42 -s ././eqctl/eq_iir_pass.txt
    Control size is 304.
    Applying configuration "././eqctl/eq_iir_pass.txt" into device hw:0 control numid=42.
    4607827,0,88,50331648,0,0,0,0,88,2,1,0,0,0,0,4294967295,4294967295,1,1,0,0,0,0,0,0,0,0,538145694,0,32690
    Success.
    hdr: magic 0x00464f53
    hdr: type 0
    hdr: size 88 bytes
    hdr: abi 3:0:0
    4607827,0,88,50331648,0,0,0,0,88,2,1,0,0,0,0,4294967295,4294967295,1,1,0,0,0,0,0,0,0,0,538145694,0,32690
    2020-04-21 02:53:37 UTC [COMMAND] aplay -Dhw:0,0 -f S16_LE -c 2 -r 48000 /dev/zero -d 5
    Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
    Warning: rate is not accurate (requested = 8000Hz, got = 48000Hz)
             please, try the plug plugin 
    2020-04-21 02:53:39 UTC [INFO] [1/1] 2. Test FIR config list, FIR amixer control id=43
    2020-04-21 02:53:39 UTC [COMMAND] sof-ctl -Dhw:0 -n 43 -s ././eqctl/eq_fir_flat.txt
    Control size is 4096.
    Applying configuration "././eqctl/eq_fir_flat.txt" into device hw:0 control numid=43.
    4607827,0,56,50331648,0,0,0,0,56,65538,0,0,0,0,0,4294901764,0,0,0,0,16384,0
    Success.
    hdr: magic 0x00464f53
    hdr: type 0
    hdr: size 56 bytes
    hdr: abi 3:0:0
    4607827,0,56,50331648,0,0,0,0,56,65538,0,0,0,0,0,4294901764,0,0,0,0,16384,0
    2020-04-21 02:53:39 UTC [COMMAND] aplay -Dhw:0,0 -f S16_LE -c 2 -r 48000 /dev/zero -d 5
    Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
    Warning: rate is not accurate (requested = 8000Hz, got = 48000Hz)
             please, try the plug plugin 
    2020-04-21 02:53:41 UTC [COMMAND] sof-ctl -Dhw:0 -n 43 -s ././eqctl/eq_fir_loudness.txt
    Control size is 4096.
    Applying configuration "././eqctl/eq_fir_loudness.txt" into device hw:0 control numid=43.
    4607827,0,256,50331648,0,0,0,0,256,131076,0,0,0,0,65537,65537,4294901764,0,0,0,0,16384,0,88,0,0,0,0,3535366939,119016436,49938453,30147089,30343698,30409180,29426121,27328945,25428369,23921015,22479202,20906315,19267889,17826074,16646407,15663350,14745832,13762777,12845259,11862204,10879149,10027167,9175186,8388742,7602298,6946927,6291557,5636187,5046354,4522057,3997761,3539002,3145779,2752557,2424872,2162723,1900575,1638427,1441815,1245204,1048593,917519,720909,7
    Success.
    hdr: magic 0x00464f53
    hdr: type 0
    hdr: size 256 bytes
    hdr: abi 3:0:0
    4607827,0,256,50331648,0,0,0,0,256,131076,0,0,0,0,65537,65537,4294901764,0,0,0,0,16384,0,88,0,0,0,0,3535366939,119016436,49938453,30147089,30343698,30409180,29426121,27328945,25428369,23921015,22479202,20906315,19267889,17826074,16646407,15663350,14745832,13762777,12845259,11862204,10879149,10027167,9175186,8388742,7602298,6946927,6291557,5636187,5046354,4522057,3997761,3539002,3145779,2752557,2424872,2162723,1900575,1638427,1441815,1245204,1048593,917519,720909,7
    2020-04-21 02:53:41 UTC [COMMAND] aplay -Dhw:0,0 -f S16_LE -c 2 -r 48000 /dev/zero -d 5
    Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
    Warning: rate is not accurate (requested = 8000Hz, got = 48000Hz)
             please, try the plug plugin 
    2020-04-21 02:53:43 UTC [COMMAND] sof-ctl -Dhw:0 -n 43 -s ././eqctl/eq_fir_mid.txt
    Control size is 4096.
    Applying configuration "././eqctl/eq_fir_mid.txt" into device hw:0 control numid=43.
    4607827,0,216,50331648,0,0,0,0,216,65538,0,0,0,0,0,65620,0,0,0,0,1216113787,4258079667,3890735935,4020759377,4107596501,4148819496,4185192544,4218550909,4245879886,4266982846,4282777302,4294049699,6488112,11010187,13303997,13893842,13435090,12189892,10617006,8847509,7143546,5570657,4194378,3014711,2097190,1310746,786448,393224,65539,4294901760,4294836222,4294836221,4294770684,4294836221,4294836221,4294901757,4294901758,4294901758,4294967295,4294967295,4294967295,0
    Success.
    hdr: magic 0x00464f53
    hdr: type 0
    hdr: size 216 bytes
    hdr: abi 3:0:0
    4607827,0,216,50331648,0,0,0,0,216,65538,0,0,0,0,0,65620,0,0,0,0,1216113787,4258079667,3890735935,4020759377,4107596501,4148819496,4185192544,4218550909,4245879886,4266982846,4282777302,4294049699,6488112,11010187,13303997,13893842,13435090,12189892,10617006,8847509,7143546,5570657,4194378,3014711,2097190,1310746,786448,393224,65539,4294901760,4294836222,4294836221,4294770684,4294836221,4294836221,4294901757,4294901758,4294901758,4294967295,4294967295,4294967295,0
    2020-04-21 02:53:43 UTC [COMMAND] aplay -Dhw:0,0 -f S16_LE -c 2 -r 48000 /dev/zero -d 5
    Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
    Warning: rate is not accurate (requested = 8000Hz, got = 48000Hz)
             please, try the plug plugin 
    2020-04-21 02:53:45 UTC [COMMAND] sof-ctl -Dhw:0 -n 43 -s ././eqctl/eq_fir_pass.txt
    Control size is 4096.
    Applying configuration "././eqctl/eq_fir_pass.txt" into device hw:0 control numid=43.
    4607827,0,56,50331648,0,0,0,0,56,65538,0,0,0,0,4294967295,4294901764,0,0,0,0,16384,0
    Success.
    hdr: magic 0x00464f53
    hdr: type 0
    hdr: size 56 bytes
    hdr: abi 3:0:0
    4607827,0,56,50331648,0,0,0,0,56,65538,0,0,0,0,4294967295,4294901764,0,0,0,0,16384,0
    2020-04-21 02:53:45 UTC [COMMAND] aplay -Dhw:0,0 -f S16_LE -c 2 -r 48000 /dev/zero -d 5
    Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 8000 Hz, Stereo
    Warning: rate is not accurate (requested = 8000Hz, got = 48000Hz)
             please, try the plug plugin 
    2020-04-21 02:53:47 UTC [INFO] EQ test done: failed_cnt is 0
    2020-04-21 02:53:47 UTC [INFO] 1 - total pipeline= 4
    2020-04-21 02:53:47 UTC [INFO] None of FIR/IIF filter is available in this pipeline, skip
    2020-04-21 02:53:47 UTC [INFO] 2 - total pipeline= 4
    2020-04-21 02:53:47 UTC [INFO] None of FIR/IIF filter is available in this pipeline, skip
    2020-04-21 02:53:47 UTC [INFO] 3 - total pipeline= 4
    2020-04-21 02:53:47 UTC [INFO] None of FIR/IIF filter is available in this pipeline, skip
    2020-04-21 02:53:47 UTC [INFO] Graph of /lib/firmware/intel/sof-tplg/sof-hda-generic-2ch.tplg will be generated to /home/ubuntu/sof-test/logs/check-audio-equalizer/2020-04-20-22:53:29-25522
    2020-04-21 02:53:47 UTC [INFO] Test Result: PASS!
    
    

    dmesg0421.log
    eq_pass.txt
    sof-logger0421.log

  6. xiulipan commented on Apr 21, 2020

    @xiulipan
    Contributor

    @Liviali155 Please try with #2827

  7. Liviali155 commented on Apr 21, 2020

    @Liviali155
    Author

    Tried with PR #2827,error not seen

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

Metadata

Metadata

Assignees

Labels

CMLApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionbugSomething isn't working as expectedtopologyTopology issues

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions