Pages:
Author

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

newbie
Activity: 5
Merit: 0
I tried running rxoc but I get a scrolling error, its hard to read but looks like error PCIe

Running an ASUS Prime H270-Plus, 8Gb RAM 4x RX470/ RX570. Have tried flashing the BIOS, enabling Above 4Gb decoding and setting PCIe to Gen 2.
Anything else I can try?
full member
Activity: 144
Merit: 100
Any plans to implement the blockchain driver from AMD?

Yes, I will use this driver for the next version.

Any estimates on when the next version is coming out? Smiley
newbie
Activity: 5
Merit: 0
Can you set individual OC for different cards?

Currently no; rxOC does not support individual OC: mostly because the AMD API is shite.  I am now working on a new rxOC version.
Thanks for your reply.

Is the overclocking in the rxOC oneBash file a level i.e. 1-10 rather than MHz as in the nvOC?
full member
Activity: 144
Merit: 100
Any plans to implement the blockchain driver from AMD?
newbie
Activity: 60
Merit: 0
Is it possible to set a resolution for Teamviewer, when there is no monitor connected to the rig? Because now I get a very low resolution.

I already looked here: https://wiki.ubuntu.com/X/Config/Resolution, but I am still a Linux beginner.

What do I have to do when I want to set the resolution to 1280 x 1024 for example?
newbie
Activity: 5
Merit: 0
Can you set individual OC for different cards?
newbie
Activity: 4
Merit: 0
I still need to mess around with the direct amd api commands. In my experience so far; the current amd api is absolute rubbish for the exact reason you are describing above.  AMD has announced they are making a new mining driver and api, hopefully it is as good as nvidia's.  I will look into making the current amd api OC better (it has to be possible as it can be done by the windows OC applications) probably after I finish nvOC v0019 and translate as many of the v0019 features to rxOC as possible.

Thank you for the quick response and sanity-check.

I've had to abandon my late night trouble-shooting due to other affairs, but I'll be back to continue in a few weeks. In case you're curious, I left off attempting a clean Ubuntu desktop install (kernel 4.10.5) with AMDGPU-Pro 16.60 drivers. Also found it surprising that wolfamdctrl binary was so difficult to obtain - however, managed to pluck v1.2 from a "simple" OS as was trying that next as well...

Anyway - appreciate all your efforts into this distro. I'll certainly let you know if I come across anything substantial before you figure it out yourself.
newbie
Activity: 4
Merit: 0
Hi fullzero and all.

Really...REALLY like the NvOC OS for my nVidia cards - using v17 without any hiccups for over a month now.

However, trying to spin up a 12-rig tb250-btc pro rig at the moment using rxOC v0012 and finding that I'm completely incapable of lowering the power consumption of the GPUs.

How can I verify that the MEMORY_OVERCLOCK_LEVEL and __CORE_OVERCLOCK_LEVEL parameters are actually doing what they're supposed to? The rocm-smi utility shows that the lower levels aren't being utilized properly...I'm either at the lowest level or highest, depending on the PERFORMANCE_LEVEL variable alone. So...sadly, it seems I can't get a middle ground.

No issues with these same cards (mix of RX580 Nitro+ and Pulse) within Windows.

Did some digging around with other mining OS and found that two of the big ones use wolfamdctrl to modify core-state and mem-state as well, but I haven't had any luck with that utility, either. The only values I seem to be able to change between rocm-smi and wolfamdctrl are the Fan speeds, memclock/core-clock, and overall Performance Level. Also, modifying the pp_tables directly by using 'echo manual > /sys/class/drm/card*/device/power_dpm_force_performance_level" and similar shows that nothing sticks.

All the work is being done under root - so I know it's not permission. It's almost as if something is overwriting every change I'm making, although nothing is jumping out at me...

Any ideas?

Here's an easy to see example of what I'm talking about:
root@bad:/home/m1# echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_level
root@bad:/home/m1# more /sys/class/drm/card0/device/power_dpm_force_performance_level
auto

newbie
Activity: 1
Merit: 0
Thank you fullzero for your awesome work.
Having configured the BIOS according to the guide and added "pci=noaer" as well as "pcie_aspm=off" to the grub boot parameter, I can successfully boot the machine. Currently I face a few problem with my 12 R9 390X rig. First, it boots into low graphics mode, which isn't too bad as there is still a terminal for me to run oneBash. However oneBash always hangs here.
http://imgur.com/thIws8b
I tried running Genoil and Claymore in ~/eth/Genoil and ~/eth/9_5 respectively and both ran into the "GPU fault detected:147" just after a few seconds of mining.
http://imgur.com/E36sdze
Dividing the GPUs into separated Claymore sessions helps but I have never been successful in running all the 12 GPUs. While ubuntu recognises all 12 GPU judging from lspci output, if more than 8 GPU is mining the error "GPU fault detected:147" will appear.
Any hint on how to solve these problems?

Hardware: Biostar TB-250 Pro Ver.6, Intel Celeron G3930, 4GB Ram, 3x 1200W Server PSU, 12x R9 390X.
IVB
newbie
Activity: 2
Merit: 0
Hi, fullzero.

First of all - thanks for your work.

You are using 17.10 AMD driver in your build. But latest AMD driver for RX series is 17.30. Does it make sense to use latest version of driver?
newbie
Activity: 81
Merit: 0


I tried again a MSI Z270 gamining PLUS, only one gpu connected to the monitor, disabled avobe 4g memory, and it worked.
If I enable 4g, the screen gets like this http://imgur.com/a/w8sSc . Dont even reach grub.
I tried in UEFI and Legacy, and PCI gen 1 and 2.

Have you tried updating the bios on this motherboard?  

Hi,

Got the same problem here.

I'm using MSI Z270-A PRO, when I enable above 4g memory in BIOS, I get that broken screen as in the link posted by Zucca. All my GPUs are Saphire RX 580.

Interesting enough, I used the same board with nvOC and 6x1080ti and did not have the problem. I'm using the latest BIOS.

Also another problem only in rxOC is that the Ubuntu doesn't recognize the network adapter on the mainboard. Worked fine on nvOC, only broken on rx0C. Any ideas?

Hello,
The causes can be many, it is really hard to tell, I wasnt able solve the problem with this OS so I moved to Windows.
From the experience I have, a main diferrence between Windows and Linux is the driver, when linux amd driver cannot load a GPU, it fails and stops booting, Windows, in contrast, boots anyway and it hits you with a error message in the device manager o simply doesnt recognize the card.
I know that the main cause of blank screen when enabling 4G, is due to the amd driver not working properly.
What I think it could happened to me, some risers worked unstably and caused driver failures.
When you try to solve mining related issues, you have to make sure that the risers are working, otherwise you will get some errors that will be problematic to identify.
Probably nvidia drivers work different to amd.

@Edit: This guide should help you, https://drive.google.com/file/d/0B-Z98LONNR0hTGM0Y0ViR0VXS2c/view
newbie
Activity: 25
Merit: 0


I tried again a MSI Z270 gamining PLUS, only one gpu connected to the monitor, disabled avobe 4g memory, and it worked.
If I enable 4g, the screen gets like this http://imgur.com/a/w8sSc . Dont even reach grub.
I tried in UEFI and Legacy, and PCI gen 1 and 2.

Have you tried updating the bios on this motherboard? 

Hi,

Got the same problem here.

I'm using MSI Z270-A PRO, when I enable above 4g memory in BIOS, I get that broken screen as in the link posted by Zucca. All my GPUs are Saphire RX 580.

Interesting enough, I used the same board with nvOC and 6x1080ti and did not have the problem. I'm using the latest BIOS.

Also another problem only in rxOC is that the Ubuntu doesn't recognize the network adapter on the mainboard. Worked fine on nvOC, only broken on rx0C. Any ideas?
IVB
newbie
Activity: 2
Merit: 0
Hi.

Have two questions.

1. How I can boot without onebash? In pure linux.

2. Are any debugging mechanisms exist? After 1st boot have clean black screen - need to determine reason.

This is 1st time loading rxOC...
sr. member
Activity: 301
Merit: 251
If anyone is interested here is my MiningPoolHub setup for rxOC -
MPH auto adds your workers so you don't even have to go and set them up first...

# MPH (MININGPOOLHUB)
 
COIN="MPH"

MPH_WORKER="$IP_AS_WORKER"
MPH_ADDRESS="WhatEver"
MPH_POOL="us-east.ethash-hub.miningpoolhub.com:12020"  (This is the auto-switching port)


if [ $COIN == "MPH" ]
then
HCD='/home/m1/eth/Genoil/ethminer'
ADDR="$MPH_ADDRESS.$MPH_WORKER"
$HCD -S $MPH_POOL -O $ADDR:x -G
fi

You can edit this last part if you want Claymore....
If your using Nvidia and nvOC make sure to see Scott Alfter's awesomeness at https://gitlab.com/salfter/mph_switch
sr. member
Activity: 301
Merit: 251
Mining some SIGT on rxOC with 3 AMD R9 390's




Now to do some calcs on whattomine and see if this is even profitable lol...if so take all the other rigs over
sr. member
Activity: 301
Merit: 251
@Fullzero -

Can you give some instructions on installing all the flavors of ccminer on the RXoc build? I tired it myself but got errors when running "make" about cuda. Kind of a linux noob here, but I wanna try mining some of the new SIGT coin.

Thank you

ccminer is for Nvidia GPUs only.

Ok thanks...I think this will do it

https://github.com/tpruvot/sgminer

Testing...

Nope failed on make again. I just don't understand enough linux to install this stuff.

sudo apt-get install libcurl4-openssl-dev pkg-config libtool libncurses5-dev
sudo git clone https://github.com/tpruvot/sgminer.git
cd sgminer
sudo ./autogen.sh
sudo ./configure
sudo make

m1@m1-desktop:~/sgminer$ sudo make
make  all-recursive
make[1]: Entering directory '/home/m1/sgminer'
Making all in lib
make[2]: Entering directory '/home/m1/sgminer/lib'
make  all-recursive
make[3]: Entering directory '/home/m1/sgminer/lib'
make[4]: Entering directory '/home/m1/sgminer/lib'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/m1/sgminer/lib'
make[3]: Leaving directory '/home/m1/sgminer/lib'
make[2]: Leaving directory '/home/m1/sgminer/lib'
Making all in submodules
make[2]: Entering directory '/home/m1/sgminer/submodules'
Making all in jansson
make[3]: Entering directory '/home/m1/sgminer/submodules/jansson'
make[3]: *** No rule to make target 'all'.  Stop.
make[3]: Leaving directory '/home/m1/sgminer/submodules/jansson'
Makefile:514: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/m1/sgminer/submodules'
Makefile:1790: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/m1/sgminer'
Makefile:664: recipe for target 'all' failed
make: *** [all] Error 2


Any help would be appreciated. Thanks


Guessing based on your errors:

clone or download:

Code:
https://github.com/akheron/jansson.git

and place the contents in the
Code:
'/home/m1/sgminer/submodules/jansson' 

directory and try again


Figured it out. For anyone at home playing along here it is -

First blow away any sgminer folder you have

A: sudo rm -rf sgminer
B: Go get the new sgminer with skunk  - sudo git clone https://github.com/tpruvot/sgminer.git
C: Jump in the sgminer folder - cd sgminer
D: sudo git submodule init
E: sudo git submodule update
F: sudo autoreconf -i
G: sudo CFLAGS="-O2 -Wall -march=native" ./configure
H: sudo make

Now go set up 1bash for SIGT and go get some Smiley

sr. member
Activity: 301
Merit: 251
@Fullzero -

Can you give some instructions on installing all the flavors of ccminer on the RXoc build? I tired it myself but got errors when running "make" about cuda. Kind of a linux noob here, but I wanna try mining some of the new SIGT coin.

Thank you

ccminer is for Nvidia GPUs only.

Ok thanks...I think this will do it

https://github.com/tpruvot/sgminer

Testing...

Nope failed on make again. I just don't understand enough linux to install this stuff.

sudo apt-get install libcurl4-openssl-dev pkg-config libtool libncurses5-dev
sudo git clone https://github.com/tpruvot/sgminer.git
cd sgminer
sudo ./autogen.sh
sudo ./configure
sudo make

m1@m1-desktop:~/sgminer$ sudo make
make  all-recursive
make[1]: Entering directory '/home/m1/sgminer'
Making all in lib
make[2]: Entering directory '/home/m1/sgminer/lib'
make  all-recursive
make[3]: Entering directory '/home/m1/sgminer/lib'
make[4]: Entering directory '/home/m1/sgminer/lib'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/m1/sgminer/lib'
make[3]: Leaving directory '/home/m1/sgminer/lib'
make[2]: Leaving directory '/home/m1/sgminer/lib'
Making all in submodules
make[2]: Entering directory '/home/m1/sgminer/submodules'
Making all in jansson
make[3]: Entering directory '/home/m1/sgminer/submodules/jansson'
make[3]: *** No rule to make target 'all'.  Stop.
make[3]: Leaving directory '/home/m1/sgminer/submodules/jansson'
Makefile:514: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/m1/sgminer/submodules'
Makefile:1790: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/m1/sgminer'
Makefile:664: recipe for target 'all' failed
make: *** [all] Error 2


Any help would be appreciated. Thanks







sr. member
Activity: 301
Merit: 251
@Fullzero -

Can you give some instructions on installing all the flavors of ccminer on the RXoc build? I tired it myself but got errors when running "make" about cuda. Kind of a linux noob here, but I wanna try mining some of the new SIGT coin.

Thank you
sr. member
Activity: 301
Merit: 251
I suggest bios modding your AMD cards if your mining on Linux. No real good tools for OC'ing and stuff.
You can set your default clock speeds in the bios and be done with it.

I did some quick tests with the numbers I know from Windows 10 that I used in MSI Afterburner. In Ubuntu I got at the beginning almost the same hashrates as in Windows, but unfortunately Claymore hangs after 5 minutes because of OpenCL errors. Next week I finally have some more free time and will experiment a bit more with the bios to get higher hashrates. I'm getting 23,4 Mh/s now and in Windows 10 I got about 28,5 Mh/s so that's a 30 Mh/s difference with a 6 card rig. But Windows is not an option anymore with my AMD cards, it was giving me a lot of headache Wink


My owner and I made OhGodATool for this - and it works well. Claymore's options for voltage, fanspeed, and clocks do nothing on *nix.

That sounds great for future implementation. You are right about Claymore, I tried -cclock and -mclock but it does nothing.

Oops sorry was thinking Windows when I wrote that. Claymore  does't support clock speeds on Linux. Although I don't need these tools as I bios modded a million cards I will definitely check out OhGodATool for the future.
newbie
Activity: 60
Merit: 0
I suggest bios modding your AMD cards if your mining on Linux. No real good tools for OC'ing and stuff.
You can set your default clock speeds in the bios and be done with it.

I did some quick tests with the numbers I know from Windows 10 that I used in MSI Afterburner. In Ubuntu I got at the beginning almost the same hashrates as in Windows, but unfortunately Claymore hangs after 5 minutes because of OpenCL errors. Next week I finally have some more free time and will experiment a bit more with the bios to get higher hashrates. I'm getting 23,4 Mh/s now and in Windows 10 I got about 28,5 Mh/s so that's a 30 Mh/s difference with a 6 card rig. But Windows is not an option anymore with my AMD cards, it was giving me a lot of headache Wink


My owner and I made OhGodATool for this - and it works well. Claymore's options for voltage, fanspeed, and clocks do nothing on *nix.

That sounds great for future implementation. You are right about Claymore, I tried -cclock and -mclock but it does nothing.
Pages:
Jump to: