Bitcoin Forum
September 04, 2025, 10:41:32 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 »  All
  Print  
Author Topic: [OS] rxOC easy-to-use Linux AMD Mining v_stopgap  (Read 31499 times)
Zucca
Newbie
*
Offline Offline

Activity: 81
Merit: 0


View Profile
July 07, 2017, 09:19:14 PM
 #41


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.


I tried with a new motherboard MSI Z270 Gaming Plus with only one GPU directly connected to it,  and a new PSU.
Same Result.
I have extra pendrives but I am not able to copy the image there because they are 15.5 Gb and I it needs 15.6.
QuintLeo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1030


View Profile
July 08, 2017, 01:22:38 AM
 #42


If there is enough interest I can make an R series build of rxOC; but I am trying to focus first on helping users resolve problems, then with implementing the most requested improvements first.

I will add an R series build to the request list for rxOC.


 If you want to do a build using the AMD 15.12 drivers (which are the best for the R-series cards but don't support the Fury or anything later), you will have to move to Ubuntu 14.04 (or earlier but I don't recommend earlier) for the base build - and even THERE you can't "upgrade" everything as the newer XOrg version that "apt-update" inflicts on 14.04 DOES NOT WORK WITH THE fglrx DRIVERS.


 AMD got particularly stupid when they decided to ignore older cards in their LINUX "pro" driver series, though they've had a long history of not supporting LINUX all that well.
 A lot of folks count 15.12 as an amazingly good but one-time exception.

I'm no longer legendary just in my own mind!
Like something I said? Donations gratefully accepted. LYLnTKvLefz9izJFUvEGQEZzSkz34b3N6U (Litecoin)
1GYbjMTPdCuV7dci3iCUiaRrcNuaiQrVYY (Bitcoin)
bones2
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
July 08, 2017, 06:06:54 AM
 #43

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.
...
So in short, all rx470 run and maximum clocks and use some high voltages and not those written in the BIOS.

For now the best solution is to use the Polaris bios editor in windows to make a custom rom with all your desired settings

You've missed the point. I have modified BIOS using PBE, but it seems that drivers ignore flashed settings and use some driver defaults for voltages.

I guess I do something wrong. Anybody who is running rx470 under linux with low voltages, can you show your PBE values and corresponding rxOC settings (powerplay, etc)?


Overdrive or performance level might be what is resetting those values; if you change:

Code:
PERFORMANCE_LEVEL="HIGH"        

OVERDRIVE="YES"

to:

Code:
PERFORMANCE_LEVEL=""        

OVERDRIVE=""

Do you have the same results?



So I believe I am having the same problem (except my cards are stock), my hash rate doesn't change no matter what settings I use, I even tried your suggestion here leaving overdrive and performance level blank and I was still getting the same hash...
osnwt
Sr. Member
****
Offline Offline

Activity: 353
Merit: 251


View Profile
July 08, 2017, 08:19:49 AM
 #44

Overdrive or performance level might be what is resetting those values; if you change:
Code:
PERFORMANCE_LEVEL="HIGH"        
OVERDRIVE="YES"
to:
Code:
PERFORMANCE_LEVEL=""        
OVERDRIVE=""
Do you have the same results?

Actually, I tried to remove all nvidia-smi commands at all and reboot. Still higher power consumption with modded BIOS comparing to Windows.
That is why I asked anyone who was able to run rx470 undervolted on Linux: please post your PBE screenshots and linux settings.
bones2
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
July 09, 2017, 05:09:44 PM
 #45


So I believe I am having the same problem (except my cards are stock), my hash rate doesn't change no matter what settings I use, I even tried your suggestion here leaving overdrive and performance level blank and I was still getting the same hash...

What GPUs are you using?



[/quote]


4 Asus Dual RX 580 8GB
Zucca
Newbie
*
Offline Offline

Activity: 81
Merit: 0


View Profile
July 09, 2017, 10:12:00 PM
 #46


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.


I tried with a new motherboard MSI Z270 Gaming Plus with only one GPU directly connected to it,  and a new PSU.
Same Result.
I have extra pendrives but I am not able to copy the image there because they are 15.5 Gb and I it needs 15.6.


If the bios posts; you can access the grub loader menu by pressing

esc

continuously while booting (note holding it down doesn't usually work), then select boot in recovery mode. 

in recovery mode:

Enable networking

then install updates from the cmd prompt:
Code:
sudo apt-get update && sudo apt-get dist-upgrade --yes

and reboot

this should ensure your build has all known system files for your system.



I think I've found the problem, it is not solved by updating:
I installed xubuntu in a new pendrive. And did a apt dist-upgrade, after that, I rebooted and installed lastest amdgpu-pro drivers, and then it happended exactly the same.
I am able to press ctrl+f1 and work via command prompt, but it is not solved by updating.
I am still trying to connect the pendrive to the 2.0 USB port, but it is not recognized. Why do you suggest to do it like this?

Thanks for your help!
osnwt
Sr. Member
****
Offline Offline

Activity: 353
Merit: 251


View Profile
July 10, 2017, 07:32:03 AM
 #47

Actually, I tried to remove all nvidia-smi commands at all and reboot. Still higher power consumption with modded BIOS comparing to Windows.
That is why I asked anyone who was able to run rx470 undervolted on Linux: please post your PBE screenshots and linux settings.

It might not be possible with all GPUs and Linux without hex editing.

It seems like no one has succeeded with that because no one posted a success story Smiley
I am ok to use Polaris BIOS Editor, or do manual hex patching. No matter what I was not able to fix the issue with high power consumption under linux with rx470 and asked for anyone who WAS able to do that to share how.
B1tUnl0ck3r
Sr. Member
****
Offline Offline

Activity: 854
Merit: 277

liife threw a tempest at you? be a coconut !


View Profile
July 10, 2017, 12:52:03 PM
Last edit: July 10, 2017, 04:46:39 PM by B1tUnl0ck3r
 #48

How did you get linux to oc rx cards? would you mind sharing it?

I used the roc-SMI:

https://github.com/RadeonOpenCompute/ROC-smi

then made some changes to it.  I will make more.  If you look at its code you will see the actual AMD api cmds.



Thank you ! You gave me a real envy to test your distro with your answer! I hope it will help me, and if I succeed... will pm you to ask your address as a thank you.

thanks again ! and I wish you a lot of success with your software!

edit: would be nice to have a torrent link to download it Smiley

When the people of the world will get that covid was intentionally released to frame china, steal the election from trump, assure massive bail outs and foster the forced vaccination agendas...they will forget, like 911, wmds in irak, uss liberty or pedogate.
alko67bi
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
July 10, 2017, 07:41:53 PM
 #49

Why does GPU0 have much less performance than others?
I tried from 2 to 6 cards 470 and 580
On the cards nVidia there is no such thing, everyone works the same performance.
OverEasy
Sr. Member
****
Offline Offline

Activity: 301
Merit: 251


View Profile
July 10, 2017, 09:59:14 PM
 #50

Why does GPU0 have much less performance than others?
I tried from 2 to 6 cards 470 and 580
On the cards nVidia there is no such thing, everyone works the same performance.


Is your monitor plugged into GPU0?

Have you modded your bios of GPU0 the same as the other cards?

Can you try another MoBo?

I am running 40 cards total on this version and modded all cards with timings, undervolt and clock speeds and I don't have that issue at all.

All my AMD rigs GPU0 performs the same as other GPU's that are alike.
alko67bi
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
July 11, 2017, 04:13:56 AM
Last edit: July 11, 2017, 02:43:41 PM by alko67bi
 #51

Why does GPU0 have much less performance than others?
I tried from 2 to 6 cards 470 and 580
On the cards nVidia there is no such thing, everyone works the same performance.


Is your monitor plugged into GPU0?

Have you modded your bios of GPU0 the same as the other cards?

Can you try another MoBo?


I found the problem. Changed BIOS settings from "GEN1" to "AUTO"
OverEasy
Sr. Member
****
Offline Offline

Activity: 301
Merit: 251


View Profile
July 11, 2017, 03:51:16 PM
 #52

Why does GPU0 have much less performance than others?
I tried from 2 to 6 cards 470 and 580
On the cards nVidia there is no such thing, everyone works the same performance.


Is your monitor plugged into GPU0?

Have you modded your bios of GPU0 the same as the other cards?

Can you try another MoBo?


I found the problem. Changed BIOS settings from "GEN1" to "AUTO"

Excellent!
OverEasy
Sr. Member
****
Offline Offline

Activity: 301
Merit: 251


View Profile
July 11, 2017, 04:14:03 PM
 #53

@Fullzero

Version 0013

Can you make a global switch to turn off all overclocking?

OVERCLOCK="OFF"

This will allow a single onebash to work on rigs that have all cards fully modded and have mixed R9 with RX.

Currently I just did this.... Get some errors but it works...

# 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=1   # use highest level

Unless I am missing something if the cards are modded with timings, undervolted and clock speeds then rocm-smi is unnecessary. (right???) (except maybe for fans)

Just an idea for more flexibility....

OverEasy
Sr. Member
****
Offline Offline

Activity: 301
Merit: 251


View Profile
July 13, 2017, 04:04:00 PM
 #54

So I have been watching all the cool stuff going into the Nvidia build and wondering why the AMD build is getting no love when it occurred to me....Why not make ONE build for both?
Wouldn't it work to just have AMD AND Nvidia drivers in one build?

I am currently building a new mixed rig with 4 AMD and 1 Nvidia and plan on using rxOC build 12 and adding the NV drivers manually and then just run a second screen.
Thats sort of where this idea of a single build came into play..

Some sort of switch like IF GPU=NVIDIA THEN (DO SOMETHING HERE LIKE USE NVIDIA DRIVERS) ELSE (USE AMD STUFF HERE)

Just thinking out loud...
osnwt
Sr. Member
****
Offline Offline

Activity: 353
Merit: 251


View Profile
July 13, 2017, 04:35:50 PM
 #55

fullzero wrote that there are some issues with X11 configuration mixing the drivers. I guess it is ok in manual mode for particular installation/rig, but a bit harder to make it for any configuration of rig.
OverEasy
Sr. Member
****
Offline Offline

Activity: 301
Merit: 251


View Profile
July 13, 2017, 05:03:40 PM
 #56

Yeah I guess there must a good reason why Fullzero hasn't already done it lol..

I am changing my idea some right now. Burning the NV version and then adding the AMD drivers. That way I get all the new features Smiley
OverEasy
Sr. Member
****
Offline Offline

Activity: 301
Merit: 251


View Profile
July 13, 2017, 06:40:46 PM
 #57

Yeah I guess there must a good reason why Fullzero hasn't already done it lol..

I am changing my idea some right now. Burning the NV version and then adding the AMD drivers. That way I get all the new features Smiley

Ok this won't work lol. xORG issues all over the place...
Back to Windows for mixed rigs...Sad
QuintLeo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1030


View Profile
July 13, 2017, 09:15:47 PM
 #58

Mixing AMD and NVidia in LINUX is at best a royal PITA, and often just flat out doesn't work.

 I spent about 3 WEEKS trying different things to get the AMD 15.12 drivers and a reasonably current NVidia driver working on one of my A10-7860K based rigs, never did get it all working so finally gave up on the idea.

 That's WHY I'm currently working on shifting cards around as I can, to get them away from mixed-GPU so I can drop Windows in favor of much-more-reliable LINUX for my dedicated mining rigs - it USED to work, but doesn't seem to do so any more on recent driver versions.


I'm no longer legendary just in my own mind!
Like something I said? Donations gratefully accepted. LYLnTKvLefz9izJFUvEGQEZzSkz34b3N6U (Litecoin)
1GYbjMTPdCuV7dci3iCUiaRrcNuaiQrVYY (Bitcoin)
gig410
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
July 15, 2017, 02:58:58 AM
 #59

Need help guys. My rig keeps crashing and I don't know why. Running rxoc v0012

mobo is biostar tb250-btc
gpu 1 is a sapphire 580 4gb nitro+
gpu 2 is a xfx 480 4gb (with the stupid white leds)

If I run both gpus with unchanged clocks on onebash, I get pcie bus errors and it fills up the USB. I know it's not the risers because I tested them individually (after receiving replacements from the seller) on both gpus using smOS and rxoc individually and got no pcie errors.

I'm mining ZEC and it doesn't matter if I use optiminer or claymore, eventually the system hangs due to some error. I checked the error logs and this is a snippet of what I find

from the xorg.0.log: [  2402.679] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 143245 < target_msc 143246   (a crapload of these)

from the syslog.log:            only the 580 gpu running:

Jul 14 21:14:30 m1-desktop systemd[1]: dev-disk-by\x2duuid-d06ff735\x2d6872\x2d4264\x2daa59\x2dd42811d47b35.swap: Job dev-disk-by\x2duuid-d06ff735\x2d6872\x2d4264\x2daa59\x2dd42811d47b35.swap/start failed with result 'dependency'.
Jul 14 21:14:30 m1-desktop systemd[1]: dev-disk-by\x2duuid-d06ff735\x2d6872\x2d4264\x2daa59\x2dd42811d47b35.device: Job dev-disk-by\x2duuid-d06ff735\x2d6872\x2d4264\x2daa59\x2dd42811d47b35.device/start failed with result 'timeout'.
Jul 14 21:17:01 m1-desktop CRON[4102]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)              

(the miner crashed and restarted at 21:15)


Jul 14 21:32:31 m1-desktop kernel: [ 2752.674236] gmc_v8_0_process_interrupt: 39 callbacks suppressed
Jul 14 21:32:31 m1-desktop kernel: [ 2752.674247] amdgpu 0000:01:00.0: GPU fault detected: 147 0x09020402
Jul 14 21:32:31 m1-desktop kernel: [ 2752.674253] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00018920
Jul 14 21:32:31 m1-desktop kernel: [ 2752.674257] amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x03004002
Jul 14 21:32:31 m1-desktop kernel: [ 2752.674263] amdgpu 0000:01:00.0: VM fault (0x02, vmid 1) at page 100640, write from 'TC1' (0x54433100) (4)

Jul 14 21:32:31 m1-desktop kernel: [ 2752.731128] amdgpu 0000:01:00.0: IH ring buffer overflow (0x00081AD0, 0x000016C0, 0x00001AE0)


(I had never seen these before by the way, just pcie bus errors)


from the terminal running the claymore miner and throwing a fit:


ZEC: 07/14/17-21:13:42 - New job from zec-us-west1.nanopool.org:6666
ZEC - Total Speed: 311.807 H/s, Total Shares: 9, Rejected: 0, Time: 00:13
ZEC: GPU0 311.807 H/s
GPU0 t=57C fan=66%
DevFee: ZEC: Stratum - connecting to 'zec.suprnova.cc' <46.105.114.185> port 2242
ZEC: 07/14/17-21:14:09 - New job from zec-us-west1.nanopool.org:6666
ZEC - Total Speed: 309.570 H/s, Total Shares: 9, Rejected: 0, Time: 00:14
ZEC: GPU0 309.570 H/s
GPU0 t=57C fan=66%
GPU0 t=57C fan=66%
ZEC: 07/14/17-21:15:10 - New job from zec-us-west1.nanopool.org:6666
ZEC - Total Speed: 310.868 H/s, Total Shares: 9, Rejected: 0, Time: 00:15
ZEC: GPU0 310.868 H/s
ZEC: 07/14/17-21:15:15 - SHARE FOUND - (GPU 0)
ZEC: Share accepted (166 ms)!
GPU0 t=57C fan=66%
GPU0 t=57C fan=66%
Miner thread hangs, need to restart miner!


What's going on? bad gpus? bad mobo? risers have been swapped out already 2 times. I am a total Linux noob by the way.









 
WoolF911
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
July 17, 2017, 12:14:11 PM
 #60

fullzero, thank you for your NvOc and RxOc. Can you please update the RxOc? I want to change SimpleMining to something better, flexible configuration, but RxOc is didn't updated so long time and I don't know if you stop working on this.

Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 »  All
  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!