I have tried several attempts but without success. AMDGPU-PRO 17.40, 17.50, Oibaf PPA and something more, but nothing makes clinfo gives right results and xmr-stak working.

Any ideas?

  • Ubuntu 18.04 does for sure work with amdgpu-pro 18.20 on xmr-stak for cryptonight v7. Been running it for couple weeks, not saying it's easy but it works. I could be coerced into giving the details, but I am plenty busy already. Maybe it's because I've been a linux dev since '91. I think the xmr-stak devs should bump up to 3% donation by default. They're doing a great job. – R Full Aug 15 at 0:35
  • Seems churlish to be a stackexchanger and say "....I could be coerced, but I'm too busy because I'm this super duper linux dev for longer than most of you have been alive". Seriously, dude? Why are you even here? To gloat? To participate but not contribute? I've tried Ubuntu 18.04 and several different AMD drivers (but NOT the 18.20 version), and never managed to get xmr-stak to work. I can consistently get Ubuntu 16.0.4, AMD SDK, and AMD GPU driver 18.10-572953 (not the PRO installation, just the regular driver) to compile XMR-STAK (including the latest 2.5.1). More than happy to share the in – Wolfgang Nov 7 at 23:29

The AMD drivers are indeed frustrating on Linux, but these are required by XMR-Stak for AMD cards. You will almost certainly need to download the official drivers from AMD and try the various releases until you find one that works with your specific card. For me, this was only amdgpu-pro-17.40.2712-510357, but it depends which card you have. There are several minor point releases and finding one that works is honestly trial and error unfortunatley.

The other issue you may face is that you are on Ubuntu 18.04 - and none of the currently released drivers state supporting Ubuntu 18.04, you might get lucky though.

18.20 drivers didnt work for me... I could mine cryptonight lite and heavy but no way cryptonight v7. Downgrading drivers back to 17.* solved this issue but still i belive xmr-stak worked better with ubuntu 16.* and 17.* series. I belive except drivers issue there is also some issue related with 4.15/4.16 kernels. With 4.15.* my cards randomly crash (one day one card, another day another one... withouth any pattern) and with 4.16.* it is even worse.

protected by Community Nov 8 at 14:10

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.