Skip to content

[Bug][EHL] Runtime PM keeps active and "Unable to install hw " when aplay via HDMI #2061

Closed

Description

@ClarexZhou

Describe the bug
Runtime PM keeps active after system boot up, "Unable to install hw " when aplay via HDMI. Other pipline works ok. Also no HDMI jack detection in amixer contents.

To Reproduce

  1. system boot up
  2. cat "/sys/bus/pci/devices/0000:00:1f.3/power/runtime_status"
  3. aplay -Dhw:0,3 -f dat 48K_Let_It_Go.wav -vv -i

Reproduction Rate
3/3

Expected behavior
HDMI should work normally

Impact
HDMI pipline can't be used, other pipline works ok.

test@test-Elkhart-Lake-Embedded-Platform:~$ aplay -Dhw:0,3 -f dat 48K_Let_It_Go.wav -vv -i
Playing WAVE '48K_Let_It_Go.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
aplay: set_params:1403: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 48000
PERIOD_TIME: 85000
PERIOD_SIZE: 4080
PERIOD_BYTES: 16320
PERIODS: (4 5)
BUFFER_TIME: 341000
BUFFER_SIZE: 16368
BUFFER_BYTES: 65472
TICK_TIME: 0

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
  2. Name of the topology file
    • Topology: sof-ehl-rt5660.tplg
  3. Name of the platform(s) on which the bug is observed.
    • Platform: EHL RVP with RT5660 in I2S mode

Didn't find error message.
sof-logger_full.txt
amixer.txt
dmesg_2.txt
drmDmesg.txt

Can't do bi-sect, since commit seems changed. But 20200413 kernel works OK. Here is dmesg when issue not reproduced with previous kernel.
noIssue_drmDmesg.txt

Activity

  1. added
    bugSomething isn't working
    EHLApplies to Elkhart Lake
    on Apr 28, 2020
  2. libinyang commented on May 7, 2020

    @libinyang

    EHL graphics device is not properly supported by i915 kernel module. It will skip the probing and setting the hdmi audio. Add i915.force_probe=4571 can bypass this issue.

  3. added
    won't fixThis will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)
    on May 7, 2020
  4. sinahuang commented on May 7, 2020

    @sinahuang

    After adding i915.force_probe=4571 to "/boot/grub/grub.cfg" files, issue can't be seen. So track this i915 issue in https://gitlab.freedesktop.org/drm/intel/-/issues/1843, closed it.

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

Metadata

Metadata

Assignees

Labels

EHLApplies to Elkhart LakeGFXGFX driver restrictionbugSomething isn't workingwon't fixThis will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions