OPERATING SYSTEMSOS Linux

Linux Tips – Easy Ethereum mining using AMD on Ubuntu 20.04 (2021)

Mine Ethereum using an AMD graphics card on Ubuntu Linux
WANT TO SUPPORT?
💰 Patreon: https://www.patreon.com/agiledevart


00:00 Introduction
00:34 Official AMD driver
01:44 Installing the AMD driver
03:06 OpenCL check
03:22 Downloading miners
03:49 Setting up LolMiner
04:48 Setting up PhoenixMiner

💻 Official AMD Driver for Linux:
https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-21-30

⌨️ Commands used for Driver installation:
$ wget –referer https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-21-30 https://drivers.amd.com/drivers/linux/amdgpu-pro-21.30-1290604-ubuntu-20.04.tar.xz
$ tar xJf amdgpu-pro-21.30-1290604-ubuntu-20.04.tar.xz
$ cd amdgpu-pro-21.30-1290604-ubuntu-20.04/
$ chmod +x amdgpu-pro-install
$ ./amdgpu-pro-install -y –opencl=rocr,legacy
$ sudo usermod -a -G render $LOGNAME
$ sudo usermod -a -G video $LOGNAME
$ sudo apt-get install clinfo

🖼️ Helmet from freesvg:
https://freesvg.org/speleological-helmet-vector-image

●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
👨‍👩‍👧‍👦 Social:
◆ Twitter: https://twitter.com/agiledevart
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
🎮🕹️🐭 Snappy Mouse Run:
◆ Facebook: https://www.facebook.com/snappymouserun/
◆ App Store: https://itunes.apple.com/us/app/snappy-mouse-run/id1163515281
◆ Google Play: https://play.google.com/store/apps/details?id=com.agiledevart.snap
◆ Amazon Store: http://www.amazon.com/gp/mas/dl/android?asin=B07J15TS3R
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●

#ethereum #mining #linux

source

ubuntu

20 thoughts on “Linux Tips – Easy Ethereum mining using AMD on Ubuntu 20.04 (2021)

  • Anyone worked out how to fix the error "Sub-process /usr/bin/dpkg returned an error code (1)"?

  • What is you get an error (1) when installing the driver?

  • what kernel version do I need? I keep getting failed dkms on 5.13.0-30

  • Is there a monitor page, with your setup or do we only get to see what's in the terminal and have to figure it out?

  • i am finding that the drivers from AMD no longer install with the current version of ubuntu 20.04 they fail building they fail building amdgpu-dkms. I have not found a way around this yet, but I have an ASUS Dual rt6700xt. I am still looking for a solution.

  • Thank you bro I have been looking for a Linux tutorial all day best one I’m definitely a new subscriber thanks again bro!!👍💯

  • Installed with this instructions and got errors, uninstalled and installed as the guide says with the installer package and got rid of the errors but the result is similar, driver installed and mining for 10 hours now but xserver broke no gui at all I got miner running from terminal, I can live with that but it would be nice to know what is causing the problem (I did not use –headless)

  • Hm – I am in dependency after trying "amdgpu-pro-install":

    The following packages have unmet dependencies:
    amdgpu : Depends: amdgpu-lib (= 20.20-1098277) but it is not going to be installed
    amdgpu-lib32 : Depends: amdgpu-lib (= 20.20-1098277) but it is not going to be installed or
    amdgpu-lib-hwe (= 20.20-1098277) but it is not installable
    Depends: libdrm2-amdgpu:i386 (= 1:2.4.100-1098277)
    Depends: libdrm-amdgpu-amdgpu1:i386 (= 1:2.4.100-1098277)
    Depends: libllvm10.0-amdgpu:i386 (= 1:10.0-1098277)
    Depends: libxatracker2-amdgpu:i386 (= 1:20.0.5-1098277)
    Depends: libgbm1-amdgpu:i386 (= 1:20.0.5-1098277)
    Depends: libegl1-amdgpu-mesa:i386 (= 1:20.0.5-1098277)
    Depends: libegl1-amdgpu-mesa-drivers:i386 (= 1:20.0.5-1098277)
    Depends: libgles1-amdgpu-mesa:i386 (= 1:20.0.5-1098277)
    Depends: libgles2-amdgpu-mesa:i386 (= 1:20.0.5-1098277)
    Depends: libglapi-amdgpu-mesa:i386 (= 1:20.0.5-1098277)
    Depends: libgl1-amdgpu-mesa-glx:i386 (= 1:20.0.5-1098277)
    Depends: libgl1-amdgpu-mesa-dri:i386 (= 1:20.0.5-1098277)
    Depends: libosmesa6-amdgpu:i386 (= 1:20.0.5-1098277)
    Depends: mesa-amdgpu-va-drivers:i386 (= 1:20.0.5-1098277)
    Depends: mesa-amdgpu-vdpau-drivers:i386 (= 1:20.0.5-1098277)
    amdgpu-pro-lib32 : Depends: libgl1-amdgpu-pro-glx:i386 (= 20.20-1098277)
    Depends: libegl1-amdgpu-pro:i386 (= 20.20-1098277)
    Depends: libgles2-amdgpu-pro:i386 (= 20.20-1098277)
    Depends: libglapi1-amdgpu-pro:i386 (= 20.20-1098277)
    Depends: libgl1-amdgpu-pro-dri:i386 (= 20.20-1098277)
    vulkan-amdgpu-pro:i386 : Depends: libc6:i386 (>= 2.17) but it is not installable
    Depends: libgcc-s1:i386 (>= 3.3.1) but it is not installable
    Depends: libstdc++6:i386 (>= 4.8) but it is not installable
    Depends: libwayland-client0:i386 but it is not installable
    E: Unable to correct problems, you have held broken packages.

    Any ideas?

  • Hi , i have installed linux on my ps4 pro , can i mine some crypto with that ?

  • I think you should go even faster … We still arrive by pausing to see what to do! A little faster, and this video would be reserved for those who already know how to do it! ! !

  • Nice that you used a cheatsheet you know that youtube shortens links in the video description

  • Hi!
    I followed all steps as described but
    Phoenixminer doesnt set gpu and memclock… it seems like it didnt even recognize when i set it in .sh file?? i already reinstalled LinuxMint and reinstalled drivers as shown what did i wrong??
    Thank you!

  • thanks for the video. I made a mistake when I install the driver, instead of haveing "–opencl" I only had "-opencl". Then which I check clinfo, it shows Number of Platform is 0. Should I just reinstall Ubuntu and start again? thanks

  • Did you try to mine also with more GPU's ?

  • Can I use Ubuntu Server without a GUI?

Comments are closed.