Post
Topic
Board Mining (Altcoins)
Re: AMD gpu on Ubuntu 22.04
by
Kareli
on 07/03/2024, 11:47:43 UTC
After nobara kernel up to 6.7.7-xxxxxxx  kernels
You can use corectrl again.
------------------------------------------------------------------------------------------
All Fedora based distro mining config like this

sudo dnf update

sudo dnf install xorg-x11-drv-amdgpu vulkan-tools mesa-vulkan-drivers vulkan-loader vulkan-loader.i686 glew-devel SDL2-devel SDL2_image-devel glm-devel freetype-devel openssl-devel openssl-libs python3 curl glibc-devel libstdc++-devel libxcb-devel libX11-devel libxshmfence-devel libXrandr-devel wayland-devel make gcc-c++ rocm-opencl rocminfo rocm-clinfo rocm-device-libs

sudo grubby --update-kernel=ALL --args="radeon.cik_support=0 amdgpu.cik_support=1"

reboot

sudo dnf install corectrl
--------------------------------------------------------------------------------------------------------------------------------------
Edit the file /etc/default/grub as root and append amdgpu.ppfeaturemask=0xffffffff to GRUB_CMDLINE_LINUX_DEFAULT:

GRUB_CMDLINE_LINUX_DEFAULT="...amdgpu.ppfeaturemask=0xffffffff"

NOTE: In the above example, ... represent other existing parameters. Do not add ... to your GRUB_CMDLINE_LINUX_DEFAULT. You should only add amdgpu.ppfeaturemask=0xffffffff.
Then regenerate the bootloader configuration file with the command:
---------------------------------------------------------------------------------------------------------------------------------------

sudo grub-mkconfig -o /boot/grub/grub.cfg

Reboot your system.