Package Details: xmr-stak-rx 1.0.5-2

Git Clone URL: https://aur.archlinux.org/xmr-stak-rx.git (read-only, click to copy)
Package Base: xmr-stak-rx
Description: Unified All-in-one Monero miner (no cuda)
Upstream URL: https://github.com/fireice-uk/xmr-stak
Licenses: GPL3
Submitter: codyps
Maintainer: codyps
Last Packager: codyps
Votes: 7
Popularity: 0.000000
First Submitted: 2019-12-14 03:29 (UTC)
Last Updated: 2021-03-03 00:25 (UTC)

Pinned Comments

codyps commented on 2020-01-10 23:34 (UTC)

Note on optimization: this PKGBUILD uses your makepkg.conf CFLAGS/etc. You may want to adjust them to ensure the best performance.

Latest Comments

1 2 Next › Last »

bcfradella commented on 2021-11-13 04:45 (UTC) (edited on 2021-11-13 04:48 (UTC) by bcfradella)

Seems to be resolved by commenting out the MemoryDenyWriteExecute=true line in the [Service] section of /usr/lib/systemd/system/xmr-stak-rx.service

bcfradella commented on 2021-11-13 04:40 (UTC)

I'm having issues with systemd as well. It runs fine if I run it myself (sudo or no), but when I use the systemd service it hits the following:

× xmr-stak-rx.service - Unified all-in-one Monero miner
     Loaded: loaded (/usr/lib/systemd/system/xmr-stak-rx.service; enabled; vendor preset: disabled)
     Active: failed (Result: core-dump) since Fri 2021-11-12 22:33:47 CST; 10s ago
    Process: 46422 ExecStart=/usr/bin/xmr-stak-rx --cpu /etc/xmr-stak-rx/cpu.txt -c /etc/xmr-stak-rx/config.txt -C /etc/xmr-stak-rx/pools.txt (code=dumped, signal=ABRT)
   Main PID: 46422 (code=dumped, signal=ABRT)
        CPU: 898ms

Nov 12 22:33:45 COMPUTER systemd[1]: Started Unified all-in-one Monero miner.
Nov 12 22:33:45 COMPUTER xmr-stak-rx[46422]: [2021-11-12 22:33:45] : start self test for 'randomx' (can be disabled with the command line option '--noTest')
Nov 12 22:33:45 COMPUTER xmr-stak-rx[46422]: xmr-stak-rx: /home/ben/.cache/yay/xmr-stak-rx/src/xmr-stak-1.0.5-rx/xmrstak/backend/cpu/crypto/randomx/randomx.cpp:370: void randomx_init_cache(randomx_cache*, const void*, size_t): Assertion `cache != nullptr' failed.
Nov 12 22:33:47 COMPUTER systemd[1]: xmr-stak-rx.service: Main process exited, code=dumped, status=6/ABRT
Nov 12 22:33:47 COMPUTER systemd[1]: xmr-stak-rx.service: Failed with result 'core-dump'.

utx0 commented on 2021-03-06 09:50 (UTC)

Hey what does one need to do to get this to work with systemd?

codyps commented on 2021-03-03 00:25 (UTC)

Hi D3SOX: what you're seeing is a bug in xmr-stak-rx: it's not compatible with the current version of libmicrohttpd. See https://github.com/fireice-uk/xmr-stak/issues/2690

I've pushed a change disabling the use of MICROHTTPD. This will disable the web frontend, but it will be otherwise functional.

D3SOX commented on 2021-03-01 15:46 (UTC)

/usr/lib/ccache/bin/c++ -DBACKEND_TYPE=cpu -DCONF_NO_CUDA -DCONF_NO_OPENCL -DGIT_BRANCH=master -DGIT_COMMIT_HASH=894b888 -I/home/nico/.cache/yay/xmr-stak-rx/src/xmr-stak-1.0.5-rx/. -I/home/nico/.cache/yay/xmr-stak-rx/src/xmr-stak-1.0.5-rx/xmrstak/backend/cpu -Wl,-z,noexecstack -march=native -mtune=native -D_FORTIFY_SOURCE=2 -O2 -march=znver2 -pipe -fno-plt -msse2 -maes -fPIC -std=c++11 -o CMakeFiles/xmr-stak-rx-backend.dir/xmrstak/misc/environment.cpp.o -c /home/nico/.cache/yay/xmr-stak-rx/src/xmr-stak-1.0.5-rx/xmrstak/misc/environment.cpp
/home/nico/.cache/yay/xmr-stak-rx/src/xmr-stak-1.0.5-rx/xmrstak/http/httpd.cpp: In member function ‘bool httpd::start_daemon()’:
/home/nico/.cache/yay/xmr-stak-rx/src/xmr-stak-1.0.5-rx/xmrstak/http/httpd.cpp:162:3: error: invalid conversion from ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**)’ {aka ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} to ‘MHD_AccessHandlerCallback’ {aka ‘MHD_Result (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} [-fpermissive]
  162 |   &httpd::req_handler,
      |   ^~~~~~~~~~~~~~~~~~~
      |   |
      |   int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**) {aka int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)}
In file included from /home/nico/.cache/yay/xmr-stak-rx/src/xmr-stak-1.0.5-rx/xmrstak/http/httpd.cpp:38:
/usr/include/microhttpd.h:2443:45: note:   initializing argument 5 of ‘MHD_Daemon* MHD_start_daemon(unsigned int, uint16_t, MHD_AcceptPolicyCallback, void*, MHD_AccessHandlerCallback, void*, ...)’
 2443 |                   MHD_AccessHandlerCallback dh, void *dh_cls,
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
make[2]: *** [CMakeFiles/xmr-stak-rx-backend.dir/build.make:186: CMakeFiles/xmr-stak-rx-backend.dir/xmrstak/http/httpd.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/nico/.cache/yay/xmr-stak-rx/src/xmr-stak-1.0.5-rx/build'
make[1]: *** [CMakeFiles/Makefile2:127: CMakeFiles/xmr-stak-rx-backend.dir/all] Error 2
make[1]: Leaving directory '/home/nico/.cache/yay/xmr-stak-rx/src/xmr-stak-1.0.5-rx/build'
make: *** [Makefile:149: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: xmr-stak-rx

codyps commented on 2020-01-10 23:34 (UTC)

Note on optimization: this PKGBUILD uses your makepkg.conf CFLAGS/etc. You may want to adjust them to ensure the best performance.

vasily commented on 2018-03-26 18:35 (UTC)

Release notes: https://github.com/fireice-uk/xmr-stak/releases/tag/2.3.0

This version splits the 'config' file into "config" and "poolconf".

vasily commented on 2017-12-18 09:28 (UTC)

Thanks for the heads up. The difference was line 6 in xmrstack/version.cpp. The change is so minor, the author(s) probably decided it's not worth doing a new release.