Test enviroment: Name: drm-intel-testing Description: IGT tools manage all basic functions for graphics stack CPU: Intel(R) CPU @ 1.60GHz Board: : Wilson Beach DVT2 Ultrabook GPU: SoC: Broadwell 2+2 D0 (QDF : QGHA) Kernel 4.3.0-rc8-drm-intel-testing-2015-08-28 Mesa: mesa-10.6.7 from http://cgit.freedesktop.org/mesa/mesa/ Xf86_video_intel: 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/ Libdrm: libdrm-2.4.64 from http://cgit.freedesktop.org/mesa/drm/ Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo libva: libva-1.6.0 from http://cgit.freedesktop.org/libva/ intel-driver: 1.6.1. from http://cgit.freedesktop.org/vaapi/intel-driver xorg: 1.17.99 installed with script git_xorg.sh Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver Intel-gpu-tools: 1.12 from http://cgit.freedesktop.org/xorg/app/intel-gpu Steps to reproduce: 1. Install intel graphic stack with mentioned configuration 2. Install igt 3. Execute drm_import_export@import-close-race-prime Expected result: Test should pass without issues Actual result: Returncode -11 Time 0:00:00.176104 Stdout IGT-Version: 1.12-g1f9e055 (x86_64) (Linux: 4.3.0-rc2-drm-intel-nightly+ x86_64) Stack trace: #0 [__igt_fail_assert+0xf1] #1 [test_import_close_race+0x0] #2 [start_thread+0xc2] #3 [clone+0x6d] #4 [<unknown>+0x6d] Subtest import-close-race-prime: FAIL (0.032s) Stderr Test assertion failure function import_close_thread, file drm_import_export.c:172: Failed assertion: (*__errno_location ()) == 2 Last errno: 22, Invalid argument error: 22 != 2 Subtest import-close-race-prime failed. **** DEBUG **** Test assertion failure function import_close_thread, file drm_import_export.c:172: Failed assertion: (*__errno_location ()) == 2 Last errno: 22, Invalid argument error: 22 != 2 **** END **** Received signal SIGSEGV. Received signal SIGSEGV. Log is going to be attached as soon as possible
Created attachment 118594 [details] dmesg log file for SKL Same bug found on Sky Lake Y. I attach the dmesg log.
This is actually testing libdrm behaviour and is fixed in libdrm 2.4.65 since: intel: Serialize drmPrimeFDToHandle with struct_mutex
Hi Elio, Please check if still reproduced on BDW with libdrm 2.4.65. If not reproduced please assign to Olivier for the same check on SKL. Thanks
This issue is not present anymore using Libdrm version libdrm-2.4.65
issue is not present anymore on BDW with libdrm version 2.4.65
Not reproduced on SKL Y. Setup : ------- Hardware Platform: SKY LAKE Y A0 QUAL CPU : Intel(R) Core(TM) M5-6Y54 @ 1.10GHz 4MB (family: 6, model: 78 stepping: 3) MCP : SKL-Y D0 2+2 (ou ULX-D0) QDF : QJ9W CPU : SKL D0 Chipset PCH: Sunrise Point LP C0 CRB : SKY LAKE Y LPDDR3 RVP3 CRB FAB2 Reworks : All Mandatories + FBS02 & FBS03, O-06 Software Linux OS : Ubuntu 14.04 64 bits BIOS : SKLSE2R1.R00.B104.B01.1511110114 ME FW : 11.0.0.1191 Ksc (EC FW): 1.20 kernel 4.4.0-rc2-nightly+ cairo: 1.14.2) drm: 2.4.65 intel-driver: 1.6.1 libva: 1.6.1 mesa: mesa-11.0.6 xf86-video-intel: 2.99.917 xserver: 1.17.2 intel-gpu-tools: 4cfcea4056ab78a8097b41e26748c940936cd411
Result is fail on BDW-U with tag testing 2015-12-04 and Libdrm: 2.4.65. Hardware: Motherboard: SawTooth Peak cpu model name : Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz cpu model : 61 cpu family : 6 Graphic card: Broadwell-U Integrated Graphics (rev 09) Software: Kernel: tag 2015-12-04-drm-intel-testing 4.4.0-rc3 91587c7 from http://cgit.freedesktop.org/drm-intel/ Ubuntu 14.04.1 LTS Bios: EBH7710H.86A.0096.2012.1012.1645 Libdrm: 2.4.65 Let's check if it is fail due to another test executed before and the reproducibility.
Also fail on HSW with tag testing 2015-12-04 and Libdrm: 2.4.65 Hardware: Motherboard: SawTooth Peak cpu model name : Intel(R) Core(TM) i7-4550U CPU @ 1.50GHz cpu model : 69 cpu family : 6 Graphic card: Haswell-ULT Integrated Graphics Controller (rev 09) Software: Kernel: tag 2015-12-04-drm-intel-testing 4.4.0-rc3 91587c7 from http://cgit.freedesktop.org/drm-intel/ Ubuntu 14.04.1 LTS Bios: EBH7710H.86A.0096.2012.1012.1645 Libdrm: 2.4.65
Also fail on IVB with tag testing 2015-12-04 and Libdrm 2.4.65. Hardware: Motherboard: DH77EB cpu model name : Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz cpu model : 58 cpu family : 6 Graphic card: Xeon E3-1200 v2/3rd Gen Core processor Graphics Software: Kernel: tag 2015-12-04-drm-intel-testing 4.4.0-rc3 91587c7 from http://cgit.freedesktop.org/drm-intel/ Ubuntu 14.04.1 LTS Bios: EBH7710H.86A.0096.2012.1012.1645 Libdrm: 2.4.65 from http://cgit.freedesktop.org/mesa/drm/
the following test pass on IVB with this configuration : test : ./drm_import_export --run-subtest import-close-race-prime drm version : libdrm-2.4.66 commit :b38a4b2 kernel drm-intel-testing: commit 91587c722c28c4116dedbfbf08aa874377bc76f8 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Fri Dec 4 17:35:54 2015 +0100 drm-intel-nightly: 2015y-12m-04d-16h-35m-07s UTC integration manifest kernel version : 4.4.0-rc3 git url : git://anongit.freedesktop.org/drm-intel git branch : drm-intel-testing git describe : drm-intel-next-2015-11-20-rebased-13721-g91587c7 kernel drm-intel-nightly commit 79686f613b3955a4ed09cee936e7f70ec4e61b67 Author: Jani Nikula <jani.nikula@intel.com> Date: Wed Dec 30 14:00:24 2015 +0200 drm-intel-nightly: 2015y-12m-30d-11h-59m-54s UTC integration manifest kernel version : 4.4.0-rc6 git url : git://anongit.freedesktop.org/drm-intel git branch : drm-intel-nightly git describe : drm-intel-next-2015-12-18-1500-g79686f6 igt tools : branch : intel-gpu-tools-1.13 commit : 2db78a4995a8ee298ae0cd68879baf80407a0e5e
The problem is not present in HSW platform with following configuration kernel: 4.4.0-rc6-drm-intel-nightly-2015-10-10 commit 0417da5e6f56078d87d366d5f959f8290ae9d16d IGT= intel-gpu-tools-1.13 Cairo=1.15.2 Intel-Driver= 1.6.2.pre2 xf86= 2.99.917-524-g8e98751 libva=libva-1.6.2.pre3 xorg-server=xorg-server-1.18.0 drm=libdrm-2.4.65 mesa=mesa-11.1.0 Deleting HSW from header
The following test pass in BDW with the next configuration : drm_import_export@import-close-race-prime kernel drm-intel-testing: commit 91587c722c28c4116dedbfbf08aa874377bc76f8 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Fri Dec 4 17:35:54 2015 +0100 drm-intel-nightly: 2015y-12m-04d-16h-35m-07s UTC integration manifest kernel version : 4.4.0-rc3 git url : git://anongit.freedesktop.org/drm-intel git branch : drm-intel-testing git describe : drm-intel-next-2015-11-20-rebased-13721-g91587c7 igt tools : branch : intel-gpu-tools-1.13 commit : 2db78a4995a8ee298ae0cd68879baf80407a0e5e cairo version: 1.15.2 / commit : db8a7f1 drm version : libdrm-2.4.66 / commit : b38a4b2 intel-driver : 1.6.2 / commit: 683edee libva version : libva-1.6.2 / commit : 304bc13 mesa version : mesa-11.0.8 / commit : 261daab xf86-video-intel version : 2.99.917 / commit : baec802 xserver version :xorg-server-1.18.0 / commit :7921764
Not reproduced on IVB, HSW, BDW with last setup. So closed
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.