Bitcoin Forum
June 22, 2024, 10:47:18 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 »
  Print  
Author Topic: mkxminer: Fast Lyra2Z/Lyra2rev2 miner for AMD GPU (ZCoin, GINcoin, VERT, MONA...  (Read 52721 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
cwatson1982
Newbie
*
Offline Offline

Activity: 11
Merit: 1


View Profile
February 16, 2018, 11:03:12 PM
 #441

For anyone having issues with lockups on newest drivers (18.2.1) and --asm, turning off compute mode makes it appear to work so far. No 0 hash rate followed by sick cards followed by requiring a system reboot!

thekev
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
February 16, 2018, 11:09:38 PM
 #442


32bit compile doesnt work for me on Ubuntu 16.04.03 x86_64.

# ./mkxminer
./mkxminer: error while loading shared libraries: libOpenCL.so.1: wrong ELF class: ELFCLASS64


Code:
$ LD_LIBRARY_PATH=/opt/AMDAPPSDK-3.0/lib/x86 ./mkxminer <opts>

...but then...

Code:
[15:20:06 - 0 days 00:00:00] clGetPlatformsIDs error -1001, verify that drivers are installed properly
[15:20:06 - 0 days 00:00:00] Error: GPU devices not found
[15:20:06 - 0 days 00:00:00] Could not find any GPUs, exitting...

I have sgminer working with amdgpu-pro on the 4.4 kernel. I am pretty sure this just needs to be recompiled for 64-bit.
Er0l
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
February 17, 2018, 09:16:12 AM
 #443

Both version same Fail 3,0,1 and 3,1.0


Code:
./example.sh 
[16:22:36 - 0 days 00:00:00] Starting mkxminer 3.0.1...                       
[16:22:38 - 0 days 00:00:01] Connecting to stratum+tls://vtc.suprnova.cc:5676 as WinMKX.test...
[16:22:38 - 0 days 00:00:01] Difficulty set to 32                             
[16:22:41 - 0 days 00:00:04] clBuildProgram: -11                               
[16:22:41 - 0 days 00:00:04] Frontend phase failed compilation.               
Error: Compilation from LLVMIR binary to IL text failed!
[16:22:41 - 0 days 00:00:04] Device not supported: "Ellesmere". Only AMD GCN devices are supported currently. Please double check that you have AMD videocards.
[16:22:41 - 0 days 00:00:04] Connected!                                       
[16:22:41 - 0 days 00:00:04] clBuildProgram: -11                               
[16:22:41 - 0 days 00:00:04] Frontend phase failed compilation.               
Error: Compilation from LLVMIR binary to IL text failed!
[16:22:41 - 0 days 00:00:04] Device not supported: "Ellesmere". Only AMD GCN devices are supported currently. Please double check that you have AMD videocards.
[16:22:41 - 0 days 00:00:04] clBuildProgram: -11                               
[16:22:41 - 0 days 00:00:04] Frontend phase failed compilation.               
Error: Compilation from LLVMIR binary to IL text failed!
[16:22:41 - 0 days 00:00:04] Device not supported: "Ellesmere". Only AMD GCN devices are supported currently. Please double check that you have AMD videocards.
[16:22:41 - 0 days 00:00:05] clBuildProgram: -11                               
[16:22:41 - 0 days 00:00:05] Frontend phase failed compilation.               
Error: Compilation from LLVMIR binary to IL text failed!
[16:22:41 - 0 days 00:00:05] Device not supported: "Ellesmere". Only AMD GCN devices are supported currently. Please double check that you have AMD videocards.
[16:22:42 - 0 days 00:00:05] clBuildProgram: -11                               
[16:22:42 - 0 days 00:00:05] Frontend phase failed compilation.               
Error: Compilation from LLVMIR binary to IL text failed!
[16:22:42 - 0 days 00:00:05] Device not supported: "Ellesmere". Only AMD GCN devices are supported currently. Please double check that you have AMD videocards.
[16:22:42 - 0 days 00:00:05] --- Detected Platforms ---                       
[16:22:42 - 0 days 00:00:05] *0 AMD Accelerated Parallel Processing OpenCL 2.0 AMD-APP (2482.3)
[16:22:42 - 0 days 00:00:05] --- Detected GPUs ---                             
[16:22:42 - 0 days 00:00:05] GPU#0: ?                                         
[16:22:42 - 0 days 00:00:05] GPU#1: ?                                         
[16:22:42 - 0 days 00:00:05] GPU#2: ?                                         
[16:22:42 - 0 days 00:00:05] GPU#3: ?                                         
[16:22:42 - 0 days 00:00:05] GPU#4: ?                                         
[16:22:42 - 0 days 00:00:05]                                                   
[16:22:42 - 0 days 00:00:05] Press 'q' to exit application      [code]
[/code]

Same Here, shows Ellesmere not Supported only GNC, Dev can you please Recompile for 64Bit
xpulse
Newbie
*
Offline Offline

Activity: 141
Merit: 0


View Profile
February 17, 2018, 09:16:49 PM
 #444

Hi,

Can someone put me in right direction, why this might happen with miner.

Vega's 64 - 3 in Opteron 2218 (2.6Ghz) 8 RAM

Miner show following stat:

> Off 60.9MH/s 61.6MH/s 64.2MH/s | Temp(C): 56 40 43 47 | Fan: 39% 68% 0% 0% | HW: 0 0 0 0 | Rej: 0.0%

1 card - Off, this is how it should be this is old 7950, doesn't work good in this config.
3 Vega's show different speed, why this might happen?

Also, anyone experienced issue with Blockchain AMD drivers/Radeon Setting... Not even open to make any changes in WattMan.

Thanks.
Elder III
Sr. Member
****
Offline Offline

Activity: 1246
Merit: 274


View Profile
February 17, 2018, 11:40:26 PM
 #445

Hi,

Can someone put me in right direction, why this might happen with miner.

Vega's 64 - 3 in Opteron 2218 (2.6Ghz) 8 RAM

Miner show following stat:

> Off 60.9MH/s 61.6MH/s 64.2MH/s | Temp(C): 56 40 43 47 | Fan: 39% 68% 0% 0% | HW: 0 0 0 0 | Rej: 0.0%

1 card - Off, this is how it should be this is old 7950, doesn't work good in this config.
3 Vega's show different speed, why this might happen?

Also, anyone experienced issue with Blockchain AMD drivers/Radeon Setting... Not even open to make any changes in WattMan.

Thanks.

I'm not sure if a 7950 is supported by this miner or not. I know that the 280X is supported, which is just a refreshed 7970, so it should be possible to have it work, but it might require some changes from the developer.... in any case, please share your .bat file so we can see how you have it setup.

Are all 3 of your Vega GPUs running at the exact same clocks?  If they're different models they may get different hashrates, and the good old silicone lottery will make even the exact same models hash a little differently in many cases.
xpulse
Newbie
*
Offline Offline

Activity: 141
Merit: 0


View Profile
February 18, 2018, 02:23:07 AM
 #446

Hi,

Can someone put me in right direction, why this might happen with miner.

Vega's 64 - 3 in Opteron 2218 (2.6Ghz) 8 RAM

Miner show following stat:

> Off 60.9MH/s 61.6MH/s 64.2MH/s | Temp(C): 56 40 43 47 | Fan: 39% 68% 0% 0% | HW: 0 0 0 0 | Rej: 0.0%

1 card - Off, this is how it should be this is old 7950, doesn't work good in this config.
3 Vega's show different speed, why this might happen?

Also, anyone experienced issue with Blockchain AMD drivers/Radeon Setting... Not even open to make any changes in WattMan.

Thanks.

I'm not sure if a 7950 is supported by this miner or not. I know that the 280X is supported, which is just a refreshed 7970, so it should be possible to have it work, but it might require some changes from the developer.... in any case, please share your .bat file so we can see how you have it setup.

Are all 3 of your Vega GPUs running at the exact same clocks?  If they're different models they may get different hashrates, and the good old silicone lottery will make even the exact same models hash a little differently in many cases.


Here is batch:

:restart
cd C:\Mining\mkxminer301\

devcon.exe disable "PCI\VEN_1002&DEV_687F"
devcon.exe disable "PCI\VEN_1002&DEV_679A"

timeout /t 10
devcon.exe enable "PCI\VEN_1002&DEV_687F"
devcon.exe enable "PCI\VEN_1002&DEV_679A"
timeout /t 5

setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100

OverdriveNTool.exe -p2vega_64 -p3vega_64 -p4vega_64

timeout /t 5

mkxminer.exe --exitsick --asm -o stratum+tcp://lyra2rev2.usa.nicehash.com:3347 -u x -p x -I 23 -d 1-3

goto restart

2 Vega's are same AMD (XFX) with Liquid cooling, 1 Vega is ASUS Air... running on same config via OverdriveNTTool (1409;1100)

Name=vega_64
GPU_P0=852;800;0
GPU_P1=991;900;0
GPU_P2=1084;950;0
GPU_P3=1138;1000;0
GPU_P4=1200;1050;0
GPU_P5=1401;1100;0
GPU_P6=1536;1150;0
GPU_P7=1409;950
Mem_P0=167;800;0
Mem_P1=500;800;0
Mem_P2=800;950;0
Mem_P3=1100;915
Fan_Min=4900
Fan_Max=4900
Fan_Target=75
Fan_Acoustic=2400
Power_Temp=85
Power_Target=0

Sapphire 7950 is actually working, but became sick very fast together with Vega's, also mining is not stable... rig might hangs in any time. So I push 7950 to equihash on same rig and everything seems to be stable, except :-) hashrate and radeon settings utility is dead...

Thanks.
winmkx (OP)
Newbie
*
Offline Offline

Activity: 86
Merit: 0


View Profile
February 18, 2018, 04:55:40 AM
 #447

Hello miners!

Please reply if you were able to get mkxminer running on Linux.
I can see many people are having problems, but has anybody been successful?

I installed a fresh Ubuntu 16.04 x64  desktop on a USB drive and got mkxminer running in 5 minutes.
Here are the required commands: https://bitcointalk.org/index.php?topic=2360168.msg24057659#msg24057659

PS: I tried recompiling for x64, but then 32bit OpenCL kernels don't work. So probably I'd need to make some changes to the ASM kernels to port them to 64 bit. Which is quite unfortunate, because everything works just fine on Windows 32/64 bit.

PPS: RX480/RX580 seem to be failing on Ubuntu x64 ("Compilation from LLVMIR binary to IL text failed"), not sure why but can reproduce myself. Will look into that.

Thanks!



Note: mkxminer is a 32-bit application. So if you are using a 64 bit application, like Ubuntu 16.04 x64, then you need
to install some some required libraries. Execute these commands in a terminal in case you're on Ubuntu x64:
Code:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libstdc++6:i386

If you execute ./mkxminer and it just closes without printing anything, then you don't have 32 bit support (see above).

Error: ./mkxminer: error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory
Reason: You don't have 32bit OpenCL installed. If you added 32 bit support (like written above), you may need to reinstall AMD drivers.

Error: Frontend phase failed compilation.
Error: Compilation from LLVMIR binary to IL text failed!
Reason: the AMD driver is not compatible with mkxminer. Try another driver. You can see AMD GPU-PRO version by executing:
Code:
dpkg -l amdgpu-pro

For example, amdgpu-pro-17.40-492261.tar.xz and amdgpu-pro-17.40-483984.tar.xz show this problem on RX480, but work fine on R9 390.
Er0l
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
February 18, 2018, 07:41:30 AM
 #448

Quote
rror: Frontend phase failed compilation.
Error: Compilation from LLVMIR binary to IL text failed!
Reason: the AMD driver is not compatible with mkxminer. Try another driver. You can see AMD GPU-PRO version by executing:
Code:
dpkg -l amdgpu-pro

For example, amdgpu-pro-17.40-492261.tar.xz and amdgpu-pro-17.40-483984.tar.xz show this problem on RX480, but work fine on R9 390.

I running rx480 rigs and rx 570 and rx580,
Tried 4 diffrent amg gpu pro, from 16.40 to the newest and erhe blockchain, it always gives the same error, it detects the gpus but shows ellesmere is not supported obly GCN.

Regards
Er0l
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
February 18, 2018, 10:24:52 AM
 #449

tried again and again with diffrent and GPu Pro, Ellesmere is not Supported, it looks like your code only works for Older AMD Cards, its not Driver related Issue in Linux

Can you please fix this issue.
winmkx (OP)
Newbie
*
Offline Offline

Activity: 86
Merit: 0


View Profile
February 19, 2018, 07:23:01 AM
 #450

Ubuntu x64 mining from scratch step by step guide

*** Prerequisites:
2 USB flash drives (or 1 USB + 1 SSD/HDD), AMD videocard

*** Install Ubuntu Server
Download Ubuntu 16.04 x64 Server ISO image (I used 16.04.3 LTS from https://www.ubuntu.com/download/server).
Copy the Ubuntu installer to a USB. I recommend using the "Universal USB Installer".
Reboot with installation USB and the destination USB inserted (or just the installation USB and SSD/HDD connected).
Select install option.
Do a standard install to USB/HDD/SSD. Make sure "OpenSSH server" option is turned ON (it is needed to connect remotely via terminal later).
Remove installer USB and reboot.

*** Get Ubuntu x64 to work with 32 bit applications
(You can now login from from another terminal over SSH. For example Putty for Windows or the built-in Terminal / Hyper / iTerm2 for Mac, whatever..., even "Prompt" for iOS will do)
Login to your Ubuntu server box (ssh yourlogin@yourubuntuaddress)
Execute these commands:
Code:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libstdc++6:i386
now reboot your computer


*** Set up AMD driver
Download AMD driver. Now this becomes interest. There are a few versions out there to choose from and probably there will be even more by the time you read this.
Code:
wget --referer=https://support.amd.com https://www2.ati.com/drivers/linux/beta/ubuntu/amdgpu-pro-17.40-483984.tar.xz
or
Code:
wget --referer=https://support.amd.com https://www2.ati.com/drivers/linux/beta/ubuntu/amdgpu-pro-17.40-492261.tar.xz

install xz utils if you don?t have yet (required to extract the driver from .tar.xz)
Code:
sudo apt-get install xz-utils


Code:
tar -xJvf amdgpu-pro-17.40-483984.tar.xz
cd amdgpu-pro-17.40-483984

./amdgpu-pro-install
sudo reboot

Add your user to video group:
Code:
sudo usermod -a -G video $LOGNAME 
sudo reboot


*** Download & run mkxminer
Download mkxminer (links in bitcointalk thread). For example:
Code:
wget https://filebin.net/xs1yhv0qlpobge74/mkxminer310.tar.gz

Extract the archive, for example:
Code:
tar -xf mkxminer310.tar.gz

Test mkxminer:
Code:
./example.sh

If it's ok and the app is running - close it by pressing 'q'.
Now edit example.sh and add your mining address / pool config.

*** Possible problems when running mkxminer:

If you execute ./mkxminer and it just closes without printing anything, then you don't have 32 bit support on your 64 bit Linux.

* Error: ./mkxminer: error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory
Reason: You don't have 32bit OpenCL installed. If you added 32 bit support (like written above), you may need to reinstall AMD drivers.

* Error: Frontend phase failed compilation.
Error: Compilation from LLVMIR binary to IL text failed!
Reason: the AMD driver is not compatible with mkxminer. Try another driver. You can see AMD GPU-PRO version by executing: dpkg -l amdgpu-pro
AMD RX480 and RX580 currently have this problem in Linux, I?m not sure how to fix it yet.

* Error: clGetPlatformsIDs error -1001, verify that drivers are installed properly
Possible cause: Have you added your user to "video" group and rebooted after that?

Happy mining!
winmkx (OP)
Newbie
*
Offline Offline

Activity: 86
Merit: 0


View Profile
February 19, 2018, 07:24:12 AM
 #451

tried again and again with diffrent and GPu Pro, Ellesmere is not Supported, it looks like your code only works for Older AMD Cards, its not Driver related Issue in Linux

Can you please fix this issue.


Hi!

Yes, I'm afraid Ellesmere is not supported on Linux yet. I'll look into that.

R9 390, 380X, 280X definitely work - I tested myself on Ubuntu 16.04 x64.
nml911
Copper Member
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 19, 2018, 03:18:40 PM
 #452

The ubuntu server "wget https://filebin.net/xs1yhv0qlpobge74/mkxminer310.tar.gz" did not work for me.  I had to copy over with a thumb drive from another machine. Otherwise with an R9 290 I got 19+ Mh/s basic and 25 Mh/s with --asm.  Thanks
etang6000
Full Member
***
Offline Offline

Activity: 241
Merit: 100



View Profile
February 19, 2018, 04:19:33 PM
 #453

Is there a trick to get a 280x to mine with this on windows? Anything config I try crashes, even the most basic ones. Maybe because i'm using the blockchain driver ?
Vlusion
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 20, 2018, 05:42:36 PM
 #454

This miner makes my PC crash. I get black screen and after 5 sec. my PC reboots.
Iamtutut
Full Member
***
Offline Offline

Activity: 1120
Merit: 131


View Profile
February 20, 2018, 10:11:12 PM
 #455

Is it possible to use this miner as a third party with Nicehash miner Legacy (1.8.1.Cool ?
Elder III
Sr. Member
****
Offline Offline

Activity: 1246
Merit: 274


View Profile
February 20, 2018, 11:50:00 PM
 #456

Is it possible to use this miner as a third party with Nicehash miner Legacy (1.8.1.Cool ?

You can point the miner at nicehash directly if you wish. Just choose the pool/stratum for the algorithm that you want to mine here - https://www.nicehash.com/help/which-stratum-servers-are-available

You can check your statistics and profits etc by looking up your btc wallet address on nicehash.
angelbbs
Full Member
***
Offline Offline

Activity: 1170
Merit: 209


View Profile
February 21, 2018, 04:54:20 AM
 #457

Is it possible to use this miner as a third party with Nicehash miner Legacy (1.8.1.Cool ?
If an API is added to mkxminer, this miner will be added to Nicehash Miner Legacy Fork Fix
Iamtutut
Full Member
***
Offline Offline

Activity: 1120
Merit: 131


View Profile
February 21, 2018, 06:22:37 AM
 #458

Is it possible to use this miner as a third party with Nicehash miner Legacy (1.8.1.Cool ?

You can point the miner at nicehash directly if you wish. Just choose the pool/stratum for the algorithm that you want to mine here - https://www.nicehash.com/help/which-stratum-servers-are-available

You can check your statistics and profits etc by looking up your btc wallet address on nicehash.

I'm still a noob at mining, how to "point it" at nicehash please ? Thanks.
ninjam
Newbie
*
Offline Offline

Activity: 84
Merit: 0


View Profile
February 21, 2018, 12:24:08 PM
 #459

Hello, great job for making this miner, I get on my vega 56 rig hashrates as advertised.
Have problem with --exitsick parameter. One of my cards becomes "sick" but miner is not exiting, even using "q" to manually close it does not work, it's just continue to work without that one "sick" gpu.
Since miner does not quit I cannot use script to reset cards and start over.
I have to close miner by closing its window.
cirlama
Jr. Member
*
Offline Offline

Activity: 156
Merit: 1


View Profile
February 21, 2018, 12:29:03 PM
 #460

Is it possible to use this miner as a third party with Nicehash miner Legacy (1.8.1.Cool ?

You can point the miner at nicehash directly if you wish. Just choose the pool/stratum for the algorithm that you want to mine here - https://www.nicehash.com/help/which-stratum-servers-are-available

You can check your statistics and profits etc by looking up your btc wallet address on nicehash.

I'm still a noob at mining, how to "point it" at nicehash please ? Thanks.

you point your miner to
stratum+tcp://lyra2rev2.EU.nicehash.com:3347 (if you are in EU, or USA or...)

see
https://www.nicehash.com/algorithm/lyra2rev2

and as a wallet, you use your nicehash bitcoin address
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!