working OpenCL undetected
**Describe the bug**
working OpenCL undetected (before & after trying, have been OpenCL mining with Team Red Miner)
**To Reproduce**
Install Devuan GNU/Linux, current AMDGPU OpenCL ([repo.radeon.com](http://repo.radeon.com). Add 'devuan' to amdgpu-install), xmrig-mo1, configure, run.
**Expected behavior**
Detect/use OpenCL.
**Required data**
- XMRig version
downloaded two:
https://github.com/MoneroOcean/xmrig/releases/download/v6.22.2-mo1/xmrig-v6.22.2-mo1-lin64.tar.gz (tried)
https://github.com/MoneroOcean/xmrig/releases/download/v6.22.2-mo1/xmrig-v6.22.2-mo1-lin64-compat.tar.gz (what's difference?)
- Miner log
```
* ABOUT XMRig/6.22.2-mo1 gcc/11.4.0 (built for Linux x86-64, 64 bit)
* LIBS libuv/1.44.2 OpenSSL/3.0.2 hwloc/2.9.0
* HUGE PAGES supported
* 1GB PAGES disabled [false]
* CPU Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (1) 64-bit AES
L2:1.0 MB L3:8.0 MB 4C/8T NUMA:1
* MEMORY 7.9/62.7 GB (13%)
DIMM_A0: 16 GB DDR4 @ 3466 MHz KHX3466C16D4/16GX
DIMM_A1: 16 GB DDR4 @ 3466 MHz KHX3466C16D4/16GX
DIMM_B0: 16 GB DDR4 @ 3466 MHz KHX3466C16D4/16GX
DIMM_B1: 16 GB DDR4 @ 3466 MHz KHX3466C16D4/16GX
* MOTHERBOARD Gigabyte Technology Co., Ltd. - Z170XP-SLI-CF
* DONATE 0%
* ASSEMBLY auto:intel
* POOL #1 gulf.moneroocean.stream:10128 algo auto
* COMMANDS hashrate, pause, resume, results, connection
* OPENCL disabled (failed to load OpenCL runtime)
* CUDA disabled
[2025-02-05 03:29:50.227] config configuration saved to: "/usr/local/lib/xmrig-mo1/config.json"
[2025-02-05 03:29:50.227] benchmk STARTING ALGO PERFORMANCE CALIBRATION (with 20 seconds round)
```
- Config file
I started with this but noticed it changed.
```
{
"api": {
"id": null,
"worker-id": null
},
"http": {
"enabled": true,
"host": "0.0.0.0",
"port": 11380,
"access-token": null,
"restricted": true
},
"autosave": true,
"background": false,
"colors": true,
"title": true,
"randomx": {
"init": -1,
"init-avx2": 0,
"mode": "auto",
"1gb-pages": false,
"rdmsr": true,
"wrmsr": true,
"cache_qos": false,
"numa": true,
"scratchpad_prefetch_mode": 1
},
"cpu": {
"enabled": true,
"huge-pages": true,
"huge-pages-jit": false,
"hw-aes": null,
"priority": null,
"memory-pool": true,
"yield": true,
"max-threads-hint": 50,
"asm": true,
"argon2-impl": null,
"cn/0": false,
"cn-lite/0": false
},
"opencl": {
"enabled": true,
"cache": true,
"loader": null,
"platform": "AMD",
"adl": true,
"cn/0": false,
"cn-lite/0": false,
"panthera": false
},
"cuda": {
"enabled": true,
"loader": null,
"nvml": true,
"cn/0": false,
"cn-lite/0": false,
"panthera": false,
"astrobwt": false
},
"donate-level": 1,
"donate-over-proxy": 1,
"log-file": null,
"pools": [
{
"algo": null,
"coin": null,
"url": "gulf.moneroocean.stream:10128",
"user": "44WNTsLMgAa3ThRQC1KjXvd6ZnFvmtM5BV8juCxNPCx19NSaTQKgiUNE8ZfirYfy9Piy88TCwNQaWN2UYs89XwZg2gCoUhC",
"pass": "x",
"rig-id": "worker1",
"nicehash": false,
"keepalive": true,
"enabled": true,
"tls": false,
"tls-fingerprint": null,
"daemon": false,
"socks5": null,
"self-select": null,
"submit-to-origin": false
}
],
"print-time": 60,
"health-print-time": 60,
"dmi": true,
"retries": 5,
"retry-pause": 5,
"syslog": false,
"tls": {
"enabled": false,
"protocols": null,
"cert": null,
"cert_key": null,
"ciphers": null,
"ciphersuites": null,
"dhparam": null
},
"dns": {
"ipv6": false,
"ttl": 30
},
"user-agent": null,
"verbose": 0,
"watch": true,
"rebench-algo": false,
"bench-algo-time": 20,
"pause-on-battery": false,
"pause-on-active": false
}```
- OS: Devuan GNU/Linux 5 (stable 64-bit n86)
- For GPU related issues: ASUS Radeon RX 6900 XT, amdgpu-install_6.3.60302-1_all.deb
2 条评论