[Bug 68253] New: igt/prime_nv_api cause Aborted (core dumped)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 18 22:04:03 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=68253

          Priority: medium
            Bug ID: 68253
          Assignee: intel-gfx-bugs at lists.freedesktop.org
           Summary: igt/prime_nv_api cause Aborted (core dumped)
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: guang.a.yang at intel.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: DRM/Intel
           Product: DRI

Created attachment 84219
  --> https://bugs.freedesktop.org/attachment.cgi?id=84219&action=edit
dmesg of prime_nv_api on HSW

System Environment:
--------------------------
Platform:    Pineview/Ironlake/Sandybridge/Ivybridge/Haswell
Kernel: (drm-intel-next-queued)815ca9817afc1c1a45799fb9d4a4f413b7b1517c

Bug detailed description:
-----------------------------
igt case:prime_nv_api  will be aborted on
Pineview/Ironlake/Sandybridge/Ivybridge/Haswell with:
Test requirement not met in function main, file prime_nv_api.c:522:
Test requirement: (intel_fd != -1)
Test requirement not met in function main, file prime_nv_api.c:523:
Test requirement: (intel_fd2 != -1)
DRM_IOCTL_I915_GEM_APERTURE failed: Bad file descriptor
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [9]
param: 4, val: 0
Test assertion failure function main, file prime_nv_api.c:527:
Failed assertion: bufmgr
prime_nv_api: drmtest.c:818: igt_fail: Assertion `!test_with_subtests' failed.
Aborted (core dumped)

Daniel, it seems our I915 module won't automated loading with a Nvida card, I
try to load it manually, then it will be at the list of lsmod, but run other
igt cases will fail,such as:gem_exec_nop ,only shows:
Test assertion failure function gem_create, file drmtest.c:515:
Failed assertion: drmIoctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) <<
(0+8)) | (((0x40 + 0x1b)) << 0) | ((((sizeof(struct drm_i915_gem_create)))) <<
((0+8)+8)))), (&create)) == 0
gem_exec_nop: drmtest.c:818: igt_fail: Assertion `!test_with_subtests' failed.
Aborted (core dumped)

So it's why the prime_nv_api fails with Test requirement: (intel_fd != -1)?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20130819/28fbf527/attachment.html>


More information about the intel-gfx-bugs mailing list