On 30/05/17 03:55 AM, Michael Born wrote:
Thank you for this explanation. This will be helpful for many. I'm quite happy with the open source amdgpu driver (+MESA OpenGL). Only the missing open source OpenCL driver is what makes me use that part of the binary driver.
Cheers, Michael
Am 30.05.2017 um 00:09 schrieb Juan Erbes:
If You want to install the driver complete: http://support.amd.com/en-us/kb-articles/Pages/How-To-Install-Uninstall-AMDG...
You must have the complete development enviroment for the kernel development, with same kernel-devel version than the running kernel.
You must to apply a patch (this is for the 16.60 version)
Required utils: - rpmrebuild
- patch
Steps:
Extract driver package:
$ tar -Jxvf amdgpu-pro-16.60-379184.tar.xz
Change to the directory where the rpm package amdgpu-pro-dkms is:
$ cd amdgpu-pro-16.60-379184/RPMS/noarch
Execute rpmrebuild with the following:
$ rpmrebuild -ep amdgpu-pro-dkms-16.60-379184.noarch.rpm
This opens vim. Attention: Do not close vim yet!
Open a new shell window and change to the directory where the contents of the rpm file are:
$ cd ~/.tmp/rpmrebuild.4738/work/root
Apply the patch:
$ patch -p1 < path/to/patch.diff
Close the shell window
Change to the window where vim is still open and quit vim with :wq
rpmrebuild displays the message "Do you want to continue ? (y/N)". Type yes.
Now replace the original rpm file with the modified (Found in ~/rpmbuild/RPMS/noarch).
Install the driver (Execute amdgpu-pro-install)
You can find here the patch for the 17.10 version:
https://community.amd.com/servlet/JiveServlet/download/2795893-72963/patch_1...
I could install the driver amdgpu-pro-17.10-414273 with the kernel linux-4.4.62-18.6 in Opensuse Leap 42.2.
Remember when You are installing the driver You will get a cheksum error because the replacement of the recompiled package, and appear a number wich must be typed to continue with the instalation.
Regards, Juan
Mesa now has a library for installation. Mesa-libOpenCL - Mesa OpenCL implementation -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org