Created attachment 122377 [details] dmesg Regression: ----------- Yes, the test was pass with the kernel drm-intel-nightly 4.5.0-rc7_dd7b012 and intel-gpu-tools-1.14-26-g174a06b Setup: ------ Hardware Platform: KABY LAKE-U CPU : Intel(R) Core(TM) @ 2.60GHz MCP : KBL-U G0 2+2 (ou ULT-G0) QDF : QYQ8 Chipset PCH: SPT-LP C1 CRB : KABY LAKE U DDR3L RVP7 CRB FAB1 Software BIOS : KBLSE2R1.R00.X015.B01.1511271314 ME FW : 11.5.0.1008 Ksc (EC FW): 1.20 Linux distribution: Ubuntu 15.10 64 bits Kernel drm-intel-nightly 4.5.0-fc881eb from http://cgit.freedesktop.org/drm-intel/ commit fc881ebd9c3c26919c7d1113f8bf7014e1a05563 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Tue Mar 15 14:11:45 2016 +0100 drm-intel-nightly: 2016y-03m-15d-13h-10m-41s UTC integration manifest drm: libdrm-2.4.67-7-g49041c3 cairo: 1.15.2 db8a7f1 intel-gpu-tool: intel-gpu-tools-1.14-62-g8f6ed9e Steps: ------ # ./kms_fbcon_fbt --r psr-suspend Actual result: -------------- The test fail. Expected result: ---------------- The test pass Program output: --------------- IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.5.0-nightly+ x86_64) Setting 3200x1800 mode for eDP connector rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Mar 17 14:18:41 2016 rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Mar 17 14:19:26 2016 (kms_fbcon_fbt:1495) CRITICAL: Test assertion failure function subtest, file kms_fbcon_fbt.c:237: (kms_fbcon_fbt:1495) CRITICAL: Failed assertion: !feature->wait_until_enabled() Stack trace: #0 [__igt_fail_assert+0xf1] #1 [subtest+0x2f9] #2 [__real_main254+0x132] #3 [main+0x29] #4 [__libc_start_main+0xf0] #5 [_start+0x29] #6 [<unknown>+0x29] Subtest psr-suspend failed. **** DEBUG **** (kms_fbcon_fbt:1495) DEBUG: Test requirement passed: feature->supported_on_chipset() (kms_fbcon_fbt:1495) drmtest-DEBUG: Test requirement passed: fd >= 0 (kms_fbcon_fbt:1495) drmtest-DEBUG: Test requirement passed: fd >= 0 (kms_fbcon_fbt:1495) drmtest-DEBUG: Test requirement passed: drmSetMaster(fd) == 0 (kms_fbcon_fbt:1495) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0) (kms_fbcon_fbt:1495) DEBUG: Test requirement passed: i < drm->res->count_connectors (kms_fbcon_fbt:1495) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=3200, height=1800, format=0x34325258 [bpp=32], tiling=0x100000000000001, size=0) (kms_fbcon_fbt:1495) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=12800) (kms_fbcon_fbt:1495) INFO: Setting 3200x1800 mode for eDP connector (kms_fbcon_fbt:1495) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (kms_fbcon_fbt:1495) igt-aux-DEBUG: Test requirement passed: system("rtcwake -n -s 30 -m mem" SQUELCH) == 0 (kms_fbcon_fbt:1495) igt-kms-DEBUG: VT: original mode 0x0 restored (kms_fbcon_fbt:1495) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (kms_fbcon_fbt:1495) igt-aux-DEBUG: Test requirement passed: system("rtcwake -n -s 30 -m mem" SQUELCH) == 0 (kms_fbcon_fbt:1495) CRITICAL: Test assertion failure function subtest, file kms_fbcon_fbt.c:237: (kms_fbcon_fbt:1495) CRITICAL: Failed assertion: !feature->wait_until_enabled() **** END **** Subtest psr-suspend: FAIL (27.176s)
The following test case fail on BXT-P with the following configuration case list =========== kms_fbcon_fbt@fbc-suspend Hardware information ===================== Platform BXT-P Motherboard model Broxton P Motherboard type NOTEBOOK Hand Held Motherboard manufacturer Intel Corp. CPU family Other CPU information 06/5c GPU Card Intel Corporation Device 5a84 (rev 03) (prog-if 00 [VGA controller]) Software information ====================== Linux distribution : Ubuntu 15.10 Architecture : 64-bit --> Component : drm url : http://cgit.freedesktop.org/mesa/drm tag : libdrm-2.4.67-5-gea07de9 commit : ea07de9 author : Rodrigo Vivi <rodrigo.vivi@intel.com> age : 13 days ago --> Component : mesa url : http://cgit.freedesktop.org/mesa/mesa tag : mesa-11.1.2 commit : 7bcd827 author : Emil Velikov <emil.velikov@collabora.com> age : 5 weeks ago --> Component : xf86-video-intel url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel tag : 2.99.917-560-gd167280 commit : d167280 author : Chris Wilson <chris@chris-wilson.co.uk> age : 3 weeks ago --> Component : libva url : http://cgit.freedesktop.org/libva/ tag : libva-1.7.0.pre1 commit : 35f1447 author : Xiang Haihao <haihao.xiang@intel.com> age : 11 days ago --> Component : vaapi (intel-driver) url : http://cgit.freedesktop.org/vaapi/intel-driver tag : 1.7.0.pre1 commit : ab8e4e3 author : Xiang Haihao <haihao.xiang@intel.com> age : 11 days ago --> Component : cairo url : http://cgit.freedesktop.org/cairo tag : 1.15.2 commit : db8a7f1 author : Bryce Harrington <bryce@osg.samsung.com> age : 3 months ago --> Component : xserver url : http://cgit.freedesktop.org/xorg/xserver tag : xorg-server-1.18.1 commit : 23e60f9 author : Adam Jackson <ajax@redhat.com> age : 5 weeks ago --> Component : intel-gpu-tools url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools tag : intel-gpu-tools-1.14-23-g364d378 commit : 364d378 author : Paulo Zanoni <paulo.r.zanoni@intel.com> age : 10 days ago kernel ========= drm-intel-testing / commit a27657a commit a27657a39741599ce9feef1ef39ae6654e9e6768 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Mon Feb 29 09:42:22 2016 +0100 drm-intel-nightly: 2016y-02m-29d-08h-41m-12s UTC integration manifest Kernel version : 4.5.0-rc5 Architecture : source amd64 all
This issue still happen on KBL with the following configuration Hardware configuration ======================= Platform KBL (RVP3) Motherboard model Kabylake Client platform Motherboard type Skylake Y LPDDR3 RVP3 Laptop Motherboard manufacturer Intel Corporation CPU family Other CPU information Genuine Intel(R) CPU 0000 @ 0.90GHz GPU Card Intel Corporation Device 591e (prog-if 00 [VGA controller]) Memory ram 4 GB Software configuration ======================= --> Component : drm url : http://cgit.freedesktop.org/mesa/drm tag : libdrm-2.4.67-5-gea07de9 commit : ea07de9 author : Rodrigo Vivi <rodrigo.vivi@intel.com> age : 13 days ago --> Component : mesa url : http://cgit.freedesktop.org/mesa/mesa tag : mesa-11.1.2 commit : 7bcd827 author : Emil Velikov <emil.velikov@collabora.com> age : 5 weeks ago --> Component : xf86-video-intel url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel tag : 2.99.917-560-gd167280 commit : d167280 author : Chris Wilson <chris@chris-wilson.co.uk> age : 3 weeks ago --> Component : libva url : http://cgit.freedesktop.org/libva/ tag : libva-1.7.0.pre1 commit : 35f1447 author : Xiang Haihao <haihao.xiang@intel.com> age : 11 days ago --> Component : vaapi (intel-driver) url : http://cgit.freedesktop.org/vaapi/intel-driver tag : 1.7.0.pre1 commit : ab8e4e3 author : Xiang Haihao <haihao.xiang@intel.com> age : 11 days ago --> Component : cairo url : http://cgit.freedesktop.org/cairo tag : 1.15.2 commit : db8a7f1 author : Bryce Harrington <bryce@osg.samsung.com> age : 3 months ago --> Component : xserver url : http://cgit.freedesktop.org/xorg/xserver tag : xorg-server-1.18.1 commit : 23e60f9 author : Adam Jackson <ajax@redhat.com> age : 5 weeks ago --> Component : intel-gpu-tools url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools tag : intel-gpu-tools-1.14-23-g364d378 commit : 364d378 author : Paulo Zanoni <paulo.r.zanoni@intel.com> age : 10 days ago kernel configuration ===================== Branch : drm-intel-testing commit a27657a39741599ce9feef1ef39ae6654e9e6768 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Mon Feb 29 09:42:22 2016 +0100 drm-intel-nightly: 2016y-02m-29d-08h-41m-12s UTC integration manifest Kernel version : 4.5.0-rc5 Architecture : source amd64 all
Increasing priority due to current platform experience impact
Fail on KBL-U: kms_fbcon_fbt@psr igt@kms_fbcon_fbt@psr-suspend Hardware Platform: KABY LAKE-U CPU : Intel(R) Core(TM) @ 2.60GHz MCP : KBL-U G0 2+2 (ou ULT-G0) QDF : QYQ8 Chipset PCH: SPT-LP C1 CRB : KABY LAKE U DDR3L RVP7 CRB FAB1 Software BIOS : KBLSE2R1.R00.X015.B01.1511271314 ME FW : 11.5.0.1008 Ksc (EC FW): 1.20 Linux distribution: Ubuntu 16.04 64 bits kernel drm-intel-nightly 4.6.0-rc7 61f856f from http://cgit.freedesktop.org/drm-intel/ commit 61f856faa1e6ff9dddad214be1e372e8aacfc0f4 Author: Ville Syrjälä <ville.syrjala@linux.intel.com> Date: Mon May 9 19:24:21 2016 +0300 drm-intel-nightly: 2016y-05m-09d-16h-24m-01s UTC integration manifest libdrm-2.4.68 fc09c5a from git://anongit.freedesktop.org/mesa/drm cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo IGT 1.14 cc24755 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
The following tests cases fail on BXT-P : tests cases =========================== igt@kms_fbcon_fbt@fbc-suspend Software information =========================== Linux distribution : Ubuntu 15.10 Architecture : 64-bit Bios revision : 129.10 KSC revision : 1.12 Hardware information ============================= Platform : BXT-P Motherboard model : Broxton P Motherboard type : NOTEBOOK Hand Held Motherboard manufacturer : Intel Corp. CPU family : Other CPU information : 06/5c GPU Card : Intel Corporation Device 5a84 (rev 03) (prog-if 00 [VGA controller]) CPU's number : 4 Graphic stack ========================= --> Component : drm url : http://cgit.freedesktop.org/mesa/drm tag : libdrm-2.4.68-4-g7aab852 commit : 7aab852 author : Sonny Jiang <sonny.jiang@amd.com> age : 5 days ago --> Component : mesa url : http://cgit.freedesktop.org/mesa/mesa tag : mesa-11.1.2 commit : 7bcd827 author : Emil Velikov <emil.velikov@collabora.com> age : 3 months ago --> Component : xf86-video-intel url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel tag : 2.99.917-645-g88733a7 commit : 88733a7 author : Chris Wilson <chris@chris-wilson.co.uk> age : 10 days ago --> Component : libva url : http://cgit.freedesktop.org/libva/ tag : libva-1.7.0-10-gcfed369 commit : cfed369 author : peng.chen <peng.c.chen@intel.com> age : 6 days ago --> Component : vaapi (intel-driver) url : http://cgit.freedesktop.org/vaapi/intel-driver tag : 1.7.0-23-g0be0b21 commit : 0be0b21 author : Xiang Haihao <haihao.xiang@intel.com> age : 7 days ago --> Component : cairo url : http://cgit.freedesktop.org/cairo tag : 1.15.2 commit : db8a7f1 author : Bryce Harrington <bryce@osg.samsung.com> age : 5 months ago --> Component : xserver url : http://cgit.freedesktop.org/xorg/xserver tag : xorg-server-1.18.0-324-g984be78 commit : 984be78 author : Olivier Fourdan <ofourdan@redhat.com> age : 6 days ago --> Component : intel-gpu-tools url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools tag : intel-gpu-tools-1.14-319-gb88bce4 commit : b88bce4 author : Mika Kuoppala <mika.kuoppala@intel.com> age : 4 days ago kernel ====================== commit 5528ede25a356196417ee02aa153b17fe90c1be5 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sat May 14 09:24:52 2016 +0100 drm-intel-nightly: 2016y-05m-14d-08h-24m-24s UTC integration manifest Kernel version : 4.6.0-rc7 Architecture : source amd64 all Homepage : http://www.kernel.org/
This bug was also reproduced on KBL under the following configuration Software information ============================================ Kernel version : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+ Linux distribution : Ubuntu 16.04 LTS Architecture : 64-bit Mesa version : Not found << Please see the message at the bottom >> xf86-video-intel version : 2.99.917 Xorg-Xserver version : 1.18.3 DRM version : 2.4.68 VAAPI version : Intel i965 driver for Intel(R) Kabylake - 1.7.0 Cairo version : 1.15.2 Intel GPU Tools version : Tag [intel-gpu-tools-1.14-348-g303b380] / Commit [303b380] Kernel driver in use : i915 Hardware acceleration : Bios revision : 28.1 KSC revision : 1.15 Hardware information ============================================ Platform : SKL-Y to KBL (RVP3) Motherboard model : Kabylake Client platform Motherboard type : Skylake Y LPDDR3 RVP3 Laptop Motherboard manufacturer : Intel Corporation CPU family : Other CPU information : Genuine Intel(R) CPU 0000 @ 0.90GHz GPU Card : Intel Corporation Device 591e (prog-if 00 [VGA controller]) Memory ram : 4 GB Maximum memory ram allowed : 16 GB Display resolution : CPU's number : 4 Hard drive Capacity : 120 GB Firmwares information ============================================ DMC fw loaded : yes DMC version : 1.1 kernel configuration ===================== commit fb023a2062df06c9e097e1f8f2bcf252194b9413 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Mon May 30 10:46:14 2016 +0200 drm-intel-nightly: 2016y-05m-30d-08h-45m-53s UTC integration manifest Kernel version : 4.6.0 ========== test cases failed =============== igt@kms_fbcon_fbt@psr-suspend
Created attachment 125664 [details] kbl-kms_fbcon_fbt__psr-kern.log Attached fresh logs for KBL-U Platform: KABY LAKE-U CPU : Intel(R) Core(TM) @ 2.60GHz MCP : KBL-U G0 2+2 QDF : QYQ8 Chipset PCH: SPT-LP C1 CRB : KABY LAKE U DDR3L RVP7 CRB FAB1 Software BIOS: 38_07 KBLSE2R1.R00.X038.P07.1606200632 from https://ubit-artifactory-ba.intel.com/artifactory/simple/one-windows-local/Submissions/ifwi/KBL_PURPLE_IFWI_2016_WW26_1_00_HR'16/IFWI-KBL_PURPLE_IFWI_2016_WW26_1_00_HR'16-R.7z ME FW: 11.5.0.1058 EC FW: 1.19 Ksc (EC FW): 1.20 Linux distribution: Ubuntu 16.04 64 bits Kernel: 4.8.0-rc1 8ca71ca from http://cgit.freedesktop.org/drm-intel/ commit 8ca71ca6198ad5a08a7d3e00f94149db2cdd5ebc Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Mon Aug 8 11:02:44 2016 +0200 drm-intel-nightly: 2016y-08m-08d-09h-02m-24s UTC integration manifest drm: libdrm-2.4.70-2 b214b05 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-502 c833c08 from git://git.freedesktop.org/git/xorg/xserver xf86-video-intel: 2.99.917-691 a77397a from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel libva: libva-1.7.0-44 695f99e from git://git.freedesktop.org/git/vaapi/libva vaapi-intel-driver: 1.7.0-66 fb7d6f5 from git://git.freedesktop.org/git/vaapi/intel-driver GuC 9.14 from http://rdvivi-hillsboro.jf.intel.com/firmware/kbl_guc_ver9_14.tar.bz2 DMC 1.01 from: https://01.org/linuxgraphics/downloads/kabylake-dmc-1.01 Intel-Gpu-Tools 1.15 12f052b from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Created attachment 125665 [details] kbl-kms_fbcon_fbt__psr-output
psr is not supported on APL and is skipped.
Highest+Blocker due to Regression w/o workaround
Christophe, please confirm whether or not this is now fixed with latest kernel and igt
Reopening. stephenrajdavid@rocketmail.com, can you comment the motivation to resolved as invalid this bug?
Created attachment 127272 [details] KBL__4.8__kms_fbcon_fbt__psr-suspend__kern.log Test still fails with kernel 4.8. I think the test should return skip? # dmesg |grep psr [ 4.303224] [drm:intel_device_info_dump [i915]] i915 device info: has_psr: yes [ 6.016859] [drm:intel_psr_enable [i915]] PSR disable by flag [ 289.379880] kms_fbcon_fbt: starting subtest psr-suspend [ 289.380008] Setting dangerous option enable_psr - tainting kernel [ 289.380017] Setting dangerous option enable_psr - tainting kernel [ 306.208000] Setting dangerous option enable_psr - tainting kernel
Created attachment 127273 [details] KBL__4.8__kms_fbcon_fbt__psr-suspend__output
Created attachment 127274 [details] KBL_setup_4.8
Issue is still present over KBL with the following configuration Software Configuration: ======================================================== Kernel: Branch : drm-intel-nightly WW42 commit 15dfed2b90e84e7c277f81842fc3f19355293061 Author: Lyude <thatslyude@gmail.com> Date: Sun Oct 16 19:16:08 2016 -0400 drm-intel-nightly: 2016y-10m-16d-23h-15m-00s UTC integration manifest Component : drm tag : libdrm-2.4.71 commit : a44c9c31b7b38b3eedf3d26648f9e68dcc377c4c Component : cairo tag : 1.15.2 commit : db8a7f1697c49ae4942d2aa49eed52dd73dd9c7a Component : intel-gpu-tools tag : intel-gpu-tools-1.16-83-g54f8a3f commit : 54f8a3f7cf12eea484a0b0641718ced559959f53
If it's a regression, we should bisect it and find the first bad commit.
PSR tests are now skip. Priority decreased to medium/normal. Let's comment the bug when PSR will be enabled again. Tested with: Kernel: 4.10.0-rc1 847638b branch drm-tip from https://cgit.freedesktop.org/drm-tip commit 847638b14a477e423033b31d01483bf15e9a8d4f Author: Jani Nikula <jani.nikula@intel.com> Date: Mon Jan 2 15:24:42 2017 +0200 drm-tip: 2017y-01m-02d-13h-23m-55s UTC integration manifest libdrm-2.4.74-21 geebefaf from git://anongit.freedesktop.org/mesa/drm cairo 1.15.4 9fe6683 from git://anongit.freedesktop.org/cairo intel-gpu-tools-1.17-68 cdee645 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
See below; it looks like my collection of PSR changes addresses this issue. I'll update the status once my patches land (I'm still chasing down a few more failures before I send them upstream.) IGT-Version: 1.18-gabb3b71a (x86_64) (Linux: 4.11.0-rc6-psr-041217+ x86_64) Setting 3200x1800 mode for eDP connector Subtest fbc: SUCCESS (13.545s) Setting 3200x1800 mode for eDP connector Subtest psr: SUCCESS (24.510s) Setting 3200x1800 mode for eDP connector rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Apr 25 20:25:14 2017 rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Apr 25 20:25:49 2017 Subtest fbc-suspend: SUCCESS (40.971s) Setting 3200x1800 mode for eDP connector rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Apr 25 20:26:32 2017 rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Apr 25 20:27:12 2017 Subtest psr-suspend: SUCCESS (57.907s)
Jim - any news on the progress on this? If problems still persist change the status REOPENED, otherwise you can this resolved.
The following test fail on IVB with latest configuration ==================================================== Test List ==================================================== igt@kms_fbcon_fbt@fbc-suspend Graphic Stack ==================================================== Component: drm tag: libdrm-2.4.81-24-g3095cc8 commit: 3095cc8eaba1aa87ad38c04ae2b1eabe30f7e16c Component: cairo tag: 1.15.6-2-g57b4050 commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51 Component: intel-gpu-tools tag: intel-gpu-tools-1.19-57-g6fcc8e8 commit: 6fcc8e8b247661c7950b998e0b95141ffbd6b833 Component: piglit tag: piglit-v1 commit: c8f4fd9eeb298a2ef0855927f22634f794ef3eff ====================================== Hardware ====================================== platform : Ivy Bridge motherboard model : Inspiron660 motherboard id : 0XR1GT form factor : Desktop manufacturer : DellInc. cpu family : Core i5 cpu family id : 6 cpu information : Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz gpu card : Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller]) memory ram : 7.7 GB max memory ram : 8 GB cpu thread : 4 cpu core : 4 cpu model : 58 cpu stepping : 9 socket : Socket BGA1155 signature : Type 0, Family 6, Model 58, Stepping 9 hard drive : 74GiB (80GB) current cd clock frequency : 400000 kHz maximum cd clock frequency : 400000 kHz displays connected : VGA-1 HDMI-A-1
PSR is not supported on IVB (or any other platform pre-HSW), thus I wouldn't expect the test to work right. ;) As far as KBL goes, I have not seen this reproduce.
(In reply to Jim Bride from comment #22) > As far as KBL goes, I have not seen this reproduce. Closing bug. Thanks.
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.