[Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU
Igor Pavlov
igor.arabesc.pavlov at gmail.com
Wed Oct 12 10:12:45 UTC 2016
> The PCIID should be 0x040a, and we support that device.
Here it is:
vgapci0 at pci0:0:2:0: class=0x030000 card=[0x040a]1849 chip=[0x040a]8086
rev=0x06 hdr=0x00
> ls /dev/dri/
It returns:
card0 controlD64
There's no renderD128.
kldstat says that i915kms.ko and drm2.ko are loaded.
2016-10-12 6:17 GMT+03:00 Pan, Xiuli <xiuli.pan at intel.com>:
> Hi Igor,
>
>
>
> The PCIID should be 0x040a, and we support that device.
>
> If you are running without X, then you should check if
>
> ls /dev/dri/
>
> will return something like these:
>
> card0 controlD64 renderD128
>
> If not you may need to enable i915 in your kernel.
>
> Otherwise, there may be something wrong with you libdrm
>
>
>
> Thanks
>
> Xiuli
>
>
>
> *From:* Igor Pavlov [mailto:igor.arabesc.pavlov at gmail.com]
> *Sent:* Wednesday, October 12, 2016 8:00 AM
> *To:* Pan, Xiuli <xiuli.pan at intel.com>
> *Cc:* beignet at lists.freedesktop.org
> *Subject:* Re: [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU
>
>
>
> It's a headless system, there is no X.
>
> # pciconf -lvbce
>
> vgapci0 at pci0:0:2:0: class=0x030000 card=0x040a1849 chip=0x040a8086
> rev=0x06 hdr=0x00
> vendor = 'Intel Corporation'
> device = 'Xeon E3-1200 v3 Processor Integrated Graphics Controller'
> class = display
> subclass = VGA
> bar [10] = type Memory, range 64, base 0xf6400000, size 4194304,
> enabled
> bar [18] = type Prefetchable Memory, range 64, base 0xe0000000, size
> 268435456, enabled
> bar [20] = type I/O Port, range 32, base 0xf000, size 64, enabled
> cap 05[90] = MSI supports 1 message
> cap 01[d0] = powerspec 2 supports D0 D3 current D0
> cap 13[a4] = PCI Advanced Features: FLR TP
>
> Do I have to load some driver maybe?
>
>
>
>
>
> 2016-10-11 10:27 GMT+03:00 Pan, Xiuli <xiuli.pan at intel.com>:
>
> Hi Igor,
>
> Could you provide the PCI ID of your device by
>
> lspci –v.
>
> 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.
>
>
>
> Thanks
>
> Xiuli
>
>
>
> *From:* Beignet [mailto:beignet-bounces at lists.freedesktop.org] *On Behalf
> Of *Igor Pavlov
> *Sent:* Monday, October 10, 2016 8:51 PM
> *To:* beignet at lists.freedesktop.org
> *Subject:* [Beignet] Weird clinfo ouput @ FreeBSD-11.0/Intel GPU
>
>
>
> Dear Beignet community,
>
> Could someone kindly clarify, what do all of this mean?
>
> # uname -opr
>
> FreeBSD 11.0-RELEASE-p1 amd64
>
>
>
> # sysctl hw.model
>
> hw.model: Intel(R) Xeon(R) CPU E3-1265L v3 @ 2.50GHz
>
>
>
> # pkg info | grep beignet
>
> beignet-1.2.0 OpenCL library for Intel GPUs
>
>
>
> # clinfo -v
>
> clinfo version 2.1.16.01.12
>
>
>
> # clinfo
>
> Device open failed, aborting...
>
> Number of platforms 1
>
> Platform Name Intel Gen OCL Driver
>
> Platform Vendor Intel
>
> Platform Version OpenCL 1.2 beignet 1.2
>
> Platform Profile FULL_PROFILE
>
> 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_spir cl_khr_icd cl_intel_accelerator cl_intel_motion_estimation cl_intel_subgroups
>
> Platform Extensions function suffix Intel
>
> Device open failed, aborting...
>
> cl_get_gt_device(): error, unknown device: ffffffff
>
>
>
> Platform Name Intel Gen OCL Driver
>
> Number of devices 0
>
>
>
> NULL platform behavior
>
> clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Intel Gen OCL Driver
>
> Device open failed, aborting...
>
> cl_get_gt_device(): error, unknown device: ffffffff
>
> clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Intel Gen OCL Driver
>
> clCreateContext(NULL, ...) [default] No devices found in platform
>
> clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
>
> Device open failed, aborting...
>
> cl_get_gt_device(): error, unknown device: ffffffff
>
> clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform
>
> clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
>
> clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
>
> Device open failed, aborting...
>
> cl_get_gt_device(): error, unknown device: ffffffff
>
> clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No devices found in platform
>
>
>
> ICD loader properties
>
> ICD loader Name OpenCL ICD Loader
>
> ICD loader Vendor OCL Icd free software
>
> ICD loader Version 2.2.7
>
> ICD loader Profile OpenCL 1.2
>
> NOTE: your OpenCL library declares to support OpenCL 1.2,
>
> but it seems to support up to OpenCL 2.0 too.
>
> Nothing to output !
>
> --
> Igor
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/beignet/attachments/20161012/fb29c218/attachment-0001.html>
More information about the Beignet
mailing list