Pascal Obry <[email protected]> writes:

> About this... I have been able to build amdgpu-pro with 4.9 but it does
> not work!

I have the same problem, I want to use OpenCL but the opensource driver
(GalliumCompute) does not support image handling. It would be good if
the driver would be able to do so. 

As this is not working, I tried to set up a new machine (on a spare hard
disk) under openSuse 42.2 or Tumbleweed. On Tumbleweed I suceeded in
running OpenCL.

A short (not complete) instruction is:

Install the system with modprobe.blacklist=radeon. During installation
it picks the opensource amdgpu driver. Then I upgraded to kernel 4.9 and
installed dkms. Then you are ready to install a minimum packages from
AMD's driver (16.60, see below). I got these dkms compiling messages
too. But even though OpenCL worked!

Instruction to do so (minimal driver installation):
- unpack the amd driver somewhere on your disk
- add the folder of the driver as repository
- zypper in amdgpu-pro-dkms libdrm-amdgpu-pro vulkan-amdgpu-pro 
libopencl-amdgpu-pro-icd libopencl-amdgpu-pro-clinfo


Then I tried to follow the same procedure with openSuse 42.2 - but
without success yet. I was not able to start X11 swithing frim radeon to
amdgpu driver. I will give it a try again in the future.

Another useful information for openSuse installation might be:
https://community.amd.com/thread/212558, howto compile the driver
without error. I will give it a try too.


For further information www.gearsongallium.com is a good but abandoned
source. 

> I had to restart in safe mode and undo the mess, well I'm using btrfs
> and so the going back to the previous snapshot was easy.

That's a good idea, I can recommend to do so to everybody. Helps a lot
in reverting back!

Bye, Frank
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to [email protected]

Reply via email to