Describe the bug
Since commit 4a9db89 xmrig crashes instantly on all my rigs.
Im using quite old CPUs (Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz according to /proc/cpuinfo) to mine kawpow on AMD GPUs (opencl). I was asked to try the dev branch to check that #1836 was fixed, but the xmrig crashed instantly as launched with:
$ ./xmrig
Illegal instruction (core dumped)
Then I went trough trial and error over previos commits to find out which one starts to cause this, and I found its "4a9db89527dfac4e0c66892190fd3d642408d459 - RandomX: added SSE4.1-optimized Blake2b".
Xmrig build from previous commits starts normally so it seems that SSE4.1 optimisation is breaking xmrig for older CPUs (without SSE4.1 support, such as mentioned Core2 6600).
I found a way how to buid later commits to be able to mine kawpow over opencl on my old CPUs:
- remove all "-msse4.1" occurrences from cmake/flags.cmake
- add "-DWITH_RANDOMX=OFF" to the cmake command (eg. cmake .. -DWITH_RANDOMX=OFF -DXMRIG_DEPS=scripts/deps)
To Reproduce
Run xmrig build from source after commit 4a9db89 on Core2 6600 (which lacks SSE4.1) and try to launch it.
Expected behaviour
Xmrig should detect older CPUs and run on them as before 4a9db89 (at least to be able to mine algos which does not require SSE4.1)
Required data
- Miner log as text or screenshot
$ ./xmrig
Illegal instruction (core dumped)
- Config file or command line (without wallets)
config independent, crashes even without config in the same way
Ubuntu 18.04.5 LTS
4GB RAM + 2GB swap
Linux m04 5.4.0-48-lowlatency #52~18.04.1-Ubuntu SMP PREEMPT Thu Sep 10 13:34:23 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
amdgpu-pro 20.10-1048554
Describe the bug
Since commit 4a9db89 xmrig crashes instantly on all my rigs.
Im using quite old CPUs (Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz according to /proc/cpuinfo) to mine kawpow on AMD GPUs (opencl). I was asked to try the dev branch to check that #1836 was fixed, but the xmrig crashed instantly as launched with:
Then I went trough trial and error over previos commits to find out which one starts to cause this, and I found its "4a9db89527dfac4e0c66892190fd3d642408d459 - RandomX: added SSE4.1-optimized Blake2b".
Xmrig build from previous commits starts normally so it seems that SSE4.1 optimisation is breaking xmrig for older CPUs (without SSE4.1 support, such as mentioned Core2 6600).
I found a way how to buid later commits to be able to mine kawpow over opencl on my old CPUs:
To Reproduce
Run xmrig build from source after commit 4a9db89 on Core2 6600 (which lacks SSE4.1) and try to launch it.
Expected behaviour
Xmrig should detect older CPUs and run on them as before 4a9db89 (at least to be able to mine algos which does not require SSE4.1)
Required data