- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I have a problem that I cannot solve by myself,I need you help!
I install SRB5.0_linux64.zip in Centos 7,but can not find gpu,Whether if I have to install the gpu driver?
but I cannot find it.
[root@node-46186 driver]# lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.1.1503 (Core)
Release: 7.1.1503
Codename: Core
[root@node-46186 driver]#
[root@node-46186 driver]# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 4th Generation Core Processor Family Integrated Graphics Controller (rev 06)
[root@node-46186 driver]#
[root@node-25152 opencl]# sudo rpm -Uvh intel-opencl-r5.0-63503.x86_64.rpm
warning: intel-opencl-r5.0-63503.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 13881d9c: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:intel-opencl-r5.0-63503 ################################# [100%]
[root@node-25152 opencl]# rpm -Uvh intel-opencl-devel-r5.0-63503.x86_64.rpm
warning: intel-opencl-devel-r5.0-63503.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 13881d9c: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:intel-opencl-devel-r5.0-63503 ################################# [100%]
[root@node-25152 opencl]# rpm -Uvh intel-opencl-cpu-r5.0-63503.x86_64.rpm
warning: intel-opencl-cpu-r5.0-63503.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 13881d9c: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:intel-opencl-cpu-r5.0-63503 ################################# [100%]
[root@node-25152 opencl]#
[root@node-46186 driver]# rpm -qa | grep opencl
intel-opencl-cpu-r5.0-63503.x86_64
intel-opencl-devel-r5.0-63503.x86_64
intel-opencl-r5.0-63503.x86_64
[root@node-46186 driver]#
[root@node-46186 driver]# /root/capsbasic
Number of available platforms: 1
Platform names:
[0] Intel(R) OpenCL [Selected]
Number of devices available for each type:
CL_DEVICE_TYPE_CPU: 1
CL_DEVICE_TYPE_GPU: 0
CL_DEVICE_TYPE_ACCELERATOR: 0
*** Detailed information for each device ***
CL_DEVICE_TYPE_CPU[0]
CL_DEVICE_NAME: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz
CL_DEVICE_AVAILABLE: 1
CL_DEVICE_VENDOR: Intel(R) Corporation
CL_DEVICE_PROFILE: FULL_PROFILE
CL_DEVICE_VERSION: OpenCL 1.2 (Build 475)
CL_DRIVER_VERSION: 1.2.0.475
CL_DEVICE_OPENCL_C_VERSION: OpenCL C 1.2
CL_DEVICE_MAX_COMPUTE_UNITS: 4
CL_DEVICE_MAX_CLOCK_FREQUENCY: 3600
CL_DEVICE_MAX_WORK_GROUP_SIZE: 8192
CL_DEVICE_ADDRESS_BITS: 64
CL_DEVICE_MEM_BASE_ADDR_ALIGN: 1024
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 1561958400
CL_DEVICE_GLOBAL_MEM_SIZE: 6247833600
CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE: 131072
CL_DEVICE_GLOBAL_MEM_CACHE_SIZE: 262144
CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE: 64
CL_DEVICE_LOCAL_MEM_SIZE: 32768
CL_DEVICE_PROFILING_TIMER_RESOLUTION: 1
CL_DEVICE_IMAGE_SUPPORT: 1
CL_DEVICE_ERROR_CORRECTION_SUPPORT: 0
CL_DEVICE_HOST_UNIFIED_MEMORY: 1
CL_DEVICE_EXTENSIONS: cl_khr_icd 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_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_fp64
CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT: 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG: 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT: 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE: 1
CL_DEVICE_NATIVE_VECTOR_WIDTH_INT: 8
CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG: 4
CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT: 8
CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE: 4
[root@node-46186 driver]#
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Wang,
Please review the installation PDF at https://software.intel.com/en-us/articles/opencl-drivers, here: https://software.intel.com/en-us/articles/opencl-drivers
For the intel-opencl-r5.0 (SRB5.0) Linux driver package, it will outline steps to patch and install the Linux 4.7 kernel, set your user's group, and a few other things. Please review it once more and then check the following:
- The command `groups` must include the video group.
- The command `lsmod | grep i915` must show that the i915 driver has been loaded.
- The command `ls -al /dev/dri` must show something like a "card0" device, "renderD128" device, "controlD64" device with the video group as the owner (matching the video group of the user).
If there is another GPU in the system, please review your BIOS settings to ensure that integrated graphics is enabled (I believe that it would be based on your lspci output).
If the above doesn't help, please use the strace command for additional debug help. For example "strace -o strace.out SOME_OPENCL_COMMAND" and look for fatal errors that are affecting the GPU drive.
Thanks,
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Paul K. (Intel) wrote:
Hi Wang,
Please review the installation PDF at https://software.intel.com/en-us/articles/opencl-drivers, here: https://software.intel.com/en-us/articles/opencl-drivers
For the intel-opencl-r5.0 (SRB5.0) Linux driver package, it will outline steps to patch and install the Linux 4.7 kernel, set your user's group, and a few other things. Please review it once more and then check the following:
- The command `groups` must include the video group.
- The command `lsmod | grep i915` must show that the i915 driver has been loaded.
- The command `ls -al /dev/dri` must show something like a "card0" device, "renderD128" device, "controlD64" device with the video group as the owner (matching the video group of the user).
If there is another GPU in the system, please review your BIOS settings to ensure that integrated graphics is enabled (I believe that it would be based on your lspci output).
If the above doesn't help, please use the strace command for additional debug help. For example "strace -o strace.out SOME_OPENCL_COMMAND" and look for fatal errors that are affecting the GPU drive.
Thanks,
Paul
Hi Paul,
I have make the kernel with intel-opencl-installation.pdf,and the rpm result at 348M,when I installed,and it was failed for the /boot filesystem only 110M.
[root@node-46186 boot]# du -sh *
151K config_4.12.4
insmod: ERROR: could not insert module /root/i915.ko: Invalid module format
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Wang,
Our procedure assumes that the installation steps will be applied to an unmodified, newly installed CentOS 7 system with a supported Intel GPU and no other GPU available to the system. Although the RPM our procedure will produce is about 350MB, 76MB must be used on the /boot partition.
I recommend, at least temporarily, replacing the current hard drive in order to install a fresh copy of CentOS 7. By default, CentOS 7 provides the 3.10 kernel, which is the baseline configuration file we've tested against (i.e. we use the 3.10 configuration, apply it as the file .config to the 4.7 build area, migrate this new .config to the default 4.7 kernel settings, then perform the build). By doing this, you would have sufficient free space and not put your working configuration at risk.
Would this be possible to perform?
Thanks,
Paul

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page