<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - OpenCL does not work on Ubuntu 18.04 with Nvidia"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107680">107680</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>OpenCL does not work on Ubuntu 18.04 with Nvidia
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>18.1
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Other
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>DevynCJohnson@Gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>System Info
- System: Ubuntu 18.04
- Linux Kernel Version: I tried 4.15 through 4.17 (both custom and
standard repo kernels)
- Nvidia Driver: 396
- Graphics Card (GPU): Nvidia GeForce 1080
- CPU: i7-8700K (Coffeelake)
- Cuda Version: 9.1
- ocl-icd-libopencl1 Version: 2.2.11-1ubuntu1
- ocl-icd-libopencl1 Provides: libopencl-1.1-1, libopencl-1.2-1,
libopencl-2.0-1, libopencl-2.1-1, libopencl1
- clinfo Output:
Number of platforms 1
Platform Name Clover
Platform Vendor Mesa
Platform Version OpenCL 1.1 Mesa
18.1.1
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA
Platform Name Clover
Number of devices 0
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Clover
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Clover
clCreateContext(NULL, ...) [default] No devices found in
platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No devices
found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found
in platform
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
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.11
ICD loader Profile OpenCL 2.1
I have been using OpenGL and OpenCL successfully for quite some time. However,
I have not been able to use OpenCL recently. I update my system monthly. I used
OpenCL successfully in May. As for June, I did not use OpenCL until the second
week of June. I assume an update that I got in the beginning of June is the
cause (but I could be wrong). I have tried downgrading the Linux kernel (and
trying various kernel versions), Nvidia drivers (390 and 396), and various
graphics-related libraries without success. The output of clinfo no longer sees
my Nvidia card (like it did in May).
I have tried reinstalling nvidia-cuda-toolkit as well as all other Nvidia and
Cuda packages. I also tried reinstalling intel-microcode and all Optimus/Prime
related packages. I also tried uninstalling such packages and reinstalling. I
have also tried uninstalling all intel-iGPU (such as Beignet and
intel-microcode) related packages. The ubuntu-additional-drivers program only
ever shows the Nvidia driver.
Interestingly, OpenGL is perfectly fine. I can still use the Nvidia card for
graphics rendering. The output of nvidia-smi shows my various processes running
on the graphics card in graphics-mode (but no compute-mode processes).
What am I over-looking in getting OpenCL to work again?
This detail may or may not be related or provide a hint, but the output of
eglinfo shows that dlopen cannot find vgem_dri.so.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>