<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">It's a headless system, there is no X.<br><br># pciconf -lvbce<br><br>vgapci0@pci0:0:2:0: class=0x030000 card=0x040a1849 chip=0x040a8086 rev=0x06 hdr=0x00<br> vendor = 'Intel Corporation'<br> device = 'Xeon E3-1200 v3 Processor Integrated Graphics Controller'<br> class = display<br> subclass = VGA<br> bar [10] = type Memory, range 64, base 0xf6400000, size 4194304, enabled<br> bar [18] = type Prefetchable Memory, range 64, base 0xe0000000, size 268435456, enabled<br> bar [20] = type I/O Port, range 32, base 0xf000, size 64, enabled<br> cap 05[90] = MSI supports 1 message <br> cap 01[d0] = powerspec 2 supports D0 D3 current D0<br> cap 13[a4] = PCI Advanced Features: FLR TP<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">Do I have to load some driver maybe?<br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-11 10:27 GMT+03:00 Pan, Xiuli <span dir="ltr"><<a href="mailto:xiuli.pan@intel.com" target="_blank">xiuli.pan@intel.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div class="m_8671015368116596317WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Igor,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Could you provide the PCI ID of your device by<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">lspci –v.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">It seems we could not get the device, it may because that you build with X but running without a screen open, or build without X but running by non-root user.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Xiuli<u></u><u></u></span></p>
<p class="MsoNormal"><a name="m_8671015368116596317__MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></a></p>
<p class="MsoNormal"><a name="m_8671015368116596317______replyseparator"></a><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Beignet [mailto:<a href="mailto:beignet-bounces@lists.freedesktop.org" target="_blank">beignet-bounces@lists.<wbr>freedesktop.org</a>]
<b>On Behalf Of </b>Igor Pavlov<br>
<b>Sent:</b> Monday, October 10, 2016 8:51 PM<br>
<b>To:</b> <a href="mailto:beignet@lists.freedesktop.org" target="_blank">beignet@lists.freedesktop.org</a><br>
<b>Subject:</b> [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Courier New"">Dear Beignet community,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Courier New"">Could someone kindly clarify, what do all of this mean?<u></u><u></u></span></p>
<pre><code># uname -opr<u></u><u></u></code></pre>
<pre><code>FreeBSD 11.0-RELEASE-p1 amd64<u></u><u></u></code></pre>
<pre><code><u></u> <u></u></code></pre>
<pre><code># sysctl hw.model <u></u><u></u></code></pre>
<pre><code>hw.model: Intel(R) Xeon(R) CPU E3-1265L v3 @ 2.50GHz<u></u><u></u></code></pre>
<pre><code><u></u> <u></u></code></pre>
<pre><code># pkg info | grep beignet<u></u><u></u></code></pre>
<pre><code>beignet-1.2.0 OpenCL library for Intel GPUs<u></u><u></u></code></pre>
<pre><code><u></u> <u></u></code></pre>
<pre><code># clinfo -v<u></u><u></u></code></pre>
<pre><code>clinfo version 2.1.16.01.12<u></u><u></u></code></pre>
<pre><code><u></u> <u></u></code></pre>
<pre><code># clinfo <u></u><u></u></code></pre>
<pre><code>Device open failed, aborting...<u></u><u></u></code></pre>
<pre><code>Number of platforms 1<u></u><u></u></code></pre>
<pre><code> Platform Name <wbr> Intel Gen OCL Driver<u></u><u></u></code></pre>
<pre><code> Platform Vendor <wbr> Intel<u></u><u></u></code></pre>
<pre><code> Platform Version <wbr> OpenCL 1.2 beignet 1.2<u></u><u></u></code></pre>
<pre><code> Platform Profile FULL_PROFILE<u></u><u></u></code></pre>
<pre><code> Platform Extensions <wbr> cl_khr_global_int32_base_<wbr>atomics cl_khr_global_int32_extended_<wbr>atomics cl_khr_local_int32_base_<wbr>atomics cl_khr_local_int32_extended_<wbr>atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_motion_estimation cl_intel_subgroups<u></u><u></u></code></pre>
<pre><code> Platform Extensions function suffix Intel<u></u><u></u></code></pre>
<pre><code>Device open failed, aborting...<u></u><u></u></code></pre>
<pre><code>cl_get_gt_device(): error, unknown device: ffffffff<u></u><u></u></code></pre>
<pre><code><u></u> <u></u></code></pre>
<pre><code> Platform Name <wbr> Intel Gen OCL Driver<u></u><u></u></code></pre>
<pre><code>Number of devices <wbr> 0<u></u><u></u></code></pre>
<pre><code><u></u> <u></u></code></pre>
<pre><code>NULL platform behavior<u></u><u></u></code></pre>
<pre><code> clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Intel Gen OCL Driver<u></u><u></u></code></pre>
<pre><code>Device open failed, aborting...<u></u><u></u></code></pre>
<pre><code>cl_get_gt_device(): error, unknown device: ffffffff<u></u><u></u></code></pre>
<pre><code> clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Intel Gen OCL Driver<u></u><u></u></code></pre>
<pre><code> clCreateContext(NULL, ...) [default] No devices found in platform<u></u><u></u></code></pre>
<pre><code> clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform<u></u><u></u></code></pre>
<pre><code>Device open failed, aborting...<u></u><u></u></code></pre>
<pre><code>cl_get_gt_device(): error, unknown device: ffffffff<u></u><u></u></code></pre>
<pre><code> clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform<u></u><u></u></code></pre>
<pre><code> clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform<u></u><u></u></code></pre>
<pre><code> clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform<u></u><u></u></code></pre>
<pre><code>Device open failed, aborting...<u></u><u></u></code></pre>
<pre><code>cl_get_gt_device(): error, unknown device: ffffffff<u></u><u></u></code></pre>
<pre><code> clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No devices found in platform<u></u><u></u></code></pre>
<pre><code><u></u> <u></u></code></pre>
<pre><code>ICD loader properties<u></u><u></u></code></pre>
<pre><code> ICD loader Name <wbr> OpenCL ICD Loader<u></u><u></u></code></pre>
<pre><code> ICD loader Vendor <wbr> OCL Icd free software<u></u><u></u></code></pre>
<pre><code> ICD loader Version 2.2.7<u></u><u></u></code></pre>
<pre><code> ICD loader Profile <wbr> OpenCL 1.2<u></u><u></u></code></pre>
<pre><code> NOTE: your OpenCL library declares to support OpenCL 1.2,<u></u><u></u></code></pre>
<pre><code> but it seems to support up to OpenCL 2.0 too.<u></u><u></u></code></pre>
<pre><code>Nothing to output !</code><br><br><code>--</code><br><code>Igor</code><u></u><u></u></pre>
</div>
</div>
</div>
</div>
</blockquote></div><br></div>