fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.05k stars 1.79k forks source link

Ubuntu 20.04.5 - kernel 5.13.0-52-generic - AMDGPU 21.50 - CryptoNightGPU - MEMORY ALLOC FAILED #2752

Closed blackmennewstyle closed 2 years ago

blackmennewstyle commented 2 years ago

I'm trying to mine CONCEAL using the CryptoNightGPU algorithm and i'm getting that error at the beginning:

sudo /home/ceedii/xmr-stak-linux-2.10.8-cpu_opencl-amd/xmr-stak --noCPU --currency cryptonight_gpu -O sg.conceal.herominers.com:1115 -u ccxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-p calypso -r calypso --openCLVendor AMD --noAMDCache --amdGpus 0,1,2,3 --h-print-time 15 -i 4454

2022-09-15 13:34:05] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2022-09-15 13:34:05] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2022-09-15 13:34:05] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2022-09-15 13:34:05] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2022-09-15 13:34:05] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
-------------------------------------------------------------------
xmr-stak 2.10.8 67cf951

Brought to you by fireice_uk and psychocrypt under GPLv3.
Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk).
Based on OpenCL mining code by wolf9466.

Configurable dev donation level is set to 2.0%

-------------------------------------------------------------------
You can use following keys to display reports:
'h' - hashrate
'r' - results
'c' - connection
-------------------------------------------------------------------
Upcoming xmr-stak-gui is sponsored by:
   #####   ______               ____
 ##     ## | ___ \             /  _ \
#    _    #| |_/ /_   _   ___  | / \/ _   _  _ _  _ _  ___  _ __    ___  _   _
#   |_|   #|    /| | | | / _ \ | |   | | | || '_|| '_|/ _ \| '_ \  / __|| | | |
#         #| |\ \| |_| || (_) || \_/\| |_| || |  | | |  __/| | | || (__ | |_| |
 ##     ## \_| \_|\__, | \___/ \____/ \__,_||_|  |_|  \___||_| |_| \___| \__, |
   #####           __/ |                                                  __/ |
                  |___/   https://ryo-currency.com                       |___/

This currency is a way for us to implement the ideas that we were unable to in
Monero. See https://github.com/fireice-uk/cryptonote-speedup-demo for details.
-------------------------------------------------------------------
[2022-09-15 13:34:06] : Mining coin: cryptonight_gpu
[2022-09-15 13:34:06] : Compiling code and initializing GPUs. This will take a while...
[2022-09-15 13:34:07] : Device 0 work size 8 / 16.
[2022-09-15 13:34:24] : Device 1 work size 8 / 16.
[2022-09-15 13:34:40] : Device 2 work size 8 / 16.
[2022-09-15 13:34:57] : Device 3 work size 8 / 16.
[2022-09-15 13:35:13] : Starting AMD GPU (OpenCL) thread 0, no affinity.
[2022-09-15 13:35:13] : Starting AMD GPU (OpenCL) thread 1, no affinity.
[2022-09-15 13:35:13] : Starting AMD GPU (OpenCL) thread 2, no affinity.
[2022-09-15 13:35:13] : Starting AMD GPU (OpenCL) thread 3, no affinity.
[2022-09-15 13:35:13] : Fast-connecting to sg.conceal.herominers.com:1115 pool ...
[2022-09-15 13:35:13] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2022-09-15 13:35:13] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2022-09-15 13:35:13] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2022-09-15 13:35:13] : MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
[2022-09-15 13:35:14] : TLS fingerprint [sg.conceal.herominers.com:1115] SHA256:j1mg4lFoSCtx6uDnX7UCNjeiTvfb1RMj5xQS+KUFB0M=
[2022-09-15 13:35:14] : Pool sg.conceal.herominers.com:1115 connected. Logging in...
blackmennewstyle commented 2 years ago

I found the answer https://github.com/fireice-uk/xmr-stak/issues/2691 :)