Skip to content

Unrecoverable XRUN on speakers after HDMI hw_params error #391

Description

@plbossart

This scenario may not be a valid sequence but it totally wrecks SOF on APL/Reef

  1. boot and start a guest session, then start a YouTube channel in the browser, listen on the speakers
  2. 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
  3. 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.

Can someone, e.g. @cujomalainey @ranj063 try and reproduce this on GLK?

Metadata

Metadata

Assignees

Labels

APLApplies to ApolloLake platformbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions