Closed PSLLSP closed 2 years ago
This only works for CUDA GPU, not for AMD GPU
Where do you see AMD GPU?? Check nvidia-smi
output, that PC has NVIDIA GPU, it is only GTX-750Ti. There is no AMD GPU in that PC. BTW, I do not think that crash is related to GPU... AMD FX-8300 has no on-chip GPU.
$ gdb ./alephium-0.5.4-cuda-miner-linux
GNU gdb (Ubuntu 10.1-2ubuntu2) 10.1.90.20210411-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./alephium-0.5.4-cuda-miner-linux...
(gdb) run
Starting program: /home/ubuntu/alephium-miner/alephium-0.5.4-cuda-miner-linux
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
2022-02-02 20:41:40 | Running gpu-miner version : release-v0.5.4
[New Thread 0x7ffff6257000 (LWP 185432)]
2022-02-02 20:41:40 | GPU count: 1
2022-02-02 20:41:40 | GPU #0 has #640 cores
2022-02-02 20:41:40 | will connect to broker @127.0.0.1:10973
[New Thread 0x7ffff5a56000 (LWP 185433)]
[New Thread 0x7ffff5255000 (LWP 185434)]
Thread 1 "alephium-0.5.4-" received signal SIGFPE, Arithmetic exception.
0x000055555540b82e in config_cuda(int, int*, int*, bool*) ()
(gdb) layout asm
│ 0x55555540b826 <_Z11config_cudaiPiS_Pb+230> mov %ebx,%edi │
│ 0x55555540b828 <_Z11config_cudaiPiS_Pb+232> call 0x55555540b360 <_Z16get_device_coresi> │
│ 0x55555540b82d <_Z11config_cudaiPiS_Pb+237> cltd │
│ >0x55555540b82e <_Z11config_cudaiPiS_Pb+238> idivl 0x0(%rbp) │
│ 0x55555540b831 <_Z11config_cudaiPiS_Pb+241> lea (%rax,%rax,2),%edx │
│ 0x55555540b834 <_Z11config_cudaiPiS_Pb+244> mov %edx,%eax │
│ 0x55555540b836 <_Z11config_cudaiPiS_Pb+246> shr $0x1f,%eax │
│ 0x55555540b839 <_Z11config_cudaiPiS_Pb+249> add %edx,%eax │
│ 0x55555540b83b <_Z11config_cudaiPiS_Pb+251> sar %eax │
│ 0x55555540b83d <_Z11config_cudaiPiS_Pb+253> mov %eax,(%r12) │
│ 0x55555540b841 <_Z11config_cudaiPiS_Pb+257> jmp 0x55555540b7e3 <_Z11config_cudaiPiS_Pb+163> │
│ 0x55555540b843 <_Z11config_cudaiPiS_Pb+259> nopl 0x0(%rax,%rax,1) │
│ 0x55555540b848 <_Z11config_cudaiPiS_Pb+264> mov 0x28(%rsp),%edx │
│ 0x55555540b84c <_Z11config_cudaiPiS_Pb+268> lea 0x2c(%rsp),%rdi │
│ 0x55555540b851 <_Z11config_cudaiPiS_Pb+273> mov $0x27,%esi │
│ 0x55555540b856 <_Z11config_cudaiPiS_Pb+278> call 0x555555460a40 <cudaDeviceGetAttribute> │
│ 0x55555540b85b <_Z11config_cudaiPiS_Pb+283> test %eax,%eax │
│ 0x55555540b85d <_Z11config_cudaiPiS_Pb+285> jne 0x55555540b7c5 <_Z11config_cudaiPiS_Pb+133>
is idivl 0x0(%rbp)
the troublemaker? Mayby that crashes because it divides by zero...
Where do you see AMD GPU?? Check
nvidia-smi
output, that PC has NVIDIA GPU, it is only GTX-750Ti. There is no AMD GPU in that PC. BTW, I do not think that crash is related to GPU... AMD FX-8300 has no on-chip GPU.$ gdb ./alephium-0.5.4-cuda-miner-linux GNU gdb (Ubuntu 10.1-2ubuntu2) 10.1.90.20210411-git Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./alephium-0.5.4-cuda-miner-linux... (gdb) run Starting program: /home/ubuntu/alephium-miner/alephium-0.5.4-cuda-miner-linux [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 2022-02-02 20:41:40 | Running gpu-miner version : release-v0.5.4 [New Thread 0x7ffff6257000 (LWP 185432)] 2022-02-02 20:41:40 | GPU count: 1 2022-02-02 20:41:40 | GPU #0 has #640 cores 2022-02-02 20:41:40 | will connect to broker @127.0.0.1:10973 [New Thread 0x7ffff5a56000 (LWP 185433)] [New Thread 0x7ffff5255000 (LWP 185434)] Thread 1 "alephium-0.5.4-" received signal SIGFPE, Arithmetic exception. 0x000055555540b82e in config_cuda(int, int*, int*, bool*) ()
(gdb) layout asm
│ 0x55555540b826 <_Z11config_cudaiPiS_Pb+230> mov %ebx,%edi │ │ 0x55555540b828 <_Z11config_cudaiPiS_Pb+232> call 0x55555540b360 <_Z16get_device_coresi> │ │ 0x55555540b82d <_Z11config_cudaiPiS_Pb+237> cltd │ │ >0x55555540b82e <_Z11config_cudaiPiS_Pb+238> idivl 0x0(%rbp) │ │ 0x55555540b831 <_Z11config_cudaiPiS_Pb+241> lea (%rax,%rax,2),%edx │ │ 0x55555540b834 <_Z11config_cudaiPiS_Pb+244> mov %edx,%eax │ │ 0x55555540b836 <_Z11config_cudaiPiS_Pb+246> shr $0x1f,%eax │ │ 0x55555540b839 <_Z11config_cudaiPiS_Pb+249> add %edx,%eax │ │ 0x55555540b83b <_Z11config_cudaiPiS_Pb+251> sar %eax │ │ 0x55555540b83d <_Z11config_cudaiPiS_Pb+253> mov %eax,(%r12) │ │ 0x55555540b841 <_Z11config_cudaiPiS_Pb+257> jmp 0x55555540b7e3 <_Z11config_cudaiPiS_Pb+163> │ │ 0x55555540b843 <_Z11config_cudaiPiS_Pb+259> nopl 0x0(%rax,%rax,1) │ │ 0x55555540b848 <_Z11config_cudaiPiS_Pb+264> mov 0x28(%rsp),%edx │ │ 0x55555540b84c <_Z11config_cudaiPiS_Pb+268> lea 0x2c(%rsp),%rdi │ │ 0x55555540b851 <_Z11config_cudaiPiS_Pb+273> mov $0x27,%esi │ │ 0x55555540b856 <_Z11config_cudaiPiS_Pb+278> call 0x555555460a40 <cudaDeviceGetAttribute> │ │ 0x55555540b85b <_Z11config_cudaiPiS_Pb+283> test %eax,%eax │ │ 0x55555540b85d <_Z11config_cudaiPiS_Pb+285> jne 0x55555540b7c5 <_Z11config_cudaiPiS_Pb+133>
is
idivl 0x0(%rbp)
the troublemaker? Mayby that crashes because it divides by zero...
Could you try Bzminer or T-rex miner instead? I think our miner does not support too old Nvidia GPUs.
Bzminer is one of the worst miners I ever tried. I spent many hours yesterday to start using it but no result at all. It was probably tested with the newest GPUs, newest libraries, etc. It even crashes in my HiveOS... :-( It doesn't work with my hardware, it doesn't see my GPUs.
T-Rex is great miner but the latest public release, t-rex-0.24.8-linux.tar.gz
, doesn't support algo blake3
. I have found some rumors about beta that supports blake3 but I do not know where to get beta version...
t-rex-0.25.2-linux.tar.gz
was released, it support blake3 algo and even dual mining on GPU cards with LHR. T-Rex is great miner, great compatibility, on GTX1070 has higher hashrate than bzminer
. GTX750Ti with T-Rex has hashrate similar to GTX1060 with alephium-0.5.4-cuda-miner-linux
, about 160 MH/s. GTX1060 with T-Rex has about 400 MH/s. T-Rex doesn't support solo mining in the way of your GPU miner...
SRBMiner 0.9.0
added support for algo blake3_alephium, ALPH can be mined with AMD GPU or CPU.
https://github.com/doktor83/SRBMiner-Multi/releases/tag/0.9.0
BTW, they note that stratum standard for ALPH was not defined and pools are creative and several standards exist...
alephium-0.5.4-cuda-miner-linux Ubuntu 21.04
I cannot start miner at older AMD CPU (socket AM3). I tried to start it on Intel XEON E3 CPU and it was started but that PC has no NVIDIA GPU... I am not sure, maybe that miner uses some FPU instruction that was implemented in the recent FPU/CPU. Error is Floating point exception (core dumped):