Bug 102901

Summary: [IGT] some kms_flip subtests fail with rtcwake failed with 256
Product: DRI Reporter: Hector Velazquez <hector.franciscox.velazquez.suriano>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED INVALID QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=102261
Whiteboard: ReadyForDev
i915 platform: GLK i915 features: power/suspend-resume
Attachments:
Description Flags
Output 1/4
none
Dmesg 1/4
none
Output 2/4
none
Dmesg 2/4
none
Output 3/4
none
Dmesg 3/4
none
Output 4/4
none
Dmesg 4/4
none
Dmesg
none
Kernel none

Description Hector Velazquez 2017-09-20 13:57:23 UTC

    
Comment 1 Hector Velazquez 2017-09-20 14:52:22 UTC
This test also fail on GLK QA

Tests List:

igt@kms_flip@2x-vblank-vs-suspend
igt@kms_flip@2x-vblank-vs-suspend-interruptible
igt@kms_flip@vblank-vs-suspend
igt@kms_flip@vblank-vs-suspend-interruptible


====================================================
Output
====================================================
. . .
**** DEBUG ****
(kms_flip:1862) DEBUG: Test requirement passed: (flags & TEST_HANG) == 0 || !is_wedged(drm_fd)
(kms_flip:1862) DEBUG: Test requirement passed: modes
(kms_flip:1862) INFO: Beginning 2x-vblank-vs-suspend on pipe A:B, connector eDP-1:DP-1
(kms_flip:1862) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_flip:1862) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
(kms_flip:1862) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_flip:1862) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=7680)
(kms_flip:1862) igt-kms-INFO:   1920x1080 60 1920 1936 1952 2104 1080 1083 1097 1116 0xa 0x48 141000
(kms_flip:1862) igt-kms-INFO:   1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0xa 0x40 148500
(kms_flip:1862) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_flip:1862) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0
(kms_flip:1862) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state)
(kms_flip:1862) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0
(kms_flip:1862) igt-aux-DEBUG: Test requirement passed: ret == 0
(kms_flip:1862) igt-aux-CRITICAL: Test assertion failure function suspend_via_rtcwake, file igt_aux.c:769:
(kms_flip:1862) igt-aux-CRITICAL: Failed assertion: ret == 0
(kms_flip:1862) igt-aux-CRITICAL: Last errno: 25, Inappropriate ioctl for device
(kms_flip:1862) igt-aux-CRITICAL: rtcwake failed with 256
Check dmesg for further details.
(kms_flip:1862) igt-core-INFO: Stack trace:
(kms_flip:1862) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_flip:1862) igt-core-INFO:   #1 [igt_system_suspend_autoresume+0x5ae]
(kms_flip:1862) igt-core-INFO:   #2 [<unknown>+0x5ae]
(kms_flip:1862) igt-core-INFO:   #3 [<unknown>+0x5ae]
****  END  ****
. . .

This is my configuration:

====================================================
Graphic Stack
====================================================
Component: drm
    tag: libdrm-2.4.81-55-g76418c2
    commit: 76418c244d4c52a8dd20809e3e8b4e70501fc76f

Component: cairo
    tag: 1.15.6-38-g1220e3c
    commit: 1220e3c6b8f94a00ac7afee15f21e6782655d97c

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-312-gda197b5
    commit: da197b5f3cb516aaaea72d0d60b0f5c1c81081dd

Component: piglit
    tag: piglit-v1
    commit: 2753955998d7deb90f681cf4cb1253c4519dfd1d


======================================
             Software
======================================
kernel version              : 4.14.0-rc1-drm-tip-ww38-commit-ab2e3a0+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 62.30
bios release date           : 08/22/2017
ksc                         : 1.48
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-312-gda197b5
intel-gpu-tools (commit)    : da197b5

======================================
             Hardware
======================================
platform                   : Geminilake
motherboard model          : Geminilake
motherboard id             : GLKRVP1DDR4(05)
form factor                : Hand Held
manufacturer               : IntelCorp.
cpu family                 : Pentium
cpu family id              : 6
cpu information            : Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz
gpu card                   : Intel Corporation Device 3184 (rev 03) (prog-if 00 [VGA controller])
memory ram                 : 7.6 GB
max memory ram             : 16 GB
cpu thread                 : 4
cpu core                   : 4
cpu model                  : 122
cpu stepping               : 1
socket                     : Other
signature                  : Type 0, Family 6, Model 122, Stepping 1
hard drive                 : 111GiB (120GB)
current cd clock frequency : 316800 kHz
maximum cd clock frequency : 316800 kHz
displays connected         : eDP-1 DP-1 HDMI-A-2

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.4
guc fw loaded             : SUCCESS
guc version wanted        : 10.56
guc version found         : 10.56
huc fw loaded             : yes

======================================
             kernel parameters
======================================
quiet splash drm.debug=0xe i915.enable_guc_submission=2 i915.enable_guc_loading=2 i915.alpha_support=1 resume=/dev/sda3
Comment 2 Hector Velazquez 2017-09-20 14:53:33 UTC
Created attachment 134362 [details]
Output 1/4
Comment 3 Hector Velazquez 2017-09-20 14:54:02 UTC
Created attachment 134363 [details]
Dmesg 1/4
Comment 4 Hector Velazquez 2017-09-20 14:54:43 UTC
Created attachment 134364 [details]
Output 2/4
Comment 5 Hector Velazquez 2017-09-20 14:55:21 UTC
Created attachment 134365 [details]
Dmesg 2/4
Comment 6 Hector Velazquez 2017-09-20 14:55:58 UTC
Created attachment 134366 [details]
Output 3/4
Comment 7 Hector Velazquez 2017-09-20 14:56:32 UTC
Created attachment 134367 [details]
Dmesg 3/4
Comment 8 Hector Velazquez 2017-09-20 14:57:04 UTC
Created attachment 134368 [details]
Output 4/4
Comment 9 Hector Velazquez 2017-09-20 14:57:44 UTC
Created attachment 134369 [details]
Dmesg 4/4
Comment 10 Hector Velazquez 2017-09-20 15:45:45 UTC
Created attachment 134371 [details]
Dmesg
Comment 11 Hector Velazquez 2017-09-20 15:46:13 UTC
Created attachment 134372 [details]
Kernel
Comment 12 Chris Wilson 2017-09-25 22:09:51 UTC
Again, no indication as to why rtcwake failed, you should investigate s3/s4 without i915 first.
Comment 13 Elizabeth 2018-02-14 20:35:41 UTC
This issue haven't seen again, though tests still fails with issue from bug 102662. Closing case.

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.