AnsweredAssumed Answered

clinfo segmentation fault

Question asked by yurtesen on Jan 25, 2013
Latest reply on Jan 29, 2013 by himanshu.gautam

In some machines clinfo is crashing with segmentation fault. This specific machine below is with an Intel processor and Nvidia GPU. I am not sure why clinfo is trying to become root, load fglrx or segmentation fault. Any ideas? It is not a big deal but clinfo was a nice tool for quick look at system devices.

$ clinfo

Setting of real/effective user Id to 0/0 failed

FATAL: Module fglrx not found.

Error! Fail to load fglrx kernel module! Maybe you can switch to root user to load kernel module directly

No protocol specified

Number of platforms:                             3

  Platform Profile:                              FULL_PROFILE

  Platform Version:                              OpenCL 1.1 CUDA 4.2.1

  Platform Name:                                 NVIDIA CUDA

  Platform Vendor:                               NVIDIA Corporation

  Platform Extensions:                           cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll

  Platform Profile:                              FULL_PROFILE

  Platform Version:                              OpenCL 1.2 LINUX

  Platform Name:                                 Intel(R) OpenCL

  Platform Vendor:                               Intel(R) Corporation

  Platform Extensions:                           cl_khr_fp64 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_intel_printf cl_ext_device_fission cl_intel_exec_by_local_thread

  Platform Profile:                              FULL_PROFILE

  Platform Version:                              OpenCL 1.2 AMD-APP (1113.2)

  Platform Name:                                 AMD Accelerated Parallel Processing

  Platform Vendor:                               Advanced Micro Devices, Inc.

  Platform Extensions:                           cl_khr_icd cl_amd_event_callback cl_amd_offline_devices



  Platform Name:                                 NVIDIA CUDA

Number of devices:                               1

  Device Type:                                   CL_DEVICE_TYPE_GPU

  Device ID:                                     4318

  Max compute units:                             8

  Max work items dimensions:                     3

    Max work items[0]:                           1024

    Max work items[1]:                           1024

    Max work items[2]:                           64

  Max work group size:                           1024

  Preferred vector width char:                   1

  Preferred vector width short:                  1

  Preferred vector width int:                    1

  Preferred vector width long:                   1

  Preferred vector width float:                  1

  Preferred vector width double:                 1

  Native vector width char:                      1

  Native vector width short:                     1

  Native vector width int:                       1

  Native vector width long:                      1

  Native vector width float:                     1

  Native vector width double:                    1

  Max clock frequency:                           1058Mhz

  Address bits:                                  32

  Max memory allocation:                         536690688

  Image support:                                 Yes

  Max number of images read arguments:           256

  Max number of images write arguments:          16

  Max image 2D width:                            32768

  Max image 2D height:                           32768

  Max image 3D width:                            4096

  Max image 3D height:                           4096

  Max image 3D depth:                            4096

  Max samplers within kernel:                    32

  Max size of kernel argument:                   4352

  Alignment (bits) of base address:              4096

  Minimum alignment (bytes) for any datatype:    128

  Single precision floating point capability

    Denorms:                                     Yes

    Quiet NaNs:                                  Yes

    Round to nearest even:                       Yes

    Round to zero:                               Yes

    Round to +ve and infinity:                   Yes

    IEEE754-2008 fused multiply-add:             Yes

  Cache type:                                    Read/Write

  Cache line size:                               128

  Cache size:                                    131072

  Global memory size:                            2146762752

  Constant buffer size:                          65536

  Max number of constant args:                   9

  Local memory type:                             Scratchpad

  Local memory size:                             49152

Segmentation fault (core dumped)