Pages:
Author

Topic: tdxminer lyra2z/XZC Miner for AMD GPUs on Linux - page 3. (Read 44500 times)

jr. member
Activity: 98
Merit: 1
Hi,
What hashrate has RX 470?
Is there any difference between 4gb and 8gb?
i beleive rx470 could give same as rx570 - ~3mhs on 100-120w from wall per card. rx580 give 3.2-3.5mhs 100-120w from wall per card. like for example 12 card rx580 takes 1350w fro wall. I have found max working core speed for each card. Every card is very differenet, from 12 xfx rx580 some are mining on 1300mhz 850mv, some only 1160 same voltage on core.
newbie
Activity: 26
Merit: 0
The thread that was posted was a different dev/miner.
full member
Activity: 1274
Merit: 105
Hi,
What hashrate has RX 470?
Is there any difference between 4gb and 8gb?
member
Activity: 106
Merit: 10
Why expose such a frequency of memory? It is better to put 300 MHz. This will save a few Watts

i forgot to change them back since i was testing lago switching between lyra2z and eth
newbie
Activity: 79
Merit: 0
Why expose such a frequency of memory? It is better to put 300 MHz. This will save a few Watts
member
Activity: 106
Merit: 10
im getting:

failed to build program.
Failed to initialize device number 0.

Anyone a clue how to fix this?

Opencl shows the devices like it should.
ETHminer works without a problem.

Hopefully someone can help or point me into the right direction.

Thanks.

can you paste a screenshot here please. That will be more helpful for ppl here to understand your problem and solve a solution for this.
And you should also give your rig specs. And remove if you have any nvidia GPUs in your mining rig. And try again.

Got it working now. Upgrade to the latest kernel 4.15 and now its working.
But for some reasons i cannot change the powerplay mode with using rocm-smi

/opt/rocm/bin/rocm-smi --setfan 180 --device 0 --setsclk 5 --setmclk 3 --setperflevel high

sclk stays at 4 not switching to 5
How are you guys overclocking/undervoltage?





i was trying to undervolt on ubuntu. and after spending all day reading every forum i could find i gave up and install ethos 1.3.2

i was able to set 6 rx 580 8gb to run at 18.2 mh/s and pulling only 570w from wall.

you can install tdxminer to ethos if you follow this guide https://github.com/unrealjke/ethos-tdxminer

and you can use my local conf

Code:
globalfan 70
maxgputemp 85
globalvolt 950
tdxminer=proxypool1 lyra2z.eu.mine.zpool.ca:4553
tdxminer=poolpass1 c=BTC
tdxminer=proxywallet YourPayoutWalletBTC
miner YourHostName tdxminer
cor YourHostName 1180 1180 1180 1180 1180 1180
mem YourHostName 2150 2150 2150 2150 2150 2150
pwr YourHostName 115 115 115 115 115 115
dpm YourHostName 6 6 6 6 6 6
vlt YourHostName 950 950 950 950 950 950
vddci YourHostName 900 900 900 900 900 900
newbie
Activity: 5
Merit: 0
im getting:

failed to build program.
Failed to initialize device number 0.

Anyone a clue how to fix this?

Opencl shows the devices like it should.
ETHminer works without a problem.

Hopefully someone can help or point me into the right direction.

Thanks.

can you paste a screenshot here please. That will be more helpful for ppl here to understand your problem and solve a solution for this.
And you should also give your rig specs. And remove if you have any nvidia GPUs in your mining rig. And try again.

Got it working now. Upgrade to the latest kernel 4.15 and now its working.
But for some reasons i cannot change the powerplay mode with using rocm-smi

/opt/rocm/bin/rocm-smi --setfan 180 --device 0 --setsclk 5 --setmclk 3 --setperflevel high

sclk stays at 4 not switching to 5
How are you guys overclocking/undervoltage?



full member
Activity: 602
Merit: 114
im getting:

failed to build program.
Failed to initialize device number 0.

Anyone a clue how to fix this?

Opencl shows the devices like it should.
ETHminer works without a problem.

Hopefully someone can help or point me into the right direction.

Thanks.

can you paste a screenshot here please. That will be more helpful for ppl here to understand your problem and solve a solution for this.
And you should also give your rig specs. And remove if you have any nvidia GPUs in your mining rig. And try again.
member
Activity: 106
Merit: 10
Here is my experience.

Running: Fresh Ubuntu 16.04.4 install
GPUs: 6x Sapphire Nitro+ RX 580 8gb

hashrate per card: 3,7 mh/s
rig hashrate: 22,4 - 22,5 mh/s

drivers: amdgpu-pro with rocm
custom fan speed of 70%

my installation:

Graphic drivers:
Code:
sudo apt update
sudo apt dist-upgrade
sudo reboot
wget https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.40-492261.tar.xz
tar -Jxvf amdgpu-pro-17.40-492261.tar.xz
cd amdgpu-pro-17.40-492261
./amdgpu-pro-install –y
sudo reboot
groups
sudo usermod -a -G video $LOGNAME
sudo apt install -y rocm-amdgpu-pro
env LLVM_BIN=/opt/amdgpu-pro/bin /opt/amdgpu-pro/bin/clinfo
echo 'export LLVM_BIN=/opt/amdgpu-pro/bin' | sudo tee /etc/profile.d/amdgpu-pro.sh
echo 'setenv LLVM_BIN /opt/amdgpu-pro/bin' | sudo tee /etc/profile.d/amdgpu-pro.csh

Fancontrol

Code:
sudo apt-get install lm-sensors
sudo apt-get install fancontrol
sudo pwmconfig
#do the test follow instructions at the end of test fans will spin at 100% don't worry. we will disable that
sudo /etc/init.d/fancontrol stop

My script for manual fan control little above 70% [0 - fans stop spinning and 255 fans spinn at 100%]

Copy this code
Code:
sudo /bin/su -c "echo 1 > /sys/class/drm/card0/device/hwmon/hwmon1/pwm1_enable"
sudo /bin/su -c "echo 1 > /sys/class/drm/card1/device/hwmon/hwmon2/pwm1_enable"
sudo /bin/su -c "echo 1 > /sys/class/drm/card2/device/hwmon/hwmon3/pwm1_enable"
sudo /bin/su -c "echo 1 > /sys/class/drm/card3/device/hwmon/hwmon4/pwm1_enable"
sudo /bin/su -c "echo 1 > /sys/class/drm/card4/device/hwmon/hwmon5/pwm1_enable"
sudo /bin/su -c "echo 1 > /sys/class/drm/card5/device/hwmon/hwmon6/pwm1_enable"
sudo /bin/su -c "echo 200 > /sys/class/drm/card0/device/hwmon/hwmon1/pwm1"
sudo /bin/su -c "echo 200 > /sys/class/drm/card1/device/hwmon/hwmon2/pwm1"
sudo /bin/su -c "echo 200 > /sys/class/drm/card2/device/hwmon/hwmon3/pwm1"
sudo /bin/su -c "echo 200 > /sys/class/drm/card3/device/hwmon/hwmon4/pwm1"
sudo /bin/su -c "echo 200 > /sys/class/drm/card4/device/hwmon/hwmon5/pwm1"
sudo /bin/su -c "echo 200 > /sys/class/drm/card5/device/hwmon/hwmon6/pwm1"

and create file that will auto run at user logon.

Code:
cd Desktop
nano fanspeed.sh
#now paste inside the above code
ctrl+x
confirm with y and enter
chmod +x fanspeed.sh

For one GPU card so you can compare what to delete or change if you have less or more then 6 GPUs
Code:
sudo /bin/su -c "echo 1 > /sys/class/drm/card0/device/hwmon/hwmon1/pwm1_enable"
sudo /bin/su -c "echo 200 > /sys/class/drm/card0/device/hwmon/hwmon1/pwm1"

Now search your your system for startup applications and open it.
Add new startup first imput name and second imput point to file fanspeed.sh at your Desktop

If your fans don't start to speen there is most likely permissions problem
You can try disable password request for sudo.
You can do this with "sudo visudo" and go to the end of line and type: USERNAME  ALL=(ALL) NOPASSWD:ALL
Please note this is huge security risk, just do this for test.

Miner
Code:
wget https://github.com/todxx/tdxminer/releases/download/v0.2.2.2/tdxminer-v0.2.2.2.tgz
tar -xvfz tdxminer-v0.2.2.2.tgz
cd tdxminer-v0.2.2.2
sudo mv tdxminer /home/USERNAME/
cd /home/USERNAME/
nano mine.sh
#inside of this file set your mining settings pool, wallet [ltc wallet will be example], c=LTC (because we use ltc wallet, if you will use bitcoin wallet you will change LTC to BTC)
#for example:
./tdxminer -a stratum+tcp://lyra2z.eu.mine.zpool.ca:4553 -u your_LTC_wallet -p c=LTC
ctrl+x
confirm with Y and enter
chmod +x mine.sh

Auto startup script on ubuntu logon
Code:
sudo apt-get install screen
cd
nano autostartup.sh
#inside paste code autostartup code bellow this
ctrl+x
confirm with Y and enter
chmod +x autostartup.sh

Autostartup.sh code:
Code:
#!/bin/bash
DEFAULT_DELAY=0
if [ "x$1" = "x" -o "x$1" = "xnone" ]; then
DELAY=$DEFAULT_DELAY
else
DELAY=$1
fi
sleep $DELAY
cd /home/USERNAME/
su USERNAME -c "screen -dmS lyra2z ./mine.sh"

Edit rc.local to start autostartup.sh
Code:
sudo nano /etc/rc.local
#Find the line which reads "exit 0" and  and type above that line
/home/USERNAME/autostartup.sh 15 &
ctrl+x
confirm with Y and enter

At this point you can restart your rig.
Soon after you will logon to system you will hear fans.
Give it a minute and check terminal for screen with "screen -list"
Attach to screen with: screen -x lyra2z
Detach and keep running with: ctrl+a+d

Hope this guide will be helpful.
newbie
Activity: 5
Merit: 0
im getting:

failed to build program.
Failed to initialize device number 0.

Anyone a clue how to fix this?

Opencl shows the devices like it should.
ETHminer works without a problem.

Hopefully someone can help or point me into the right direction.

Thanks.
copper member
Activity: 69
Merit: 0
Best linux miner ever!
newbie
Activity: 44
Merit: 0
This is for the first time when I am seeing a miner so damn quick.
newbie
Activity: 72
Merit: 0
There are some better resutls that one can see here and it is good.
newbie
Activity: 197
Merit: 0
HELP!! tdxminer on the hiveos  stop every time!!!!

stop after temperature 85
how change AMD rx570 overlocking??? LOW WATT!!! or HIGH 85 temp....

look photo!!!
http://digitalux.ru/forum/index.php?attachments/1533675900289-png.11/




contact me @ telegram with id @alizali
i can help you solve your problem
sr. member
Activity: 756
Merit: 250
HELP!! tdxminer on the hiveos  stop every time!!!!

stop after temperature 85
how change AMD rx570 overlocking??? LOW WATT!!! or HIGH 85 temp....

look photo!!!
http://digitalux.ru/forum/index.php?attachments/1533675900289-png.11/




Did you try aggressive undervolting?
My rig went feom 700w to 500w same speed 3.5mh each rx 480
nx5
newbie
Activity: 134
Merit: 0
HELP!! tdxminer on the hiveos  stop every time!!!!

stop after temperature 85
how change AMD rx570 overlocking??? LOW WATT!!! or HIGH 85 temp....

look photo!!!
http://digitalux.ru/forum/index.php?attachments/1533675900289-png.11/


newbie
Activity: 42
Merit: 0
There were certain speeds that were indicated before and you must be aware.
member
Activity: 412
Merit: 21
Its latest ROCm and Ubuntu 16.04. It works fine on my rigs with installed cards in big PCIe slots. But whenever I tried to run it with USB risers, it does not see the cards in ROCm, so TDXminer will not work. No error, nothing, simply doesnt see the cards. Thats why I asked how he made it working even in the smaller PCIe slots with the USB risers.

Iam not a Linux Pro Sad

I can help you with that. I'm using only usb risers and 16gb usb stick for linux instead of hdd/ssd. Its easy to setup.
Fresh install ubuntu 16.04
sudo apt update
sudo apt upgrade
rocm.github.io
Follow installation guide.
Download tdxminer
setup script to run miner, same like creating .bat file on windows.
at the beginning
./tdxminer .... etc...
chmod +x gin
./gin

Enjoy.
If you still need help, let me know.

This is exactly what I have done a few times now. Also tried to set slots in Bios to Gen 1, 2, 3, Auto... No luck. ROCm can only see cards directly connected to the bigger PCIe slots, but no cards connected with USB risers. They simply wont shown up.

I think thats the same exactly problem much users here have too. So any solution is welcome. Maybe there is some special trick, but anyone just forgot to tell Smiley
full member
Activity: 602
Merit: 114
Anyone help why do i get this the same error in my two different rigs

Edit: i used this command and re-installed tdxminer and working now! By the way if you have more than 3 rigs you have to pay fee for HiveOs or you cant monitor and you cant setup it.

custom-get http://download.hiveos.farm/custom/tdxminer-0.2.2.2.tar.gz -f




newbie
Activity: 16
Merit: 0
Its latest ROCm and Ubuntu 16.04. It works fine on my rigs with installed cards in big PCIe slots. But whenever I tried to run it with USB risers, it does not see the cards in ROCm, so TDXminer will not work. No error, nothing, simply doesnt see the cards. Thats why I asked how he made it working even in the smaller PCIe slots with the USB risers.

Iam not a Linux Pro Sad

I can help you with that. I'm using only usb risers and 16gb usb stick for linux instead of hdd/ssd. Its easy to setup.
Fresh install ubuntu 16.04
sudo apt update
sudo apt upgrade
rocm.github.io
Follow installation guide.
Download tdxminer
setup script to run miner, same like creating .bat file on windows.
at the beginning
./tdxminer .... etc...
chmod +x gin
./gin

Enjoy.
If you still need help, let me know.
Pages:
Jump to: