Skip to content

[BUG] ignore i915 GuC initialization failed #767

Closed

Description

@plbossart

These errors started showing up with Intel test 6610 and thesofproject/linux#3153

[    5.289539] kernel: i915 0000:00:02.0: GuC initialization failed -2
[    5.289564] kernel: i915 0000:00:02.0: Enabling uc failed (-5)
[    5.289573] kernel: i915 0000:00:02.0: Failed to initialize GPU, declaring it wedged!

@kv2019i would you concur they can be ignored in our tests?

Activity

  1. kv2019i commented on Sep 15, 2021

    @kv2019i
    Contributor

    @plbossart These can be ignored, but even better is to install the required i915 firmware files (from linux-firmware git).

  2. plbossart commented on Sep 15, 2021

    @plbossart
    MemberAuthor

    thanks @kv2019i for your comment.

    @aiChaoSONG @fredoh9 can you look into installing those firmware files as part of the 'deploy' step? if think impacts the Ubuntu install they can always be added in /lib/firmware/updates/

  3. aiChaoSONG commented on Sep 16, 2021

    @aiChaoSONG

    @kv2019i @plbossart The i915 firmware deployment can be regarded as one-time environment setup/upgrade, and now we are exploring to use ansible for device env setup/upgrade.

    Before using ansible, I manually upgrade the i915 firmware on all online ADL devices, let's watch the issue for a while. With ansible, it can be done in batch later

  4. changed the title [-][BUG] More i915 to filter out[/-] [+][BUG] ignore i915 GuC initialization failed[/+] on Oct 1, 2021
  5. marc-hb commented on Oct 18, 2021

    @marc-hb
    Contributor

    Close?

  6. fredoh9 commented on Oct 19, 2021

    @fredoh9
    Contributor

    I checked the booting dmesg log.
    ADLP_RVP_SDW needs,

    • i915/adlp_dmc_ver2_10.bin
    • i915/adlp_guc_62.0.3.bin
    • i915/tgl_huc_7.9.3.bin

    ADLP_RVP_NOCODEC needs,

    • i915/adlp_dmc_ver2_10.bin
    • i915/tgl_huc_7.9.3.bin

    ADLS_RVP_HDA needs,

    • i915/adls_dmc_ver2_01.bin
    • i915/tgl_guc_62.0.0.bin
    • i915/tgl_huc_7.9.3.bin

    linux-firmware.git is not updated that often, can we update i915 firmware when devices are setup? And for new platforms we may see firmware loading problems but we can still update as maintenance when required. I will update i915 firmwares for ADLP RVP today, and close this.

  7. fredoh9 commented on Oct 19, 2021

    @fredoh9
    Contributor

    @kv2019i @marc-hb I have interesting errors, I updated all requires binaries from linux-firmware. But I have still errors. What might be the problem? I tested with jf-adlp-rvp-nocodec-7, checking with other devices.

    [    5.523966] i915 0000:00:02.0: Direct firmware load for i915/tgl_huc_7.9.3.bin failed with error -2
    [    5.523980] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc_7.9.3.bin: fetch failed with error -2
    
    # firmware files are there
    ubuntu@jf-adlp-rvp-nocodec-7:~$ ls -al /lib/firmware/i915/tgl_huc_7.*
    -rw-r--r-- 1 root root 530368 Aug  2 15:41 /lib/firmware/i915/tgl_huc_7.0.12.bin
    -rw-r--r-- 1 root root 521408 Aug  2 15:41 /lib/firmware/i915/tgl_huc_7.0.3.bin
    -rw-r--r-- 1 root root 589888 Oct 19 18:08 /lib/firmware/i915/tgl_huc_7.9.3.bin
    
  8. fredoh9 commented on Oct 19, 2021

    @fredoh9
    Contributor

    @kv2019i @marc-hb never mind. I checked on jf-adlp-rvp-nocodec-8, it doesn't have any error.
    I overwrote the firmware again in jf-adlp-rvp-nocodec-7, then it works fine. Not sure how 'cp' causes any issue.

    [    5.359252] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc_ver2_10.bin (v2.10)
    [    5.530511] i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_62.0.3.bin version 62.0 submission:enabled
    [    5.530518] i915 0000:00:02.0: [drm] GuC SLPC: enabled
    [    5.530521] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc_7.9.3.bin version 7.9 authenticated:yes
    
  9. marc-hb commented on Oct 20, 2021

    @marc-hb
    Contributor

    The firmware loader seems to act strangely sometimes: thesofproject/sof#4419

    In doubt reboot, it's the Windows way.

    So we can close this?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:non-audio FailureFalse positives: failing when we don't want to

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions