尝试使用Claymore v15.0在Radeon RX580 GPU上挖掘Linux Ubuntu20.04。我最近升级了Ubuntu,从16.04升级到20.04,安装OpenCL时遇到了极大的困难。但是,一旦做到了这一点,我就相对肯定,OpenCL确实在工作。我之所以知道这一点,是因为我使用xmrig对Monero进行CPU挖掘,我打开了GPU选项,并且它已经成功地挖掘了几天。
我添加这个是因为Claymore v15.0在大约3分钟后就使我的计算机崩溃了。(当我尝试Claymore时,xmrig没有运行。)我使用的是我在Ubuntu16.04上使用的同样的以太帐户。我也更新了那个时代的相同配置。
下面是我的shell脚本:
#export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
./ethdcrminer64 -epool us1.ethermine.org:4444 -ewal 0xc539B4a9727F4Af781B016b18289eAA317f8b322.joe -epsw x -mode 1 -li 5 -lidag 2 -tt 80 -ttli 85 -tstop 90 -tstart 50 -r 180我试着增加几个参数来控制温度和控制速度。它们没有什么区别,矿工有或没有这些额外的参数都会崩溃。下面是CLI会话。我杀了它是为了在我的电脑崩溃之前复制和粘贴。我不禁注意到总速度是零。每秒的散列数为零。我只能认为我错配置了Claymore 15.0,或者OpenCl没有像我想象的那样正确安装。或者,我的显卡是坏的--但这不应该像我已经向自己证明的那样--在与xmrig一起使用时,它是有效的。谢谢你和我一起思考。
����������������������������������������������������������������ͻ
� Claymore's Dual GPU Miner - v15.0 �
� ETH + DCR/SIA/LBC/PASC/BLAKE2S/KECCAK �
����������������������������������������������������������������ͼ
ETH: 5 pools are specified
Main Ethereum pool is us1.ethermine.org:4444
At least 16 GB of Virtual Memory is required for multi-GPU systems
Make sure you defined GPU_MAX_ALLOC_PERCENT 100
Be careful with overclocking, use default clocks for first tests
Press "s" for current statistics, "0".."9" to turn on/off cards, "r" to reload pools, "e" or "d" to select current pool, "x" to select GPU, "z" to find best -dcri values
OpenCL initializing...
AMD Cards available: 1
GPU #0: Ellesmere (Radeon RX 580 Series), 8000 MB available, 36 compute units (pci bus 65:0:0)
GPU #0 recognized as Radeon RX 480/580
POOL/SOLO version
AMD ADL library not found.
GPU #0: algorithm ASM 1
No NVIDIA CUDA GPUs detected.
Total cards: 1
You can use "+" and "-" keys to achieve best ETH speed, see "FINE TUNING" section in Readme for details.
ETH: Stratum - connecting to 'us1.ethermine.org' <172.65.218.238> port 4444 (unsecure)
ETH: Stratum - Connected (us1.ethermine.org:4444) (unsecure)
ETH: Authorized
ETHEREUM-ONLY MINING MODE ENABLED (-mode 1)
ETH: eth-proxy stratum mode
Watchdog enabled
Remote management (READ-ONLY MODE) is enabled on port 3333
You did not specify -dcri values directly, so they will be detected automatically
Automatic detection of best -dcri values started, please wait...
Setting DAG epoch #341(3.66GB)...
ETH: 06/10/20-20:17:42 - New job from us1.ethermine.org:4444
ETH - Total Speed: 0.000 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:00
ETH: GPU0 0.000 Mh/s
Setting DAG epoch #341 for GPU0
Create GPU buffer for GPU0
ETH: 06/10/20-20:17:46 - New job from us1.ethermine.org:4444
ETH - Total Speed: 0.000 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:00
ETH: GPU0 0.000 Mh/s
ETH: 06/10/20-20:17:48 - New job from us1.ethermine.org:4444
ETH - Total Speed: 0.000 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:00
ETH: GPU0 0.000 Mh/s
ETH: 06/10/20-20:17:48 - New job from us1.ethermine.org:4444
ETH - Total Speed: 0.000 Mh/s, Total Shares: 0, Rejected: 0, Time: 00:00
ETH: GPU0 0.000 Mh/s
Quit signal received...
Quit, please wait...发布于 2020-11-21 10:47:24
据我所知,最新的司机不会和克莱莫(和其他矿工)一起工作。你需要恢复到18.04。这里我是如何在Ubuntu20.04上使用RX580 8GB的(与您相同的设置)的。
确保你安装了hwe
sudo apt-get install --install-recommends linux-generic-hwe-20.04备份/etc/os-release并对其进行编辑。
sudo cp /etc/os-release ~
sudo nano /etc/os-release检查VERSION_ID并将其从"20.04"更改为"18.04"
请确保移除先前安装的驱动程序
amdgpu-pro-uninstall驱动版本19.50为我工作,尝试较低版本,如果它失败。下载、解压缩并安装:
wget https://drivers.amd.com/drivers/linux/19.50/amdgpu-pro-19.50-967956-ubuntu-18.04.tar.xz --referer https://support.amd.com/
tar -Jxvf amdgpu-pro-19.50-967956-ubuntu-18.04.tar.xz
cd amdgpu-pro-19.50-967956-ubuntu-18.04
./amdgpu-pro-install -y --opencl=pal,legacy,rocm --headless --no-dkms替换原始的/etc/os-release文件
mv ~/os-release /etc/os-release不确定,但我做到了,请加入video和render组
sudo usermod -a -G video $LOGNAME
sudo usermod -a -G render $LOGNAME最后重新启动
sudo reboot now即使是clinfo也会告诉你的设备有OpenCL的能力,并会检测到它们,但是由于某些原因,矿工不会。希望这是可行的。
https://ethereum.stackexchange.com/questions/84174
复制相似问题