| Summary: | [IGT] [BXT / KBL] gem_close_race / basic-threads & basic-process fail [regresion] | ||||||
|---|---|---|---|---|---|---|---|
| Product: | DRI | Reporter: | Humberto Israel Perez Rodriguez <humberto.i.perez.rodriguez> | ||||
| Component: | IGT | Assignee: | Marius Vlad <marius.c.vlad> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | highest | CC: | intel-gfx-bugs | ||||
| Version: | XOrg git | ||||||
| Hardware: | x86-64 (AMD64) | ||||||
| OS: | Linux (All) | ||||||
| Whiteboard: | |||||||
| i915 platform: | BXT, KBL | i915 features: | display/Other | ||||
| Attachments: |
|
||||||
|
Description
Humberto Israel Perez Rodriguez
2016-06-20 22:28:49 UTC
Same issue observed on KBL with the same config: Hardware information ===================== Platform KBL Motherboard model RVP 7 Motherboard manufacturer Intel Corp. GPU Card Intel Corporation Device 5a84 (rev 03) (prog-if 00 [VGA controller]) Commit id e63a0681d95a7288faff19a624548f96dbc73341 tests/gem_close_race: Use drm_open_driver helper Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> introduced the regression due to removal of line - sprintf(device, "/dev/dri/card%d", drm_get_card()); device is not defined anymore. So I may recommend to use fd = drm_open_driver(DRIVER_INTEL); anywhere we need to open the device commit 85d6566c4e61348e4c9ede606c4937912f62e652 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Jun 21 08:34:04 2016 +0100 igt/gem_close_race: Complete conversion to drm_open_driver() commit e63a0681d95a ("tests/gem_close_race: Use drm_open_driver helper") left a few raw open() behind. Eliminate them as well! References: https://bugs.freedesktop.org/show_bug.cgi?id=96605 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Verified the following tests PASS on KBL
Tests List:
igt@gem_close_race@basic-process
igt@gem_close_race@basic-threads
======================================
Output Sample
======================================
...
((gem_close_race:1871) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_close_race:1871) igt-core-DEBUG: Starting subtest: basic-threads
(gem_close_race:1871) drmtest-DEBUG: Test requirement passed: !(fd<0)
...
(gem_close_race:1871) drmtest-DEBUG: Test requirement passed: !(fd<0)
Subtest basic-threads: SUCCESS (1.076s)
(gem_close_race:1871) igt-core-DEBUG: Exiting with status code 0
...
---
...
(gem_close_race:1866) igt-core-DEBUG: Starting subtest: basic-process
(gem_close_race:1868) drmtest-DEBUG: Test requirement passed: !(fd<0)
Subtest basic-process: SUCCESS (0.001s)
(gem_close_race:1866) igt-core-DEBUG: Exiting with status code 0
...
This is my configuration:
======================================
Graphic stack
======================================
Component: drm
tag: libdrm-2.4.81-53-gd55d080
commit: d55d0804f9e37637d7510f38f97e07a50c6b7baa
Component: cairo
tag: 1.15.6-30-gc29db4f
commit: c29db4f0de52727406a8b62f4da9a382084b5a79
Component: intel-gpu-tools
tag: intel-gpu-tools-1.19-252-gd5de89e
commit: d5de89eb17938484718be1144f5957f05ab44dc2
Component: piglit
tag: piglit-v1
commit: dab15137044c34023b1a843e72e781b03b17548b
======================================
Software
======================================
kernel version : 4.13.0-drm-tip-ww36-commit-16fef66+
hostname : KBL-2
architecture : x86_64
os version : Ubuntu 16.10
os codename : yakkety
kernel driver : i915
bios revision : 5.6
bios release date : 05/03/2017
ksc : 8.1
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-252-gd5de89e
intel-gpu-tools (commit) : d5de89e
======================================
Hardware
======================================
motherboard id : NUC7i5BNB
form factor : Desktop
cpu family : Core i5
cpu family id : 6
cpu information : Intel(R) Core(TM) i5-7260U CPU @ 2.20GHz
gpu card : Intel Corporation Device 5926 (rev 06) (prog-if 00 [VGA controller])
memory ram : 15.57 GB
max memory ram : 32 GB
cpu thread : 4
cpu core : 2
cpu model : 142
cpu stepping : 9
socket : Other
signature : Type 0, Family 6, Model 142, Stepping 9
hard drive : 447GiB (480GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected : DP-1 DP-2
======================================
Firmware
======================================
dmc fw loaded : yes
dmc version : 1.1
guc fw loaded : SUCCESS
guc version wanted : 9.14
guc version found : 9.14
======================================
kernel parameters
======================================
quiet drm.debug=0x1e pci=pcie_bus_safe intel_iommu=igfx_off auto panic=1 i915.alpha_support=1 i915.enable_guc_loading=2 nmi_watchdog=panic i915.enable_guc_submission=2 resume=/dev/sda3 fastboot
Verified the following tests PASS on BXT
Tests List:
igt@gem_close_race@basic-process
igt@gem_close_race@basic-threads
======================================
Output Sample
======================================
...
(gem_close_race:683) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_close_race:683) igt-core-DEBUG: Starting subtest: basic-process
(gem_close_race:686) drmtest-DEBUG: Test requirement passed: !(fd<0)
Subtest basic-process: SUCCESS (0.023s)
(gem_close_race:683) igt-core-DEBUG: Exiting with status code 0
...
---
...
(gem_close_race:697) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_close_race:697) igt-core-DEBUG: Starting subtest: basic-threads
(gem_close_race:697) drmtest-DEBUG: Test requirement passed: !(fd<0)
...
(gem_close_race:697) drmtest-DEBUG: Test requirement passed: !(fd<0)
Subtest basic-threads: SUCCESS (1.077s)
(gem_close_race:697) igt-core-DEBUG: Exiting with status code 0
...
This is my configuration:
======================================
Graphic stack
======================================
Component: drm
tag: libdrm-2.4.81-53-gd55d080
commit: d55d0804f9e37637d7510f38f97e07a50c6b7baa
Component: cairo
tag: 1.15.6-30-gc29db4f
commit: c29db4f0de52727406a8b62f4da9a382084b5a79
Component: intel-gpu-tools
tag: intel-gpu-tools-1.19-252-gd5de89e
commit: d5de89eb17938484718be1144f5957f05ab44dc2
Component: piglit
tag: piglit-v1
commit: dab15137044c34023b1a843e72e781b03b17548b
======================================
Software
======================================
kernel version : 4.13.0-drm-tip-ww36-commit-16fef66+
hostname : BXT-3
architecture : x86_64
os version : Ubuntu 16.10
os codename : yakkety
kernel driver : i915
bios revision : 5.6
bios release date : 06/19/2017
ksc : 18.0
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-252-gd5de89e
intel-gpu-tools (commit) : d5de89e
======================================
Hardware
======================================
motherboard model : NUC6CAYS
motherboard id : NUC6CAYB
form factor : Desktop
manufacturer : Intelcorporation
cpu family : Celeron
cpu family id : 6
cpu information : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
gpu card : Intel Corporation Device 5a85 (rev 0b) (prog-if 00 [VGA controller])
memory ram : 15.54 GB
max memory ram : 32 GB
cpu thread : 4
cpu core : 4
cpu model : 92
cpu stepping : 9
socket : Other
signature : Type 0, Family 6, Model 92, Stepping 9
hard drive : 279GiB (300GB)
current cd clock frequency : 288000 kHz
maximum cd clock frequency : 624000 kHz
displays connected : DP-1 DP-2
======================================
Firmware
======================================
dmc fw loaded : yes
dmc version : 1.7
guc fw loaded : SUCCESS
guc version wanted : 8.7
guc version found : 8.7
huc fw loaded : yes
======================================
kernel parameters
======================================
quiet drm.debug=0x1e i915.enable_guc_loading=2 i915.enable_guc_submission=2 auto panic=1 nmi_watchdog=panic intel_iommu=igfx_off resume=/dev/sda3 fastboot
|
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.