Bitcoin Forum
May 22, 2024, 01:35:56 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [16] 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 »
  Print  
Author Topic: Optiminer/Zcash v1.7 (GPU, Windows+Linux, AMD)  (Read 115898 times)
zzzzzzzzzz
Full Member
***
Offline Offline

Activity: 150
Merit: 100


View Profile
January 19, 2017, 07:22:46 PM
 #301

thats not stock. I get 415 on win clay 11.1,, -96mv just curious if any better option

I get 425 on optiminer v1.4, net after devfee, -118mv core undervolt, linux.
jelin1984
Legendary
*
Offline Offline

Activity: 2408
Merit: 1004



View Profile
January 19, 2017, 07:24:42 PM
 #302

how underfoot at linux
details
i can underfoot at linux
zzzzzzzzzz
Full Member
***
Offline Offline

Activity: 150
Merit: 100


View Profile
January 19, 2017, 07:52:03 PM
 #303

how underfoot at linux
details
i can underfoot at linux

I am guessing you mean "undervolt", right? You have to use Windows to mod the GPU ROM to set the undervolt, then use the GPU with linux. You cannot undervolt the GPU directly with linux.
omshree
Full Member
***
Offline Offline

Activity: 270
Merit: 100


View Profile
January 19, 2017, 08:45:34 PM
 #304

thats not stock. I get 415 on win clay 11.1,, -96mv just curious if any better option

I get 425 on optiminer v1.4, net after devfee, -118mv core undervolt, linux.

Thanx. A bit still ahead of cm 11.1 win, but not that much to hassle myself with linux.

Donate if you like 1ANALSEXXGMd6HaN6CzQXtURLC5H9TjKoo
mirny
Legendary
*
Offline Offline

Activity: 1108
Merit: 1005



View Profile
January 20, 2017, 08:22:26 PM
 #305

how underfoot at linux
details
i can underfoot at linux

I really like your posts, it makes me laugh all the time.

This is my signature...
TheMiningDwarf
Jr. Member
*
Offline Offline

Activity: 71
Merit: 1


View Profile
January 21, 2017, 01:24:16 PM
 #306

I cant use the watchdog on linux, I get error mesg : permission denied, any hint how to fix this please
Eliovp
Legendary
*
Offline Offline

Activity: 1050
Merit: 1293

Huh?


View Profile WWW
January 21, 2017, 01:25:35 PM
 #307

I cant use the watchdog on linux, I get error mesg : permission denied, any hint how to fix this please

chmod +x watchdog

 Wink

TheMiningDwarf
Jr. Member
*
Offline Offline

Activity: 71
Merit: 1


View Profile
January 21, 2017, 01:37:53 PM
 #308

I cant use the watchdog on linux, I get error mesg : permission denied, any hint how to fix this please

chmod +x watchdog

 Wink

Hi,
Where do I put that comman please, in the watch dog script or only one time in console mode ?
I had put the mine.sh in the start up service, so after reboot it starts again , but doing it that way I dont get to see the console anymore, is their any other way aftr reboot it restart so i can see console please
TheMiningDwarf
Jr. Member
*
Offline Offline

Activity: 71
Merit: 1


View Profile
January 21, 2017, 01:42:13 PM
 #309

I cant use the watchdog on linux, I get error mesg : permission denied, any hint how to fix this please

chmod +x watchdog

 Wink

Hi,
Where do I put that commane please, in the watch dog script or only one time in console mode ?
I had put the mine.sh in the start up service, so after reboot it starts again , but doing it that way I dont get to see the console anymore, is their any other way aftr reboot it restart so i can see console please

Also is their a way just to restart only 1 gpu on the miner, instead of rebooting the whole rig ?
Thanks again
TheMiningDwarf
Jr. Member
*
Offline Offline

Activity: 71
Merit: 1


View Profile
January 21, 2017, 01:56:36 PM
 #310

I cant use the watchdog on linux, I get error mesg : permission denied, any hint how to fix this please

chmod +x watchdog

 Wink

I get now error msg on line 16 17 and 18 about sysrq permission denied
Thanks
Eliovp
Legendary
*
Offline Offline

Activity: 1050
Merit: 1293

Huh?


View Profile WWW
January 21, 2017, 03:17:49 PM
Last edit: January 21, 2017, 04:03:34 PM by Eliovp
 #311

Hi,
Where do I put that comman please, in the watch dog script or only one time in console mode ?
I had put the mine.sh in the start up service, so after reboot it starts again , but doing it that way I dont get to see the console anymore, is their any other way aftr reboot it restart so i can see console please

cd into the optiminer directory. Give the watchdog file permissions with chmod +x "file"...

Also is their a way just to restart only 1 gpu on the miner, instead of rebooting the whole rig ?
Thanks again

Bad idea, if a gpu goes down, there's no way to "revive" it.. Reboot is the only and best option here.

I get now error msg on line 16 17 and 18 about sysrq permission denied
Thanks

sudo


(next time just edit your previous post.. )

ehabtanta
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
January 21, 2017, 03:48:20 PM
 #312

is this good for
3*4xx
win 10 64
amd 16.12.2 ?
in cm i get 660-690
https://s30.postimg.org/65jy3uh4h/Untitledhh.png
dallase
Member
**
Offline Offline

Activity: 129
Merit: 10


View Profile
January 21, 2017, 03:50:15 PM
 #313

I cant use the watchdog on linux, I get error mesg : permission denied, any hint how to fix this please

chmod +x watchdog

 Wink

I get now error msg on line 16 17 and 18 about sysrq permission denied
Thanks

For MAGIC_SYSRQ restarts, you have to be root to write to /proc/sys/kernel/sysrq.   So make sure you are launching optiminer as root.  Just add 'sudo' in your startup script and make sure your user is authorized in /etc/sudoers to call it without requiring a password.

sudo ./optiminer-zcash -s mypool -u mywallet -p x --watchdog-timeout 30 --watchdog-cmd ./reboot.sh


For /etc/sudoers, you can add something like this...

yourusername   ALL=(ALL)   NOPASSWD: ALL


jackcantrell
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
January 22, 2017, 03:42:18 PM
 #314

Just finished reading the whole topic, but still couldn't find what I was looking for. It's said that hashrate in Linux is faster for newer cards, but how much faster? What are the hashrates for RX 470 4GB and RX 480 8GB in Linux and Windows? For Linux noobs like myself it'll take the whole day to read all the guides out there and setup a Linux system so it would be nice to know what kind of difference in hashrate is there before spending all that time and effort. Smiley

I have not used optiminer on Linux. But if you want a complete guide on how to set up headless Ubuntu 16.04 with AMD gpupro 16.50 drivers, I wrote one of those.

At the end of the howto, just download and run Optiminer instead of Claymore:
https://blockoperations.com/build-6-gpu-zcash-headless-mining-rig-ubuntu-16-04-using-claymore/
zzzzzzzzzz
Full Member
***
Offline Offline

Activity: 150
Merit: 100


View Profile
January 22, 2017, 06:46:02 PM
Last edit: January 22, 2017, 07:52:12 PM by zzzzzzzzzz
 #315

I cant use the watchdog on linux, I get error mesg : permission denied, any hint how to fix this please

chmod +x watchdog

 Wink

I get now error msg on line 16 17 and 18 about sysrq permission denied
Thanks

For MAGIC_SYSRQ restarts, you have to be root to write to /proc/sys/kernel/sysrq.   So make sure you are launching optiminer as root.  Just add 'sudo' in your startup script and make sure your user is authorized in /etc/sudoers to call it without requiring a password.

sudo ./optiminer-zcash -s mypool -u mywallet -p x --watchdog-timeout 30 --watchdog-cmd ./reboot.sh


For /etc/sudoers, you can add something like this...

yourusername   ALL=(ALL)   NOPASSWD: ALL




I see that you're a newbie, but I hope everyone reading your post realizes that you are suggesting a change that represents are *large* security hole. All you really need to do is create an /etc/rc.local script, which always runs as "root", that's something like this:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#

j="/home/joe"
echo "==========================" >> /sto/m1/miner-reboot.log
date >> /sto/m1/miner-reboot.log

if [ -f $j/.reboot ]
then
   rm $j/.reboot
fi
$j/bin/watchdog.root >> /sto/m1/reboot.log &
exit 0


watchdog.root looks like this:

#!/bin/bash

while :
do
   sleep 3

   if [ -f /home/joe/.no-reboot ]
   then
      continue
   fi

   if [ -f /home/joe/.reboot ]
   then
      rm /home/joe/.reboot
      echo "============================"
      date
      echo "Watchdog hard reset, GPU HUNG."
      echo 1 > /proc/sys/kernel/sysrq
      echo u > /proc/sysrq-trigger
      sleep 1
      echo b > /proc/sysrq-trigger
   fi

   if [ -f /home/joe/.restart ]
   then
       rm /home/joe/.restart
       su joe -c /home/joe/bin/s-opt        #Start miners as user "joe"
   fi

done

exit 0

=============

Note: Watchdog.root can be disabled at any time simply by doing a "touch ~/.no-reboot". Doing "touch ~/.reboot", which your normal user_id can do, will cause an immediate hard reset and reboot. So, the optiminer watchdog-cmd.sh script needs no root access and can just do "touch ~/.reboot" to trigger the hard reset. Finally, if you want to just restart optiminer, without a reboot, do a "touch ~/.restart".

Anyway, I hope that's somewhat helpful.
TheMiningDwarf
Jr. Member
*
Offline Offline

Activity: 71
Merit: 1


View Profile
January 22, 2017, 09:11:10 PM
 #316

I cant use the watchdog on linux, I get error mesg : permission denied, any hint how to fix this please

chmod +x watchdog

 Wink

I get now error msg on line 16 17 and 18 about sysrq permission denied
Thanks

For MAGIC_SYSRQ restarts, you have to be root to write to /proc/sys/kernel/sysrq.   So make sure you are launching optiminer as root.  Just add 'sudo' in your startup script and make sure your user is authorized in /etc/sudoers to call it without requiring a password.

sudo ./optiminer-zcash -s mypool -u mywallet -p x --watchdog-timeout 30 --watchdog-cmd ./reboot.sh


For /etc/sudoers, you can add something like this...

yourusername   ALL=(ALL)   NOPASSWD: ALL




I see that you're a newbie, but I hope everyone reading your post realizes that you are suggesting a change that represents are *large* security hole. All you really need to do is create an /etc/rc.local script, which always runs as "root", that's something like this:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#

j="/home/joe"
echo "==========================" >> /sto/m1/miner-reboot.log
date >> /sto/m1/miner-reboot.log

if [ -f $j/.reboot ]
then
   rm $j/.reboot
fi
$j/bin/watchdog.root >> /sto/m1/reboot.log &
exit 0


watchdog.root looks like this:

#!/bin/bash

while :
do
   sleep 3

   if [ -f /home/joe/.no-reboot ]
   then
      continue
   fi

   if [ -f /home/joe/.reboot ]
   then
      rm /home/joe/.reboot
      echo "============================"
      date
      echo "Watchdog hard reset, GPU HUNG."
      echo 1 > /proc/sys/kernel/sysrq
      echo u > /proc/sysrq-trigger
      sleep 1
      echo b > /proc/sysrq-trigger
   fi

   if [ -f /home/joe/.restart ]
   then
       rm /home/joe/.restart
       su joe -c /home/joe/bin/s-opt        #Start miners as user "joe"
   fi

done

exit 0

=============

Note: Watchdog.root can be disabled at any time simply by doing a "touch ~/.no-reboot". Doing "touch ~/.reboot", which your normal user_id can do, will cause an immediate hard reset and reboot. So, the optiminer watchdog-cmd.sh script needs no root access and can just do "touch ~/.reboot" to trigger the hard reset. Finally, if you want to just restart optiminer, without a reboot, do a "touch ~/.restart".

Anyway, I hope that's somewhat helpful.


Hi,

Yes I am new to linux world, and although I really aprreciate your answer, I really didnt get a clue of what you said and what to do lol Smiley
I had to disable the watchdog cause I couldnt make it work and was either freezing my kinux box either askng for a password. Sad
If a GPU crash I reboot the whole rig manually, dont have a choice really.
But even that way i mine faster then claymore 11.1 miner on windows.

This is my starting script :
./optiminer-zcash -s zstratum+tls://us1-zcash.flypool.org:3443 -u t1PhMdkno9VkV7oRR3EhJFjkxDq7b4EqxX7.DwarfzZ3 -p x --experimental-kernel
Dunno how to do the rest, so it will have to do Smiley
avirdoz
Legendary
*
Offline Offline

Activity: 1191
Merit: 1001



View Profile
January 23, 2017, 12:02:08 AM
 #317

Hello, what's new in 1.5.0? Smiley
optiminer (OP)
Full Member
***
Offline Offline

Activity: 187
Merit: 100


View Profile
January 23, 2017, 12:08:18 AM
 #318

Version 1.5.0 released!

[1.5.0] Support for more pools.
[1.5.0] Allow again extranonces up to 28 bytes (fixed mining problems with nicehash).
[1.5.0] 1-2% increase in hash speed for device specific kernels.

tiennou
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
January 23, 2017, 02:10:22 AM
Last edit: January 23, 2017, 06:12:27 AM by tiennou
 #319

Version 1.5.0 released!

[1.5.0] Support for more pools.
[1.5.0] Allow again extranonces up to 28 bytes (fixed mining problems with nicehash).
[1.5.0] 1-2% increase in hash speed for device specific kernels.


RX470 virtually unchanged compared to 1.4.0. A couple tenth of a percent at most. (i.e. still ~250sols/s on stock with ubuntu 14.04 and amdgpu-pro 16.50).
Edit : 1.5.0 is not faster per se, but the speed (according to the 60s average) is *much* more constant.

Edit2 : some graph for a 4 rigs 4 gpus cluster.
http://tof.canardpc.com/view/ac0be9e0-a4d9-4d0a-9a5b-cb85532e9ef4.jpg
jackcantrell
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
January 23, 2017, 02:22:03 AM
 #320

Version 1.5.0 released!

[1.5.0] Support for more pools.
[1.5.0] Allow again extranonces up to 28 bytes (fixed mining problems with nicehash).
[1.5.0] 1-2% increase in hash speed for device specific kernels.



Thanks for posting this. I wrote a howto on setting this up on a headless linux box. Getting 1710 H/s with stock BIOS on a six GPU rig running XFX RX480 8G:

https://i.imgur.com/bKLoumC.png

Here's the howto - I still prefer R9 cards for mining Zcash:
https://blockoperations.com/zcash-miner-ubuntu-linux-16-04-optiminer-1-5-amd-gpus/
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [16] 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 »
  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!