<div dir="ltr">Thank you for quick reply. <div>You were right. It's look like it's the same problem as reported in <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">#888952</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">When after reboot I don't run clinfo as a root, the NVidia OpenCL platform is not visible. After running 'sudo clinfo' it starts to work properly. It's reproducible all the time.</span></div><br>It looks like nvidia_uvm kernel module is loaded when clinfo is used<br>when I run folowing commands:<div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">$ lsmod >modules_before.txt</span></span></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">$ sudo clinfo</span></span></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">$ lsmod >modules_after.txt</span></span></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">$ diff <span style="color:rgb(0,0,0);font-family:monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">modules_before.txt <span style="color:rgb(0,0,0);font-family:monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">modules_after.txt</span></span></span></span></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="color:rgb(0,0,0);font-family:monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="color:rgb(0,0,0);font-family:monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></span></span></span></div>the output if diff is following:<div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><span style="color:rgb(0,0,0);font-family:monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="color:rgb(0,0,0);font-family:monospace;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">1a2
</span><br>> nvidia_uvm 765952 0
<br>79c80
<br>< nvidia 13168640 1057 nvidia_modeset
<br>---
<br>> nvidia 13168640 1055 nvidia_modeset,nvidia_uvm<br>
<br></span></span></span></span></span></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">This is the output of clinfo run as a root:</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-family:monospace"><font size="1"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">X server found. dri2 connection failed! </span><br>DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
<br>Assuming 131072kB available aperture size.
<br>May lead to reduced performance or incorrect rendering.
<br>get chip id failed: -1 [22]
<br>param: 4, val: 0
<br>Number of platforms <wbr>2
<br> Platform Name <wbr> Intel Gen OCL Driver
<br> Platform Vendor <wbr> Intel
<br> Platform Version <wbr> OpenCL 2.0 beignet 1.3
<br> Platform Profile <wbr> FULL_PROFILE
<br> 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<br>_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
<br> Platform Extensions function suffix Intel
<br>X server found. dri2 connection failed! <br>DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
<br>Assuming 131072kB available aperture size.
<br>May lead to reduced performance or incorrect rendering.
<br>get chip id failed: -1 [22]
<br>param: 4, val: 0
<br>X server found. dri2 connection failed! <br>DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
<br>Assuming 131072kB available aperture size.
<br>May lead to reduced performance or incorrect rendering.
<br>get chip id failed: -1 [22]
<br>param: 4, val: 0
<br>X server found. dri2 connection failed! <br>DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
<br>Assuming 131072kB available aperture size.
<br>May lead to reduced performance or incorrect rendering.
<br>get chip id failed: -1 [22]
<br>param: 4, val: 0
<br>X server found. dri2 connection failed! <br>DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
<br>Assuming 131072kB available aperture size.
<br>May lead to reduced performance or incorrect rendering.
<br>get chip id failed: -1 [22]
<br>param: 4, val: 0
<br>X server found. dri2 connection failed! <wbr> <wbr> <wbr> <wbr> <wbr> <br>DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument <wbr> <wbr> <wbr> <wbr> <wbr> <br>Assuming 131072kB available aperture size. <wbr> <wbr> <wbr> <wbr> <wbr> <br>May lead to reduced performance or incorrect rendering. <wbr> <wbr> <wbr> <wbr> <wbr> <br>get chip id failed: -1 [22] <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <br>param: 4, val: 0 <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <br> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <br> Platform Name <wbr> NVIDIA CUDA <wbr> <wbr> <wbr> <wbr> <br> Platform Vendor <wbr> NVIDIA Corporation <wbr> <wbr> <wbr> <wbr> <br> Platform Version <wbr> OpenCL 1.2 CUDA 9.0.282 <wbr> <wbr> <wbr> <wbr> <br> Platform Profile <wbr> FULL_PROFILE <wbr> <wbr> <wbr> <wbr> <br> 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_fp64 cl_khr_byte<br>_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer <wbr> <br> Platform Extensions function suffix NV <wbr> <wbr> <wbr> <wbr> <wbr> <br> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <br> Platform Name <wbr> Intel Gen OCL Driver <wbr> <wbr> <wbr> <wbr> <br>Number of devices <wbr> 1 <wbr> <wbr> <wbr> <wbr> <wbr> <br>X server found. dri2 connection failed! <wbr> <wbr> <wbr> <wbr> <wbr> <br>DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument <wbr> <wbr> <wbr> <wbr> <wbr> <br>Assuming 131072kB available aperture size. <wbr> <wbr> <wbr> <wbr> <wbr> <br>May lead to reduced performance or incorrect rendering. <wbr> <wbr> <wbr> <wbr> <wbr> <br>get chip id failed: -1 [22] <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <br>param: 4, val: 0 <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <br>X server found. dri2 connection failed! <br>DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
<br>Assuming 131072kB available aperture size.
<br>May lead to reduced performance or incorrect rendering.
<br>get chip id failed: -1 [22]
<br>param: 4, val: 0
<br> Device Name <wbr> Intel(R) HD Graphics Haswell GT2 Desktop
<br> Device Vendor <wbr> Intel
<br> Device Vendor ID <wbr> 0x8086
<br> Device Version <wbr> OpenCL 1.2 beignet 1.3
<br> Driver Version <wbr> 1.3
<br> Device OpenCL C Version OpenCL C 1.2 beignet 1.3
<br> Device Type <wbr> GPU
<br> Device Available <wbr> Yes
<br> Device Profile <wbr> FULL_PROFILE
<br> Max compute units <wbr>20
<br> Max clock frequency <wbr>1000MHz
<br> Device Partition <wbr> (core)
<br> Max number of sub-devices 1
<br> Supported partition types None, None, None
<br> Max work item dimensions 3
<br> Max work item sizes <wbr>512x512x512
<br> Max work group size <wbr>512
<br> Compiler Available <wbr>Yes
<br> Linker Available <wbr> Yes
<br>X server found. dri2 connection failed! <br>DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
<br>Assuming 131072kB available aperture size.
<br>May lead to reduced performance or incorrect rendering.
<br>get chip id failed: -1 [22]
<br>param: 4, val: 0
<br>X server found. dri2 connection failed! <br>DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
<br>Assuming 131072kB available aperture size.
<br>May lead to reduced performance or incorrect rendering.
<br>get chip id failed: -1 [22]
<br>param: 4, val: 0
<br>X server found. dri2 connection failed! <br>DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
<br>Assuming 131072kB available aperture size.
<br>May lead to reduced performance or incorrect rendering.
<br>get chip id failed: -1 [22]
<br>param: 4, val: 0
<br> Preferred work group size multiple 16
<br> Preferred / native vector sizes <br> char <wbr> 16 / 8 <br> short <wbr> 8 / 8 <br> int <wbr> 4 / 4 <br> long <wbr> 2 / 2 <br> half <wbr> 0 / 8 (n/a)
<br> float <wbr> 4 / 4 <br> double <wbr> 0 / 2 (n/a)
<br> Half-precision Floating-point support (n/a)
<br> Single-precision Floating-point support (core)
<br> Denormals <wbr> No
<br> Infinity and NANs <wbr>Yes
<br> Round to nearest <wbr>Yes
<br> Round to zero <wbr> No
<br> Round to infinity No
<br> IEEE754-2008 fused multiply-add No
<br> Support is emulated in software No
<br> Correctly-rounded divide and sqrt operations No
<br> Double-precision Floating-point support (n/a)
<br> Address bits <wbr> 32, Little-Endian
<br> Global memory size <a href="tel:(214)%20748-3648" value="+12147483648" target="_blank">2<wbr>147483648</a> (2GiB)
<br> Error Correction support No
<br> Max memory allocation <wbr>1610612736 (1.5GiB)
<br> Unified memory for Host and Device Yes
<br> Minimum alignment for any data type 128 bytes
<br> Alignment of base address 1024 bits (128 bytes)
<br> Global Memory cache type Read/<wbr>Write
<br> Global Memory cache size 8192 (8KiB)
<br> Global Memory cache line size 64 bytes
<br> Image support <wbr> Yes
<br> Max number of samplers per kernel 16
<br> Max size for 1D images from buffer 65536 pixels
<br> Max 1D or 2D image array size 2048 images
<br> Base address alignment for 2D image buffers 4096 bytes
<br> Pitch alignment for 2D image buffers 1 pixels
<br> Max 2D image size <wbr>8192x8192 pixels
<br> Max 3D image size <wbr>8192x8192x2048 pixels
<br> Max number of read image args 128
<br> Max number of write image args 8
<br> Local memory type <wbr>Local
<br> Local memory size <wbr>65536 (64KiB)
<br> Max constant buffer size <wbr>134217728 (128MiB)
<br> Max number of constant args 8
<br> Max size of kernel argument 1024
<br> Queue properties <wbr> <br> Out-of-order execution No
<br> Profiling <wbr> Yes
<br> Prefer user sync for interop Yes
<br> Profiling timer resolution 80ns
<br> Execution capabilities <br> Run OpenCL kernels Yes
<br> Run native kernels Yes
<br> SPIR versions <wbr> 1.2
<br> printf() buffer size <wbr>1048576 (1024KiB)
<br> Built-in kernels <wbr> __cl_copy_region_align4;__cl_<wbr>copy_region_align16;__cl_cpy_<wbr>region_unalign_same_offset;__<wbr>cl_copy_region_unalign_dst_<wbr>offset;__cl_copy_region_<wbr>unalign_src_offset;__cl<br>_copy_buffer_rect;__cl_copy_<wbr>image_1d_to_1d;__cl_copy_<wbr>image_2d_to_2d;__cl_copy_<wbr>image_3d_to_2d;__cl_copy_<wbr>image_2d_to_3d;__cl_copy_<wbr>image_3d_to_3d;__cl_copy_<wbr>image_2d_to_buffer;__cl_copy_<wbr>image_3d_to_buffer;__cl_copy_<br>buffer_to_image_2d;__cl_copy_<wbr>buffer_to_image_3d;__cl_fill_<wbr>region_unalign;__cl_fill_<wbr>region_align2;__cl_fill_<wbr>region_align4;__cl_fill_<wbr>region_align8_2;__cl_fill_<wbr>region_align8_4;__cl_fill_<wbr>region_align8_8;__cl_fill_re<br>gion_align8_16;__cl_fill_<wbr>region_align128;__cl_fill_<wbr>image_1d;__cl_fill_image_1d_<wbr>array;__cl_fill_image_2d;__cl_<wbr>fill_image_2d_array;__cl_fill_<wbr>image_3d;
<br> Device 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<br>_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
<br>
<br> Platform Name <wbr> NVIDIA CUDA
<br>Number of devices <wbr> 1
<br> Device Name <wbr> GeForce GTX 1050
<br> Device Vendor <wbr> NVIDIA Corporation
<br> Device Vendor ID <wbr> 0x10de
<br> Device Version <wbr> OpenCL 1.2 CUDA
<br> Driver Version <wbr> 384.111
<br> Device OpenCL C Version OpenCL C 1.2 <br> Device Type <wbr> GPU
<br> Device Available <wbr> Yes
<br> Device Profile <wbr> FULL_PROFILE
<br> Device Topology (NV) <wbr>PCI-E, 01:00.0
<br> Max compute units <wbr>5
<br> Max clock frequency <wbr>1455MHz
<br> Compute Capability (NV) 6.1
<br> Device Partition <wbr> (core)
<br> Max number of sub-devices 1
<br> Supported partition types None
<br> Max work item dimensions 3
<br> Max work item sizes <wbr>1024x1024x64
<br> Max work group size <wbr>1024
<br> Compiler Available <wbr>Yes
<br> Linker Available <wbr> Yes
<br> Preferred work group size multiple 32
<br> Warp size (NV) <wbr> 32
<br> Preferred / native vector sizes <br> char <wbr> 1 / 1 <br> short <wbr> 1 / 1 <br> int <wbr> 1 / 1 <br> long <wbr> 1 / 1 <br> half <wbr> 0 / 0 (n/a)
<br> float <wbr> 1 / 1 <br> double <wbr> 1 / 1 (cl_khr_fp64)
<br> Half-precision Floating-point support (n/a)
<br> Single-precision Floating-point support (core)
<br> Denormals <wbr> Yes
<br> Infinity and NANs <wbr>Yes
<br> Round to nearest <wbr>Yes
<br> Round to zero <wbr> Yes
<br> Round to infinity <wbr>Yes
<br> IEEE754-2008 fused multiply-add Yes
<br> Support is emulated in software No
<br> Correctly-rounded divide and sqrt operations Yes
<br> Double-precision Floating-point support (cl_khr_fp64)
<br> Denormals <wbr> Yes
<br> Infinity and NANs <wbr>Yes
<br> Round to nearest <wbr>Yes
<br> Round to zero <wbr> Yes
<br> Round to infinity <wbr>Yes
<br> IEEE754-2008 fused multiply-add Yes
<br> Support is emulated in software No
<br> Address bits <wbr> 64, Little-Endian
<br> Global memory size <a href="tel:(209)%20289-2160" value="+12092892160" target="_blank">2<wbr>092892160</a> (1.949GiB)
<br> Error Correction support No
<br> Max memory allocation <wbr>523223040 (499MiB)
<br> Unified memory for Host and Device No
<br> Integrated memory (NV) No
<br> Minimum alignment for any data type 128 bytes
<br> Alignment of base address 4096 bits (512 bytes)
<br> Global Memory cache type Read/<wbr>Write
<br> Global Memory cache size 81920 (80KiB)
<br> Global Memory cache line size 128 bytes
<br> Image support <wbr> Yes
<br> Max number of samplers per kernel 32
<br> Max size for 1D images from buffer 134217728 pixels
<br> Max 1D or 2D image array size 2048 images
<br> Max 2D image size <wbr>16384x32768 pixels
<br> Max 3D image size <wbr>16384x16384x16384 pixels
<br> Max number of read image args 256
<br> Max number of write image args 16
<br> Local memory type <wbr>Local
<br> Local memory size <wbr>49152 (48KiB)
<br> Registers per block (NV) 65536
<br> Max constant buffer size 65536 (64KiB)
<br> Max number of constant args 9
<br> Max size of kernel argument 4352 (4.25KiB)
<br> Queue properties <wbr> <br> Out-of-order execution Yes
<br> Profiling <wbr> Yes
<br> Prefer user sync for interop No
<br> Profiling timer resolution 1000ns
<br> Execution capabilities <br> Run OpenCL kernels Yes
<br> Run native kernels No
<br> Kernel execution timeout (NV) Yes
<br> Concurrent copy and kernel execution (NV) Yes
<br> Number of async copy engines 2
<br> printf() buffer size <wbr>1048576 (1024KiB)
<br> Built-in kernels <wbr> <br> Device 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_fp64 cl_khr_byte<br>_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer
<br>
<br>NULL platform behavior
<br> clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform
<br> clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform
<br> clCreateContext(NULL, ...) [default] No platform
<br>X server found. dri2 connection failed! <br>DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
<br>Assuming 131072kB available aperture size.
<br>May lead to reduced performance or incorrect rendering.
<br>get chip id failed: -1 [22]
<br>param: 4, val: 0
<br>X server found. dri2 connection failed! <br>DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
<br>Assuming 131072kB available aperture size.
<br>May lead to reduced performance or incorrect rendering.
<br>get chip id failed: -1 [22]
<br>param: 4, val: 0
<br>X server found. dri2 connection failed! <br>DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
<br>Assuming 131072kB available aperture size.
<br>May lead to reduced performance or incorrect rendering.
<br>get chip id failed: -1 [22]
<br>param: 4, val: 0
<br> clCreateContext(NULL, ...) [other] Success [Intel]
<br> clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No platform
<br> clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No platform
<br> clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No platform
<br> clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No platform
<br> clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No platform
<br> clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No platform</font><br></span></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-02 0:24 GMT+01:00 Andreas Beckmann <span dir="ltr"><<a href="mailto:anbe@debian.org" target="_blank">anbe@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2018-02-01 22:30, Krzysztof Marczak wrote:<br>
> After lastest update to version nvidia-graphics-drivers 384.111-3 the OpenCL<br>
> platform in no longer available in the system. clinfo command lists only other<br>
> platforms (e.g. Intel).<br>
> Just before this update everything worked properly.<br>
><br>
> I have tried to unistall (purge) all opencl-icd packages and install again, but<br>
> it did not help.<br>
><br>
> In actual state there is not possible to run any software using OpenCL with<br>
> nvidia proprietary drivers.<br>
<br>
Looks like a duplicate of #888952<br>
Running clinfo as root helped there - is some module not loaded?<br>
<br>
Which package version combination was working previously?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Andreas<br>
<br>
</font></span></blockquote></div><br></div>