Post
Topic
Board Mining (Altcoins)
Re: [OS] rxOC easy-to-use Linux AMD Mining v_stopgap
by
fk1
on 06/05/2018, 18:26:14 UTC
Code:
sudo apt install pip
sudo pip install requests

This should solve the WTM python problem
couldn't install pip: E: Unable to locate package pip
googled and installed python-pip, that was 8.x I upgraded to v10 and seemed to successfully install requests

Quote
What happens when you run this command:

Code:
guake -n /home/m1/wtm_auto_switch -r WTM_AUTO_SWITCH -e "bash /home/m1/wtm_auto_switch"
Code:
m1@m1-desktop:~$ guake -n /home/m1/wtm_auto_switch -r WTM_AUTO_SWITCH -e "bash /home/m1/wtm_auto_switch"
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/usr/lib/python2.7/dist-packages/keybinder/__init__.py:26: GtkWarning: IA__gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
  from _keybinder import *
/usr/lib/python2.7/dist-packages/keybinder/__init__.py:26: GtkWarning: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed
  from _keybinder import *

** (main.py:2225): WARNING **: keybinder_init: Unable to open display

(guake:2225): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/dist-packages/guake/main.py", line 239, in
    exec_main()
  File "/usr/lib/python2.7/dist-packages/guake/main.py", line 230, in exec_main
    if not test_gconf():
  File "/usr/lib/python2.7/dist-packages/guake/common.py", line 52, in test_gconf
    return c.dir_exists('/apps/guake')
glib.GError: No D-BUS daemon running

m1@m1-desktop:~$

Quote
Edit 2:
Does rxOC has screen installed?
We can try to run wtm in screen mode

Change oneBash wtm start command from guake to screen and see how it goes:

Code:
screen  -dmS wtm  bash /home/m1/wtm_auto_switch

If screen is not installed in rxOC bt default install with :
Code:
sudo apt install screen
After restart oneBash, run

Code:
screen -r wtm

This shows wtm switcher output, to get out of screen "ctrl a+d" (dont use ctrl+c)

I replaced the guake line in oneBash with your given screen line. I start the oneBash in a "main" screen:

Code:
m1@m1-desktop:~$ bash oneBash

LAUNCHING:  WTM AUTO SWITCH


workername: _38

rig IP: 192.168.178.38


01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67df (rev e7)


===================   ROCm System Management Interface   ===================
============================================================================
GPU[0]          : Supported GPU clock frequencies on GPU0
GPU[0]          : 0: 1100Mhz *
GPU[0]          : 1: 1240Mhz
GPU[0]          : 2: 1100Mhz
GPU[0]          :
GPU[0]          : Supported GPU Memory clock frequencies on GPU0
GPU[0]          : 0: 2050Mhz
GPU[0]          : 1: 2200Mhz *
GPU[0]          :
============================================================================
===================          End of ROCm SMI Log         ===================




===================   ROCm System Management Interface   ===================
GPU[0]          : Successfully reset GPU and Memory clocks
===================          End of ROCm SMI Log         ===================



===================   ROCm System Management Interface   ===================
============================================================================
GPU[0]          : Successfully set current PowerPlay Level to high
============================================================================
===================          End of ROCm SMI Log         ===================



===================   ROCm System Management Interface   ===================
GPU[0]          : Successfully set GPU Memory Clock frequency mask to Level 1
===================          End of ROCm SMI Log         ===================



===================   ROCm System Management Interface   ===================
GPU[0]          : Unable to set clock to unsupported Level - Max Level is 2
===================          End of ROCm SMI Log         ===================



Sun May  6 14:21:43 EDT 2018
Action: Removing ...
systemctl stop teamviewerd.service
Failed to stop teamviewerd.service: Unit teamviewerd.service not loaded.
fail

kill '/opt/teamviewer/tv_bin/script/teamviewer' - root (/home/m1/.local/share/teamviewer12 / /home/m1/.local/share/teamviewer12)



Failed to execute operation: No such file or directory
try again, full path...
Failed to execute operation: Invalid argument



===================   ROCm System Management Interface   ===================
============================================================================
GPU[0]          : Fan Level: 255 (100.0)%
============================================================================
GPU[0]          : Successfully set fan speed to Level 255
===================          End of ROCm SMI Log         ===================

oneBash: line 391: [: ==: unary operator expected
oneBash: line 433: [: ==: unary operator expected
oneBash: line 470: [: ==: unary operator expected
oneBash: line 500: [: ==: unary operator expected
oneBash: line 530: [: ==: unary operator expected
oneBash: line 560: [: ==: unary operator expected
oneBash: line 603: [: ==: unary operator expected
oneBash: line 651: [: ==: unary operator expected
oneBash: line 694: [: ==: unary operator expected
oneBash: line 735: [: ==: unary operator expected
oneBash: line 746: [: ==: unary operator expected
oneBash: line 758: [: ==: unary operator expected
oneBash: line 791: [: ==: unary operator expected
oneBash: line 824: [: ==: unary operator expected
oneBash: line 857: [: ==: unary operator expected
oneBash: line 890: [: ==: unary operator expected
oneBash: line 917: [: ==: unary operator expected
oneBash: line 944: [: ==: unary operator expected
oneBash: line 971: [: ==: unary operator expected
oneBash: line 998: [: ==: unary operator expected
oneBash: line 1025: [: ==: unary operator expected
oneBash: line 1052: [: ==: unary operator expected
oneBash: line 1079: [: ==: unary operator expected
oneBash: line 1106: [: ==: unary operator expected
oneBash: line 1139: [: ==: unary operator expected
oneBash: line 1172: [: ==: unary operator expected
oneBash: line 1205: [: ==: unary operator expected
m1@m1-desktop:~$

The GPUs get set by rocm-smi as you can see. After that I expect the mining process to show up. I am trying to mine ZEC and switch to ETH. In these days of rxOC ETH/claymore starts up in own screen but ZEC just starts where the whole oneBash does. I also searched with ps-ef but no mining happens. here is wtm screen output:

Code:
[detached from 3224.wtm]
m1@m1-desktop:~$ clear
m1@m1-desktop:~$ screen -r wtm
/home/m1/oneBash: line 1139: [: ==: unary operator expected
/home/m1/oneBash: line 1172: [: ==: unary operator expected
/home/m1/oneBash: line 1205: [: ==: unary operator expected
cat: /home/m1/WTM_top_coin: No such file or directory
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
Last top coin not in current coin list any more, Switch to 1st coin
sed: can't read /home/m1/WTM_top_coin: No such file or directory
Traceback (most recent call last):
  File "/home/m1/WTM_SWITCHER", line 32, in
    outputDir=cfg["output_dir"]
KeyError: 'output_dir'

LAUNCHING:  WTM AUTO SWITCH


workername: _38

rig IP: 192.168.178.38


01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67df (rev e7)


===================   ROCm System Management Interface   ===================
============================================================================
GPU[0]          : Supported GPU clock frequencies on GPU0
GPU[0]          : 0: 1100Mhz *
GPU[0]          : 1: 1240Mhz
GPU[0]          : 2: 1100Mhz
GPU[0]          :
GPU[0]          : Supported GPU Memory clock frequencies on GPU0
GPU[0]          : 0: 2050Mhz
GPU[0]          : 1: 2200Mhz *
GPU[0]          :
============================================================================
===================          End of ROCm SMI Log         ===================




===================   ROCm System Management Interface   ===================
GPU[0]          : Successfully reset GPU and Memory clocks
===================          End of ROCm SMI Log         ===================



===================   ROCm System Management Interface   ===================
============================================================================
GPU[0]          : Successfully set current PowerPlay Level to high
============================================================================
===================          End of ROCm SMI Log         ===================



===================   ROCm System Management Interface   ===================
GPU[0]          : Successfully set GPU Memory Clock frequency mask to Level 1
===================          End of ROCm SMI Log         ===================



===================   ROCm System Management Interface   ===================
GPU[0]          : Unable to set clock to unsupported Level - Max Level is 2
===================          End of ROCm SMI Log         ===================



Sun May  6 14:23:05 EDT 2018
Action: Removing ...
systemctl stop teamviewerd.service
Failed to stop teamviewerd.service: Unit teamviewerd.service not loaded.
fail

kill '/opt/teamviewer/tv_bin/script/teamviewer' - root (/home/m1/.local/share/teamviewer12 / /home/m1/.local/share/teamviewer12)



Failed to execute operation: No such file or directory
try again, full path...
Failed to execute operation: Invalid argument



===================   ROCm System Management Interface   ===================
============================================================================
GPU[0]          : Fan Level: 255 (100.0)%
============================================================================
GPU[0]          : Successfully set fan speed to Level 255
===================          End of ROCm SMI Log         ===================

/home/m1/oneBash: line 391: [: ==: unary operator expected
/home/m1/oneBash: line 433: [: ==: unary operator expected
/home/m1/oneBash: line 470: [: ==: unary operator expected
/home/m1/oneBash: line 500: [: ==: unary operator expected
/home/m1/oneBash: line 530: [: ==: unary operator expected
/home/m1/oneBash: line 560: [: ==: unary operator expected
/home/m1/oneBash: line 603: [: ==: unary operator expected
/home/m1/oneBash: line 651: [: ==: unary operator expected
/home/m1/oneBash: line 694: [: ==: unary operator expected
/home/m1/oneBash: line 735: [: ==: unary operator expected
/home/m1/oneBash: line 746: [: ==: unary operator expected
/home/m1/oneBash: line 758: [: ==: unary operator expected
/home/m1/oneBash: line 791: [: ==: unary operator expected
/home/m1/oneBash: line 824: [: ==: unary operator expected
/home/m1/oneBash: line 857: [: ==: unary operator expected
/home/m1/oneBash: line 890: [: ==: unary operator expected
/home/m1/oneBash: line 917: [: ==: unary operator expected
/home/m1/oneBash: line 944: [: ==: unary operator expected
/home/m1/oneBash: line 971: [: ==: unary operator expected
/home/m1/oneBash: line 998: [: ==: unary operator expected
/home/m1/oneBash: line 1025: [: ==: unary operator expected
/home/m1/oneBash: line 1052: [: ==: unary operator expected
/home/m1/oneBash: line 1079: [: ==: unary operator expected
/home/m1/oneBash: line 1106: [: ==: unary operator expected
/home/m1/oneBash: line 1139: [: ==: unary operator expected
/home/m1/oneBash: line 1172: [: ==: unary operator expected
/home/m1/oneBash: line 1205: [: ==: unary operator expected
cat: /home/m1/WTM_top_coin: No such file or directory
Sun May  6 14:23:05 EDT 2018 - Same Coin on Top, Continue mining
24 Hour Average Revenue:  -nan USD
Check again in 180 seconds


cat: /home/m1/WTM_current_revenue: No such file or directory
cat: /home/m1/WTM_top_coin: No such file or directory
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.


I found these unary operator expected issues before. When I tried to split the oneBash into a new form of 0miner and 3main I also had these: Seems like somehow the format of oneBash is broken. The lines are blank but deleting them doesnt do anything.