Ethermine on Garuda linux OpenCL error

Hi everyone! If i trying to mine eth with ethminer, i cause errors..:

 i 21:51:26 ethminer Configured pool ethash.poolbinance.com:8888
 i 21:51:26 ethminer Selected pool ethash.poolbinance.com:8888
 i 21:51:27 ethminer Stratum mode : Stratum
 i 21:51:27 ethminer Established connection to ethash.poolbinance.com [18.159.73.224:8888]
 i 21:51:27 ethminer Spinning up miners...
cl 21:51:27 cl-0     OpenCL OpenCL 1.1 Mesa 20.3.4 not supported, but platform Clover might work nevertheless. USE AT OWN RISK!
cl 21:51:27 cl-0     Using PciId :  AMD Radeon RX 5700 XT (NAVI10, DRM 3.40.0, 5.10.16-zen1-1-zen, LLVM 11.0.1) OpenCL 1.1 Mesa 20.3.4 Memory : 8.00 GB
cl 21:51:27 cl-1     Using PciId : 03:00.0 gfx1010 OpenCL 2.0  Memory : 7.98 GB
 i 21:51:27 cl-1     Adjusting CL work multiplier for 20 CUs. Adjusted work multiplier: 36.409
 i 21:51:27 ethminer Authorized worker [servogamer.pc]
 i 21:51:27 ethminer Epoch : 395 Difficulty : 8.59 Gh
 i 21:51:27 ethminer Job: aa12e456… ethash.poolbinance.com [18.159.73.224:8888]
cl 21:51:29 cl-0     Generating DAG + Light : 4.15 GB
cl 21:51:29 cl-1     Generating DAG + Light : 4.15 GB
cl 21:51:29 cl-0     OpenCL kernel
 X 21:51:29 cl-0     OpenCL kernel build log:
fatal error: cannot open file '/usr/share/clc/gfx1010-amdgcn-mesa-mesa3d.bc': No such file or directory

 X 21:51:29 cl-0     OpenCL kernel build error (-11):
clBuildProgram
SIGSEGV encountered ...
stack trace:
backtrace() returned 7 addresses
./ethminer() [0x422af9]
/usr/lib/libpthread.so.0(+0x13960) [0x7f287a922960]
./ethminer() [0x6e0a61]
./ethminer() [0x4baff6]
./ethminer() [0x773aaf]
/usr/lib/libpthread.so.0(+0x9299) [0x7f287a918299]
/usr/lib/libc.so.6(clone+0x43) [0x7f287a6e2153]
free(): invalid pointer
fish: “./ethminer -G -P stratum+tcp://…” terminated by signal SIGABRT (Abort)

And the inxi -Fxxxzi command result:

System:    Kernel: 5.10.16-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: KDE Plasma 5.20.5 tk: Qt 5.15.2
           info: latte-dock wm: kwin_x11 dm: SDDM Distro: Garuda Linux
Machine:   Type: Desktop Mobo: ASRock model: B150M-HDS serial: <filter> UEFI: American Megatrends v: P7.50 date: 01/23/2018
CPU:       Info: Quad Core model: Intel Core i7-7700 bits: 64 type: MT MCP arch: Kaby Lake rev: 9 L2 cache: 8 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 57600
           Speed: 4100 MHz min/max: 800/4200 MHz Core speeds (MHz): 1: 4100 2: 4082 3: 4098 4: 4120 5: 4114 6: 4105 7: 4099
           8: 4093
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
           vendor: Sapphire Limited driver: amdgpu v: kernel bus ID: 03:00.0 chip ID: 1002:731f class ID: 0300
           Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: amdgpu,ati unloaded: modesetting,radeon
           alternate: fbdev,vesa resolution: 1920x1080 s-dpi: 96
           OpenGL: renderer: AMD Radeon RX 5700 XT (NAVI10 DRM 3.40.0 5.10.16-zen1-1-zen LLVM 11.0.1) v: 4.6 Mesa 20.3.4
           direct render: Yes
Audio:     Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASRock driver: snd_hda_intel v: kernel
           bus ID: 00:1f.3 chip ID: 8086:a170 class ID: 0403
           Device-2: Advanced Micro Devices [AMD/ATI] Navi 10 HDMI Audio driver: snd_hda_intel v: kernel bus ID: 03:00.1
           chip ID: 1002:ab38 class ID: 0403
           Device-3: Z-Star Micro Full HD 1080P PC Camera type: USB driver: snd-usb-audio,uvcvideo bus ID: 1-4:3
           chip ID: 0ac8:3500 class ID: 0102 serial: <filter>
           Sound Server: ALSA v: k5.10.16-zen1-1-zen
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock driver: r8169 v: kernel port: d000
           bus ID: 05:00.0 chip ID: 10ec:8168 class ID: 0200
           IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
           IP v4: <filter> type: dynamic noprefixroute scope: global broadcast: <filter>
           IP v6: <filter> type: noprefixroute scope: link
           IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
           IP v4: <filter> type: noprefixroute scope: global broadcast: <filter>
           IP v6: <filter> virtual: stable-privacy scope: link
           IF-ID-2: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
           IP v4: <filter> scope: global broadcast: <filter>
           IP v6: <filter> scope: link
           IF-ID-3: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
           IP v4: <filter> scope: global broadcast: <filter>
           IP v6: <filter> scope: link
           WAN IP: <filter>
Drives:    Local Storage: total: 2.04 TiB used: 338.57 GiB (16.2%)
           ID-1: /dev/sda vendor: A-Data model: SP580 size: 223.57 GiB speed: 6.0 Gb/s rotation: SSD serial: <filter>
           rev: V3.7 scheme: GPT
           ID-2: /dev/sdb vendor: Toshiba model: DT01ACA200 size: 1.82 TiB speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter>
           rev: ABB0 scheme: GPT
Partition: ID-1: / size: 223.27 GiB used: 68.59 GiB (30.7%) fs: btrfs dev: /dev/sda2
           ID-2: /boot/efi size: 299.4 MiB used: 560 KiB (0.2%) fs: vfat dev: /dev/sda1
           ID-3: /home size: 223.27 GiB used: 68.59 GiB (30.7%) fs: btrfs dev: /dev/sda2
           ID-4: /var/log size: 223.27 GiB used: 68.59 GiB (30.7%) fs: btrfs dev: /dev/sda2
           ID-5: /var/tmp size: 223.27 GiB used: 68.59 GiB (30.7%) fs: btrfs dev: /dev/sda2
Swap:      ID-1: swap-1 type: zram size: 1.95 GiB used: 2 MiB (0.1%) priority: 32767 dev: /dev/zram0
           ID-2: swap-2 type: zram size: 1.95 GiB used: 2.3 MiB (0.1%) priority: 32767 dev: /dev/zram1
           ID-3: swap-3 type: zram size: 1.95 GiB used: 2.4 MiB (0.1%) priority: 32767 dev: /dev/zram2
           ID-4: swap-4 type: zram size: 1.95 GiB used: 2.5 MiB (0.1%) priority: 32767 dev: /dev/zram3
           ID-5: swap-5 type: zram size: 1.95 GiB used: 2.8 MiB (0.1%) priority: 32767 dev: /dev/zram4
           ID-6: swap-6 type: zram size: 1.95 GiB used: 2.3 MiB (0.1%) priority: 32767 dev: /dev/zram5
           ID-7: swap-7 type: zram size: 1.95 GiB used: 2.4 MiB (0.1%) priority: 32767 dev: /dev/zram6
           ID-8: swap-8 type: zram size: 1.95 GiB used: 1.8 MiB (0.1%) priority: 32767 dev: /dev/zram7
Sensors:   System Temperatures: cpu: 41.5 C mobo: N/A gpu: amdgpu temp: 55.0 C mem: 62.0 C
           Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Info:      Processes: 345 Uptime: 2h 01m wakeups: 0 Memory: 15.59 GiB used: 4.77 GiB (30.6%) Init: systemd v: 247 Compilers:
           gcc: 10.2.0 clang: 11.0.1 Packages: pacman: 1627 Shell: fish v: 3.1.2 running in: alacritty inxi: 3.3.01

Thank you in advance for your help!

Mining crypto currencies has nothing to do with KDE where you had originally opened this thread. It has nothing to do with Garuda for that matter, so I have relocated your post to the sub-forum for unsupported software.

Perhaps someone can offer you some advice on this, but in reality this is likely not the best place to seek advice for this type of issue.

2 Likes

This file does not exist in any package in the Arch repositories, so that very likely means this is an issue with the software, not with Garuda.

pacman -F
$ pacman -F gfx1010-amdgcn-mesa-mesa3d.bc
$ pacman -Fx ".*amdgcn.*"
extra/libclc 11.0.1-1
    usr/share/clc/amdgcn--amdhsa.bc
    usr/share/clc/bonaire-amdgcn--.bc
    usr/share/clc/bonaire-amdgcn-mesa-mesa3d.bc
    usr/share/clc/carrizo-amdgcn--.bc
    usr/share/clc/carrizo-amdgcn-mesa-mesa3d.bc
    usr/share/clc/fiji-amdgcn--.bc
    usr/share/clc/fiji-amdgcn-mesa-mesa3d.bc
    usr/share/clc/gfx900-amdgcn--.bc
    usr/share/clc/gfx900-amdgcn-mesa-mesa3d.bc
    usr/share/clc/gfx902-amdgcn--.bc
    usr/share/clc/gfx902-amdgcn-mesa-mesa3d.bc
    usr/share/clc/gfx904-amdgcn--.bc
    usr/share/clc/gfx904-amdgcn-mesa-mesa3d.bc
    usr/share/clc/gfx906-amdgcn--.bc
    usr/share/clc/gfx906-amdgcn-mesa-mesa3d.bc
    usr/share/clc/hainan-amdgcn--.bc
    usr/share/clc/hainan-amdgcn-mesa-mesa3d.bc
    usr/share/clc/hawaii-amdgcn--.bc
    usr/share/clc/hawaii-amdgcn-mesa-mesa3d.bc
    usr/share/clc/iceland-amdgcn--.bc
    usr/share/clc/iceland-amdgcn-mesa-mesa3d.bc
    usr/share/clc/kabini-amdgcn--.bc
    usr/share/clc/kabini-amdgcn-mesa-mesa3d.bc
    usr/share/clc/kaveri-amdgcn--.bc
    usr/share/clc/kaveri-amdgcn-mesa-mesa3d.bc
    usr/share/clc/mullins-amdgcn--.bc
    usr/share/clc/mullins-amdgcn-mesa-mesa3d.bc
    usr/share/clc/oland-amdgcn--.bc
    usr/share/clc/oland-amdgcn-mesa-mesa3d.bc
    usr/share/clc/pitcairn-amdgcn--.bc
    usr/share/clc/pitcairn-amdgcn-mesa-mesa3d.bc
    usr/share/clc/polaris10-amdgcn--.bc
    usr/share/clc/polaris10-amdgcn-mesa-mesa3d.bc
    usr/share/clc/polaris11-amdgcn--.bc
    usr/share/clc/polaris11-amdgcn-mesa-mesa3d.bc
    usr/share/clc/stoney-amdgcn--.bc
    usr/share/clc/stoney-amdgcn-mesa-mesa3d.bc
    usr/share/clc/tahiti-amdgcn--.bc
    usr/share/clc/tahiti-amdgcn-mesa-mesa3d.bc
    usr/share/clc/tonga-amdgcn--.bc
    usr/share/clc/tonga-amdgcn-mesa-mesa3d.bc
    usr/share/clc/verde-amdgcn--.bc
    usr/share/clc/verde-amdgcn-mesa-mesa3d.bc
community/liblphobos 2:1.24.0-3 (dlang dlang-ldc)
    usr/include/dlang/ldc/ldc/gccbuiltins_amdgcn.di

Check the AUR package page and the upstream issue tracker.

Or, maybe just try a web search?

https://searx.garudalinux.org/search?q=gfx1010-amdgcn-mesa-mesa3d.bc&categories=general&language=en-GB

->

https://aur.archlinux.org/packages/opencl-amd/

2 Likes

Personally, these types of package installations make me extremely nervous as a security conscious user. I simply have no trust in this type of software. When a crypto currency software and a piece of password cracking software both throw the same error about an unheard of package not being installed on the system that makes me extremely leery. Of course that may just be me, but then again I haven't found malware on my system since I left the Windows world (and I'd like to keep it that way).

4 Likes

With kde plasma and an nvidia card, it is working without error for me. It didnt at first but then I switched to the open source drivers- might be worth using newer/older stable drivers for your card

Really :smiley:

1 Like

The mining is, indeed, working fine. I am getting what I should be getting out of the card- if not better.
My issues with multi-tasking I bet are very unique, for it has never happened before. Plus, the errors for ServoGamer's straight up mean its not started.

Just an opinion, but it sounds as if you would be an ideal candidate for separate, dedicated machines.

3 Likes

Hi guys! I we found the solution: DONT USE ETHERMINER with navi 10 cards, use the Claymore miner, download from github, and start mining with -clkernel 0

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.