Pages:
Author

Topic: [OS] rxOC easy-to-use Linux AMD Mining v_stopgap - page 15. (Read 31393 times)

hero member
Activity: 672
Merit: 500
First off, can't thank you enough for your contributions to the community. nvOC was a huge help for me to get my Nvidia cards up and running.

I am wondering why in this version you have set numbers for core and memory clocks? Also why there is no option to limit the power? Ive been trying to figure out a way to limit power for quite a while.

Also, there any way to find out what type of memory my gpu has within this os? I would rather not flash the cards but if thats the only way than I'll do it.

https://github.com/sling00/amdmeminfo
use this to get memory info

i would mod the bios with at least the 1500 strap
to get those extra hashes Tongue


bones2 see:

https://bitcointalksearch.org/topic/m.19903798

xleejohnx:

https://github.com/sling00/amdmeminfo

this is use full I will add it to the next version of rxOC.




check into atiflash i couldnt use it in while it was in it current folder
had to install it into another fold.. /usr/local/bin is where i put it
legendary
Activity: 1260
Merit: 1009
After trying nvOC I decided to try rxOC. It works, but I have few questions.

My test rx470 rig has modified BIOS with low voltage levels (around 950mV for GPU, for instance). Under Windows I used WattTool to alter clocks and voltages as well. But if I didn't run WattTool, I had BIOS-defined low voltages and clocks.

Now under rxOC I set GPU clock to 6 (of 7 max). It runs but I have 200 more watts for 6 GPUs comparing to Windows system. Using rocm-smi, I realised that GPU still runs at level 7. After explicit command to set it to lower levels (say, 5 or 6), I can see it set for few seconds, and then it immediately reset to level 7. I read that change is active until another OpenCL program is started. So I tried to change it before Claymore's miner, and after it started - nothing helped.

In addition, since power usage is much more than under Windows, I guess that drivers ignore BIOS voltage levels and set them explicitly to some defaults (at least, I read about that on Windows some day).

So in short, all rx470 run and maximum clocks and use some high voltages and not those written in the BIOS.

Any suggestions? I wish I can have the same power and performance as on Windows system. Hash rate is a bit lower comparing to Windows one (around 0.5-0.7 MH/s per card), and it might be the difference between Linux and Windows miner timers (it always was for fglrx as well). But what about voltages? Please advise!

For now the best solution is to use the Polaris bios editor in windows to make a custom rom with all your desired settings.  If you do this I highly recommend backing up your original rom + watching several you tube guides before you do so; if you aren't familiar with Polaris bios editor.  Also it is best to mod one card first and make sure it is working as intended before modding more.

Be aware whenever making / flashing a custom rom you may damage your GPU if something goes wrong.  I take no responsibility for potential damage from incorrect modding / spurious errors during the process.

legendary
Activity: 1260
Merit: 1009
First off, can't thank you enough for your contributions to the community. nvOC was a huge help for me to get my Nvidia cards up and running.

I am wondering why in this version you have set numbers for core and memory clocks? Also why there is no option to limit the power? Ive been trying to figure out a way to limit power for quite a while.

Also, there any way to find out what type of memory my gpu has within this os? I would rather not flash the cards but if thats the only way than I'll do it.

https://github.com/sling00/amdmeminfo
use this to get memory info

i would mod the bios with at least the 1500 strap
to get those extra hashes Tongue


bones2 see:

https://bitcointalksearch.org/topic/m.19903798

xleejohnx:

https://github.com/sling00/amdmeminfo

this is use full I will add it to the next version of rxOC.


sr. member
Activity: 353
Merit: 251
After trying nvOC I decided to try rxOC. It works, but I have few questions.

My test rx470 rig has modified BIOS with low voltage levels (around 950mV for GPU, for instance). Under Windows I used WattTool to alter clocks and voltages as well. But if I didn't run WattTool, I had BIOS-defined low voltages and clocks.

Now under rxOC I set GPU clock to 6 (of 7 max). It runs but I have 200 more watts for 6 GPUs comparing to Windows system. Using rocm-smi, I realised that GPU still runs at level 7. After explicit command to set it to lower levels (say, 5 or 6), I can see it set for few seconds, and then it immediately reset to level 7. I read that change is active until another OpenCL program is started. So I tried to change it before Claymore's miner, and after it started - nothing helped.

In addition, since power usage is much more than under Windows, I guess that drivers ignore BIOS voltage levels and set them explicitly to some defaults (at least, I read about that on Windows some day).

So in short, all rx470 run and maximum clocks and use some high voltages and not those written in the BIOS.

Any suggestions? I wish I can have the same power and performance as on Windows system. Hash rate is a bit lower comparing to Windows one (around 0.5-0.7 MH/s per card), and it might be the difference between Linux and Windows miner timers (it always was for fglrx as well). But what about voltages? Please advise!
hero member
Activity: 672
Merit: 500
First off, can't thank you enough for your contributions to the community. nvOC was a huge help for me to get my Nvidia cards up and running.

I am wondering why in this version you have set numbers for core and memory clocks? Also why there is no option to limit the power? Ive been trying to figure out a way to limit power for quite a while.

Also, there any way to find out what type of memory my gpu has within this os? I would rather not flash the cards but if thats the only way than I'll do it.

https://github.com/sling00/amdmeminfo
use this to get memory info

i would mod the bios with at least the 1500 strap
to get those extra hashes Tongue
newbie
Activity: 10
Merit: 0
First off, can't thank you enough for your contributions to the community. nvOC was a huge help for me to get my Nvidia cards up and running.

I am wondering why in this version you have set numbers for core and memory clocks? Also why there is no option to limit the power? Ive been trying to figure out a way to limit power for quite a while.

Also, there any way to find out what type of memory my gpu has within this os? I would rather not flash the cards but if thats the only way than I'll do it.
legendary
Activity: 1260
Merit: 1009

I am sure a lot of members will use this.  Thanks for making this implementation.  Smiley

I have been updating the nvOC oneBash and I will add your implementation as well.  I will add it to a new rxOC oneBash after I implement some of the requested changes.

I don't have an SRR; so I'm not sure;

In the SRR file there are some variables:

Code:
srrSerial="000055"
srrSlot="1"

do these need to be changed in your SRR bash when using different SRRs or slots?


i added this to the OP!

Thanks,

I will add these variables to oneBash and have them read into your SRR bash to make setup easier. 

Thanks again for enabling SRR use with rxOC and nvOC.   Grin

legendary
Activity: 1260
Merit: 1009
Smiley SUCCESS  Smiley

I have successfully created another rig with 5 AMD cards and achieved the same speed as windows!

I modded all 5 cards bios's again and this time hard set my clocks and even went ahead and undervolted them slightly while I was in there.

Results? I am actually 5 MH/s average OVER my Win10 build.

Thank you FullZero for help and ideas...



Glad its working for you.   Smiley

This is what I do with all my AMD rigs; it works well.  OPT clocks + linux stability FTW.

sr. member
Activity: 301
Merit: 251
 Smiley SUCCESS  Smiley

I have successfully created another rig with 5 AMD cards and achieved the same speed as windows!

I modded all 5 cards bios's again and this time hard set my clocks and even went ahead and undervolted them slightly while I was in there.

Results? I am actually 5 MH/s average OVER my Win10 build.

Thank you FullZero for help and ideas...





hero member
Activity: 672
Merit: 500

I am sure a lot of members will use this.  Thanks for making this implementation.  Smiley

I have been updating the nvOC oneBash and I will add your implementation as well.  I will add it to a new rxOC oneBash after I implement some of the requested changes.

I don't have an SRR; so I'm not sure;

In the SRR file there are some variables:

Code:
srrSerial="000055"
srrSlot="1"

do these need to be changed in your SRR bash when using different SRRs or slots?


i added this to the OP!
legendary
Activity: 1260
Merit: 1009
When I typed password, ubuntu asking me again and again it

There are two reasons this is likely to be happening.

Are you using a mixed rig of Nvidia and AMD GPUs?  If so this OS will not work.

The USB or SSD might have an error with its image.  If you are using all AMD GPUs I recommend reimaging the USB or SSD.


What are the components of your rig?  (mainly) mobo / CPU / GPUs
newbie
Activity: 26
Merit: 0
When I typed password, ubuntu asking me again and again it
legendary
Activity: 1260
Merit: 1009
Okay here we go

first off usb choices

https://www.amazon.com/gp/product/B00KYK2AKO/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1
https://www.amazon.com/gp/product/B00T61JM4E/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1

i have both of these and tested them and IN MY ENVIRONMENT it hasnt been the best choice

so i use this drive and its awesome! it loads faster for me and is stable

https://www.amazon.com/SanDisk-Cruzer-Low-Profile-Drive-SDCZ33-016G-B35/dp/B005FYNSZA/ref=sr_1_6?ie=UTF8&qid=1499032154&sr=8-6&keywords=sandisk+usb+flash+drive

now imaging the drives i use etcher because its just simple and plain easy to use. plus it also does drive checks it can be found here

https://etcher.io/

when setting up the onebash first thing is first i dont cpu mine. all of my miners have slow dual core intel cpus so its just meh to even try
with that i do use a SRR which if you dont have one you are not living right go here https://shop.simplemining.net/ and get one

if you dont have an SRR then you dont need this

now somewhere before plusCPU add this line

Code:
SRR="YES"

example http://imgur.com/JbQLcF4

then move down in the onebash file to right before plusCPU == YES add this right before it

Code:
if [ $SRR == "YES" ]
then
HCD='SRR'
guake -r $HCD -e "bash /media/m1/1263-A96E/SRR"
fi

example http://imgur.com/O6aQ7US

before saving make sure you change your address and pools around!! then save the file

here is mine if it helps  https://drive.google.com/file/d/0B0614dRHRS0RNXU0STR0U1hWWlE/view?usp=sharing

now before you pull out the usb you need to add in this file in the same section as onebash https://drive.google.com/file/d/0B0614dRHRS0RLWgtOS1OSlV6dDA/view?usp=sharing
with this file you have to edit it just like the onebash file for it to be able to work with your SRR

i use custom bios on all of my rx cards i copy straps and bump up the memory just a little get a solid 25 mhs all the time even when dual mining
also i use this https://github.com/sling00/amdmeminfo to find out info about the cards i have and its easy to install

i use an overdrive setting of 10 tried 15 nothing changed and 18 crashed the system
so 10-15 did nothing for me and that was with a core lock level of 7 moved to 3 for now
the fan setting is at 230

Over the next few weeks ill keep testing the system with different settings to see if i can find a sweet spot
also ill keep the posted updated with anything new i find worth sharing

thanks fullzero for a nice mining experience with this OS

I am sure a lot of members will use this.  Thanks for making this implementation.  Smiley

I have been updating the nvOC oneBash and I will add your implementation as well.  I will add it to a new rxOC oneBash after I implement some of the requested changes.

I don't have an SRR; so I'm not sure;

In the SRR file there are some variables:

Code:
srrSerial="000055"
srrSlot="1"

do these need to be changed in your SRR bash when using different SRRs or slots?
legendary
Activity: 1260
Merit: 1009
Why not modify oneBash to be like the one for Linux?

Have individual card settings?

I don't anybody that mines with AMD that hasn't modified the straps in the bios and then uses some OC tool to set the clocks.

So instead of

# select level: to see supported clocks scroll to the top of the mining process
__CORE_OVERCLOCK_LEVEL=7   # for ETH use lowest without decreasing the hashrate / Highest for ZEC
MEMORY_OVERCLOCK_LEVEL=2   # use highest level

How about -

INDIVIDUAL_CLOCKS="YES"         # YES NO
 
# Set individual clocks here if INDIVIDUAL_CLOCKS="YES"
__CORE_OVERCLOCK_0=100
MEMORY_OVERCLOCK_0=1000
 
__CORE_OVERCLOCK_1=100
MEMORY_OVERCLOCK_1=350
 
__CORE_OVERCLOCK_2=100
MEMORY_OVERCLOCK_2=100
 
__CORE_OVERCLOCK_3=100
MEMORY_OVERCLOCK_3=100
 
__CORE_OVERCLOCK_4=100
MEMORY_OVERCLOCK_4=100
 
__CORE_OVERCLOCK_5=100
MEMORY_OVERCLOCK_5=100
 
__CORE_OVERCLOCK_6=100
MEMORY_OVERCLOCK_6=100
 
__CORE_OVERCLOCK_7=100
MEMORY_OVERCLOCK_7=100
 
__CORE_OVERCLOCK_8=100
MEMORY_OVERCLOCK_8=100
 
__CORE_OVERCLOCK_9=100

Just asking

I can implement individual card settings: I will add it to the list.

I always changed my clocks when I changed straps; makes sense to me.

I can make an implementation that uses numerical clockspeeds.  The main difficultly is that AMD has implemented their rx series api with these nonsense levels; I have no idea what they were thinking.  Their older api was great and now they have this level business.

Anyway I will add a actual clockspeed implementation to the list as well.

 I agree that this is the way it should be.

hero member
Activity: 672
Merit: 500
Okay here we go

to get amd memory info this works great https://github.com/sling00/amdmeminfo

first off usb choices

https://www.amazon.com/gp/product/B00KYK2AKO/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1
https://www.amazon.com/gp/product/B00T61JM4E/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1

i have both of these and tested them and IN MY ENVIRONMENT it hasnt been the best choice

so i use this drive and its awesome! it loads faster for me and is stable

https://www.amazon.com/SanDisk-Cruzer-Low-Profile-Drive-SDCZ33-016G-B35/dp/B005FYNSZA/ref=sr_1_6?ie=UTF8&qid=1499032154&sr=8-6&keywords=sandisk+usb+flash+drive

now imaging the drives i use etcher because its just simple and plain easy to use. plus it also does drive checks it can be found here

https://etcher.io/

when setting up the onebash first thing is first i dont cpu mine. all of my miners have slow dual core intel cpus so its just meh to even try
with that i do use a SRR which if you dont have one you are not living right go here https://shop.simplemining.net/ and get one

if you dont have an SRR then you dont need this

now somewhere before plusCPU add this line

Code:
SRR="YES"

example http://imgur.com/JbQLcF4

then move down in the onebash file to right before plusCPU == YES add this right before it

Code:
if [ $SRR == "YES" ]
then
HCD='SRR'
guake -r $HCD -e "bash /media/m1/1263-A96E/SRR"
fi

example http://imgur.com/O6aQ7US

before saving make sure you change your address and pools around!! then save the file

here is mine if it helps  https://drive.google.com/file/d/0B0614dRHRS0RNXU0STR0U1hWWlE/view?usp=sharing

now before you pull out the usb you need to add in this file in the same section as onebash https://drive.google.com/file/d/0B0614dRHRS0RLWgtOS1OSlV6dDA/view?usp=sharing
with this file you have to edit it just like the onebash file for it to be able to work with your SRR
edit these line

Code:
srrEnabled="1"
srrSerial="000055"
srrSlot="1"

make sure its a 1 to enable it. change the serial number to match up to the one you have and make sure the slot number is correct

example here http://imgur.com/uVjeV2a


i use custom bios on all of my rx cards i copy straps and bump up the memory just a little get a solid 25 mhs all the time even when dual mining
also i use this https://github.com/sling00/amdmeminfo to find out info about the cards i have and its easy to install

i use an overdrive setting of 10 tried 15 nothing changed and 18 crashed the system
so 10-15 did nothing for me and that was with a core lock level of 7 moved to 3 for now
the fan setting is at 230

Over the next few weeks ill keep testing the system with different settings to see if i can find a sweet spot
also ill keep the posted updated with anything new i find worth sharing

thanks fullzero for a nice mining experience with this OS

just some pictures of the rig and it mining
http://imgur.com/wt2sUXM
http://imgur.com/edLbffp
http://imgur.com/x2LDNnn
sr. member
Activity: 301
Merit: 251
Why not modify oneBash to be like the one for Linux?

Have individual card settings?

I don't anybody that mines with AMD that hasn't modified the straps in the bios and then uses some OC tool to set the clocks.

So instead of

# select level: to see supported clocks scroll to the top of the mining process
__CORE_OVERCLOCK_LEVEL=7   # for ETH use lowest without decreasing the hashrate / Highest for ZEC
MEMORY_OVERCLOCK_LEVEL=2   # use highest level

How about -

INDIVIDUAL_CLOCKS="YES"         # YES NO
 
# Set individual clocks here if INDIVIDUAL_CLOCKS="YES"
__CORE_OVERCLOCK_0=100
MEMORY_OVERCLOCK_0=1000
 
__CORE_OVERCLOCK_1=100
MEMORY_OVERCLOCK_1=350
 
__CORE_OVERCLOCK_2=100
MEMORY_OVERCLOCK_2=100
 
__CORE_OVERCLOCK_3=100
MEMORY_OVERCLOCK_3=100
 
__CORE_OVERCLOCK_4=100
MEMORY_OVERCLOCK_4=100
 
__CORE_OVERCLOCK_5=100
MEMORY_OVERCLOCK_5=100
 
__CORE_OVERCLOCK_6=100
MEMORY_OVERCLOCK_6=100
 
__CORE_OVERCLOCK_7=100
MEMORY_OVERCLOCK_7=100
 
__CORE_OVERCLOCK_8=100
MEMORY_OVERCLOCK_8=100
 
__CORE_OVERCLOCK_9=100

Just asking
legendary
Activity: 1260
Merit: 1009
legendary
Activity: 1260
Merit: 1009
I posted this on the other topic, but this is the OS I am using:
I am trying to start using your operating system. Unfortunately I am not able to properly start it.
This is what I am getting at login:

http://imgur.com/a/2U3Wr


Does it work with R9 Fury GPUs?

It should work with R9 fury GPUs.

You have a disk error.  Ubuntu grubloader will attempt to repair the error; if you wait a long time it might repair it and boot; but I would do the following:

Reimage the USB key; like so:

first check and see if your zip has downloaded correctly by following the directions here:

https://bitcointalksearch.org/topic/m.19757170

If your zip produced the same hash it is good.

Maybe you imaged from the zip without extracting?

Ensure that you extract the image before imaging.

After imaging is complete, and you have configured and saved oneBash:

ensure that you properly eject the USB key.

Let me know if this works.



I did it all the process again, downloading, checking, extracting, flashing.
Same error Sad .
I am using an 32Gb Adata USB Key.

What motherboard are you using?

Gygabyte GA-170x-ud3 with disabled audio controller.
I am currently mining with an Ubuntu Server


Maybe this will work:

Ensure the monitor is connected to the primary GPU ( the one in the 16x slot closest to the CPU )

Disconnect the USB or SSD/HHD from the rig.

Fully power off everything: including the PSU.

Press the power button several times to clear any remaining power in the mobo.

Turn the PSU powerswitch back to | "on".

power on (without the USB attached)

See if the bios posts; if you get nothing in 20 seconds; press ctrl + alt + del repeatedly until the system reboots.

Wait and see if the bios posts.

If the bios posts attach the USB key to a USB 2.0 port and press ctrl + alt + delete.


if it boots; stop the mining process before it starts mining:

then go to the top left and click the ubuntu button

type u

and click on software updater

run updates

reboot

Let me know if this works.
sr. member
Activity: 301
Merit: 251
Just launched second rxOC rig with 4 AMD's.

Exact same issue!

Doing some testing and editing of oneBash....I'll let ya know how it goes
sr. member
Activity: 854
Merit: 277
liife threw a tempest at you? be a coconut !


Question is easy. How do I tune Linux version to get speeds near Windows?




===================   ROCm System Management Interface   ===================
GPU[0]       : Unable to set clock to unsupported Level - Max Level is 1
GPU[1]       : Unable to set clock to unsupported Level - Max Level is 1  <----WHAT'S HAPPENING HERE?
GPU[2]       : Unable to set clock to unsupported Level - Max Level is 2
===================          End of ROCm SMI Log         ===================



that's the question that may kill gpu mining. the point of gpus mining was to be able to decentralize mining, actually btc mining is more accessible than gpus mining. There is a solution to easy oc with ubuntu as ethos and this have the functionality. however it's not released publicly. Asics or PoS.
Pages:
Jump to: