'error, unknown device: 1927' on i5-6267U (Skylake), INTEL_DEVID_OVERRIDE won't help much
Submitted by Jacek Konieczny
Assigned to Xiuli Pan
Link to original bug (#101332)
Description
Created attachment 131786 utest_run output for INTEL_DEVID_OVERRIDE=0x1906
Beignet: 1.3.1 Kernel: 4.9.6-1 Acer Aspire E 15 laptop CPU: Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz GPU: VGA compatible controller [0300]: Intel Corporation Iris Graphics 550 [8086:1927] (rev 0a) Mesa works properly on this system (both OpenGL and Vulkan)
clinfo fails: $ ./clinfo cl_get_gt_device(): error, unknown device: 1927 cl_get_gt_device(): error, unknown device: 1927 Platform #0 Name: Intel(R) OpenCL Version: OpenCL 2.0 LINUX
Device #0 Name: Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz Type: CPU Version: OpenCL 2.0 (Build 400) Global memory size: 7 GB 756 MB 708 kB Local memory size: 32 kB Max work group size: 8192 Max work item sizes: (8192, 8192, 8192)
Platform #1 Name: Intel Gen OCL Driver Version: OpenCL 2.0 beignet 1.3
cl_get_gt_device(): error, unknown device: 1927 ./clinfo: Cannot get the number of OpenCL devices available on this platform.
I tried $INTEL_DEVID_OVERRIDE (with different values) with no luck:
$ INTEL_DEVID_OVERRIDE=0x1906 ./clinfo Beignet: self-test failed: (3, 7, 5) + (5, 7, 3) returned (3, 7, 5) See README.md or http://www.freedesktop.org/wiki/Software/Beignet/ Beignet: disabling non-working device Beignet: disabling non-working device
utests:
$ ./utest_run platform number 1 platform_profile "FULL_PROFILE" platform_name "Intel Gen OCL Driver" platform_vendor "Intel" platform_version "OpenCL 2.0 beignet 1.3" platform_extensions "cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_subgroups cl_intel_subgroups_short cl_khr_gl_sharing" cl_get_gt_device(): error, unknown device: 1927 error calling clGetDeviceIDs Failed to initialize cl device.
summary:
total: 1000 run: 0 pass: 0 fail: 0 pass rate: 0.000000
$ INTEL_DEVID_OVERRIDE=0x1906 ./utest_run [...full log attached...] summary:
total: 1000 run: 959 pass: 51 fail: 908 pass rate: 0.053180
The same Beignet binaries work on another Skylake system (i5-6400)
Attachment 131786, "utest_run output for INTEL_DEVID_OVERRIDE=0x1906":
utest_run.log