| Summary: | igt/prime_nv_api cause Aborted (core dumped) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | DRI | Reporter: | Guang Yang <guang.a.yang> | ||||
| Component: | DRM/Intel | Assignee: | Daniel Vetter <daniel> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||
| Severity: | normal | ||||||
| Priority: | medium | ||||||
| Version: | unspecified | ||||||
| Hardware: | Other | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| i915 platform: | i915 features: | ||||||
| Attachments: |
|
||||||
Yup, there's no i915 driver in the dmesg. I'll improve igt a bit so that the test doesn't crash if a "Test requirement not met" case happens, but that issue is already tracked in bug #68166. Loading i915 manually won't help since apparently the intel gfx device is disabled. Some BIOS automatically disable integrated GFX when a discrete gpu is plugged in. You need to check BIOS options to enable both integrated and discrete gpus. So this is a test enviroment issue, closing accordingly. (In reply to comment #1) > Yup, there's no i915 driver in the dmesg. I'll improve igt a bit so that the > test doesn't crash if a "Test requirement not met" case happens, but that > issue is already tracked in bug #68166. > > Loading i915 manually won't help since apparently the intel gfx device is > disabled. Some BIOS automatically disable integrated GFX when a discrete gpu > is plugged in. You need to check BIOS options to enable both integrated and > discrete gpus. So this is a test enviroment issue, closing accordingly. Got it, I check BIOS to enable the integrated GFX ,the issue is gone. Closing old verified. |
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.
Created attachment 84219 [details] 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)?