Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635236 - dev-libs/amdgpu-pro-opencl: version bump to 17.40.492261
Summary: dev-libs/amdgpu-pro-opencl: version bump to 17.40.492261
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL: http://support.amd.com/en-us/kb-artic...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-23 22:24 UTC by ernsteiswuerfel
Modified: 2017-11-21 11:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2017-10-23 22:24:53 UTC
Care for a version bump? ;)

AMD released a special purpose Beta Mining Driver.
Comment 1 Craig Andrews gentoo-dev 2017-10-27 19:09:25 UTC
https://support.amd.com/en-us/kb-articles/Pages/AMD-Radeon-GPU-PRO-Linux-Beta-Driver%E2%80%93Release-Notes.aspx

Latest version is currently 16.40-348864
Comment 2 ernsteiswuerfel archtester 2017-10-27 21:37:56 UTC
The 17.x0 versions currently in tree are all Betas, as is the new special purpose Beta.

I guess current "stable" 16.40-348864 won't even run on a current stable amd64 setup.
Comment 3 Marek Szuba archtester gentoo-dev 2017-10-30 10:32:33 UTC
Craig, the "beta" link you have posted has been long outdated... You can find the current ones on https://support.amd.com/en-us/download ; as of the time of me writing this the latest stable version is 17.40-492261 for Vega Frontier Edition GPUs and 17.30-465504 (i.e. the one now in Gentoo) for all other non-legacy cards.

ernsteiswuerfel, I am afraid this is not a matter of a version bump. You have said yourself that this is a special-purpose driver, and AMD release notes go on to state clearly "this driver is not intended for graphics or gaming workloads". As such, this driver would have to be added to Gentoo as a separate package - one that I might add I am not interested in maintaining because my own interest in OpenCL lies entirely in the domain of graphics workloads.
Comment 4 ernsteiswuerfel archtester 2017-10-30 19:15:21 UTC
Plausible argumentation Marek. If it's only for me, I got no problem in closing the bug as WONTFIX.
Comment 5 ernsteiswuerfel archtester 2017-11-02 02:07:27 UTC
Interesting - the AMDGPU-Pro mining driver I mentioned just turned into their general purpose stable Linux driver: http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx

The 'mining part' is hidden behind the "Enabling Large Page Support" kernel parameter: amdgpu.vm_fragment_size=

@Marek: I took the freedom to CC you as I thought you might find this interesting. Apologies if that's not the case.
Comment 6 Marek Szuba archtester gentoo-dev 2017-11-17 08:43:04 UTC
Ooh, nice! Looks like it's up to me again, then :-) I'll run some tests of the new version on my AMD box some time during the next few days so you can expect it to be merged within the next few days.

Thank you very much for the update.
Comment 7 Marek Szuba archtester gentoo-dev 2017-11-21 11:49:58 UTC
commit ce09459c7eb7b96558a5bf9068669c05d54ea1e3
Author: Marek Szuba
Date:   Sun Nov 19 21:02:12 2017

    dev-libs/amdgpu-pro-opencl: bump to 17.40.492261

* * *

That said, cryptocurrency miners please be aware that even if you do set the necessary kernel parameter, using this version will NOT improve your mining performance. What you need is >=sys-kernel/vanilla-sources-4.14.0 (or equivalent) because vm_fragment_size is an option of the amdgpu kernel module, not the OpenCL library, and support for this option has only been available in mainline Linux kernels since 4.14. Oh, and come 4.15 you likely won't need the kernel parameter any more because a patch was merged into the kernel about 2 months ago which makes two-megabyte fragments the default for Sea Islands and newer GPUs.