From: bugzilla-daemon@freedesktop.org Subject: [Bug 102670] [CI] igt@kms_cursor_legacy@*flip-vs-cursor-* Failed assertion: get_vblank(display->drm_fd, pipe, 0) == * Date: Thu, 11 Apr 2019 11:20:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1809717815==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 66E4C89518 for ; Thu, 11 Apr 2019 11:20:24 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1809717815== Content-Type: multipart/alternative; boundary="15549816242.7e0fbc1.4407" Content-Transfer-Encoding: 7bit --15549816242.7e0fbc1.4407 Date: Thu, 11 Apr 2019 11:20:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D102670 Arek Hiler changed: What |Removed |Added ---------------------------------------------------------------------------- i915 platform|BXT, GLK, HSW, I915G, KBL, |ALL |SKL, SNB | QA Contact|intel-gfx-bugs@lists.freede | |sktop.org | Assignee|intel-gfx-bugs@lists.freede |dri-devel@lists.freedesktop |sktop.org |.org CC| |arkadiusz.hiler@intel.com Component|DRM/Intel |IGT --- Comment #17 from Arek Hiler --- The test seems to be very prone to race conditions and this may explain the sporadic failures we see (few instances every week, affects all the machine= s): 1. we try to figure out experimentally how many cursor updates we can squee= ze between vblanks, by starting with a high number and lowering it until we fi= t. Our target is a quarter of that 2. we pin our process to a CPU and fork a busy loop with sched_yield(); 3. 150 loops of trying to squeeze target cursor updates within one vblank This doesn't take power and thermal budged into account and makes a lot of assumptions about process scheduling on a non-RTOS. User impact is low. We loose some coverage. Test needs to be reworked. Immediate steps: 1. log the delta between vblanks, so we can regain some coverage by having better filters 2. log our target 3. don't exit early, show how many iterations of the 150 had failed This is related and it makes sense to work on both together: https://bugs.freedesktop.org/show_bug.cgi?id=3D103355 --=20 You are receiving this mail because: You are the assignee for the bug.= --15549816242.7e0fbc1.4407 Date: Thu, 11 Apr 2019 11:20:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Arek Hiler changed bug 10267= 0
What Removed Added
i915 platform BXT, GLK, HSW, I915G, KBL, SKL, SNB ALL
QA Contact intel-gfx-bugs@lists.freedesktop.org  
Assignee intel-gfx-bugs@lists.freedesktop.org dri-devel@lists.freedesktop.org
CC   arkadiusz.hiler@intel.com
Component DRM/Intel IGT

Comme= nt # 17 on bug 10267= 0 from Arek Hiler
The test seems to be very prone to race conditions and this ma=
y explain the
sporadic failures we see (few instances every week, affects all the machine=
s):

1. we try to figure out experimentally how many cursor updates we can squee=
ze
between vblanks, by starting with a high number and lowering it until we fi=
t.
Our target is a quarter of that
2. we pin our process to a CPU and fork a busy loop with sched_yield();
3. 150 loops of trying to squeeze target cursor updates within one vblank

This doesn't take power and thermal budged into account and makes a lot of
assumptions about process scheduling on a non-RTOS.

User impact is low. We loose some coverage. Test needs to be reworked.

Immediate steps:
1. log the delta between vblanks, so we can regain some coverage by having
better filters
2. log our target
3. don't exit early, show how many iterations of the 150 had failed

This is related and it makes sense to work on both together:
https://bugs.freedesktop.org/show_bug.=
cgi?id=3D103355


You are receiving this mail because:
  • You are the assignee for the bug.
= --15549816242.7e0fbc1.4407-- --===============1809717815== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1809717815==--