[Bug 111837] New: GuC submission disabled Linux 5.3.1 on Kaby Lake laptop, worked till 5.2.13

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 27 03:18:28 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111837

            Bug ID: 111837
           Summary: GuC submission disabled Linux 5.3.1 on Kaby Lake
                    laptop, worked till 5.2.13
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: not set
          Priority: not set
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: sayash at sayashkumar.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Created attachment 145537
  --> https://bugs.freedesktop.org/attachment.cgi?id=145537&action=edit
Full dmesg 5.3.1 where GuC submission is disabled

Boot linux 5.3.1 with i915.enable_guc=3 on Kaby Lake with Intel Corporation HD
Graphics 630 (rev 04) and dmesg has following logs indicating GuC submission is
disabled (full log attached, extract pasted below). This worked atleast till
5.2.13:

  Sep 26 19:32:53 gentoo-13r3 kernel: [drm] Incompatible option detected:
enable_guc=3, GuC submission not supported!
  Sep 26 19:32:53 gentoo-13r3 kernel: [drm] Switching to non-GuC submission
mode!
  Sep 26 19:32:53 gentoo-13r3 kernel: [drm] VT-d active for gfx access
  Sep 26 19:32:53 gentoo-13r3 kernel: fb0: switching to inteldrmfb from EFI VGA
  Sep 26 19:32:53 gentoo-13r3 kernel: i915 0000:00:02.0: vgaarb: deactivate vga
console
  Sep 26 19:32:53 gentoo-13r3 kernel: [drm] Supports vblank timestamp caching
Rev 2 (21.10.2013).
  Sep 26 19:32:53 gentoo-13r3 kernel: [drm] Driver supports precise vblank
timestamp query.
  Sep 26 19:32:53 gentoo-13r3 kernel: i915 0000:00:02.0: vgaarb: changed VGA
decodes: olddecodes=io+mem,decodes=none:owns=io+mem
  Sep 26 19:32:53 gentoo-13r3 kernel: [drm] Finished loading DMC firmware
i915/kbl_dmc_ver1_04.bin (v1.4)
  Sep 26 19:32:53 gentoo-13r3 kernel: [drm] HuC: Loaded firmware
i915/kbl_huc_ver02_00_1810.bin (version 2.0)
  Sep 26 19:32:53 gentoo-13r3 kernel: [drm] GuC: Loaded firmware
i915/kbl_guc_32.0.3.bin (version 32.0)
  Sep 26 19:32:53 gentoo-13r3 kernel: [drm] CT: enabled
  Sep 26 19:32:53 gentoo-13r3 kernel: i915 0000:00:02.0: GuC firmware version
32.0
  Sep 26 19:32:53 gentoo-13r3 kernel: i915 0000:00:02.0: GuC submission
disabled
  Sep 26 19:32:53 gentoo-13r3 kernel: i915 0000:00:02.0: HuC enabled
  Sep 26 19:32:53 gentoo-13r3 kernel: [drm] Initialized i915 1.6.0 20190619 for
0000:00:02.0 on minor 0
  Sep 26 19:32:53 gentoo-13r3 kernel: fbcon: i915drmfb (fb0) is primary device
  Sep 26 19:32:53 gentoo-13r3 kernel: snd_hda_intel 0000:00:1f.3: bound
0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
  Sep 26 19:32:53 gentoo-13r3 kernel: i915 0000:00:02.0: fb0: i915drmfb frame
buffer device
  Sep 26 19:32:53 gentoo-13r3 kernel: mei_hdcp
mei::b638ab7e-94e2-4ea2-a552-d1c54b627f04:01: bound 0000:00:02.0 (ops
i915_globals_exit [i915])

With GuC submission disabled, the system usually takes 13-14W when idling
instead of 6-7W.

On the same hardware, when I go back to linux 5.2.13, with the same module
parameters, GuC submission works, with the following extract of dmesg logs:

  Sep 26 19:36:56 gentoo-13r3 kernel: [drm] VT-d active for gfx access
  Sep 26 19:36:56 gentoo-13r3 kernel: fb0: switching to inteldrmfb from EFI VGA
  Sep 26 19:36:56 gentoo-13r3 kernel: i915 0000:00:02.0: vgaarb: deactivate vga
console
  Sep 26 19:36:56 gentoo-13r3 kernel: [drm] Supports vblank timestamp caching
Rev 2 (21.10.2013).
  Sep 26 19:36:56 gentoo-13r3 kernel: [drm] Driver supports precise vblank
timestamp query.
  Sep 26 19:36:56 gentoo-13r3 kernel: i915 0000:00:02.0: vgaarb: changed VGA
decodes: olddecodes=io+mem,decodes=none:owns=io+mem
  Sep 26 19:36:56 gentoo-13r3 kernel: [drm] Finished loading DMC firmware
i915/kbl_dmc_ver1_04.bin (v1.4)
  Sep 26 19:36:56 gentoo-13r3 kernel: [drm] HuC: Loaded firmware
i915/kbl_huc_ver02_00_1810.bin (version 2.0)
  Sep 26 19:36:56 gentoo-13r3 kernel: mei_hdcp
mei::b638ab7e-94e2-4ea2-a552-d1c54b627f04:01: bound 0000:00:02.0 (ops
i915_hdcp_component_ops [i915])
  Sep 26 19:36:56 gentoo-13r3 kernel: [drm] GuC: Loaded firmware
i915/kbl_guc_ver9_39.bin (version 9.39)
  Sep 26 19:36:56 gentoo-13r3 kernel: i915 0000:00:02.0: GuC firmware version
9.39
  Sep 26 19:36:56 gentoo-13r3 kernel: i915 0000:00:02.0: GuC submission enabled
  Sep 26 19:36:56 gentoo-13r3 kernel: i915 0000:00:02.0: HuC enabled
  Sep 26 19:36:56 gentoo-13r3 kernel: [drm] Initialized i915 1.6.0 20190417 for
0000:00:02.0 on minor 0
  Sep 26 19:36:56 gentoo-13r3 kernel: fbcon: i915drmfb (fb0) is primary device
  Sep 26 19:36:56 gentoo-13r3 kernel: snd_hda_intel 0000:00:1f.3: bound
0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
  Sep 26 19:36:56 gentoo-13r3 kernel: i915 0000:00:02.0: fb0: i915drmfb frame
buffer device

I tried to explicitly point the i915 module in linux 5.3.1 to the firmware it
used in 5.2.13 with guc_firmware_path but the system didn't startup with that.

Further system information:

1. uname -m : x86_64
2. uname -r : 5.3.1-gentoo
3. Linux distirbution: Gentoo
4. Machine: Alienware 13R3
5. Display Connector: eDP
6. Attached dmesg (no crash, hence no crash dump to attach)

Reporting a bug with this tool for the first time, apologies if I missed
required information or am on the wrong channel.

Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20190927/a3ecdfa2/attachment-0001.html>


More information about the intel-gfx-bugs mailing list