Bug 97077 - [SKL-Y] GuC 6.1 does not load
Summary: [SKL-Y] GuC 6.1 does not load
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: anusha
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-25 15:18 UTC by cprigent
Modified: 2016-09-30 07:19 UTC (History)
1 user (show)

See Also:
i915 platform: SKL
i915 features: firmware/guc, power/Other


Attachments
dmesg-guc-does-not-load (177.33 KB, text/plain)
2016-07-25 15:18 UTC, cprigent
no flags Details
i915_guc_info (905 bytes, text/plain)
2016-07-25 15:18 UTC, cprigent
no flags Details
i915_guc_load_status (478 bytes, text/plain)
2016-07-25 15:18 UTC, cprigent
no flags Details
Dmeg (246.45 KB, text/plain)
2016-09-28 19:47 UTC, Elio
no flags Details

Description cprigent 2016-07-25 15:18:16 UTC
Created attachment 125315 [details]
dmesg-guc-does-not-load

Platform: NUC6i3SYB
CPU: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHZ (family 6, model 78, stepping 3)
Motherboard version: H81132-502
GPU: Intel® HD Graphics 520 - Intel Corporation Sky Lake Integrated Graphics (rev 07)
Memory: one 8GB card Kingston KVR21S15D8/8
SSD: Samsung 850 EVO M.2 120 Go
Software
Bios: SYSKLi35.86A.0045
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.7.0-rc7 7eeb04a from http://cgit.freedesktop.org/drm-intel/
   commit 7eeb04a101316645916d4d9df058a9341797f1af
   Author: Chris Wilson <chris@chris-wilson.co.uk>
   Date:   Sun Jul 24 11:00:31 2016 +0100
   drm-intel-nightly: 2016y-07m-24d-09h-59m-54s UTC integration manifest
drm: libdrm-2.4.70 0caa84c from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.2.2 3a9f628from git://anongit.freedesktop.org/mesa/mesa
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xserver: xorg-server-1.18.0-497 0b2f308 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-687 6988b87 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.0-26 c36971c from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.0-58 e554446 from git://git.freedesktop.org/git/vaapi/intel-driver
DMC 1.26 from https://01.org/sites/default/files/downloads/intelr-graphics-linux/skldmcver126.tar_1.bz2
GUC 6.1 from https://01.org/sites/default/files/downloads/intelr-graphics-linux/sklgucver61.tar.bz2 

Steps:
-------
1. Boot
2. Check GuC status with:
dmesg |grep -i guc

Actual results:
---------------
2. GuC does not load:
[    3.214786] [drm:intel_guc_setup] GuC fw status: path i915/skl_guc_ver6_1.bin, fetch NONE, load NONE
[    3.214793] [drm] GuC firmware load skipped

Expected results:
-----------------
2. GuC successfully loads
Comment 1 cprigent 2016-07-25 15:18:31 UTC
Created attachment 125316 [details]
i915_guc_info
Comment 2 cprigent 2016-07-25 15:18:54 UTC
Created attachment 125317 [details]
i915_guc_load_status
Comment 3 Dave Gordon 2016-07-26 17:30:17 UTC
GuC will not load because it has been disabled:

Author: Rodrigo Vivi <rodrigo.vivi@intel.com>
Date:   Mon Jul 18 16:27:57 2016 -0700

    drm/i915/guc: Revert "drm/i915/guc: enable GuC loading & submission by default"
    
    This reverts commit 041824ee25cfc535ba2d9a22c217df735ea2471e.

So the driver is behaving exactly as expected.

Do feel free to revert the above revert, as I think it was a mistake to turn off GuC submission on SKL because of issues on other platforms that are mostly nothing to do with the GuC.

.Dave.
Comment 4 Rodrigo Vivi 2016-09-15 00:18:25 UTC
Hi Christophe,

Could you please run a GuC validation cycle following the GuC release test plan using latest nightly with i915.enable_guc_loading=2 i915.enable_guc_submission=2 on SKYLAKE with only version 6.1 installed?

If you don't find any issue we enable GuC again before moving to APL and KBL validation.

Thanks,
Rodrigo.
Comment 5 Elio 2016-09-28 19:45:38 UTC
(In reply to Rodrigo Vivi from comment #4)
> Hi Christophe,
> 
> Could you please run a GuC validation cycle following the GuC release test
> plan using latest nightly with i915.enable_guc_loading=2
> i915.enable_guc_submission=2 on SKYLAKE with only version 6.1 installed?
> 
> If you don't find any issue we enable GuC again before moving to APL and KBL
> validation.
> 
> Thanks,
> Rodrigo.

Hello Rodrigo, i'm facing some issue running basic IGT tests with GUC 6.1 enabled, sharing my configuration.
GuC 6.1: https://01.org/linuxgraphics/downloads/skylake-guc-6.1
Kernel: 4.8.0-rc7_3c9e639/
Commit git_commit=3c9e639197bb52280334830e611082d5b6bfaceb
Intel Gpu Tools : intel-gpu-tools-1.16-36-gd16318a
Hardware:  : Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz
Behavior:

In a 244 test suites, after i got the first time out, all the others tests still facing the same behavior taking more than 10 minutes to execute, this causes a time out signal failing the test. Something completely different if i remove the guc firmawre.


Example:

 PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 4238 root      20   0   57984   2276   1888 R 100.0  0.0   7:31.08 kms_addfb_basic
    1 root      20   0  119880   5996   3944 S   0.0  0.0   0:02.84 systemd
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kthreadd
    3 root      20   0       0      0      0 S   0.0  0.0   0:00.00 ksoftirqd/0
    5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:0H
    7 root      20   0       0      0      0 S   0.0  0.0   0:01.11 rcu_sched
    8 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcu_bh



Values so far with Guc 6.1 enabled:

Launch IGT basic tests with GuC loaded		pass 220 skip 14 timeout 7 incomplete 1 fail 1 dmesg-warn 1


Values without GUC

Launch IGT basic tests with GuC not loaded		pass 229 skip 13 dmesg-war 1 fail 1 


Attaching dmesg during igt execution with timeouts.
Comment 6 Elio 2016-09-28 19:47:06 UTC
Created attachment 126836 [details]
Dmeg
Comment 7 anusha 2016-09-29 18:46:34 UTC
@Elio
I think since GuC is loading with the grub parameter, this bug can be closed and we can open another bug that talks about Igt tests failing.
Comment 8 yann 2016-09-30 07:19:03 UTC
(In reply to anusha from comment #7)
> @Elio
> I think since GuC is loading with the grub parameter, this bug can be closed
> and we can open another bug that talks about Igt tests failing.

Closing this bug and following remaining issue with igt in bug 97978


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.