NameTaken
|
|
September 05, 2017, 03:16:31 PM |
|
Ubuntu 17.04, RX 470 Strix 4GB, 4.11.0-kfd-compute-rocm-rel-1.6-148 kernel made no difference. Sep 05 08:10:51 ethdcrminer64[1518]: LBC: Share accepted (144 ms)! Sep 05 08:10:53 ethdcrminer64[1518]: LBC: 09/05/17-08:10:53 - New job from lbry.suprnova.cc:6256 Sep 05 08:10:58 ethdcrminer64[1518]: GPU0 t=67C fan=87%, GPU1 t=54C fan=87%, GPU2 t=59C fan=87%, GPU3 t=66C fan=87%, GPU4 t=65C fan=87%, GPU5 t=62C fan=87% Sep 05 08:11:11 ethdcrminer64[1518]: LBC: 09/05/17-08:11:11 - SHARE FOUND - (GPU 3) Sep 05 08:11:12 ethdcrminer64[1518]: LBC: Share accepted (143 ms)! Sep 05 08:11:17 ethdcrminer64[1518]: LBC: 09/05/17-08:11:16 - SHARE FOUND - (GPU 0) Sep 05 08:11:17 ethdcrminer64[1518]: LBC: Share accepted (143 ms)! Sep 05 08:11:27 ethdcrminer64[1518]: GPU0 t=67C fan=87%, GPU1 t=54C fan=87%, GPU2 t=60C fan=87%, GPU3 t=66C fan=87%, GPU4 t=65C fan=87%, GPU5 t=62C fan=87% Sep 05 08:11:30 ethdcrminer64[1518]: ETH: 09/05/17-08:11:30 - SHARE FOUND - (GPU 3) Sep 05 08:11:30 ethdcrminer64[1518]: ETH: Share accepted (66 ms)! Sep 05 08:11:39 ethdcrminer64[1518]: ETH: 09/05/17-08:11:38 - SHARE FOUND - (GPU 5) Sep 05 08:11:39 ethdcrminer64[1518]: ETH: Share accepted (66 ms)! Sep 05 08:11:44 ethdcrminer64[1518]: ETH: 09/05/17-08:11:43 - New job from us2.ubiqpool.io:8008 Sep 05 08:11:44 ethdcrminer64[1518]: ETH - Total Speed: 122.668 Mh/s, Total Shares: 6, Rejected: 0, Time: 00:04 Sep 05 08:11:44 ethdcrminer64[1518]: ETH: GPU0 22.521 Mh/s, GPU1 17.889 Mh/s, GPU2 20.122 Mh/s, GPU3 19.981 Mh/s, GPU4 21.968 Mh/s, GPU5 20.187 Mh/s Sep 05 08:11:44 ethdcrminer64[1518]: LBC - Total Speed: 352.666 Mh/s, Total Shares: 17, Rejected: 0 Sep 05 08:11:44 ethdcrminer64[1518]: LBC: GPU0 64.748 Mh/s, GPU1 51.430 Mh/s, GPU2 57.850 Mh/s, GPU3 57.444 Mh/s, GPU4 63.156 Mh/s, GPU5 58.038 Mh/s Sep 05 08:11:48 ethdcrminer64[1518]: LBC: 09/05/17-08:11:48 - New job from lbry.suprnova.cc:6256 Sep 05 08:11:49 ethdcrminer64[1518]: LBC: 09/05/17-08:11:49 - SHARE FOUND - (GPU 1) Sep 05 08:11:49 ethdcrminer64[1518]: LBC: Share accepted (143 ms)! Sep 05 08:11:52 ethdcrminer64[1518]: LBC: 09/05/17-08:11:52 - SHARE FOUND - (GPU 5) Sep 05 08:11:52 ethdcrminer64[1518]: LBC: Share accepted (142 ms)! Sep 05 08:11:58 ethdcrminer64[1518]: GPU0 t=67C fan=87%, GPU1 t=54C fan=87%, GPU2 t=60C fan=87%, GPU3 t=66C fan=87%, GPU4 t=66C fan=87%, GPU5 t=62C fan=87% Sep 05 08:12:13 ethdcrminer64[1518]: LBC: 09/05/17-08:12:12 - SHARE FOUND - (GPU 4) Sep 05 08:12:13 ethdcrminer64[1518]: LBC: Share accepted (144 ms)! Sep 05 08:12:28 ethdcrminer64[1518]: GPU0 t=67C fan=87%, GPU1 t=54C fan=87%, GPU2 t=60C fan=87%, GPU3 t=67C fan=87%, GPU4 t=66C fan=87%, GPU5 t=62C fan=87% Sep 05 08:12:37 ethdcrminer64[1518]: LBC: 09/05/17-08:12:37 - SHARE FOUND - (GPU 4) Sep 05 08:12:37 ethdcrminer64[1518]: LBC: Share accepted (143 ms)! Sep 05 08:12:43 ethdcrminer64[1518]: LBC: 09/05/17-08:12:43 - New job from lbry.suprnova.cc:6256 Sep 05 08:12:46 ethdcrminer64[1518]: LBC: 09/05/17-08:12:45 - SHARE FOUND - (GPU 5) Sep 05 08:12:46 ethdcrminer64[1518]: LBC: Share accepted (144 ms)! Sep 05 08:12:56 ethdcrminer64[1518]: ETH: 09/05/17-08:12:56 - SHARE FOUND - (GPU 2) Sep 05 08:12:56 ethdcrminer64[1518]: ETH: Share accepted (66 ms)!
|
|
|
|
osnwt
|
|
September 06, 2017, 05:25:52 AM |
|
Ubuntu 17.04, RX 470 Strix 4GB, 4.11.0-kfd-compute-rocm-rel-1.6-148 kernel made no difference.
Din't you forget to add 'amdgpu.vm_fragment_size=9'? Without that module option the hashrate will be the same. As for me, rocm kernel works as expected. Except it does not downvolt cards. I tried SMOS with original kernel and rocm. With original it can decrease power consumption, but has low hashrate. With rocm kernel the hashrate is higher, but DPM state changes do nothing, consumption is always high.
|
|
|
|
NameTaken
|
|
September 06, 2017, 05:36:32 AM |
|
Ubuntu 17.04, RX 470 Strix 4GB, 4.11.0-kfd-compute-rocm-rel-1.6-148 kernel made no difference.
Din't you forget to add 'amdgpu.vm_fragment_size=9'? Without that module option the hashrate will be the same. As for me, rocm kernel works as expected. Except it does not downvolt cards. I tried SMOS with original kernel and rocm. With original it can decrease power consumption, but has low hashrate. With rocm kernel the hashrate is higher, but DPM state changes do nothing, consumption is always high. ~# cat /sys/module/amdgpu/parameters/vm_fragment_size 9
|
|
|
|
|
osnwt
|
|
September 07, 2017, 07:26:10 AM |
|
What about power consumption? Did you downvolt them?
|
|
|
|
christianCoder
Newbie
Offline
Activity: 13
Merit: 0
|
|
September 07, 2017, 11:50:08 AM |
|
What about power consumption? Did you downvolt them?
Spent about 2 hours researching your solution but it was just too complicated with custom kernels, etc. GPUs are all running cooler. Less Heat. All voltages were reduced via custom bios mods.
|
|
|
|
fenixlz
Newbie
Offline
Activity: 39
Merit: 0
|
|
September 10, 2017, 06:57:09 AM |
|
All voltages were reduced via custom bios mods.
How did you do it?
|
|
|
|
drrobert
|
|
September 10, 2017, 07:02:58 AM |
|
All voltages were reduced via custom bios mods.
How did you do it? you need to download bios data from your gpu, edit with bios editor like srbpolaris (work only on window) then flahs it back on target gpu. Be carefull wrong data can compromise your gpu or also impossible to boot it. If you don't know what to do you need to use window and use amd software to edit freq and voltage to find better then edit your bios with this values.
|
|
|
|
fenixlz
Newbie
Offline
Activity: 39
Merit: 0
|
|
September 10, 2017, 07:45:39 PM |
|
you need to download bios data from your gpu, edit with bios editor like srbpolaris (work only on window) then flahs it back on target gpu. Be carefull wrong data can compromise your gpu or also impossible to boot it. If you don't know what to do you need to use window and use amd software to edit freq and voltage to find better then edit your bios with this values.
But what should I edit exactly to reduce power consumption? I am familiar with Polaris bios editing and flashing, but I have never succeeded reducing power consumption.
|
|
|
|
beastman
Newbie
Offline
Activity: 9
Merit: 0
|
|
September 15, 2017, 12:08:54 AM Last edit: September 22, 2017, 05:33:30 PM by beastman |
|
This is how I proceeded... I have a Poloris bios Editor one click patch applied on 2x 8G RX 580 sapphire and 2x 4G RX 580. 1. Install ubuntu 16.04.3 2. login and setup basics 3. shutdown, connect 1st gpu and connect to monitor 4. boot and proceed to install ROCm kernel and AMD compute drivers (I used amdgpu-pro-17.30-465504.tar and got 29MHs) --------------------------------------------------------------- ROCm GPU Server Driver Installation Guide for Linux https://rocm.github.io/ROCmInstall.html1. Verify You Have ROCm Capable GPU Installed int the System lspci | grep -i AMD 2. #Install new ROCm Kernel: wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | sudo apt-key add - sudo sh -c 'echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main > /etc/apt/sources.list.d/rocm.list' sudo apt-get update sudo apt-get install rocm 3. Download amdgpu-pro-17.30 latest, unarchive and edit amdgpu-pro-install, under the --compute function remove amdgpu-pro-dkms 4. sudo ./amdgpu-pro-install --compute "to install only opencl and libdrm" 5. find ROCm boot menuentry ID sudo grep menuentry /boot/grub/grub.cfg 6. comment out the default boot, add ROCm kernel to grub boot and amd fragment size sudo vi /etc/default/grub GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 4.11.0-kfd-compute-rocm-rel-1.6-148" #GRUB_DEFAULT=0 #2MB fragments for Ellesmere are enabled with a grub option: GRUB_CMDLINE_LINUX="amdgpu.vm_fragment_size=9" 7. add user to video group sudo usermod -a -G video $LOGNAME 8. sudo update-grub 9. sudo reboot 10. verify if ROCm kernel is set sudo uname -r 11. shutdown and add one gpu at a time, test them with miner after every add I am now hashing at 29MH and was wondering if anyone figured out how to undervolt?
|
|
|
|
xmonkx
Newbie
Offline
Activity: 8
Merit: 0
|
|
September 15, 2017, 02:24:36 AM Last edit: September 15, 2017, 02:50:25 AM by xmonkx |
|
1.Download latest linux 4.12.10 from kernel.org 2.Apply patches from here: https://patchwork.freedesktop.org/project/amd-xorg-ddx/series/?ordering=-last_updated( more advanced way) 3.Compile kernel -> the ubuntu way. 4.Install kernel using dpkg 5. Download amdgpu-pro-17.30 latest, unarchive and edit amdgpu-pro-install, under the --compute function remove amdgpu-pro-dkms. 6. Exec ./amdgpu-pro-install --compute to install only opencl and libdrm 7. dpkg -x amdgpu-pro-dkms.... /out; cd out/usr/src/amdgpu-pro/lib/firmware && rm /lib/firmware/amdgpu/* && cp * /lib/firmware/amdgpu 8. add amdgpu.vm_fragment_size=9 to /etc/default/grub as stated in previous posts. 8.1. add if you are using user to video group usermod -a -G video $user 9. update-grub && update-initramfs -u 10. Reboot and mine. Is a real reason to build new kernel such as performance or stability issues? Since I wasn't sure what patches to apply, I used a mix of both ways: 1. Installed not whole rocm package but only kernel image and headers 4.11 from rocm repository. 2. Installed compute-only 17.30 amd driver as recommended above (without dkms). 3. Added amdgpu module option. Still there are issues with very slow boot (known issue if VBIOS was patched). But it runs. Is 4.12 kernel somehow better? Thanks laik2, I built linux from the git:linux-master and it works. -- ROCm does not work for my rig with A + N on it. Therefore, I did laik2 way to build a new kernel for my rig. However, I found that linux-4.12.10 even linux-4.13.x from linux.org does not support vm_fragment. There is no vm_fragment member in ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c. And I don't know which patches to be applied from patchwork.freedesktop.org. Finally, I google "linux amdgp vm_fragment_size", github.com/torvalds comes out. What to do is just download linux from github.com/torvalds and buid and run laik2 steps. And everything works perfect. Thanks~
|
|
|
|
CryptoSquad
Newbie
Offline
Activity: 60
Merit: 0
|
|
September 19, 2017, 02:46:00 PM |
|
Would love a bit of help on this.
Basically, i have a custom bios which was sorted in Windows. I also patched Windows using atikmdag tool.
In windows my cards run fine.
When i try the above, i get an error during boot that says:
Invalid PCI Rom signature.
How do i fix this?
|
|
|
|
CryptoSquad
Newbie
Offline
Activity: 60
Merit: 0
|
|
September 19, 2017, 03:01:48 PM |
|
scrap the above. Got it working. Driver hadnt installed correctly first time
Thanks!
|
|
|
|
CryptoSquad
Newbie
Offline
Activity: 60
Merit: 0
|
|
September 19, 2017, 07:29:03 PM |
|
So i have been running this most of the day.
Whilst its great, dual mining for Siacoin is much better with the Windows Driver.
Not necessarily for speed, but my GPU's are getting to 80 degrees with my dcri as low as 10.
On Windows i run with dcri of 15, and my GPU's sit at 72 degrees max.
However, this linux driver is much more stable for mining just ETH than it is in Windows. In Windows i get random drops for no reason at all (Good temps, good volts etc), but on Linux i dont get that at all.
Anyone else had issues with temps dual mining on this driver?
(RX 580's 4GB OC Edition).
Let me know
Thanks
|
|
|
|
rvlad
Newbie
Offline
Activity: 8
Merit: 0
|
|
September 22, 2017, 12:57:58 AM |
|
1.Download latest linux 4.12.10 from kernel.org 2.Apply patches from here: https://patchwork.freedesktop.org/project/amd-xorg-ddx/series/?ordering=-last_updated( more advanced way) 3.Compile kernel -> the ubuntu way. 4.Install kernel using dpkg 5. Download amdgpu-pro-17.30 latest, unarchive and edit amdgpu-pro-install, under the --compute function remove amdgpu-pro-dkms. 6. Exec ./amdgpu-pro-install --compute to install only opencl and libdrm 7. dpkg -x amdgpu-pro-dkms.... /out; cd out/usr/src/amdgpu-pro/lib/firmware && rm /lib/firmware/amdgpu/* && cp * /lib/firmware/amdgpu 8. add amdgpu.vm_fragment_size=9 to /etc/default/grub as stated in previous posts. 8.1. add if you are using user to video group usermod -a -G video $user 9. update-grub && update-initramfs -u 10. Reboot and mine. Is a real reason to build new kernel such as performance or stability issues? Since I wasn't sure what patches to apply, I used a mix of both ways: 1. Installed not whole rocm package but only kernel image and headers 4.11 from rocm repository. 2. Installed compute-only 17.30 amd driver as recommended above (without dkms). 3. Added amdgpu module option. Still there are issues with very slow boot (known issue if VBIOS was patched). But it runs. Is 4.12 kernel somehow better? Thanks laik2, I built linux from the git:linux-master and it works. -- ROCm does not work for my rig with A + N on it. Therefore, I did laik2 way to build a new kernel for my rig. However, I found that linux-4.12.10 even linux-4.13.x from linux.org does not support vm_fragment. There is no vm_fragment member in ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c. And I don't know which patches to be applied from patchwork.freedesktop.org. Finally, I google "linux amdgp vm_fragment_size", github.com/torvalds comes out. What to do is just download linux from github.com/torvalds and buid and run laik2 steps. And everything works perfect. Thanks~ Which Linux have you downloaded from github.com/torvalds? 4.12?
|
|
|
|
beastman
Newbie
Offline
Activity: 9
Merit: 0
|
|
September 22, 2017, 03:59:20 PM |
|
@CryptoSquad, found this for Linux UV dwarfing-master here https://github.com/rumatoest/dwarfing. I haven't tried it as I am running back on Win10 for now. If you try it please post your results, should bring your temps down. @rvlad, I had compiled the Torvalds kernel but it is missing the AMD firmwares and I don't know where to find the patches. Kernel works but can't get the GPU running due to missing firmware.
|
|
|
|
rvlad
Newbie
Offline
Activity: 8
Merit: 0
|
|
September 24, 2017, 12:16:25 AM |
|
@CryptoSquad, found this for Linux UV dwarfing-master here https://github.com/rumatoest/dwarfing. I haven't tried it as I am running back on Win10 for now. If you try it please post your results, should bring your temps down. @rvlad, I had compiled the Torvalds kernel but it is missing the AMD firmwares and I don't know where to find the patches. Kernel works but can't get the GPU running due to missing firmware. Please see the message from laik2 proposing to copy AMD firmware from AMD driver. But the question was to xmonkx which linux from Torvalds git was compiled: 4.12 or newer?
|
|
|
|
bomberb17
|
|
October 01, 2017, 02:52:42 AM |
|
I'm a bit hesitant to install this driver because I'm running my rig remotely, I only have access to Teamviewer and SSH and I can't play with grub. Is there any 'safe' way to install these drivers?
|
|
|
|
xmonkx
Newbie
Offline
Activity: 8
Merit: 0
|
|
October 05, 2017, 03:19:02 AM |
|
1.Download latest linux 4.12.10 from kernel.org 2.Apply patches from here: https://patchwork.freedesktop.org/project/amd-xorg-ddx/series/?ordering=-last_updated( more advanced way) 3.Compile kernel -> the ubuntu way. 4.Install kernel using dpkg 5. Download amdgpu-pro-17.30 latest, unarchive and edit amdgpu-pro-install, under the --compute function remove amdgpu-pro-dkms. 6. Exec ./amdgpu-pro-install --compute to install only opencl and libdrm 7. dpkg -x amdgpu-pro-dkms.... /out; cd out/usr/src/amdgpu-pro/lib/firmware && rm /lib/firmware/amdgpu/* && cp * /lib/firmware/amdgpu 8. add amdgpu.vm_fragment_size=9 to /etc/default/grub as stated in previous posts. 8.1. add if you are using user to video group usermod -a -G video $user 9. update-grub && update-initramfs -u 10. Reboot and mine. Is a real reason to build new kernel such as performance or stability issues? Since I wasn't sure what patches to apply, I used a mix of both ways: 1. Installed not whole rocm package but only kernel image and headers 4.11 from rocm repository. 2. Installed compute-only 17.30 amd driver as recommended above (without dkms). 3. Added amdgpu module option. Still there are issues with very slow boot (known issue if VBIOS was patched). But it runs. Is 4.12 kernel somehow better? Thanks laik2, I built linux from the git:linux-master and it works. -- ROCm does not work for my rig with A + N on it. Therefore, I did laik2 way to build a new kernel for my rig. However, I found that linux-4.12.10 even linux-4.13.x from linux.org does not support vm_fragment. There is no vm_fragment member in ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c. And I don't know which patches to be applied from patchwork.freedesktop.org. Finally, I google "linux amdgp vm_fragment_size", github.com/torvalds comes out. What to do is just download linux from github.com/torvalds and buid and run laik2 steps. And everything works perfect. Thanks~ Which Linux have you downloaded from github.com/torvalds? 4.12? It is 4.13.
|
|
|
|
MoneroCrusher
Jr. Member
Offline
Activity: 88
Merit: 1
|
|
October 05, 2017, 11:51:17 PM |
|
Anyone got it to work with RX Vega 56/64 under Ubuntu 16.04 yet?
|
|
|
|
|