I posted on bug # 1376587... I fixed a couple bugs regarding the AMD
Catalyst drivers...

Okay, so the replaces line needs to change to this:

Enhances: libopencl1
Replaces: fglrx-driver-core
Provides: fglrx-driver-core, opencl-icd, amd-opencl-icd

Fresh install, I had to get rid of libopencl1 in the repalces line as it causes 
a fight between packages..
I added the enhances line becasue, well, it enhances OpenCL with GPGPU support.

This allow's both the updates driver from the repo's  and the drivers
form AMD's website to install with wine gracefully.

Why the Enhances line - I noticed that OpenCL wasn't working on my
system.  SO a few more changes was in order:

In /usr/lib I create thed following symlink: libOpenCL.so and pointed it at 
libOpenCL.so.1
Then I created two more symlinks for completness: libOpenCL.so.1.1 and 
libOpenCL.so.1.2 and both of those pointed to libOpenCL.so (I did this incase 
AMD or someone decides that proviced libOpenCL.so.1 file name should be 
corrected to libOpenCL.so).

I then did the same in /usr/lib32

Then I went into /etc/OpenCL/venders and coped amdocl64.icd in the same dir but 
called it amdocl32.icd
I edited that file, and changed libamdocl64.so to libamdocl32.so

Next, in /etc/ld.so.conf.d I made a file called opencl-vender-amd.conf
and add the line: /etc/OpenCL/venders

I then ran ldconfig to finalise the settings.  Wine works fine as well
as GPGPU accelerated OpenCL (tested with BOINC).

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers-313-updates in Ubuntu.
https://bugs.launchpad.net/bugs/1129409

Title:
  Nvidia and AMD graphics drivers should indicate whether they provide
  libcuda.so.1, libOpenCL.so.1, etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/1129409/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to