You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unrecoverable XRUN on speakers after HDMI hw_params error #391
This scenario may not be a valid sequence but it totally wrecks SOF on APL/Reef
boot and start a guest session, then start a YouTube channel in the browser, listen on the speakers
start an SSH command-line terminal and run speaker-test -Dhw:0,5 -c2 -r48000 (this is trying to play on HDMI without any prior configuration or UCM updates). speaker-test fails since the mixers are not correctly set. Precision: HDMI is not connected at all
watch the playback stop on speakers and a rain of underrun IPC happen with repeated messages such as
[ 1047.596214] sof-audio sof-audio: ipc rx done: 0x60090001
[ 1047.597404] sof-audio sof-audio: ipc rx: 0x60090001
[ 1047.597446] sof-audio sof-audio: posn mailbox: posn offset is 0xc1000
[ 1047.597448] sof-audio sof-audio: posn XRUN: host 0 comp 2 size -192
In theory an error on one stream should not impact an existing one, and using a hw: device while CRAS is playing should either not work (device busy) or should have no impact.
@zhuyingjiang@plbossart
Tested this with tip of SOF fw (cbd3e07) and could not reproduce the error (30+ tries with the recipe Pierre you provided).
I did not get XRUN on the FW logs though, so I'm not 100% sure I am triggering the issue in the same way. There are other errors in the FW log and this does not disrupt the primary audio stream that is playing youtube, so this seems to be working.
Better of course if we could get ack from @plbossart , but considering he is very busy atm, I think we can trust my tests and close this. I now got HDMI working (in general) as well and I retested this today on my UP2 board and could not trigger the error Pierre described.
Activity
mengdonglin commentedon Dec 29, 2018
@plbossart
@xiulipan had 2 FW PR to fix FW XRUN recovery. Could you check if this solution works for you?
thesofproject/sof#755
thesofproject/sof#757
zhuyingjiang commentedon Apr 3, 2019
@kv2019i I heard you have a Reef platform, could you verify if this issue is still valid?
kv2019i commentedon Apr 3, 2019
@zhuyingjiang wrote:
Sure, I'll test this tomorrow. Haven't used HDMI yet with SOF, but this is probably a good case to learn with.
kv2019i commentedon Apr 4, 2019
@zhuyingjiang @plbossart
Tested this with tip of SOF fw (cbd3e07) and could not reproduce the error (30+ tries with the recipe Pierre you provided).
I did not get XRUN on the FW logs though, so I'm not 100% sure I am triggering the issue in the same way. There are other errors in the FW log and this does not disrupt the primary audio stream that is playing youtube, so this seems to be working.
zhuyingjiang commentedon Apr 8, 2019
@kv2019i OK, thanks, so we can close this?
kv2019i commentedon Apr 10, 2019
@zhuyingjiang wrote:
Better of course if we could get ack from @plbossart , but considering he is very busy atm, I think we can trust my tests and close this. I now got HDMI working (in general) as well and I retested this today on my UP2 board and could not trigger the error Pierre described.