<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IVB] [IGT] gem_ctx_bad_exec / blt & bsd produces a Test assertion failure"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97562">97562</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[IVB] [IGT] gem_ctx_bad_exec / blt & bsd produces a Test assertion failure
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>XOrg git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>luis.botello.ortega@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>i915 platform</th>
          <td>IVB
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
======================================
subtests blt & bsd of gem_ctx_bad_exec produces a Test Assertion Failure:
Failed assertion: exec(fd, handle, I915_EXEC_BSD, ctx_id) != 0

Steps to reproduce:
======================================
#./gem_ctx_bad_exec --run-subtest blt --debug
#./gem_ctx_bad_exec --run-subtest bsd --debug

Software Configuration:
======================================
Bios: BH7710H.86A.0096.2012.1012.1645
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.8.0-rc4 f4f46e5 from <a href="http://cgit.freedesktop.org/drm-intel/">http://cgit.freedesktop.org/drm-intel/</a>
 commit f4f46e5544894b2198cdfd5a226ee587d9834cc4
 Author: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>
 Date:   Mon Aug 29 16:09:42 2016 +0200
 drm-intel-nightly: 2016y-08m-29d-14h-09m-23s UTC integration manifest
ibdrm-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
xorg-server-1.18.0-535 25e4f9e from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-698 71d3273 from
git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.0-47 2ebf897 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.0-95 1817bee from
git://git.freedesktop.org/git/vaapi/intel-driver
Intel-Gpu-Tools 1.15 572a770 from
<a href="http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git">http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git</a>


Hardware Configuration:
======================================
Platform: IVB
CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (Family 6, Model 58, Stepping 9)
Motherboard version: DH77EB
GPU: IntelĀ® HD Graphics 4000 - Xeon E3-1200 v2/3rd Gen Core processor Graphics
Controller

IGToutput:
============================================
user@IVB103:/opt/X11R7/src/intel-gpu-tools/tests$ sudo -E ./gem_ctx_bad_exec
--run-subtest bsd --debug
IGT-Version: 1.15-g572a770 (x86_64) (Linux: 4.8.0-rc4-nightly+ x86_64)
(gem_ctx_bad_exec:21334) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_ctx_bad_exec:21334) igt-core-DEBUG: Starting subtest: bsd
(gem_ctx_bad_exec:21334) CRITICAL: Test assertion failure function
__real_main90, file gem_ctx_bad_exec.c:106:
(gem_ctx_bad_exec:21334) CRITICAL: Failed assertion: exec(fd, handle,
I915_EXEC_BSD, ctx_id) != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [__real_main90+0x2f1]
  #2 [main+0x29]
  #3 [__libc_start_main+0xf0]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest bsd failed.
**** DEBUG ****
(gem_ctx_bad_exec:21334) CRITICAL: Test assertion failure function
__real_main90, file gem_ctx_bad_exec.c:106:
(gem_ctx_bad_exec:21334) CRITICAL: Failed assertion: exec(fd, handle,
I915_EXEC_BSD, ctx_id) != 0
****  END  ****
Subtest bsd: FAIL (0.001s)
Test requirement not met in function __real_main90, file
gem_ctx_bad_exec.c:111:
Test requirement: gem_has_vebox(fd)
(gem_ctx_bad_exec:21334) igt-core-DEBUG: Exiting with status code 99

Dmesg:
==============================================
[ 3112.123471] gem_ctx_bad_exec: executing
[ 3112.123570] [drm:i915_gem_open]
[ 3112.123598] [drm:i915_gem_open]
[ 3112.124074] [drm:i915_gem_context_create_ioctl] HW context 1 created
[ 3112.124099] gem_ctx_bad_exec: starting subtest bsd
[ 3112.124727] gem_ctx_bad_exec: exiting, ret=99</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>